[FFmpeg-user] Compiled latest-git ffmpeg with --enable-decoder=libfaad but then is an unknown decoder

Oren Elrad orenelrad at gmail.com
Sun Sep 4 17:26:20 CEST 2011


OLD PARTS OF THE THREAD:


On Sat, 3 Sep 2011 15:15:05 -0400
Oren Elrad <orenelrad at gmail.com> wrote:
> Now when I try to follow the instructions there for using libfaad
> instead of acc, it cannot find it as a decoder, nor is faad listed
> anywhere on the -codecs
>
> XXXXX at YYYYYYY:~$ ffmpeg -acodec libfaad -i Most.mov -ss 00:01:00
> -vframes 1 test.png
...
> Unknown decoder 'libfaad'
Support for libfaad in FFmpeg was dropped in 2010-06-20 in favor of the
native FFmpeg AAC decoder.
> Trying without it gives the same symptoms in the lzone.de thread:
>
> XXXXX at YYYYYYY:~$ ffmpeg-i Most.mov -ss 00:01:00 -vframes 1test.png
> ffmpeg version N-32299-g23a287e, Copyright (c) 2000-2011 the FFmpeg
> developers built on Sep  3 2011 21:06:21 with gcc 4.3.2
>   configuration: --enable-gpl --enable-nonfree --enable-version3
> --disable-dxva2 --enable-libfaac --enable-libxvid --enable-pthreads
> --enable-decoder=libfaad --enable-libmp3lame --enable-encoder=libfaad
>   libavutil    51. 14. 0 / 51. 14. 0
>   libavcodec   53. 12. 0 / 53. 12. 0
>   libavformat  53. 10. 0 / 53. 10. 0
>   libavdevice  53.  3. 0 / 53.  3. 0
>   libavfilter   2. 37. 0 /  2. 37. 0
>   libswscale    2.  0. 0 /  2.  0. 0
>   libpostproc  51.  2. 0 / 51.  2. 0
>
> Seems stream 1 codec frame rate differs from container frame rate:
> 2997.00 (2997/1) -> 29.97 (30000/1001)
> Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Most.mov':
>   Metadata:
>     major_brand     : qt
>     minor_version   : 537199360
>     compatible_brands: qt
>     creation_time   : 2009-11-07 23:30:44
>   Duration: 00:43:41.83, start: 0.000000, bitrate: 2302 kb/s
>     Stream #0.0(eng): Audio: wmav2 (WMA2 / 0x32414D57), 48000 Hz, 2
> channels, s16, 346 kb/s
>     Metadata:
>       creation_time   : 2009-11-07 23:30:44
>     Stream #0.1(eng): Video: wmv3 (Main) (WMV3 / 0x33564D57), yuv420p,
> 480x360, 1952 kb/s, 27.19 fps, 29.97 tbr, 2997 tbn, 2997 tbc
>     Metadata:
>       creation_time   : 2009-11-07 23:30:44
> Incompatible pixel format 'yuv420p' for codec 'png', auto-selecting
> format 'rgb24'
> [buffer @ 0x13ddfc0] w:480 h:360 pixfmt:yuv420p tb:1/1000000 sar:0/1
> sws_param: [buffersink @ 0x13e0a20] auto-inserting filter
> 'auto-inserted scaler 0' between the filter 'src' and the filter 'out'
> [scale @ 0x13d39a0] w:480 h:360 fmt:yuv420p -> w:480 h:360 fmt:rgb24
> flags:0x4 Output #0, image2, to 'test.png':
>   Metadata:
>     major_brand     : qt
>     minor_version   : 537199360
>     compatible_brands: qt
>     creation_time   : 2009-11-07 23:30:44
>     encoder         : Lavf53.10.0
>     Stream #0.0(eng): Video: png, rgb24, 480x360, q=2-31, 200 kb/s,
> 90k tbn, 29.97 tbc
>     Metadata:
>       creation_time   : 2009-11-07 23:30:44
> Stream mapping:
>   Stream #0.1 -> #0.0 (wmv3 -> png)
> Press [q] to stop, [?] for help
> Error while decoding stream #0.1

Unless FFmpeg is wrong then your input appears not to contain AAC. Your
issue has nothing to do with AAC. FFmpeg is having trouble decoding
stream 0.1 which is your video stream. Can you provide a sample of your
input?


------------------------------
NEW STUFF
-----------------------------

Ah, I didn't think hard enough about that huh. Sorry to have provided
a red herring for a solution with the same symptoms and different
causes. By the way, perhaps ./configure --with-decoder=libfaad should
fail with "this decoder is not supported" or some other message of
that ilk? That would have definitely saved me from the wrong track.

What do you mean by a 'sample'? I didn't encode this and all I have is
a rather large file. I can dd the first N bytes if that will help ...

Oren


More information about the ffmpeg-user mailing list