[FFmpeg-trac] #4141(undetermined:open): HEVC: 1920x1080i file decoded as 1920x540p
FFmpeg
trac at avcodec.org
Sat Dec 6 15:08:02 CET 2014
#4141: HEVC: 1920x1080i file decoded as 1920x540p
-------------------------------------+-------------------------------------
Reporter: | Owner:
Underground78 | Status: open
Type: enhancement | Component:
Priority: wish | undetermined
Version: git-master | Resolution:
Keywords: hevc | Blocked By:
Blocking: | Reproduced by developer: 1
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by robert_s):
Taking a closer look at the sample stream, it appears that field_seq_flag
is 1 in the VUI, but the SEI indicates pic_struct = 3, for which Table D.2
of H.265 says "field_seq_flag shall be 0"...
What does "pic_struct = 3" actually mean? That one picture is both top and
bottom field, i.e. that the "deinterlaced" output would have every line of
the picture doubled?
How would that be implemented in ffmpeg? Can that output method be
specified in AVFrame, or does the decoder need to do this before passing
the AVFrame?
I found that H.264 has the same value for pic_struct, so I looked at the
H.264 decoder sources how pic_struct = 3 is handled there, but it doesn't
seem to do anything other than indicate interlaced content. Am I missing
something or does the H.264 decoder also not support this pic_struct value
properly yet?
--
Ticket URL: <https://trac.ffmpeg.org/ticket/4141#comment:5>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list