[FFmpeg-devel] [PATCH] Write Pixel Aspect Ratio tag to QuickTime files

Daniel Kristjansson danielk
Wed Jul 7 23:17:15 CEST 2010


On Wed, 2010-07-07 at 13:37 -0700, Baptiste Coudurier wrote:
> Hi,
> 
> On 07/07/2010 10:24 AM, Daniel Kristjansson wrote:
> >
> > This allows for non-square pixels in QT containers regardless
> > of codec. 'pasp' is also a required tag in Apple QT when the
> > pixels are not square.
> 
> I doubt this is required.
> How does quicktime do with mp4 that did only define pasp until recently ?

It's required in the spec, p118 of qtfs.pdf, "Pixel aspect ratio. This
extension is mandatory for video formats that use non-square pixels."
The QuickTime player (shows 1440x1080 MPEG-2 material at 36:27 rather
than 16:9 without this. I did not test whether NTSC/PAL material is
played correctly.

> 0/1 would set them here, and that's not wanted.
Oops! Revised patch attached.

-- Daniel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mov-pasp-v2.patch
Type: text/x-patch
Size: 1240 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100707/78c8847b/attachment.bin>



More information about the ffmpeg-devel mailing list