Hello, I post this message because I have a problem of implementation of a command line FFmpeg in the block "Custom FFmpeg".
I tested the command line with the MS-DOS prompt and it works but as soon as I add it to the "Custom FFmpeg" block on FFAStrans I get an error message "Encoding Failed: No video or audio find in media ".
The FFmpeg command line is:
-pix_fmt yuv422p -c: v mpeg2video -sc_threshold 1000000000 -flags + ildct + ilme + cgop -g 12 -bf 2 -b_strategy 0 -mpv_flags + strict_gop -b: v 50000k -minrate 50000k -maxrate 50000k -bufsize 8000k -map_channel 0.1. 0 -c: a pcm_s24le -ar 48000 -ac 1 -map_channel 0.2.0 -c: a pcm_s24le -ar 48000 -ac 1 -map 0: 0 -map 0: 1: 0 -map 0: 2: 0 -f mxf
On the other hand, the following FFmpeg command line integrated into the "Custom FFmpeg" block works:
-pix_fmt yuv422p -c: v mpeg2video -flags + ildct + ilme -g 12 -bf 2 -b: v 50000k -minrate 50000k -maxrate 50000k -bufsize 8000k -map_channel 0.1.0 -c: a pcm_s24le -ar 48000 -ac 1 -map_channel 0.2.0 -c: a pcm_s24le -ar 48000 -ac 1 -map 0: 0 -map 0: 1: 0 -map 0: 2: 0 -f mxf
I use the same version of FFmpeg on FFAStrans and MS-DOS command-line test.
Do you have any idea where the problem might come from?
Thanks in advance...
Problem Custom FFmpeg
Re: Problem Custom FFmpeg
Hi GB64, thank you for using FFAStrans and welcome to the forum!
Sorry for the late reply. Your first command seem to work just fine (after removing all the weird spaces):
-pix_fmt yuv422p -c:v mpeg2video -sc_threshold 1000000000 -flags +ildct+ilme+cgop -g 12 -bf 2 -b_strategy 0 -mpv_flags +strict_gop -b:v 50000k -minrate 50000k -maxrate 50000k -bufsize 8000k -map_channel 0.1.0 -c:a pcm_s24le -ar 48000 -ac 1 -map_channel 0.2.0 -c:a pcm_s24le -ar 48000 -ac 1 -map 0:0 -map 0:1:0 -map 0:2:0 -f mxf
Please check your command again.
-steinar
Sorry for the late reply. Your first command seem to work just fine (after removing all the weird spaces):
-pix_fmt yuv422p -c:v mpeg2video -sc_threshold 1000000000 -flags +ildct+ilme+cgop -g 12 -bf 2 -b_strategy 0 -mpv_flags +strict_gop -b:v 50000k -minrate 50000k -maxrate 50000k -bufsize 8000k -map_channel 0.1.0 -c:a pcm_s24le -ar 48000 -ac 1 -map_channel 0.2.0 -c:a pcm_s24le -ar 48000 -ac 1 -map 0:0 -map 0:1:0 -map 0:2:0 -f mxf
Please check your command again.
-steinar