Skip to content

Handle yuv420p(tv, bt2020nc/bt2020/arib-std-b67, progressive) properly #1140

@bwsw

Description

@bwsw

Pipeline crashes when video has such properties. Resetting them with FFmpeg fixes the operation:

ffmpeg -i in.mp4 -map 0:v:0 -map 0:a? \
  -c:v copy \
  -bsf:v "h264_metadata=video_full_range_flag=0:colour_primaries=1:transfer_characteristics=1:matrix_coefficients=1" \
  -c:a copy \
  out_bt709.mp4

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions