FML2010
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2010
02:20 PM
Re: Http Live Streaming + Transcoding Example
I am interested in knowing how you got the tversity to work with your Roku DVP
I am gonna play with it today and try to get this done using the video player example.
I am gonna play with it today and try to get this done using the video player example.
scyber
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2010
07:32 PM
Re: Http Live Streaming + Transcoding Example
Well I think I may have figured out the first issue with using Tversity's HLS for the roku. When just playing a m3u8 url from tversity on the roku using the simplevideplayer example, the progress bar would go about a third of the way across and then stop (this appears to indicate that the m3u8 files has loaded, but no segments). I noticed that the urls in the tversity m3u8 were relative, not absolute:
The HLS spec says you can use relative urls, and that is what the examples in simplevideo player use, however the simplevideoplayer sample urls are relative to the directory containing the m3u8 files. The Tversity m3u8 urls are relative to the server root. I think Roku may not handle urls relative to the server root correctly for HLS (just a theory).
Anyway, I copied the full m3u8 file, put in the full IP and port information for Tversity and placed the file elsewhere on the server. This improved the situation, the progress bar will jump to around 1/3 full (again, I assume this indicates the m3u8 file has been loaded), then it will slowly progress till over halfway and then stop. I assume the slow progression represents the loading of the individual segments. I can't figure out why it stops though.
#EXTM3U
#EXT-X-TARGETDURATION:1
#EXTINF:10,
/getres/profile/ebe80805-5640-4753-b0ad-e3f53817ae2f/video/mp2tavc;res=1280x720;fps=30_1;vb=2000000/range/0-437852/7184/segment.ts
#EXTINF:1,
/getres/profile/ebe80805-5640-4753-b0ad-e3f53817ae2f/video/mp2tavc;res=1280x720;fps=30_1;vb=2000000/range/437852-503652/7184/segment.ts
#EXTINF:2,
/getres/profile/ebe80805-5640-4753-b0ad-e3f53817ae2f/video/mp2tavc;res=1280x720;fps=30_1;vb=2000000/range/503652-632244/7184/segment.ts
#EXTINF:2,
/getres/profile/ebe80805-5640-4753-b0ad-e3f53817ae2f/video/mp2tavc;res=1280x720;fps=30_1;vb=2000000/range/632244-761212/7184/segment.ts
The HLS spec says you can use relative urls, and that is what the examples in simplevideo player use, however the simplevideoplayer sample urls are relative to the directory containing the m3u8 files. The Tversity m3u8 urls are relative to the server root. I think Roku may not handle urls relative to the server root correctly for HLS (just a theory).
Anyway, I copied the full m3u8 file, put in the full IP and port information for Tversity and placed the file elsewhere on the server. This improved the situation, the progress bar will jump to around 1/3 full (again, I assume this indicates the m3u8 file has been loaded), then it will slowly progress till over halfway and then stop. I assume the slow progression represents the loading of the individual segments. I can't figure out why it stops though.
FML2010
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2010
07:41 PM
Re: Http Live Streaming + Transcoding Example
where are you even finding the .m3u8 file?
scyber
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2010
07:51 PM
Re: Http Live Streaming + Transcoding Example
"FML2010" wrote:
where are you even finding the .m3u8 file?
Using Tversity's HTTP Rest API:
http://tversity.com/doc/group___h_t_t_p ... a_p_i.html
First you need to add a Roku profile to the profiles.xml file. I just copied the ipad profile changing the first couple of lines as follows:
<profile id="ec5b1100-0000-1100-1101-ec5b314a1101"><!-- Roku HD DVP (N1100/N1101) -->
<friendlyName>Roku HD DVP</friendlyName>
<manufacturerName>Roku</manufacturerName>
<modelName>N1100/N1101</modelName>
<HTTPHeader inUASubstr="Roku/DVP" exclusiveIP="false"/>
<icon>/images/device_icon_generic.png</icon>
Use the MedialibBrowse Interface to browse through your content (you can do this in a browser if you set your user agent to an ipad and/or a Roku). When you get to a video file, you will need to replace "/getres" in the url with "/getindex" (if you use the ipad user agent in your browser you shouldn't need to change the url).
FML2010
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2010
09:26 PM
Re: Http Live Streaming + Transcoding Example
well i did what you said with and i have to say that is as far as i could do 😞
one issue could be is i don't have the pro version
one issue could be is i don't have the pro version
scyber
Visitor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2010
03:38 AM
Re: Http Live Streaming + Transcoding Example
Yeah, sorry I forgot to mention I have the pro version. Since ipad/iphone streaming is only supported in the pro version, it is likely that HLS wont work in the regular version. My goal would be to get Roku streaming working correctly in the pro version, then downgrade my install and try to get it working in the regular version.
mpmchugh
Newbie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2010
06:32 PM
Re: Http Live Streaming + Transcoding Example
"shshchch" wrote:
orrrrrr tversity
Unfortunately, there's no Mac OS X version of the Tversity server. Air Video is available for both Mac & WIndows.
-mpm
- « Previous
-
- 1
- 2
- Next »