View Single Post
  #1 (permalink)  
Old 04-11-2007, 02:17 PM
gbm85's Avatar
gbm85
Regular 'Geeker
Offline
Location: Dallas Metroplex
 
Join Date: Dec 2006
Posts: 322
Reputation: 321
gbm85 is becoming a PPCGeeks regulargbm85 is becoming a PPCGeeks regulargbm85 is becoming a PPCGeeks regulargbm85 is becoming a PPCGeeks regular
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Bash (Linux) script to encode video for PPC

This is a Bash script I wrote for easily encoding any video for viewing on PPC. It depends on mplayer, mencoder, ogmmerge (package ogmtools) and oggenc (package vorbis-tools).

Unzip to somewhere in your path (for instance ~/bin), chmod u+x to make it executable. Then run

Code:
ppc_encode /path/to/source /path/to/destination
It runs with low priority by default. On most machines you should get at least 2x realtime (a 40 minute show will encode in 20 minutes). I get an average file size of 1.5MB per minute. It encodes to OGM format which works great in TCPMP.

Video is scaled to 320x240 at 15 frames per second. Audio is downsampled to 22kHz mono and given a 7 decibel boost. Using it is even easier than PocketDivxEncoder.
Attached Files
File Type: zip ppc_encode_566.zip (883 Bytes, 16 views) Click for barcode!
Reply With Quote