bạn thấy code 1 : dạng
ffmpeg “{input}.*” ……. “{output}.mp4”
bạn sửa thành ffmpeg “{input}.*” ……. “{input}_so1.mp4”
code thứ 2 sẽ thêm như thế nào ?
bạn chỉnh code 2 từ ffmpeg {input} ……. {output}.mp4
thành ffmpeg “{input}_so1.mp4” ……. {output}.mp4
sau đó thêm dòng delete “{input}_so1.mp4″ (để xóa video cũ dạng video_so1.mp4
Nếu code thứ 3 sẽ sửa code 2 thành”{input}_so1.mp4” ……. {input}_so2.mp4
code 3 thành ffmpeg “{input}_so2.mp4” ……. {output}.mp4
Mẫu ví dụ như này :
Code “text-random pos.txt”
ffmpeg -i “{input}.*” -vf “drawtext=fontfile=Arial.ttf:text=’SUBSCRIBE’:fontcolor=yellow:fontsize=180:x=30:y=30:enable=’lt(random(1),0.2)'” “{output}.mp4”
và thêm logo phụ
ffmpeg -y -i “{input}.mp4” -i logo-1.png -filter_complex “overlay=0:1080” “{output}.mp4”
Muốn nối 2 code này : đổi “{output}.mp4” ở code 1 thành “{input}_so1.mp4”





