Converting videos using ffmpeg binary

A single file:

ffmpeg -i IMG_5164.MOV -strict -2 IMG_5164.mp4

All the videos from a defined folder:

for file in `ls -la /media/xxx/KINGSTON/VIDEOS/* |grep IMG | awk '{print $9}'`
do
 echo "$file"
 ffmpeg -i ${file} -strict -2 ${file/MOV/mp4}
done

More help in this link

Deja un comentario

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *