PDA

View Full Version : [ubuntu] avi to mp4 script



steev182
October 11th, 2008, 03:20 PM
Hi,

Is there a way that I could do the following tasks in an automated manner?
Check my /home/usenet folder for files with the extension avi
Convert the files to an identical bit rate and resolutioned video in mp4 format (some kind of script using ffmpeg I guess, but I've only ever used ffmpeg when its being fronted by iSquint on my mac mini G4 but its sloow)
Move the files to /shared/media/video/series_name/
Remove the original avi

Ideally I would like to be able to do this myself, but I have no knowledge of bash scripting or cron jobs, which I think would be how to do this, but as I say, I'm clueless with bash scripting.

If anyone can help, that'd be awesome.

Thanks,

Steve

vladoportos
April 16th, 2011, 04:00 PM
Check my script, should be easy to change to have it do what you want...

See: http://vladoportos.sk/scripting/batch-video-convert-script-avi-to-mp4/