Tuesday, February 20, 2018

Image + Audio = Video (for Youtube)

for i in `ls -1 *.mp3` ;
   do date;
   echo "**** Converting $i" ;
   time ffmpeg -loop 1 -i 1.jpg -i $i -c:v libx264 -tune stillimage -c:a aac -strict -2 -b:a 192k -pix_fmt yuv420p -shortest $i.mp4 ;
done

No comments:

Post a Comment