ffmpeg - flv Unsupported audio codec
Hello all,
How do I add flv support? I would also be grateful for links to tutorials on how to do this. Thanks all |
This is my version of ffmpeg. It seems old, how can I update it with the latest. I have already updated yum?
ffmpeg -version FFmpeg version SVN-rUNKNOWN, Copyright (c) 2000-2007 Fabrice Bellard, et al. configuration: --prefix=/usr --libdir=/usr/lib --mandir=/usr/share/man --incdir=/usr/include/ffmpeg --enable-libmp3lame --enable-libogg --enable-libvorbis --enable-libogg --enable-libtheora --enable-libfaad --enable-libfaac --enable-libgsm --enable-xvid --enable-x264 --enable-liba52 --enable-liba52bin --enable-pp --enable-shared --enable-pthreads --enable-gpl --disable-strip libavutil version: 49.4.0 libavcodec version: 51.40.4 libavformat version: 51.12.1 built on May 30 2007 15:17:57, gcc: 4.1.2 20070502 (Red Hat 4.1.2-12) ffmpeg SVN-rUNKNOWN libavutil 3212288 libavcodec 3352580 libavformat 3345409 |
what does
ffmpeg -formats | grep flv show? |
FFmpeg version SVN-rUNKNOWN, Copyright (c) 2000-2007 Fabrice Bellard, et al.
configuration: --prefix=/usr --libdir=/usr/lib --mandir=/usr/share/man --incdir=/usr/include/ffmpeg --enable-libmp3lame --enable-libogg --enable-libvorbis --enable-libogg --enable-libtheora --enable-libfaad --enable-libfaac --enable-libgsm --enable-xvid --enable-x264 --enable-liba52 --enable-liba52bin --enable-pp --enable-shared --enable-pthreads --enable-gpl --disable-strip libavutil version: 49.4.0 libavcodec version: 51.40.4 libavformat version: 51.12.1 built on May 30 2007 15:17:57, gcc: 4.1.2 20070502 (Red Hat 4.1.2-12) DE flv flv format DEVSD flv Ok I must be using it wrong then, I use it like this: Code:
ffmpeg -i vtester.flv -y -f mjpeg -ss 10.00 -vframes l -an test.jpg |
And what happens then?
|
I get a segmentation fault:
FFmpeg version SVN-rUNKNOWN, Copyright (c) 2000-2007 Fabrice Bellard, et al. configuration: --prefix=/usr --libdir=/usr/lib --mandir=/usr/share/man --incdir=/usr/include/ffmpeg --enable-libmp3lame --enable-libogg --enable-libvorbis --enable-libogg --enable-libtheora --enable-libfaad --enable-libfaac --enable-libgsm --enable-xvid --enable-x264 --enable-liba52 --enable-liba52bin --enable-pp --enable-shared --enable-pthreads --enable-gpl --disable-strip libavutil version: 49.4.0 libavcodec version: 51.40.4 libavformat version: 51.12.1 built on May 30 2007 15:17:57, gcc: 4.1.2 20070502 (Red Hat 4.1.2-12) [flv @ 0xb7fbd114]Unsupported audio codec (6) [flv @ 0xb7fbd114]Could not find codec parameters (Audio: 0x0006) Segmentation fault |
I think I need the latest ffmpeg because this codec is called "N....." (forgot the name!). They (ffmpeg) have only recently provided support for it.
|
That's it, it called Nellymoser audio codec.
|
Damn it - I installed lastest version and I get the following:
Code:
[root]# /usr/bin/ffmpeg/ffmpeg -i video1218815392.flv -y -f mjpeg -ss 10.00 -vframes l -an test.jpg |
Why are you setting vframes to 1 (or trying to)?
|
I am trying to get a single frame from the flv so I can use it as a thumbnail. What should I change that 1 to?
|
Ok it works fine when i remove the -vframes l option. Sheesh!
|
Not sure how to extract a single frame - never done that one
|
|
The above I have works now with the removal of "-vframes l". Thanks for the tutorial and your help billymayday :)
|
All times are GMT -5. The time now is 06:25 AM. |