Tichau / FileConverter

File Converter is a very simple tool which allows you to convert and compress files using the context menu in windows explorer.
https://file-converter.io/
GNU General Public License v3.0
6.84k stars 535 forks source link

How to use input file path/name as another argument in ffmpeg (Advanced mode > Custom Arguments) #478

Open InsrtRandomUserHere opened 2 months ago

InsrtRandomUserHere commented 2 months ago

I'm trying to use a new preset I made which needs to use the file name as another argument. How would I get the file name to become another argument in the custom arguments?

For those curious, here's the custom arguments I'm using -vf subtitles=input.mkv -c:v libx264 -crf 23 -preset medium -c:a aac -b:a 192k

How would I replace input.mkv to actually have the real file name/path?