Skip to content

Commit

Permalink
simplify process to set broadcast range
Browse files Browse the repository at this point in the history
  • Loading branch information
dericed committed Sep 9, 2024
1 parent 811cb82 commit 0371862
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions makederiv
Original file line number Diff line number Diff line change
Expand Up @@ -496,8 +496,7 @@ while [[ "${@}" != "" ]] ; do
MIDDLEOPTIONS+=("${MIDDLEOPTIONSIMX[@]}")
fi
_add_video_filter "format=yuv422p"
_add_video_filter "lut=y=if(gt(val\,235)\,235\,val):u=if(gt(val\,235)\,235\,val):v=if(gt(val\,235)\,235\,val)"
_add_video_filter "lut=y=if(lt(val\,16)\,16\,val):u=if(lt(val\,16)\,16\,val):v=if(lt(val\,16)\,16\,val)"
_add_video_filter "lutyuv=clipval"
elif [[ "${OUTPUT_TYPE}" == "broadcast_copy" ]] ; then
MIDDLEOPTIONS+=(-map 0:v)
MIDDLEOPTIONS+=(-c:v copy)
Expand Down

0 comments on commit 0371862

Please sign in to comment.