GNOME Bugzilla – Bug 765946
dv: Uses different pixel-aspect-ratio than gst-libav
Last modified: 2016-05-06 06:49:43 UTC
The ones from gst-libav are from the DV code in there (libavcodec/dv_profile.c), and they give much nicer display aspect ratios when applying them to the resolutions, e.g. libav: (720*(8/9))/480 => 4:3 dv: (720*(10/11))/480 => something odd Someone knows what's behind this? The numbers from dv seem to be the same as on wikipedia, but might have completely different assumptions: https://en.wikipedia.org/wiki/Pixel_aspect_ratio
It seems like a bug, no? Should be either 4:3 or 16:9 surely..
It's the same for the "16:9" ones, the ones from ffmpeg actually end up being 16:9. The ones from the DV plugin not. The ffmpeg ones were added by me according to the ffmpeg code in bug #765946, the ones in dvdemux by Wim in bug #380944 in 2007 with a patch by Jan.
(In reply to Sebastian Dröge (slomo) from comment #2) > The ffmpeg ones were added by me according to the ffmpeg code in bug #765946 In bug #600895.
Created attachment 327264 [details] [review] dv: Use correct pixel-aspect-ratio values The previous ones resulted in odd display aspect ratios and were different from the ones used by e.g. ffmpeg. The new ones now result in display aspect ratios of 4:3 and 16:9.
The other thing here is that dvdemux/dvdec only seems to handle PAL/NTSC resolutions, while the ffmpeg code also does various higher resolutions.
Attachment 327264 [details] pushed as 83d5797 - dv: Use correct pixel-aspect-ratio values