2008-08-05 06:13:31 关于执行FFmpeg
Jingwei Cheng (CHINA)
Message: 59931
我在板上解264文件,执行命令是:ffmpeg -i input.264 output.yuv,是可以的,CIF大概可达到15fps
但想解aac编码文件时却不行,我的命令是:ffmpeg -i input.mp4 output.wav
请问下是为什么
TranslateQuoteReplyEditDelete
2008-08-05 06:40:33 Re: 关于执行FFmpeg
Yi Li (CHINA)
Message: 59934
What is the error message when you decoding AAC?
QuoteReplyEditDelete
2008-08-05 21:05:50 回复: Re: 关于执行FFmpeg
Jingwei Cheng (CHINA)
Message: 59957
root:/>
root:/>
root:/> ls
bin init proc tmp
mct_nero-heaac.mp4 lib usr dev
mnt root var etc
sbin home sys
root:/> ffmpeg -i ct_nero-heaac.mp4 ouput.wav
FFmpeg version UNKNOWN, Copyright (c) 2000-2007 Fabrice Bellard, et al.
configuration: --prefix=/usr --source-path=/root/uClinux-dist-2008R1-RC8/lib/ffmpeg/build/../ffmpeg-svn-11114 --target-os=Linux --cpu=bfin --arch=bfin --extra-ldflags= -mcpu=bf537-0.2 --enable-static --enable-shared --enable-gpl --enable-pp --disable-strip --cross-prefix=bfin-linux-uclibc-
libavutil version: 49.5.0
libavcodec version: 51.48.0
libavformat version: 52.1.0
built on Aug 1 2008 20:03:40, gcc: 4.1.2 (ADI svn)
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x2507a0]Could not find codec parameters (Data: mp4s / 0x7334706D)
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x2507a0]Could not find codec parameters (Data: mp4s / 0x7334706D)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'ct_nero-heaac.mp4':
Duration: 00:00:19.9, start: 0.000000, bitrate: 65 kb/s
Stream #0.0(eng): Audio: mp4a / 0x6134706D, 44100 Hz, stereo
Stream #0.1(eng): Data: mp4s / 0x7334706D
Stream #0.2(eng): Data: mp4s / 0x7334706D
Output #0, wav, to 'ouput.wav':
Stream #0.0(eng): Audio: pcm_s16le, 44100 Hz, stereo, 1411 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Unsupported codec (id=86018) for input stream #0.0
root:/>
root:/>
root:/>
root:/>
root:/>
what error?
TranslateQuoteReplyEditDelete
2008-08-05 23:22:00 Re: 回复: Re: 关于执行FFmpeg
Yi Li (CHINA)
Message: 59962
I search on web. As far as I understand, ffmpeg still uses libfaad for AAC decode. But someone is working on AAC decoder for ffmpeg: http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2008-July/049330.html.
QuoteReplyEditDelete
2008-08-05 23:48:53 回复: Re: 回复: Re: 关于执行FFmpeg
Jingwei Cheng (CHINA)
Message: 59964
what's mean with you?
I think ffmpeg must uses libfaad for AAC decode.
buf how to operation uses ffmpeg?
thanks!!!
TranslateQuoteReplyEditDelete
2008-08-06 00:22:05 Re: 回复: Re: 回复: Re: 关于执行FFmpeg
Yi Li (CHINA)
Message: 59966
你可能在编ffmpeg的时候没有enable libfaad. 所以ffmpeg找不到codec. 你可以在网上搜一下怎么编译。
(为了让只懂英文的同志们看懂,重复一下:
You may need to enable libfaad when you build ffmpeg, otherwise ffmpeg cannot find proper decoder for AAC.
)
QuoteReplyEditDelete
2008-08-06 00:40:36 Re: 回复: Re: 回复: Re: 关于执行FFmpeg
Yi Li (CHINA)
Message: 59969
If you want to decode AAC, I think you can use mplayer - it uses libfaad.
QuoteReplyEditDelete
2008-08-06 04:50:14 回复: Re: 回复: Re: 回复: Re: 关于执行FFmpeg
Jingwei Cheng (CHINA)
Message: 59976
how to enable libfaad on ffmpeg?
how to operate on the uclinux08r1/lib/ffmpeg?
mplayer can decode h264??
thank you?
TranslateQuoteReplyEditDelete
2008-08-06 05:17:24 Re: 回复: Re: 回复: Re: 回复: Re: 关于执行FFmpeg
Yi Li (CHINA)
Message: 59981
Yes. Mplayer can decode h264.