Page 1 of 1

Custom FFmpeg Script in FFAStrans

Posted: Fri Mar 03, 2017 3:55 pm
by juegos0607
Regards,

I'm new to FFAStrans,I would like to execute a command of ffmpeg through FFAStrans.
Should I use the Command Excutor or Custom FFmpeg?

Could you give me an example, where and with what variables do I put my ffmpeg script?

My script

Code: Select all

for %%a in ("C:\Users\POST\Desktop\IN-MP4\*.*") do ffmpeg -i "%%a" -vf yadif=0:-1 -threads 0 -c:v libx264 -pix_fmt yuv420p -r 29.97 -b:v 3000k -s 1280x720 -preset:v slow -profile:v Main -level 3.1 -bf 2 -movflags faststart "C:\Users\POST\Desktop\OUT-MP4\%%~na.mp4"
What is the correct workflow?
1. Folder-->Custom FFmpeg --->Folder
2. Folder-->Command Executor --->Folder

Thank you a lot

Re: Custom FFmpeg Script in FFAStrans

Posted: Sat Mar 04, 2017 4:16 pm
by admin
Hi juegos0607, thank you for using FFAStrans and welcome to the forum! :-)

In this case I would use the "Custom FFmpeg"-encoder. Just specify the ffmpeg switches without the output file:
"-vf yadif=0:-1 -threads 0 -c:v libx264 -pix_fmt yuv420p -r 29.97 -b:v 3000k -s 1280x720 -preset:v slow -profile:v Main -level 3.1 -bf 2 -movflags faststart"

You don't need to use variables for this one as far as I can see.

-steinar