Opened 10 years ago

Last modified 3 months ago

#4161 reopened defect

MPEG2 PS sample: wrong aspect ratio

Reported by: Underground78 Owned by:
Priority: normal Component: undetermined
Version: git-master Keywords: aspect
Cc: Michael Niedermayer Blocked By:
Blocking: 7.0 Reproduced by developer: yes
Analyzed by developer: no

Description

Summary of the bug:
This sample is detected as 4:3 by FFmpeg although it apparently should be 16:9. WinDVD plays it with the expected aspect ratio of 16:9 and MediaInfo also reports it to be 16:9.

How to reproduce:

> ffmpeg -i "VR_MOVIE_GuyMartinsSpitfireBcast169 qsf lappyAspectNoChnge_extract.mpg"
ffmpeg version N-68211-g4a0b1d9 Copyright (c) 2000-2014 the FFmpeg developers
  built on Dec  4 2014 22:02:36 with gcc 4.9.2 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-decklink --enable-zlib
  libavutil      54. 15.100 / 54. 15.100
  libavcodec     56. 14.100 / 56. 14.100
  libavformat    56. 15.102 / 56. 15.102
  libavdevice    56.  3.100 / 56.  3.100
  libavfilter     5.  2.103 /  5.  2.103
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  1.100 /  1.  1.100
  libpostproc    53.  3.100 / 53.  3.100
Input #0, mpeg, from 'VR_MOVIE_GuyMartinsSpitfireBcast169 qsf lappyAspectNoChnge_extract.mpg':
  Duration: 00:00:09.02, start: 0.200000, bitrate: 9119 kb/s
    Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p(tv), 720x576 [SAR 16:15 DAR 4:3], max. 9263 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
    Stream #0:1[0x80]: Audio: ac3, 48000 Hz, stereo, fltp, 384 kb/s
At least one output file must be specified

Change History (6)

comment:1 by Carl Eugen Hoyos, 10 years ago

Keywords: aspect added
Reproduced by developer: set
Status: newopen

WMP starts the file 4:3 as MPlayer, vlc and FFplay do, after a moment it changes the aspect ratio to 16:9.

comment:2 by Michael Niedermayer, 10 years ago

Resolution: fixed
Status: openclosed

comment:3 by Michael Niedermayer, 9 months ago

Blocking: 7.0
Resolution: fixed
Status: closedreopened

this bug is back, its now a regression since 924a6f3cc7788e2d258348b1547a49805091ea2d

Last edited 9 months ago by Michael Niedermayer (previous) (diff)

comment:4 by James, 9 months ago

Is this sample available anywhere? Also, how does b2a0a2e6f5 affect this? It's a check that should not trigger for a decodable file.

in reply to:  4 comment:5 by Michael Niedermayer, 9 months ago

Replying to James:

Is this sample available anywhere? Also, how does b2a0a2e6f5 affect this? It's a check that should not trigger for a decodable file.

The commit is off by 1, its 924a6f3cc7788e2d258348b1547a49805091ea2d, teh sample is available at https://samples.ffmpeg.org/ffmpeg-bugs/trac/ticket4161/

comment:6 by Michael Niedermayer, 3 months ago

Cc: Michael Niedermayer added
Note: See TracTickets for help on using tickets.