[FFmpeg-user] Webm Wrong Displaysize

Fabian Lesniak fabian at lesniak-it.de
Mon Jun 13 21:23:35 CEST 2011


I suggest to select a real 16:9 resolution, i.e. 768x432
# ffmpeg -i file.mpg -vf scale=768:432 -aspect 16:9 ...

You may also want to crop some black borders, depending on your source, then 
I'd put the crop=x:y:a:b in front of the scale filter.

Am Montag, 13. Juni 2011, 22:50:17 schrieb Mathieu Goutfreind:
> Le Mon, 13 Jun 2011 17:07:11 +0100,
> 
> startx <startx at plentyfact.org> a écrit :
> > On Mon, 13 Jun 2011 18:47:14 +0200
> > 
> > Mathieu Goutfreind <mathieu_g1 at gmx.fr> wrote:
> > > Hello,
> > > 
> > > I've got a small problem with webm.
> > > Using ffmpeg the displaysize is incorrect.
> > > 
> > > libpostproc   51. 2. 0 / 51. 2. 0 Input #0, mpeg, from
> > > 'M2U00008.MPG': Duration: 00:03:58.55, start: 0.072389, bitrate:
> > > 9624 kb/s Stream #0.0[0x1e0]: Video: mpeg2video, yuv420p, 720x576
> > > [PAR 64:45 DAR 16:9],
> > 
> > this is probably because of "[PAR 4:3 DAR 16:9]" in the original, the
> > pixel aspect ratio is 4:3 ( anamorphic widescreen ).
> > 
> > you need to set the aspect ratio or calculate the outcome manually.
> > 
> > startx
> > _______________________________________________
> > ffmpeg-user mailing list
> > ffmpeg-user at ffmpeg.org
> > http://ffmpeg.org/mailman/listinfo/ffmpeg-user
> 
> I've tried -aspect 16:9 but i've still the same result.
> 
> Maybe I'm using the wrong command ?
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user


More information about the ffmpeg-user mailing list