/ Published in: Bash
This will convert videos to MP4 that's optimized and plays on my phone. The said videos should be stored on a directory so this script could parse them.
Requires unstripped codecs from the Medibuntu repository (libavcodec-unstripped-52, libavdevice-unstripped-52, libavformat-unstripped-52, etc.) which contains the MP4 and libfaac Encoders. See: http://ubuntuforums.org/showthread.php?t=1117283 and http://www.medibuntu.org/repository.php
This script also requires the libnotify1 package for the notify-send command (or you can just echo it, instead of using the desktop notification daemon)
Update the ffmpeg statement as needed, check the documentation at http://www.ffmpeg.org/ffmpeg-doc.html
Requires unstripped codecs from the Medibuntu repository (libavcodec-unstripped-52, libavdevice-unstripped-52, libavformat-unstripped-52, etc.) which contains the MP4 and libfaac Encoders. See: http://ubuntuforums.org/showthread.php?t=1117283 and http://www.medibuntu.org/repository.php
This script also requires the libnotify1 package for the notify-send command (or you can just echo it, instead of using the desktop notification daemon)
Update the ffmpeg statement as needed, check the documentation at http://www.ffmpeg.org/ffmpeg-doc.html