Custom FFmpeg Script in FFAStrans

Questions and answers on how to get the most out of FFAStrans
Post Reply
juegos0607
Posts: 1
Joined: Fri Mar 03, 2017 3:37 pm

Custom FFmpeg Script in FFAStrans

Post 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
admin
Site Admin
Posts: 1687
Joined: Sat Feb 08, 2014 10:39 pm

Re: Custom FFmpeg Script in FFAStrans

Post 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
Post Reply