Hi, I am trying to convert ab avi to flv using command below ffmpeg -i video.avi -ar 44100 -ab 32 -f flv outputl.flv in return im getting this error FFmpeg version SVN-r19894, Copyright (c) 2000-2009 Fabrice Bellard, et al. configuration: --enable-libmp3lame --enable-libvorbis --disable-mmx --enable-shared libavutil 50. 3. 0 / 50. 3. 0 libavcodec 52.35. 0 / 52.35. 0 libavformat 52.38. 0 / 52.38. 0 libavdevice 52. 2. 0 / 52. 2. 0 libswscale 0. 7. 1 / 0. 7. 1 built on Sep 17 2009 19:37:29, gcc: 4.1.2 20080704 (Red Hat 4.1.2-44) Seems stream 0 codec frame rate differs from container frame rate: 29.98 (65535/2186) -> 29.97 (30000/1001) Input #0, avi, from 'video.avi': Duration: 00:04:14.38, start: 0.000000, bitrate: 1419 kb/s Stream #0.0: Video: mpeg4, yuv420p, 672x288 [PAR 1:1 DAR 7:3], 29.97 tbr, 29.97 tbn, 29.98 tbc Stream #0.1: Audio: ac3, 48000 Hz, 5.1, s16, 448 kb/s Output #0, flv, to 'output.flv': Stream #0.0: Video: flv, yuv420p, 672x288 [PAR 1:1 DAR 7:3], q=2-31, 200 kb/s, 90k tbn, 29.97 tbc Stream #0.1: Audio: libmp3lame, 22050 Hz, 5.1, s16, 64 kb/s Stream mapping: Stream #0.0 -> #0.0 Stream #0.1 -> #0.1 Error while opening encoder for output stream #0.1 - maybe incorrect parameters such as bit_rate, rate, width or height Anyone help me with finding the correct command?
ffmpeg -i Aare.avi -f yuv4mpegpipe - | yuvfps -s 50:1 -r 50:1 | ffmpeg -f yuv4mpegpipe -i - -b 28800k -y output.flv FFmpeg version SVN-r19894, Copyright (c) 2000-2009 Fabrice Bellard, et al. configuration: --enable-libmp3lame --enable-libvorbis --disable-mmx --enable-shared libavutil 50. 3. 0 / 50. 3. 0 libavcodec 52.35. 0 / 52.35. 0 libavformat 52.38. 0 / 52.38. 0 libavdevice 52. 2. 0 / 52. 2. 0 libswscale 0. 7. 1 / 0. 7. 1 built on Sep 17 2009 19:37:29, gcc: 4.1.2 20080704 (Red Hat 4.1.2-44) FFmpeg version SVN-r19894, Copyright (c) 2000-2009 Fabrice Bellard, et al. configuration: --enable-libmp3lame --enable-libvorbis --disable-mmx --enable-shared libavutil 50. 3. 0 / 50. 3. 0 libavcodec 52.35. 0 / 52.35. 0 libavformat 52.38. 0 / 52.38. 0 libavdevice 52. 2. 0 / 52. 2. 0 libswscale 0. 7. 1 / 0. 7. 1 built on Sep 17 2009 19:37:29, gcc: 4.1.2 20080704 (Red Hat 4.1.2-44) Input #0, avi, from 'Aare.avi': Duration: 00:02:36.65, start: 0.000000, bitrate: 2897 kb/s Stream #0.0: Video: mpeg4, yuv420p, 640x272 [PAR 1:1 DAR 40:17], 29.97 tbr, 29.97 tbn, 29.97 tbc Stream #0.1: Audio: ac3, 48000 Hz, 5.1, s16, 448 kb/s Output #0, yuv4mpegpipe, to 'pipe:': Stream #0.0: Video: rawvideo, yuv420p, 640x272 [PAR 1:1 DAR 40:17], q=2-31, 200 kb/s, 90k tbn, 29.97 tbc Stream mapping: Stream #0.0 -> #0.0 Press [q] to stop encoding -bash: yuvfps: command not found pipe:: Error while opening file
Did you install mjpegtools? (-bash: yuvfps: command not found) Also possibly you have wrong values at source framerate and target framerate at yuvfps parameters. Please look at http://linux.die.net/man/1/yuvfps Also look at http://lists.mplayerhq.hu/pipermail/ffmpeg-user/2008-December/018095.html
Thanks a lot for you help..but what will be the force command? I have limited rights on the server and can not install new services ..
oki execute this command: ffmpeg -i Chupke_Se.avi -y -r 25 -f flv -vcodec flv -s qvga -ab 192 -f mp3 -an outerfile.flv FFmpeg version SVN-r19894, Copyright (c) 2000-2009 Fabrice Bellard, et al. configuration: --enable-libmp3lame --enable-libvorbis --disable-mmx --enable-shared libavutil 50. 3. 0 / 50. 3. 0 libavcodec 52.35. 0 / 52.35. 0 libavformat 52.38. 0 / 52.38. 0 libavdevice 52. 2. 0 / 52. 2. 0 libswscale 0. 7. 1 / 0. 7. 1 built on Sep 17 2009 19:37:29, gcc: 4.1.2 20080704 (Red Hat 4.1.2-44) Seems stream 0 codec frame rate differs from container frame rate: 29.98 (65535/2186) -> 29.97 (30000/1001) Input #0, avi, from 'Chupke_Se.avi': Duration: 00:04:14.38, start: 0.000000, bitrate: 1419 kb/s Stream #0.0: Video: mpeg4, yuv420p, 672x288 [PAR 1:1 DAR 7:3], 29.97 tbr, 29.97 tbn, 29.98 tbc Stream #0.1: Audio: ac3, 48000 Hz, 5.1, s16, 448 kb/s WARNING: The bitrate parameter is set too low. It takes bits/s as argument, not kbits/s Output #0, mp3, to 'outerfile.flv': Stream #0.0: Video: flv, yuv420p, 320x240 [PAR 7:4 DAR 7:3], q=2-31, 200 kb/s, 90k tbn, 25 tbc Stream mapping: Stream #0.0 -> #0.0 Press [q] to stop encoding frame= 6361 fps=123 q=17.1 Lsize= 6376kB time=254.44 bitrate= 205.3kbits/s video:6376kB audio:0kB global headers:0kB muxing overhead 0.000490% Everything is just fine but no sound .. what command will work for sound too
You can use Moyea Video4Web Converter. It is free and effective to convert all video to FLV. It works well.