DV Info Net

DV Info Net (https://www.dvinfo.net/forum/)
-   What Happens in Vegas... (https://www.dvinfo.net/forum/what-happens-vegas/)
-   -   Website for hosting video.... (https://www.dvinfo.net/forum/what-happens-vegas/494169-website-hosting-video.html)

Jerry Amende October 28th, 2011 07:42 AM

Re: Website for hosting video....
 
Thanks for the testing! I suspect the reason for no transport controls is that, if all else fails, the video is played as a "download" - and that would be dependent upon the device's download player.

Keep the tests coming!!

...Jerry

Seth Bloombaum October 28th, 2011 12:17 PM

Re: Website for hosting video....
 
autumn.html:

iPad - yes
Chrome/PC - yes
Firefox/PC - yes
Firefox/Mac - yes
Opera/Mac - yes
Safari/Mac - yes

When I flooded my internet connection, I also got a chance to see the adaptive streaming work - it does!

Jerry, thanks for the referral to the latest JWPlayer, I'll check that out one of these days soon!

Dennis Vogel October 31st, 2011 10:00 AM

Re: Website for hosting video....
 
Quote:

Originally Posted by Jerry Amende (Post 1637366)
...

PS: Here's a very valuable resource: Dive Into HTML5

That site seems to be gone now. I found a new link: Dive Into HTML5. I trust it's the same site just relocated.

D

Seth Bloombaum November 30th, 2011 05:32 PM

Re: Website for hosting video....
 
Hey Jerry, I'm reviewing your autumn.html code for adaptive jwplayer closely, because I want to use it as a sample in class...

At lines 22 and 23 you're constructing the filenames of the alternate versions of the video? It's a little difficult for me to follow the code, because I don't know the real name of the target files. Is it Autumn2011640.mp4 and Autumn2011320.mp4?
Code:

//  base file is 960x540, lower bitrate folders are 640x360 and 320x180
var vid640 = vid.split(".")[0] + "640.mp4";
var vid320 = vid.split(".")[0] + "320.mp4";

Thanks!

PS. Where did this adaptive JS come from? Did you write it? I'm not finding it at the jwplayer site, or at least not yet.

Jerry Amende November 30th, 2011 06:57 PM

Re: Website for hosting video....
 
Seth,

You've got it right. Here's some more details.

I rendered my project in Vegas to a DNxHD intermediate - 1920x1080 60p. Then used HandBrake to render 3 video files; Autumn2011.mp4 (which was 960x544), Autumn2011640.mp4 (640x368) & Autumn 2011320.mp4 (320x176) {HandBrake likes Mod 16}. Each of these used a HandBrake setting of Constant Quality: RF 30 & 29.97 fps (as I recall).

Using MediaInfo, we can determine that the bitrate for Autumn2011.mp4 is 1235Kbps, Autumn2011640.mp4 is 660Kbps and Autumn2011320.mp4 is 241Kbps. JW Player then uses the following code to determine which file to use based on the available bandwidith.

Code:

                'levels': [
                    { bitrate: 1235, file: vid },
                    { bitrate: 660, file: vid640 },
                    { bitrate: 241, file: vid320 }
                    ],

Of course, the objective is to adjust the size/quality of playback based on the user's available bandwidth.

Make sense?
...Jerry

Edit: Yes, the JavaScript is mine, based upon the API I found on the www.longtailvideo.com site.

Seth Bloombaum November 30th, 2011 08:06 PM

Re: Website for hosting video....
 
Thanks Jerry!

I had good results this afternoon using the "Levels" block in JWPlayer to rather seamlessly accommodate html5 and flash plugin browsers - it's really working well. I started with the code in the quickstart pdf.

Adaptive to bandwidth? Perhaps tomorrow.

Thanks, this is some good source and really helped me get started fast. JWP has really come a long way in the last year or two, it's been a while since I looked at it.


All times are GMT -6. The time now is 05:05 PM.

DV Info Net -- Real Names, Real People, Real Info!
1998-2025 The Digital Video Information Network