[FFmpeg-trac] #4141(undetermined:open): HEVC: 1920x1080i file decoded as 1920x540p

FFmpeg trac at avcodec.org
Sat Dec 6 15:40:26 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):

 Replying to [comment:6 heleppkes]:
 > As I understand it, 3 and 4 are meant for cases where both fields are in
 one frame (weaved), and you don't need to do more than to indicate
 interlaced and field order in ffmpeg, as thats what the API expects
 anyway.

 So I assume the decoder needs to do the following if pic_struct == 3:

 1. Decode picture
 2. Stretch decoded picture vertically by doubling each line
 3. Set frame->top_field_first = 1 (would be 0 for pic_struct == 4)
 4. Set frame->interlaced_frame = 1

 Is that the way, or is there some way the decoder can omit step 2 and tell
 ffmpeg to do the line doubling instead...?

--
Ticket URL: <https://trac.ffmpeg.org/ticket/4141#comment:7>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list