[FFmpeg-user] filter script file

pdr0 pdr0 at shaw.ca
Mon Mar 22 01:12:32 EET 2021


Mark Filipak (ffmpeg) wrote
> 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.


On windows, for a text file, you don't need a carriage return or line break
character - just hit enter (remove the "\")





--
Sent from: http://ffmpeg-users.933282.n4.nabble.com/


More information about the ffmpeg-user mailing list