View Single Post
Old 19th February 2013, 19:46   #2  |  Link
Darksoul71
Can you blush ?
 
Darksoul71's Avatar
 
Join Date: Oct 2001
Location: Northern Europe
Posts: 696
Hi there,

thanks for sharing this...it is always nice to see how other people solve their problems.
And sorry to hear about your mother. It always hurts when a beloved one goes away.

I must admit that I rather use Windows plus the Freemake Video Converter for such purposes. You simply drag in your source video(s), choose the output format and click on "go".

Just allow me a comment / question:
May I ask why you mainly use Bash scripting for your tools ?
Personally I always found Python more suitable and simpler for a lot of purposes (e.g. string processing, calculation). I often simply "glue" together a few bash arguments with Python and do things like string processing, comparison, etc in Python.

Here are three examples for my crappy scripts.

MKV DTS to AC3 converter (converts DTS to AC3 streams and strips DTS streams):
http://pastebin.com/w6JtVczr

MKV DTS to AC3 converter (which only adds AC3 streams to the MKV and leaves the DTS streams in place):
http://pastebin.com/0QaYSWFC

A simple multi process MP3 encoder:
http://pastebin.com/Cd71eU6a
Darksoul71 is offline   Reply With Quote