jsj123
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2010
09:55 AM
myth tv channel
My son and I are working on getting a mythtv channel working. We have finally started to make some progress. Currently we are able to extract information from the mysql database for each recorded show and have the roku list each show on the tv screen, along with a picture from each show.
Next we are going to work on the video playback of a show. Right now we are trying to figure out the ffmpeg/mencoder command line to transcode a mpeg2 file to h.264.
We still have a long way to go, but it was cool seeing part of it working last night.
--Stephen
Next we are going to work on the video playback of a show. Right now we are trying to figure out the ffmpeg/mencoder command line to transcode a mpeg2 file to h.264.
We still have a long way to go, but it was cool seeing part of it working last night.
--Stephen
14 REPLIES 14
zimbra
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2010
10:15 AM
Re: myth tv channel
There was alot of discussion of various encoding parameters in the "debugging playback" thread, and (IIRC) a link to an article on how netflix is doing the encoding.
trebonius
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2010
11:15 AM
Re: mythv channel
Cool! That's really exciting. I broke down and got a Roku because I was tired of waiting for Netflix support on my Linux-based MythTV/Boxee machine. Sadly, that means I have to go back to having multiple video sources. If I could use my Roku box as a Myth frontend, I'd be thrilled!
I'll try to dig up an old script I used to use for encoding things for my iPod, which uses mencoder and something else for h.264. Perhaps it will be of some use to you.
I'll try to dig up an old script I used to use for encoding things for my iPod, which uses mencoder and something else for h.264. Perhaps it will be of some use to you.
bege
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2010
01:44 PM
I would be willing to help
I was actually starting to this same exact thing last night. I have lots of coding experience and love my MythTV setup. I would be willing to help you guys out getting this working. I think the Roku would be a great quiet myth frontend. Please let me know if there is anything that you need help with.

KennyJ
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2010
01:57 PM
Re: myth tv channel
I installed mythbuntu my old PC but haven't done anything with it. I don't eve n have a tv tuner for it. This might get me to move forward with it.
trebonius
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2010
02:03 PM
Re: myth tv channel
http://podencoder.googlecode.com/svn/trunk/podencoder
Here's the script I've used. It encodes using mencoder, but since mencoder can't (or at least couldn't) create the correct container for the h.264 stream, MP4Box is used to finish the job.
I used this script successfully for a while, but eventually switched to Handbrake.
Here's the script I've used. It encodes using mencoder, but since mencoder can't (or at least couldn't) create the correct container for the h.264 stream, MP4Box is used to finish the job.
I used this script successfully for a while, but eventually switched to Handbrake.
TommyTheKid
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2010
08:51 AM
Re: myth tv channel
I, also would be interested in helping wherever I can. Can you post it to one of the various open-source code-management sites?
Tommy
Tommy
jsj123
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2010
09:10 AM
Re: myth tv channel
I am hoping to post the code after this weekend, once we get the video to play. There is some code cleanup and comments I need to add to it, plus I am trying to figure out to write a cgi script to interface with the mysql database.
I am a Oracle dba, not a programmer so my learning curve is steep. What I need right now is an easy way to get xml from mysql. Some googling will probably pop some ideas up. Then I need to learn where the necessary data values are in the mysql tables. Most of them appear to be in recorded_programs, but I have not found the last played position yet.
The way I am driving this project is all of the data needed by the Roku will be in an xml file served up by Apache. The only hardcoded values I have in the Brightscript file is the ip address of my Apache server.
--Stephen
I am a Oracle dba, not a programmer so my learning curve is steep. What I need right now is an easy way to get xml from mysql. Some googling will probably pop some ideas up. Then I need to learn where the necessary data values are in the mysql tables. Most of them appear to be in recorded_programs, but I have not found the last played position yet.
The way I am driving this project is all of the data needed by the Roku will be in an xml file served up by Apache. The only hardcoded values I have in the Brightscript file is the ip address of my Apache server.
--Stephen
TommyTheKid
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2010
09:17 AM
Re: myth tv channel
Well, if you are a DBA, the database stuff should come easy, thats the part that most programmers have trouble with 😛
You will have to transcode ahead of time, most likely, or else somehow tell the Myth box to record in the right mp4 format 😕
I, too, recommend looking at "Hand Brake" (CLI) .. I was able to get a DVD to play pretty well using that. There may be problems at 1HR plus, but that shouldn't affect MOST TV shows 🙂
Tommy
You will have to transcode ahead of time, most likely, or else somehow tell the Myth box to record in the right mp4 format 😕
I, too, recommend looking at "Hand Brake" (CLI) .. I was able to get a DVD to play pretty well using that. There may be problems at 1HR plus, but that shouldn't affect MOST TV shows 🙂
Tommy
trebonius
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2010
12:03 PM
Re: myth tv channel
I happen to write Perl CGI code to access databases on a daily basis for my day job, so let me know if you'd like any help. What language are you using for the CGI?