Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Interlaced H.264 requires special treatment of repeat_pict #83

Closed
tgoyne opened this issue Aug 19, 2013 · 1 comment
Closed

Interlaced H.264 requires special treatment of repeat_pict #83

tgoyne opened this issue Aug 19, 2013 · 1 comment

Comments

@tgoyne
Copy link
Member

tgoyne commented Aug 19, 2013

From kalle.blomster on February 13, 2012 18:45:24

Interlaced H.264 has many issues in FFMS2, especially when using Haali's parser for MPEG-TS. One of these is mysterious frame duplication. This is caused by the following three facts:

  1. Haali's parser sometimes returns packets that each contain a single field. The two packets of a field pair seem to have the same PTS in this case.
  2. The repeat_pict flag obtained from parsing the frames indicate whether the packet contains a single field (0), a field pair (1), a frame (1) or three fields (2).
  3. lavc appears to decode all packets (regardless of content) into full-height frames (when packet only contains a single field, the missing field is presumably taken from the previous frame or something like that).

We clearly need some special handling of this in order to not output duplicated fields/frames and duplicated timestamps.

Original issue: http://code.google.com/p/ffmpegsource/issues/detail?id=83

@myrsloik
Copy link
Contributor

myrsloik commented May 4, 2015

Probably not relevant anymore since Haali's stuff is gone.

@myrsloik myrsloik closed this as completed May 4, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants