![]() I run the watermark script first and then the resizing part. ![]() ![]() Watermark script for f in *.mp4 do echo " start $f " ffmpeg -nostdin -hide_banner -loglevel panic -i "$f" -i logo2.png -i logo1.png -filter_complex "format=rgba,colorchannelmixer=aa=0.8 scale2ref=w=oh*mdar:h=ih*0.3 overlay=W-w-15:H-h-100,format=rgba,colorchannelmixer=aa=0.6 scale2ref=w=oh*mdar:h=ih*0.08 overlay=W-w-15:H-h-50" -c:v libx264 -preset ultrafast "done/$f" echo "$f completed " doneįfmpeg -nostdin -y -hide_banner -loglevel panic -i "$f" -vf "scale=w=1440:h=796:force_original_aspect_ratio=2,crop=1440:796" -movflags +faststart -c:v libx264 -preset faster -crf 23 -tune zerolatency -c:a aac "mkvd/$.mkv" how do i combine them into a single command so that it transcodes the file just once? Both reencode the input and take rather long. Hi, I have two ffmpeg scripts that work fine individually.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |