*Must have ffmpeg to run the code below
#!/bin/bash<br />for i in *.MPG<br />do <br /> ffmpeg -i ${i/.*/}.MPG -qscale 2.5 ${i/.*/}.mp4<br /> # ffmpeg -i $i.MPG -sameq $i.mp4<br />done<br />
*Must have ffmpeg to run the code below
#!/bin/bash<br />for i in *.MPG<br />do <br /> ffmpeg -i ${i/.*/}.MPG -qscale 2.5 ${i/.*/}.mp4<br /> # ffmpeg -i $i.MPG -sameq $i.mp4<br />done<br />