[libav-bugs] [Bug 383] New: AVCodecContext width and height incorrect with odd valued dimensions and H.264 Quicktime movie

bugzilla-daemon at aruru.libav.org bugzilla-daemon at aruru.libav.org
Wed Oct 24 20:55:43 CEST 2012


https://bugzilla.libav.org/show_bug.cgi?id=383

           Summary: AVCodecContext width and height incorrect with odd
                    valued dimensions and H.264 Quicktime movie
           Product: Libav
           Version: 0.8
          Platform: X86
        OS/Version: Mac OS
            Status: NEW
          Severity: major
          Priority: Normal
         Component: general
        AssignedTo: bugzilla at libav.org
        ReportedBy: shakencup at yahoo.com


Created attachment 355
  --> https://bugzilla.libav.org/attachment.cgi?id=355
This is an h264 quicktime movie with odd dimensions.

It seems that the width and height of odd-valued dimensions is rounded up to
the next even value with H.264 Quicktime movies. This causes issues with
avprobe reporting incorrect dimensions, avplay displaying video incorrectly,
and applications using libav such as VLC to display artifacts.

To reproduce:
1. Open the attached file h264_odd_dimensions.mov with avprobe
2. Observe reported dimensions to be 482x242. Actual dimensions, as indicated
by Quicktime Player 10.1 are 481x241.

To observe the artifacts created, open the attachment in Quicktime Player 10.1,
and open with avplay.

Interestingly, this error happens to occur with MPlayer as well. I have
observed this with libav-0.7.6, libav-0.8.2, and libav-0.8.3. It may be related
to Bug #270.

-- 
Configure bugmail: https://bugzilla.libav.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the libav-bugs mailing list