Skip to content

Commit

Permalink
Merge pull request #326 from mediamicroservices/videofilter
Browse files Browse the repository at this point in the history
added additional video filter to makederiv
  • Loading branch information
CSchloss385 authored Aug 12, 2024
2 parents 4fec084 + c0cee41 commit 811cb82
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions makederiv
Original file line number Diff line number Diff line change
Expand Up @@ -497,6 +497,7 @@ while [[ "${@}" != "" ]] ; do
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)"
elif [[ "${OUTPUT_TYPE}" == "broadcast_copy" ]] ; then
MIDDLEOPTIONS+=(-map 0:v)
MIDDLEOPTIONS+=(-c:v copy)
Expand Down

0 comments on commit 811cb82

Please sign in to comment.