Hello, I am going to insert an overlay filter in my custom FFMpeg module, but it returns error because the second input file (-i parameter) is positioned after video and audio conversion parameters according to logs. Is there a way to put this parameter next to the input video file path?
I use this for the overlay filter in FFMpeg and this second -i parameter consist in the PNG image of watermark.
When I look into logs FFSTRANS command executed is (not working):
"C:\Users\user\Downloads\FFAStrans0.9.4\Processors\FFMpeg\x64\ffmpeg.exe" -analyzeduration 33554432 -i "D:\in\Test.mp4" -c:v msmpeg4v2 -b:v 1000k -c:a adpcm_ms -b:a 128k -i "C:\Watermark.png" -loglevel error -g 25 -filter_complex "scale=480x384,overlay=x=(main_w-overlay_w)/2:y=(main_h-overlay_h)/2" -max_muxing_queue_size 125 -metadata creation_time=now -y "d:\.ffastrans_work_root\20190528162228\20190529-100102-856-7F6FF40A1B90\~20190529-100117-169-7C11ED0DEFFA.avi"
Working command is:
"C:\Users\user\Downloads\FFAStrans0.9.4\Processors\FFMpeg\x64\ffmpeg.exe" -analyzeduration 33554432 -i "D:\in\Test.mp4" -i "C:\Watermark.png" -c:v msmpeg4v2 -b:v 1000k -c:a adpcm_ms -b:a 128k -loglevel error -g 25 -filter_complex "scale=480x384,overlay=x=(main_w-overlay_w)/2:y=(main_h-overlay_h)/2" -max_muxing_queue_size 125 -metadata creation_time=now -y "d:\.ffastrans_work_root\20190528162228\20190529-100102-856-7F6FF40A1B90\~20190529-100117-169-7C11ED0DEFFA.avi"
Just positioning the second -i command after the first.
This is my configuration into module:
Someone knows how to achieve it?
Thanks
Custom FFMpeg multiple input parameters
Re: Custom FFMpeg multiple input parameters
Sorry, I found the solution in the forum viewtopic.php?f=5&t=446
Thank you
Thank you