I just installed Mint over another distro because I kept running into limitations on codecs. I am trying to use ffmpeg to convert an mp4 to flv. It must require some arguments on the command line, but I am not sure what it is looking for. Any one have experience with this.
I am running a simple line (ffmpeg -i file.mp4 file.flv)
I am getting the following output:
ffmpeg -i 200701-teenage-mutant-ninja-turtles-movie.mp4 turtles.flv
FFmpeg version r11872+debian_3:0.svn20080206-12ubuntu3.1, Copyright (c) 2000-2008 Fabrice Bellard, et al.
configuration: --enable-gpl --enable-pp --enable-swscaler --enable-x11grab --prefix=/usr --enable-libgsm --enable-libtheora --enable-libvorbis --enable-pthreads --disable-strip --enable-libfaad --enable-libfaadbin --enable-liba52 --enable-liba52bin --enable-libdc1394 --disable-armv5te --disable-armv6 --disable-altivec --disable-vis --enable-shared --disable-static
libavutil version: 49.6.0
libavcodec version: 51.50.0
libavformat version: 52.7.0
libavdevice version: 52.0.0
built on Mar 13 2009 17:48:10, gcc: 4.3.2
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '200701-teenage-mutant-ninja-turtles-movie.mp4':
Duration: 00:01:46.1, start: 0.000000, bitrate: 827 kb/s
Stream #0.0(eng): Video: mpeg4, yuv420p, 368x208 [PAR 1:1 DAR 23:13], 29.97 tb(r)
Stream #0.1(eng): Audio: mpeg4aac, 48000 Hz, stereo
Output #0, flv, to 'turtles.flv':
Stream #0.0(eng): Video: flv, yuv420p, 368x208 [PAR 1:1 DAR 23:13], q=2-31, 200 kb/s, 29.97 tb(c)
Stream #0.1(eng): Audio: adpcm_swf, 48000 Hz, stereo, 64 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
[adpcm_swf @ 0xb7e1b2f0]Sample rate must be 11025, 22050 or 44100
Error while opening codec for output stream #0.1 - maybe incorrect parameters such as bit_rate, rate, width or height
ffpeg help needed
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
ffpeg help needed
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: ffpeg help needed
Well, the error is here
What you do about it is another story, I'm not much into this. Seems you have to change the bit rate of the audio to 44100Stream #0.1(eng): Audio: adpcm_swf, 48000 Hz, stereo, 64 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
[adpcm_swf @ 0xb7e1b2f0]Sample rate must be 11025, 22050 or 44100
Error while opening codec for output stream #0.1 - maybe incorrect parameters such as bit_rate, rate, width or height