[MEncoder-users] H263 container broken?
DD DD
d2ncal2 at gmail.com
Sat Feb 10 10:43:15 CET 2007
I am trying to convert an FLV to H263+AMR, which can be streamed in darwin
streaming server. I was able to do this fine. However, it seem to have
broken in a newer version of ffmpeg. Upgrading the the latest version from
trunk still has the same problem.
The output file that ffmpeg creates has a wrong bps for the video, which
results in a very poor quality file. This was fine with an older version
(from august) of ffmpeg.
<snip>
Output #0, 3gp, to 'video.3gp':
Stream #0.0: Video: h263 (hq), yuv420p, 176x144, q=2-31, 0 kb/s, 15.00fps(c)
Stream #0.1: Audio: amr_nb, 8000 Hz, mono, 16 kb/s
</snip>
Any suggestions?
Below are the commands I am using:
$/usr/local/bin/ffmpeg -y -i video.flv -an -vcodec h263 -s qcif -b 54 -r 15
video.3gp -pass 1
FFmpeg version SVN-r7261, Copyright (c) 2000-2006 Fabrice Bellard, et al.
configuration: --enable-pthreads --enable-mp3lame --enable-libogg
--enable-vorbis --enable-faac --enable-xvid --enable-a52 --enable-amr_nb
--enable-amr_wb --enable-gpl --enable-pp --enable-shared
--extra-cflags=-I/home/encoder/usr/include
--extra-ldflags=-L/home/encoder/usr/lib --enable-faad --enable-static
--disable-encoder=zmbv --prefix=/home/encoder/encap/ffmpeg_svn_07232006
libavutil version: 49.1.0
libavcodec version: 51.26.0
libavformat version: 51.6.0
built on Dec 8 2006 12:02:34, gcc: 4.0.2 20050901 (prerelease) (SUSE
Linux)
Seems that stream 1 comes from film source: 1000.00 (1000/1) ->
29.97(30000/1001)
Input #0, flv, from 'video.flv':
Duration: 00:01:07.9, start: 0.000000, bitrate: 64 kb/s
Stream #0.0: Audio: mp3, 22050 Hz, mono, 64 kb/s
Stream #0.1: Video: flv, yuv420p, 320x240, 29.97 fps(r)
Output #0, 3gp, to 'video.3gp':
Stream #0.0: Video: h263, yuv420p, 176x144, q=2-31, 0 kb/s, 15.00 fps(c)
Stream mapping:
Stream #0.1 -> #0.0
Press [q] to stop encoding
frame= 1004 q=31.0 Lsize= 195kB time=66.9 bitrate= 23.9kbits/s
video:181kB audio:0kB global headers:0kB muxing overhead 7.961190%
/usr/local/bin/ffmpeg -y -i video.flv -acodec amr_nb -ar 8000 -ab 16 -ac 1
-vcodec h263 -s qcif -b 54 -r 15 -me epzs -mbd 2 -coder 1 -deblock -nocabac
video.3gp -pass 2
FFmpeg version SVN-r7261, Copyright (c) 2000-2006 Fabrice Bellard, et al.
configuration: --enable-pthreads --enable-mp3lame --enable-libogg
--enable-vorbis --enable-faac --enable-xvid --enable-a52 --enable-amr_nb
--enable-amr_wb --enable-gpl --enable-pp --enable-shared
--extra-cflags=-I/home/encoder/usr/include
--extra-ldflags=-L/home/encoder/usr/lib --enable-faad --enable-static
--disable-encoder=zmbv --prefix=/home/encoder/encap/ffmpeg_svn_07232006
libavutil version: 49.1.0
libavcodec version: 51.26.0
libavformat version: 51.6.0
built on Dec 8 2006 12:02:34, gcc: 4.0.2 20050901 (prerelease) (SUSE
Linux)
Seems that stream 1 comes from film source: 1000.00 (1000/1) ->
29.97(30000/1001)
Input #0, flv, from 'video.flv':
Duration: 00:01:07.9, start: 0.000000, bitrate: 64 kb/s
Stream #0.0: Audio: mp3, 22050 Hz, mono, 64 kb/s
Stream #0.1: Video: flv, yuv420p, 320x240, 29.97 fps(r)
Output #0, 3gp, to 'video.3gp':
Stream #0.0: Video: h263 (hq), yuv420p, 176x144, q=2-31, 0 kb/s, 15.00fps(c)
Stream #0.1: Audio: amr_nb, 8000 Hz, mono, 16 kb/s
Stream mapping:
Stream #0.1 -> #0.0
Stream #0.0 -> #0.1
Thanks!
D.
More information about the MEncoder-users
mailing list