[Ffmpeg-user] audio codec for mp4a, 8000 Hz, stereo
andrew at flypublishing.com
andrew at flypublishing.com
Mon Jul 3 05:30:57 CEST 2006
Thanks, I got faad2-2.0.tar.gz, compiled it, installed it then
re-compiled ffmpeg with --enable-faad. I was getting ffmpeg: error
while loading shared libraries: libfaad.so.0 after that but then did
export LD_LIBRARY_PATH=/usr/local/lib and that error went away.
But I still get "Unsupported codec (id=0) for input stream #0.1"
Here's the output:
$ ffmpeg -i test.3gp -acodec mp3 -ar 22050 -ab 32 -y test.mpg
FFmpeg version CVS, Copyright (c) 2000-2004 Fabrice Bellard
configuration: --enable-amr_nb --enable-mp3lame --enable-gpl --enable-faad
libavutil version: 49.0.0
libavcodec version: 51.9.0
libavformat version: 50.4.0
built on Jul 2 2006 20:17:32, gcc: 3.3.3 20040412 (Red Hat Linux 3.3.3-7)
Seems that stream 0 comes from film source: 90000.00 (90000/1) ->
29.97 (30000/1001)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'test.3gp':
Duration: 00:00:04.7, start: 0.000000, bitrate: 102 kb/s
Stream #0.0(eng): Video: h263, yuv420p, 176x144, 29.97 fps(r)
Stream #0.1(eng): Audio: mp4a / 0x6134706D, 8000 Hz, stereo
Output #0, mpeg, to 'test.mpg':
Stream #0.0: Video: mpeg1video, yuv420p, 176x144, q=2-31, 200 kb/s,
29.97 fps(c)
Stream #0.1: Audio: mp3, 22050 Hz, stereo, 32 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
Unsupported codec (id=0) for input stream #0.1
On 7/2/06, CHRis Halse Rogers <chalserogers at gmail.com> wrote:
> On 7/3/06, andrew at flypublishing.com <andrew at flypublishing.com> wrote:
> > Hello, sorry if this is a stupid question, I've been trying to get
> > this audio codec problem solved for a few weeks now, I'm stuck.
> >
> > I have a video file from a verizon cell phone that's "video/3gpp2".
> > When I try and use ffmpeg to convert I can get the video but never the
> > audio. I get:
> >
> > $ ffmpeg -i test.3gp -acodec mp3 -ar 22050 -ab 32 -y test.mpg
> > FFmpeg version CVS, Copyright (c) 2000-2004 Fabrice Bellard
> > configuration: --enable-amr_nb --enable-mp3lame --enable-gpl --enable-amr_wb
> > libavutil version: 49.0.0
> > libavcodec version: 51.9.0
> > libavformat version: 50.4.0
> > built on Jul 2 2006 16:07:57, gcc: 3.3.3 20040412 (Red Hat Linux 3.3.3-7)
> > Seems that stream 0 comes from film source: 90000.00 (90000/1) -> 29.97 (30000/1
> > 001)
> > Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'test.3gp':
> > Duration: 00:00:04.7, start: 0.000000, bitrate: 102 kb/s
> > Stream #0.0(eng): Video: h263, yuv420p, 176x144, 29.97 fps(r)
> > Stream #0.1(eng): Audio: mp4a / 0x6134706D, 8000 Hz, stereo
> > Output #0, mpeg, to 'test.mpg':
> > Stream #0.0: Video: mpeg1video, yuv420p, 176x144, q=2-31, 200 kb/s, 29.97 fps(
> > c)
> > Stream #0.1: Audio: mp3, 22050 Hz, stereo, 32 kb/s
> > Stream mapping:
> > Stream #0.0 -> #0.0
> > Stream #0.1 -> #0.1
> > Unsupported codec (id=0) for input stream #0.1
> >
> > I have the latest ffmpeg from cvs and I configured it with "
> > --enable-amr_nb --enable-mp3lame --enable-gpl --enable-amr_wb." Can
> > anyone point me in the right direction?
>
> Yup. You'll need the faad library (mp4a/aac decoding), and build
> ffmpeg with --enable-faad, from what I can see.
>
> >
> > Thanks!
> > _______________________________________________
> > ffmpeg-user mailing list
> > ffmpeg-user at mplayerhq.hu
> > http://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-user
> >
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at mplayerhq.hu
> http://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-user
>
More information about the ffmpeg-user
mailing list