[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#963153: ffmpeg breaks r-cran-av autopkgtest: error in 'avcodec_open2 (audio)': Invalid argument

Source: ffmpeg, r-cran-av
Control: found -1 ffmpeg/7:4.3-2
Control: found -1 r-cran-av/0.5.0+dfsg-3
Severity: serious
Tags: sid bullseye
X-Debbugs-CC: debian-ci@lists.debian.org
User: debian-ci@lists.debian.org
Usertags: breaks needs-update

Dear maintainer(s),

With a recent upload of ffmpeg the autopkgtest of r-cran-av fails in
testing when that autopkgtest is run with the binary packages of ffmpeg
from unstable. It passes when run with only packages from testing. In
tabular form:

                       pass            fail
ffmpeg                 from testing    7:4.3-2
r-cran-av              from testing    0.5.0+dfsg-3
all others             from testing    from testing

I copied some of the output at the bottom of this report.

Currently this regression is blocking the migration of ffmpeg to testing
[1]. Due to the nature of this issue, I filed this bug report against
both packages. Can you please investigate the situation and reassign the
bug to the right package?

More information about this bug and the reason for filing it can be found on


[1] https://qa.debian.org/excuses.php?package=ffmpeg


autopkgtest [13:08:56]: test run-unit-test: [-----------------------
BEGIN TEST testthat.R

R version 4.0.1 (2020-06-06) -- "See Things Now"
Copyright (C) 2020 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(testthat)
> library(av)
> if (ps::ps_is_supported()) {
+   reporter <-
ps::CleanupReporter(testthat::CheckReporter)$new(proc_cleanup =  FALSE,
proc_fail = FALSE)
+   test_check("av", reporter = reporter)
+ } else {
+   test_check("av")
+ }
Estimating duration from bitrate, this may be inaccurate
Specified sample rate 8000 is not supported
── 1. Error: Audio FFT (@test-fft.R#10)
FFMPEG error in 'avcodec_open2 (audio)': Invalid argument
 1. av::av_audio_convert(wonderland, filename, verbose = FALSE)

Estimating duration from bitrate, this may be inaccurate
══ testthat results
[ OK: 130 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 1 ]
1. Error: Audio FFT (@test-fft.R#10)

Error: testthat unit tests failed
Execution halted
autopkgtest [13:09:08]: test run-unit-test: -----------------------]

Attachment: signature.asc
Description: OpenPGP digital signature

Reply to: