[FFmpeg-user] Add white padding with filter_complex
Fernando Irías Escher
fernandoiriase at gmail.com
Wed Apr 10 01:35:51 CEST 2013
You're right. Actually is a stupid bug. I'm adding two colons instead of
just one in the padding.
This: *pad=iw*2:ih*2::0:0:0xFFFFFF*, should be this: *
pad=iw*2:ih*2:0:0:0xFFFFFF.*
*
*
Thanks for making me look closer!
On Tue, Apr 9, 2013 at 5:25 PM, Paul B Mahol <onemda at gmail.com> wrote:
> On 4/9/13, Fernando Irias Escher <fernandoiriase at gmail.com> wrote:
> > I'm using this command to generate a white padding for a grid:
> > *
> > *
> >
> > *ffmpeg -i 1.mp4 -filter_complex "[0:0]pad=iw*2:ih*2::0:0:0xFFFFFF"
> -c:v
> > libx264 -preset:v veryfast -threads 0 -s 640:360 -map 0:a -c:a
> > libfaac -b:a 96k grid.mp4*
> >
> > Here is the output if it is somehow useful: http://dpaste.com/1052902/
> >
> > The problem is that it is still showing the default black padding instead
> > of a white one. Any hints what might be going on?
>
> Your example does not work here.
>
> This works fine:
>
> ffplay -f lavfi -i testsrc -vf "pad=iw*2:ih*2:iw/2:ih/2:0xFFFFFF"
>
> >
> > ----
> > Fernando Irias Escher
> > _______________________________________________
> > ffmpeg-user mailing list
> > ffmpeg-user at ffmpeg.org
> > http://ffmpeg.org/mailman/listinfo/ffmpeg-user
> >
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
More information about the ffmpeg-user
mailing list