Opened 12 years ago
Closed 11 years ago
#1883 closed defect (fixed)
ASF/WMV Source Aspect Ratio (X/Y) Reversed
Reported by: | esa | Owned by: | |
---|---|---|---|
Priority: | important | Component: | avformat |
Version: | git-master | Keywords: | asf aspect regression |
Cc: | Holger | Blocked By: | |
Blocking: | Reproduced by developer: | yes | |
Analyzed by developer: | no |
Description
I've noticed this bug only when using ffplay/ffmpeg to decode WMV3 video. I believe ffmpeg is reversing the X and Y values for SAR or PAR, resulting in the wrong DAR.
Regression introduced at ffmpeg-20120914-git-8bdba0b. Earlier builds handle DAR/SAR properly.
To reproduce find an ASF that has a pixel aspect ratio of, for instance, 4x3, but which requires a display aspect ratio of 16x9 to view properly. If the source aspect ratio is set to 4x3, then the DAR would display correctly at 16x9. However, under current build the DAR is getting set to 1:1.
Attachments (6)
Change History (13)
comment:1 by , 12 years ago
Component: | undetermined → FFplay |
---|
comment:2 by , 12 years ago
Component: | FFplay → avformat |
---|---|
Keywords: | asf added; SAR DAR Aspect Ratio removed |
Priority: | normal → important |
Version: | unspecified → git-master |
by , 12 years ago
Attachment: | ffmpeg-20120907-git-070b0e1-win64__ffplay-20121102-185649.log added |
---|
by , 12 years ago
Attachment: | ffmpeg-20120907-git-070b0e1-win64__ffprobe-20121102-185917.log added |
---|
by , 12 years ago
Attachment: | ffmpeg-20120914-git-8bdba0b-win64__ffplay-20121102-185805.log added |
---|
by , 12 years ago
Attachment: | ffmpeg-20120914-git-8bdba0b-win64__ffprobe-20121102-190003.log added |
---|
by , 12 years ago
Attachment: | sample-1.wmv added |
---|
comment:3 by , 12 years ago
I've attached logs for ffplay and ffprobe for "sample-1.wmv"
Hopefully, that provides all of the requested information.
comment:4 by , 12 years ago
Keywords: | aspect added |
---|---|
Reproduced by developer: | set |
Resolution: | → fixed |
Status: | new → closed |
will be fixed in my next git push
comment:5 by , 12 years ago
Keywords: | regression added |
---|
follow-up: 7 comment:6 by , 11 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
1080HdvNtscWrongAspectRatio.wmv:
Is displayed in WMP as 16:9
but in FFmpeg as 4:3
FFmpeg from 2013-07-03
Sample Video:
https://www.dropbox.com/s/dmqsblqw2nmlq3x/1080HdvNtscWrongAspectRatio.wmv
comment:7 by , 11 years ago
Cc: | added |
---|---|
Resolution: | → fixed |
Status: | reopened → closed |
Replying to Holger:
1080HdvNtscWrongAspectRatio.wmv:
Is displayed in WMP as 16:9
but in FFmpeg as 4:3
Generally, please reopen "fixed" tickets only if the original issue was not fixed, ie if the problem as originally described (with the original sample) was not fixed. This is of course not a strict rule, but it is useful as a general guideline. Even more so for tickets that were fixed more than six months ago.
(The original sample is detected as 16:9 with current FFmpeg.)
For the specific case you mentioned: It works fine here, if you get 4:3 output please open a new ticket providing your command line (no external libraries if possible) together with the complete, uncut console output.
by , 10 years ago
Attachment: | 1080HdvNtscWrongAspectRatio_cut.wmv added |
---|
Please provide a sample and a command line that allows to reproduce the problem together with complete, uncut console output.