[FFmpeg-user] Problem converting from FLV to MP4

Fernando Martinelli fernando.martinelli at gmail.com
Wed Jul 25 13:19:12 CEST 2012


2012/7/24 Fernando Martinelli <fernando.martinelli at gmail.com>

> 2012/7/23 Carl Eugen Hoyos <cehoyos at ag.or.at>
>
>> Fernando Martinelli <fernando.martinelli <at> gmail.com> writes:
>>
>> > ffmpeg -i  input.flv -vcodec mpeg4 -b:v 200k -r 24
>> > -vf scale=320:240 -ar 44100 -y output.mp4
>>
>> Does the problem also occur without -ar 44100 ?
>>
>
> It shows an error if I take out the -ar 44100:
>

Is that then a bug Carl? THanks!


>
> *ffmpeg -i  input.flv -vcodec mpeg4 -b:v 200k -r 24 -vf scale=320:240 -y
> output.mp4 *
> *
> *
> *ffmpeg version 0.11.1 Copyright (c) 2000-2012 the FFmpeg developers*
> *  built on Jul 12 2012 15:00:45 with gcc 4.7.1*
> *  configuration: --prefix=/usr --extra-cflags='-g -O2 -fstack-protector
> --param=ssp-buffer-size=4 -Wformat -Werror=format-security '
> --extra-ldflags='-Wl,-z,relro' --cc='ccache cc' --enable-shared
> --enable-libmp3lame --enable-gpl --enable-nonfree
> --disable-decoder=libdirac --enable-libvorbis --disable-pthreads
> --enable-libfaac --enable-libxvid --enable-postproc --enable-x11grab
> --enable-libgsm --enable-libtheora --enable-libopencore-amrnb
> --enable-libopencore-amrwb --enable-libx264 --enable-libspeex
> --enable-nonfree --disable-stripping --enable-libschroedinger
> --disable-encoder=libschroedinger --enable-version3 --enable-libopenjpeg
> --enable-libvpx --enable-librtmp --enable-avfilter --enable-libfreetype
> --enable-libvo-aacenc --disable-decoder=amrnb --enable-libvo-amrwbenc
> --enable-libaacplus --libdir=/usr/lib/x86_64-linux-gnu --disable-vda
> --enable-libbluray --enable-libdc1394 --disable-altivec --disable-armv5te
> --disable-armv6 --disable-vis --shlibdir=/usr/lib/x86_64-linux-gnu*
> *  libavutil      51. 54.100 / 51. 54.100*
> *  libavcodec     54. 23.100 / 54. 23.100*
> *  libavformat    54.  6.100 / 54.  6.100*
> *  libavdevice    54.  0.100 / 54.  0.100*
> *  libavfilter     2. 77.100 /  2. 77.100*
> *  libswscale      2.  1.100 /  2.  1.100*
> *  libswresample   0. 15.100 /  0. 15.100*
> *  libpostproc    52.  0.100 / 52.  0.100*
> *[libspeex @ 0x155ab80] Missing Speex header, assuming defaults.*
> *Guessed Channel Layout for  Input Stream #0.1 : mono*
> *Input #0, flv, from 'input.flv':*
> *  Metadata:*
> *    creationdate    : Sat Jul 21 12:20:45*
> *  Duration: 00:11:25.61, start: 0.000000, bitrate: 211 kb/s*
> *    Stream #0:0: Video: h264 (Baseline), yuv420p, 320x240 [SAR 1:1 DAR
> 4:3], 12 tbr, 1k tbn, 24 tbc*
> *    Stream #0:1: Audio: speex, 16000 Hz, mono, s16*
> *[buffer @ 0x155b1a0] w:320 h:240 pixfmt:yuv420p tb:1/1000 sar:1/1
> sws_param:flags=2*
> *[buffersink @ 0x15d8bc0] No opaque field provided*
> *[scale @ 0x1568d00] w:320 h:240 fmt:yuv420p sar:1/1 -> w:320 h:240
> fmt:yuv420p sar:1/1 flags:0x4*
> *[libfaac @ 0x15d8080] libfaac doesn't support this output format!*
> *Output #0, mp4, to 'output.mp4':*
> *  Metadata:*
> *    creationdate    : Sat Jul 21 12:20:45*
> *    Stream #0:0: Video: mpeg4, yuv420p, 320x240 [SAR 1:1 DAR 4:3],
> q=2-31, 200 kb/s, 90k tbn, 24 tbc*
> *    Stream #0:1: Audio: aac, 16000 Hz, mono, s16, 128 kb/s*
>  *Stream mapping:*
> *  Stream #0:0 -> #0:0 (h264 -> mpeg4)*
> *  Stream #0:1 -> #0:1 (libspeex -> libfaac)*
> *Error while opening encoder for output stream #0:1 - maybe incorrect
> parameters such as bit_rate, rate, width or height*
>
>
>


-- 
Regards/ viele Grüße,
Fernando


More information about the ffmpeg-user mailing list