Convert Flash Videos on a directory to MP4


/ Published in: Bash
Save to your folder(s)

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

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.