[FFmpeg-user] Output frame with correct aspect ratio

Molly Millions mollyrazormillions at gmail.com
Wed Sep 11 17:27:31 CEST 2013


Then... sign, I'll hardcode :). Thanks!


On Tue, Sep 10, 2013 at 12:52 PM, Francois Visagie <
francois.visagie at gmail.com> wrote:

> > -----Original Message-----
> > From: ffmpeg-user-bounces at ffmpeg.org [mailto:ffmpeg-user-
> > bounces at ffmpeg.org] On Behalf Of Molly Millions
> > Sent: 10 September 2013 12:14
> > To: FFmpeg user questions
> > Subject: [FFmpeg-user] Output frame with correct aspect ratio
> >
> > Hi!
> >
> > I have anamorphic videos and would like to find a way to correctly output
> a
> > jpeg with proper aspect ratio.
> >
> > *Video details:*
> >
> > Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv,
> > smpte170m), *720x576 [SAR 118:81 DAR 295:162]*, 2366 kb/s, 25 fps, 25
> tbr,
> > 2500 tbn, 5k tbc (default)
> >
> > *Command line used:*
> > ffmpeg -y -ss 00:00:55 -i MEREK.mov -v:frames 1 x.jpg
> >
> > Using the following command line outputs a jpeg with 720x576 dimensions,
> > encoded with the proper aspect ratio. When I open the file in Photoshop
> it
> > recognizes and renders the image well, but its not an option here, since
> none
> > of the browsers support aspect ratio data inside image files, so they
> render
> > the image incorrectly.
>
> Therefore it seems your only option is to scale the image to the desired
> display aspect ratio. I.e., then the pixel aspect ratio will be 1:1 and the
> picture will no longer be anamorphic.
>
> How can I output an image with the correct aspect
> > ratio? I have tried setsar, setdar but no success so far :O.
>
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>


More information about the ffmpeg-user mailing list