Talk:ROKU HD Frontend

From MythTV Official Wiki
Jump to: navigation, search

You may want to adapt your frontend to pull data from the native XML server run in mythbackend, rather than requiring a separate web server. See MythXMLTest for a program detailing how to access these methods.

Unfortunately, we still need a mechanism to create the necessary images in the proper format. The mythbackend XML won't provide any of that information or generate the image files.
The XML interface provides a 'GetPreviewImage' mechanism that returns PNGs from an optional size and video position.
Sweet. I'll give it a shot.

Do you have a working transcode script for getting h264 into an mp4? If so, could you post it? The existing linked script uses the Matroska container (which the Roku won't recognize), not mp4. I'm currently trying to make this work by replacing the "mkvmerge" (line 50) with an ffmpeg string, but I'm butchering the quality pretty badly.

Okay, I seem to have most everything working except actually playing the episode (I'm using the SD output of the Roku HD). The telnet debug console shows the following when I try to play:
PlayEpisode Enter
http://192.168.XXX.XXX/mythroku/1006_20101023210700.mp4
PlayEpisode Exit
That is the correct file and I can stream it with another computer on my network. Any ideas on how to troubleshoot this? Thanks!
I was having the same issue where it would say, "PlayEpisode Enter", the URL, then "PlayEpisode Exit". The problem is that I don't have the "HD" version of the roku box, only the SD one. In the roku.php script, the XML generated is hardcoded to say,'quality="SD"', on line 185. I changed that to 'quality="SD"' and it's now working.
Thanks! That worked great! Now I just need to work on my "expire" script to delete the *.mp4's and jpegs when Myth autoexpires the programs. Oh, and maybe work on getting the images to be the correct size in the final menu. I didn't use the autogenerate thumbnails in the php script. Instead I just copied the thumbnail generated by Myth to the web directory. Thanks again!

FFmpeg use

You may want to consider using mythffmpeg rather than the stock ffmepg. It will allow the commands to be referenced per MythTV versions, without having to worry about multiple different blends of ffmpeg that may be installed on the end users machine.