Skip to content

Commit 4d4e6fc

Browse files
committed
Ignore input colorspace if equal to gbr.
1 parent b66c0fe commit 4d4e6fc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

other-transcode.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1808,6 +1808,7 @@ def get_video_options(media_info, video, burn_subtitle, crop)
18081808
color_trc = 'gamma22' if color_trc == 'bt470m'
18091809
color_trc = 'gamma28' if color_trc == 'bt470bg'
18101810
colorspace = video['color_space']
1811+
colorspace = nil if colorspace == 'gbr'
18111812

18121813
if (video.fetch('pix_fmt', 'yuv420p') == 'yuv420p10le') and ten_bit
18131814
color_primaries ||= 'bt2020'

0 commit comments

Comments
 (0)