.

Tuesday, October 2, 2012

Convert all 3gp movie to other format in Ubuntu and stabilize it



  1. Install Mobile Media Converter here : http://www.miksoft.net/mobileMediaConverterDown.htm
  2. Choose preset and drag all 3gp movie to MMC window
  3. Go to folder and open terminal
  4. In this case, I convert all 3gp movie to avi, then I create script to do this:

transcode -J stabilize --mplayer_probe -i $1 -y xvid
transcode -J transform --mplayer_probe -i $1 -y xvid -o tmp.avi

# I must replace sound with the original, since sound from output was bad, if you got good sound then you don't have do the rest 

ffmpeg -i $1 -acodec copy -vn tmp.mp3
ffmpeg -i tmp.avi -vcodec copy -an tmp-nosound.avi
ffmpeg -i tmp-nosound.avi -i tmp.mp3 -vcodec copy -acodec copy out-$1
rm tmp.avi
rm tmp.mp3
rm tmp-nosound.avi

I save it into file "stabillize", then I call the script by:

ls V*.avi |xargs ./stabillize

reff:
  • http://isenmann.wordpress.com/2011/03/22/deshaking-videos-with-linux
  • http://public.hronopik.de/vid.stab/features.php

No comments:

Setting DeepCool AK400 Digital CPU fan di Manjaro Linux

  Baru rakit PC dan pakai AK400 Digital untuk CPU fannya, setelah install linux ternyata tulisan digitalnya gak tampil, cari-cari di interne...