Our Fotos
Doro's Welt
About Us
Copyright & Impressum Birthday Wishlist

Last Comments

PomTom (Database backends…): Doesn’t work for me. Cyrm…
ManagementBoy (Säkulare Werbung …): Hallo Sarah, ich freue mi…
Sarah (Säkulare Werbung …): Ich habe nicht gesagt, da…
ManagementBoy (Säkulare Werbung …): Hallo Sarah, habe ich Dei…
Sarah (Säkulare Werbung …): ... Weil die Kirche in De…
Rob Clark (blootube-wide upd…): Thanks very much for brin…
Jesse (blootube-wide upd…): Very nice. The lack of ni…
ich (Ach du lieber Got…): Bei Nationalsozialismus u…
Hernan Benitez (About Us): Hola viejo….en “other stu…
alberto (The root of all E…): Hola tío! Sabes… me parec…

Archives

01 Jan - 31 Dec 1994
01 Jan - 31 Dec 1995
01 Jan - 31 Dec 1997
01 Jan - 31 Dec 1998
01 Jan - 31 Dec 2006
01 Jan - 31 Dec 2007
01 Jan - 31 Dec 2008
01 Jan - 31 Dec 2009
01 Jan - 31 Dec 2010

Miscellany

Powered by Pivot - 1.40.7: 'Dreadwind' 
XML: RSS Feed 
XML: Atom Feed 

« Browser statistics on… | Home | Willi Hans Robert Fri… »

Export a MythTV recording to be used with TCPMP

I use an MDA Compact II from T-Mobile as my cellphone. It features Windows Mobile 5 and a 320x240 pixel wide screen. After playing a lot with MythTV I got the urge to be able to watch my recordings on this device. The following How-To shall describe how I got it working flawlessly.

Setting up MythTV

The key to exporting video from your MythTV is to create a so called UserJob. MythTV provides with the option of setting up to four such jobs. To create a UserJob you can either use the standard mythtv-setup program or the web based mythweb interface. Using the mythtv-setup interface select the general setting and click yourself through to the UserJobs (also called Job Queue). There take any of the for and add the following command to it:

nice -n19 mencoder %DIR%/%FILE% -oac lavc -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=500:acodec=mp3:abitrate=96 -sws 2 -vf scale=320:240 -af lavcresample=32000 -o '/srv/www/htdocs/mda/%TITLE%-%SUBTITLE%%STARTTIME%.avi' -quiet

This Job will use mencoder to reencode any MythTV (MPEG2) recording to MPEG4 video and store it at "/srv/www/htdocs/mda" which is a directory I have enabled to be browsed from the web. All recordings that you now flag to be encoded with this UserJob will land there.

UPDATE: Now, the fun thing about Open Source is that crackpots like me get to be put right by real programers. Please use this script and not my version, as it is much cleaner and better.

Using TCPMP

Now that you probably have some well encoded file lying on your MythTV server you should copy these onto a SD-Card. The very nice video player TCPMP for Windows Mobile can be downloaded from here. The files created have exactly the resolution of the screen of the MDA and can be watched by holding the device sideways. You can therefore disable resizing of any kind in TCPMP to reduce unnecessary processor usage and therefore battery drain.

Hope this helps you!

Rate this article:

12345678910
8 rating from 1 votes

This article has been viewed approximately 389 times.



No comments:


No trackback:

Trackback link:

Please enable javascript to generate a trackback url


  
Remember personal info?

Emoticons / Textile

Comment moderation is enabled on this site. This means that your comment will not be visible on this site until it has been approved by an editor.

SPAM is making everyones live hard. As SPAMers don't know how to answer the most easy questions, this helps us keep them away.
 

  (Register your username / Log in)

Notify:
Hide email:

Small print: All html tags except <b> and <i> will be removed from your comment. You can make links by just typing the url or mail-address.