Posts

Showing posts from September, 2013

Video Converter

Image
Modern video cameras produce beautiful videos - but the resulting files take up a lot of space. For an internal video portal I had to automatically convert such camera videos (.m2ts or .mov at up to 30MBit/s) to "regular" mp4 videos that can be used with web-bases video players like Flow Player . The result is a conversion script that uses HandBrake to convert the videos. I run it as a nightly cron job on the file share with the videos. People drop their camera videos onto the share and my Linux box automatically converts them to reasonable sizes. Example Sizes for 23min video: Size Format Bitrate 1080p Camera Video 3.9 GB M2TS with AVC Video and AC3 Audio 24 MBit/s 320p for iPod 141 MB MP4 with AVC Video and AAC Audio 900 KBit/s 720p for Small Screen 373 MB MP4 with AVC Video and AAC Audio 2.2 MBit/s 1080p for Large Screen 1.2 GB MP4 with AVC Video and AAC Audio 7.4 MBit/s I am no expert on H264 tuning, so these values can be probably optimized quite