[FFmpeg-user] filter script file

Mark Filipak (ffmpeg) markfilipak at bog.us
Mon Mar 22 00:06:09 EET 2021


Is the format of a filter script file documented anywhere? I can't find any.

Working command is:

ffmpeg -i source.mkv -filter_script:v test.filter_script -map 0 -codec:v libx265 -codec:a copy 
-codec:s copy -dn test.mkv

If the test.filter_script file contains this:

settb=expr=1/720000,setpts=N*24024,fieldmatch,yadif=deint=interlaced,telecine=pattern=4

it works, but if the test.filter_script file contains this:

settb=expr=1/720000,setpts=N*24024,fieldmatch, \
yadif=deint=interlaced,telecine=pattern=4

the transcode fails.

[AVFilterGraph @ 0000027205e29d80] No such filter: '
yadif'

Obviously, the ' \' isn't working.


More information about the ffmpeg-user mailing list