[Ffmpeg-devel] -pad parameters

herve.flores herve.flores
Tue Jun 6 13:38:41 CEST 2006

Le 6 juin 06 ? 09:53, Luca Abeni a ?crit :

> Hi Herv?,
> On Tue, 2006-06-06 at 09:05 +0200, Luca Abeni wrote:
> [...]
>>> parameter "-pad..." cancels parameter "-aspect":
>> Well, I do not know much about the "aspect" parameter... Anyway, I'll
>> try to have a look
> I do not know how correct it is, but does the attached patch fix the
> problem? (as I said, I do not know the aspect stuff well... So,  
> comments
> are welcome).
> 			Thanks,
> 				Luca

with just one try (the last command that didn't work) the result is ...
GREAT !!!!!

real size is Ok as usual
display size is OK in VLC and mplayer (1024*576 = 16/9 PAL)
the output stream has well the "aspect bit" in its header
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pastedGraphic.png
Type: image/png
Size: 10895 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20060606/4c155f92/attachment.png>
-------------- next part --------------
PS: I didn't specify in the command line "-target dvd_pal" (or - 
maxrate) that's the reason why the bitrate is so "stupid"
tehn all is normal and OK

did you have an other patch do you want me to try, for the padcolor  
and ppm ? ;-)))
About ppm (just for info, maybe it can be usefull to encircle the pb):
ffmpeg -v 1 -i ~/test_pad.mp4 -s 720x436 -padtop 70 -padbottom 70 - 
padcolor 000000 f%d.jpg      -> black pad
ffmpeg -v 1 -i ~/test_pad.mp4 -s 720x436 -padtop 70 -padbottom 70 - 
padcolor 000000 f%d.ppm    -> green pad

PS: I will try more with your patch when I found a little time, but  
now it seems OK


More information about the ffmpeg-devel mailing list