Nov. 06, 2009Ray N
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
Nov. 06, 2009hobbs
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-Streaming#msg100304
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/
Nov. 07, 2009Ray N
Thanks Hobbs very much for the details. Really aprpeciated
Ray
Nov. 07, 2009Ray N
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
Nov. 07, 2009hobbs
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.
Nov. 07, 2009Ray N
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
Nov. 07, 2009hobbs
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'),
[b]SWFObject v1.x[b]
so.addVariable('file', 'video.mp4');
...or...
so.addVariable('file', encodeURIComponent('http://www.domain.com/path/video.mp4');
Here are some helpful links to learn more about the JW Player™:
Earn money with ads from LongTail's AdSolution. Watch our demos and sign up now!
If you don’t buy a commercial license, you cannot use a JW Player™ on (i) a site that has ads; (ii) a corporate site; or a (iii) CMS. Our licenses are very inexpensive, so what are you waiting for? Buy a license today.