How to use the Custom FFmpeg node
Posted: Sat Oct 27, 2018 1:37 pm
Hi,
I have been googling and found ffmpeg commands i want to impliment in my FFAStrans workflow.
The admin here have already helped me creating workflow that can take .mov file that is in 5.1 surround and then ffastrans workflow create stereo to channel 7 and 8 and loudness normalize them to -23 lufs.
However the source file are sometimes 24fps but the end result needs to be 25fps.
The way i want to do frame rate convert is by speeding the 24fps up to 25fps and pitch then down the sound to correct it (since the file is playing faster)
I have found the ffmpeg commands and i know how to do this directly to a single prores file with command but i would love to use it into the ffastrans workflow so i wont have to use the command first just to make 25fps prores and then again encode via ffastrans.
So my stupid question is, how do i use this command in custom ffmpeg node in ffastrans and should i make two separate node for this or can this stay in the same node? I am just trying to understand how the node logic works since there is not a lot of tutorial available to read about this
And it is also confusing me how to add this custom ffmpeg command in but keep using the imput watch folder and then the delivery folder since those command assume they are told the name of the input and output.
Here are the commands: (and can be found in this link https://toolstud.io/video/framerate.php ... tputfps=25 )
Conversion 'conform': 24 → 25fps
The total # of frames 1440 stays the same.
Frames are played at 25 instead of 24 (faster).
The video speed will speed up by 4.17%
As a result, the audio will sound higher
To correct audio: pitch down by 4% (-0.707 semitones)
Video conversion:
ffmpeg -i [input] -r 25 -filter:v "setpts=0.96*PTS" -y [output]
Audio conversion:
sox [input] [output] tempo 1.0417
ffmpeg -i [input] -filter:a "atempo=1.0417" -vn [output]
I have been googling and found ffmpeg commands i want to impliment in my FFAStrans workflow.
The admin here have already helped me creating workflow that can take .mov file that is in 5.1 surround and then ffastrans workflow create stereo to channel 7 and 8 and loudness normalize them to -23 lufs.
However the source file are sometimes 24fps but the end result needs to be 25fps.
The way i want to do frame rate convert is by speeding the 24fps up to 25fps and pitch then down the sound to correct it (since the file is playing faster)
I have found the ffmpeg commands and i know how to do this directly to a single prores file with command but i would love to use it into the ffastrans workflow so i wont have to use the command first just to make 25fps prores and then again encode via ffastrans.
So my stupid question is, how do i use this command in custom ffmpeg node in ffastrans and should i make two separate node for this or can this stay in the same node? I am just trying to understand how the node logic works since there is not a lot of tutorial available to read about this
And it is also confusing me how to add this custom ffmpeg command in but keep using the imput watch folder and then the delivery folder since those command assume they are told the name of the input and output.
Here are the commands: (and can be found in this link https://toolstud.io/video/framerate.php ... tputfps=25 )
Conversion 'conform': 24 → 25fps
The total # of frames 1440 stays the same.
Frames are played at 25 instead of 24 (faster).
The video speed will speed up by 4.17%
As a result, the audio will sound higher
To correct audio: pitch down by 4% (-0.707 semitones)
Video conversion:
ffmpeg -i [input] -r 25 -filter:v "setpts=0.96*PTS" -y [output]
Audio conversion:
sox [input] [output] tempo 1.0417
ffmpeg -i [input] -filter:a "atempo=1.0417" -vn [output]