[FFmpeg-user] ffmpeg - executing 2 or more command in one time

Ahmet Güler ahmetguler at happy.com.tr
Sat Apr 27 11:07:23 EEST 2019


Hello,

 

I have 4 ffmpeg commands, I execute them respectively, they work, but I want
to execute them in one time and one command. How to do that?

ffmpeg -f concat -i videos.txt -i music.mp3 -c copy VIDEO1.mp4

 

ffmpeg -i VIDEO1.mp4 -i logo.png -i picture.png -filter_complex
"[0:v][1:v]overlay=main_w-overlay_w-20:20[bg];[bg][2:v]overlay=10:10[v]"
-map "[v]" -map 0:a -c:a copy VIDEO2.mp4

 

ffmpeg -i VIDEO2.mp4 -vf drawtext="fontfile=verdanab.ttf: text='HELLO':
fontcolor=white: fontsize=36: bordercolor=black: borderw=5: x=170:
y=80-text_h/2" -codec:a copy VIDEO3.mp4

 

ffmpeg -i VIDEO3.mp4 -vf subtitles=subtitle.srt OUTPUT.mp4

 

Best Regards,



---
Bu e-posta virüslere karşı Avast antivirüs yazılımı tarafından kontrol edilmiştir.
https://www.avast.com/antivirus


More information about the ffmpeg-user mailing list