Order Now AdSolution Sign Up | Login » Bits on the Run Sign Up | Login »

Forums

/

HD bitrates and pixel size

6 replies [Last post]

Hi
I've been a long time user of the jwplayer. I'm wanting to use the HD plugin but am unsure what the .flv file needs to be compressed to (ie: what bit rate and pixel size)

Can somebody help please

My personal email is ray@chapter3.net.nz

Many thanks

Ray

 
The size of your HD file depends a lot on the type of video that you are serving and your users' available bandwidth and local processing power.

A reasonable size might be the equivalent of DVD or about 720x400 for 16:9 and 720x544 for 4:3. Use exact multiples of 16 for good compression.

A reasonable bitrate is 1mbps, which shouldn't over tax a relatively modern system.

Flash uses quite a few CPU cycles to decode and also quite a few CPU cycles to download while simultaneously playing the video.

H.264 in the MP4 container seems to be less resource intensive than FLV, enabling you to use larger sizes and/or higher bitrates.

There's lots more information on the Forum, like: http://www.longtailvideo.com/support/forum/Bug-Reports/14466/Incredibly-Inefficient-MP4-H-264-RTMP-S...

Or do a Google site-specific search site:longtailvideo.com encoding HD H.264

The three best sites for video transcoding info & help are:

http://www.afterdawn.com/

http://forum.doom9.org/

http://www.videohelp.com/

Thanks Hobbs very much for the details. Really aprpeciated

Ray

Hi Hobbs

If I compress to mp4 format, is that compatible with the j w player using the players flash vars.

Again your help greatly appreciated.

Ray

 
These are the audio & video formats that are supported by the Adobe Flash Player:

    http://kb2.adobe.com/cps/402/kb402866.html

It's H.264 video and usually HE-AAC audio in the MP4 container.

Thaks again Hobbs, really appreciate your help on this one - I've checked the codecs and no problem with that. My real question is how can one play an mp4 file using the jw player.

Currently all my videos are in .flv at 400 x 300 pixels with a standard bitrate of 600

Or could I convert an .avi to .flv using the H.264 codec and still use the j w player parameters etc.

Sorry if these sound dumb questions

Ray

 
To play a MP4 file (or any other supported media file), simply specify the file URL/URI.

swfobject v2.x

'file': 'video.mp4',
 ...or...
'file': encodeURIComponent('http://www.domain.com/path/video.mp4'),

SWFObject v1.x

so.addVariable('file', 'video.mp4');
 ...or...
so.addVariable('file', encodeURIComponent('http://www.domain.com/path/video.mp4');