Bug#587904: error message should say what to try next if codec not found
jidanni at jidanni.org
jidanni at jidanni.org
Fri Jul 2 13:34:04 UTC 2010
Package: ffmpeg
Version: 4:0.6-2
Severity: wishlist
$ ffmpeg -i file.flv o.mp3
...
Input #0, flv, from 'file.flv':...
Duration: 00:03:50.22, start: 0.000000, bitrate: 269 kb/s
Stream #0.0: Video: flv, yuv420p, 320x240, 261 kb/s, 29.92 tbr, 1k tbn, 1k tbc
Stream #0.1: Audio: mp3, 22050 Hz, 2 channels, s16, 8 kb/s
Output #0, mp3, to 'o.mp3':
Stream #0.0: Audio: 0x0000, 22050 Hz, 2 channels, s16, 64 kb/s
Stream mapping:
Stream #0.1 -> #0.0
Encoder (codec id 86017) not found for output stream #0.0
Well then the package is broken, or some message saying what to try next
should be given.
The reason may be documented in /usr/share/doc/ffmpeg/README.Debian.gz
but it is very hard to tell.
OK, probably the message should be **codec disabled for legal reasons by Debian.
Try putting debian-multimedia... on top of your /etc/apt/sources.list... and
do apt-get update, then reinstall their version of this package**"
P.S., does this really turn 8 kb/s into 64 kb/s? Is that a good thing to do?
Well I tried -ab 8k and found out that the Stream #0.1: Audio: mp3, 22050 Hz, 2 channels, s16, 8 kb/s
must be wrong. ffprobe gives the same wrong answer.
P.S.S., the man page,
-ac channels
Set the number of audio channels (default = 1).
is wrong. As you see above two channels were the output, even without
this option.
If it just extracts the mp3 then it should say so in several of the
affected places on the man page.
More information about the pkg-multimedia-maintainers
mailing list