[FFmpeg-user] multiple bitrates with different logos

Abe Arif abearif at gmail.com
Thu May 7 18:34:15 EEST 2020


Hi Everyone,

i have a sh to split mp4 become 4 bitrates and one audio only

#!/bash
filename=`echo $namefile|cut -f1 -d'.'`
#
ffmpeg -y -i $1 \
        -b:v 2000k -s 1280x720 -an -vcodec libx264 -crf 23
"$filename"_V0.mp4 \
        -b:v 1000k -s 960x540 -an -vcodec libx264 -crf 23
"$filename"_V1.mp4 \
        -b:v 600k -s 480x270 -an -vcodec libx264 -crf 23 "$filename"_V2.mp4
\
        -b:v 300k -s 320x180 -an -vcodec libx264 -crf 23 "$filename"_V3.mp4
\
        -vn -c:a copy "$filename"_A0.0_eng.mp4

for a purposed, each bitrate must have a different client logo.,( 720p.png,
540p.png, 270p.png, 180p.png)

how to attach them ?


regards,

ab


More information about the ffmpeg-user mailing list