Can't decode .flv if it contains audio only]
Hello, does somebody please have an answer to the bellow question? Thank you, Hynek Hanke I have trouble using ffmpeg to decode some .flv videos recorded through Red5. If the users camera is on and the stream contains video, I can use *ffmpeg -i stream2.flv -vn -f mp3 test.mp3* Stream #0.0: Video: flv, yuv420p, 160x120, 1k tbr, 1k tbn, 1k tbc Stream #0.1: Audio: nellymoser, 44100 Hz, mono, s16 *and produce a valid test.mp3* If the stream however contains no video because users camera is off, otherwise recorded in exactly the same way, this procedure fails: *ffmpeg -i stream1.flv -vn -f mp3 test.mp3* [flv @ 0x155fa60]skipping flv packet: type 0, size 12954112, flags 0 [flv @ 0x155fa60]Could not find codec parameters (Video: 0x0000) [flv @ 0x155fa60]Could not find codec parameters (Audio: 0x0000, 0 channels, s16) *chatroom-localhost-1-stream-1.flv: could not find codec parameters * This is the full listing: FFmpeg version 0.5-svn17737+3:0.svn20090303-1ubuntu6, Copyright (c) 2000-2009 Fabrice Bellard, et al. configuration: --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --extra-version=svn17737+3:0.svn20090303-1ubuntu6 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --disable-stripping --disable-vhook --enable-libdc1394 --enable-shared --disable-static libavutil 49.15. 0 / 49.15. 0 libavcodec 52.20. 0 / 52.20. 0 libavformat 52.31. 0 / 52.31. 0 libavdevice 52. 1. 0 / 52. 1. 0 libavfilter 0. 4. 0 / 0. 4. 0 libswscale 0. 7. 1 / 0. 7. 1 libpostproc 51. 2. 0 / 51. 2. 0 built on Apr 10 2009 23:20:33, gcc: 4.3.3 [flv @ 0x1c2ca60]skipping flv packet: type 0, size 122880, flags 0 [flv @ 0x1c2ca60]Could not find codec parameters (Video: 0x0000) [flv @ 0x1c2ca60]Could not find codec parameters (Audio: nellymoser, 0 channels, s16) chatroom-localhost-1-stream-15.flv: could not find codec parameters The .flv file can be found here: http://www.freebsoft.org/~hanke/chatroom-localhost-1-stream-1.flv Can you please help how to fix it or how to find more information on what is wrong? Thank you very much, Hynek Hanke
participants (1)
-
hankeļ¼ brailcom.org