AtiQah-FC / lavfilters

Automatically exported from code.google.com/p/lavfilters
GNU General Public License v2.0
0 stars 0 forks source link

Files with different DAR & original DAR have wrong aspect ratio with LAV Video Decoder #241

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Files with different "Display aspect ratio" and "Original display aspect ratio" 
have wrong aspect ratio with LAV Video Decoder.
It works fine using internal MPC-HC decoder.

"Read AR from stream" setting under H264/AVC properties in MPC-HC transform 
filters is enabled.
"Use Stream Aspect Ratio" setting under Video Settings in LAV Video Decoder is 
enabled.

Some info from MediaInfo:
Width                          : 720 pixels
Height                         : 480 pixels
Display aspect ratio           : 16:9
Original display aspect ratio  : 3:2

sample:
http://depositfiles.com/files/8c29sn1sd

Using MPC-HC 1.6.3.5352 with LAV Video Filters 0.50.5-2bf951f on Win 7 (all 
64bit)

Original issue reported on code.google.com by Bern...@gmail.com on 4 Jul 2012 at 10:45

GoogleCodeExporter commented 9 years ago
"Original display aspect ratio" is the AR from the AVC stream, so if you play 
that file with "Use Stream Aspect Ratio" enabled, it should come out as 3:2, or 
720x480 exactly.
Only if you turn that option off, the Container AR is used, which Media Info 
calls "Display aspect ratio", and is 16:9.

If anything else is happening, that would be a bug, but if you get 3:2 with the 
file you linked, its working as intended. The filehoster you used is blocked by 
my work firewall, so i cannot download it right now.

Sadly you didn't specify what is happening and what should be happening, so 
without downloading the file i cannot judge if there is actually a problem (and 
as mentioned above, cannot download right now)

Original comment by h.lepp...@gmail.com on 4 Jul 2012 at 10:57

GoogleCodeExporter commented 9 years ago
sample:
http://www.multiupload.nl/E0VXGM855J

LAV Video Decoder
http://suxorz.com/i5/lav.jpg

MPC-HC internal decoder
http://suxorz.com/i5/mpchc.jpg

I read your detailed explanation and it seems that your decoder working as 
intended...
odd because video in MPC-HC looks more natural ;p

Original comment by Bern...@gmail.com on 4 Jul 2012 at 11:13

GoogleCodeExporter commented 9 years ago

Original comment by h.lepp...@gmail.com on 4 Jul 2012 at 11:52