[FFmpeg-devel] Black Border on MOV Videos
PlatinumATLien
platinumatlien
Sun Oct 14 01:31:10 CEST 2007
I am using FFMPEG on a Red Hat linux server in conjunction with PHP in order
to convert videos to FLV before they are streamed. I have installed FFMPEG
with the following configuration:
./configure --enable-libmp3lame --enable-libogg --enable-libvorbis
--disable-mmx --enable-shared --enable-libfaad --enable-libfaac
--enable-liba52 --enable-liba52bin --enable-pp --enable-pthreads
--enable-gpl --disable-strip --enable-libvorbis --enable-libamr-wb
--enable-libxvid --enable-libx264 --enable-libtheora --enable-libamr-nb
Now the exact problem I am having is that a black border appears on certain
MOV videos after being converted to FLV. The border could be described
precisely as appearing on the right of and below the video being played and
is rather thick, lowering the video space of the actual video. This awkward
border also appears on thumbnails created by FFMPEG.
I have not had any problem with any other video format outside of a few MOV
files, some work, some don't. I think it has more to with the MOV files that
use h263, I am not 100% sure.
The exact settings I am using are:
ffmpeg -i test_media/test.MOV -f flv -vcodec flv -b 400kb -s 320x240 -qmin 1
-qmax 31 -acodec libmp3lame -ar 22050 -ac 1 test_media/test.FLV
and the output given from FFMPEG when converting a sample MOV file to a
sample FLV file that has this awkward border is:
FFmpeg version SVN-r10595, Copyright (c) 2000-2007 Fabrice Bellard, et al.
configuration: --enable-libmp3lame --enable-libogg --enable-libvorbis
--disable-mmx --enable-shared --enable-libfaad --enable-libfaac
--enable-liba52 --enable-liba52bin --enable-pp --enable-pthreads
--enable-gpl --disable-strip --enable-libvorbis --enable-libamr-wb
--enable-libxvid --enable-libx264 --enable-libtheora --enable-libamr-nb
libavutil version: 49.5.0
libavcodec version: 51.44.0
libavformat version: 51.14.0
built on Sep 26 2007 17:14:14, gcc: 3.4.6 20060404 (Red Hat 3.4.6-8)
Seems stream 0 codec frame rate differs from container frame rate:
29.97(30000/1001) ->
15.00 (1584000/105582)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'test_media/test.MOV':
Duration: 00:00: 13.1, start: 0.000000, bitrate: 1884 kb/s
Stream #0.0(eng): Video: h263, yuv420p, 352x288, 15.00 fps(r)
Stream #0.1(eng): Audio: pcm_mulaw, 8000 Hz, mono, 64 kb/s
[flv @ 0xadae70]removing common factors from framerate
Press [q] to stop encoding
frame= 198 fps= 77 q=8.6 Lsize= 891kB time=13.2 bitrate= 553.0kbits/s
video:776kB audio:104kB global headers:0kB muxing overhead 1.284209%
Thank you for any help given!
More information about the ffmpeg-devel
mailing list