[Ffmpeg-devel] Re: -pad parameters

T mlist4suntong
Mon Jun 5 00:29:15 CEST 2006


On Sun, 04 Jun 2006 13:24:16 +0200, herve.flores wrote:

> Hi, this is some "bug" report about the pad parameters
> 
> 1st sorry for my english
> 
> 2nd, I'm on Mac 10.4.6 on PPC
> I have no idea if it's an endian problem, These errors are reproducable on
> Mac/PPC (compile from friends with svn version)
> this pb is not new (I have the same during last year with all cvs version)
> I don't know with other platforms...

I'm using PC Linux, and can confirm one of the bugs.

$ uname -rm
2.6.11-1-k7 i686

 
> --------------------------------------------- parameter "-pad..." cancels
> parameter "-aspect":
> 
> I don't send the verbose (because of the lisibility of the mail, but if
> you want it, I'll send it). There is nothing strange in the verbose, but
> parameter is not in the resulting stream.
> 
> [...]
> with a vertical pad (with parameter -aspect 16:9), same problem,
> aspect is not written to target:
> ffmpeg -v 1 -i ~/test_pad.mp4 -s 720x376 -padtop 100 -padbottom 100 -
> padcolor 000000 -aspect 16:9 -r pal -vcodec mpeg2video ~/Desktop/
> output_aspect_padtop.m2v
> The resulting aspect is nor 4:3 nor 16:9 (display in real size 720*576)
> 
> output with  "aspect 4:3" and "padtop"
> <http://herve.flores.online.fr/_PRIVATE/ffmpeg/
> output_aspect_padtop.m2v.zip>
> 
> REM: with the crop parameter aspect seems to be written to target.
> ffmpeg -v 1 -i ~/test_pad.mp4 -croptop 10 -cropbottom 10 -s 720x556 -
> aspect 16:9 -r pal -vcodec mpeg2video ~/Desktop/
> output_aspect_croptop.m2v ->OK, the resulting aspect is 16:9 (display in
> 16:9 - 1024*576px)
> 
> Then with "-pad..." the aspect is not conservate... I tried to place the
> aspect parameter everywhere but with the same result :-( (I tried before
> the input, after, in the middle, after the output, ...) seems that the
> pad will always "kill" the specified aspect

This I can confirm. Actually, I've posted my finding in
"gmane.comp.video.ffmpeg.user" titled "aspect ratio info lost after
padding" on 25 Apr 2006.

thanks







More information about the ffmpeg-devel mailing list