Wow. This has been a pain the ass to figure out. The documentation for transcoding is really terrible. I feel like I've just been grabbing at straws instead of making any progress. I think my hangup is figuring out what in the frig is going with clients.db, transcoding.db and the to=, from= parameters in the *.desc files.
I've had some problems with MKV so I've focused on OGM files. Here's what I've got, starting with the basics.
My mencoder.location file is correctly pointing to where I installed it from src, which is /usr/local/bin.
Code: Select all
$ which mencoder
/usr/local/bin/mencoder
$ pwd
/usr/local/twonkymedia/cgi-bin
$ cat mencoder.location
/usr/local/bin
I have a file mencoder-ogm-avi.desc that contains
$ cat mencoder-ogm-avi.desc
# transcode video
#(c) 2008 by PacketVideo
exec: mencoder $infile -oac mp3lame -ovc copy -o $outfile
# capabilities
from=application/ogg
to=video/avi
asynchronous
priority=idle
I've added the following lines to transcoding.db
Code: Select all
$ grep OGG transcoding.db
OGG,avi,video/avi
# background-transcoding-group:OGM=OGG
As I had suspected, the checkbox for enabling backround transcoding for OGM shows up in the web config screen for transcoding. It will be greyed out if the mencoder.location file isn't correctly pointing to the directory containing mencoder.
My clients.db has been modified for Xbox by changing the TR: rule to which I added OGG.
Code: Select all
>>
NA:XBOX 360
HH:Xbox
DD:Xbox
DX:WMC
XM:DLNANO
DB:FIX
TR:JPEG_HD,WMV,OGG
MT:aif,aiff audio/aiff
MT:avi,divx video/avi
MT:flac audio/flac
MT:lpcm,pcm audio/lpcm
MT:m4a,mp4.a,3gp.a,m4b audio/mp4
MT:mp1,mp2 audio/mpeg
MT:ts not-supported
MT:wav audio/wav
MT:mpg not-supported
DF:devicedescription-xbox.xml
Still, none of my .ogm files are being presented to my xbox.
What am I doing wrong????