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

Forums

/

Pixelated YouTube Image and Video in JW FLV Player

10 replies [Last post]

After spending hours finding and collecting URLs of YouTube videos and reading the forum and solving various problems several months ago, I just noticed the image and video for low-bandwidth YouTube videos are pixelated / blocky when viewed in the JW FLV Player on my website, compared with the same low-bandwidth videos on YouTube's site. Is there some setting I can add to fix that, or are all low-bandwidth YouTube images and videos always going to be pixelated in JW FLV Player and relatively sharp on YouTube's site? I hope all the time I spent wasn't for nothing. The player's dimensions are set to a width of 440 and different heights for different playlists (on separate pages), so I wouldn't think that's what's causing it.

The standard, low-bandwidth YouTube video is 320x240. By using a width of 440 you are almost doubling the size of the video. This will cause a degradation in the display quality.

You could use the high-quality YouTube format. I am not sure if most YouTube videos are available in the high-quality format or not; you would have to check your specific videos.

You also have to use a proxy script to get the URL of the high-quality videos because they are not yet available through the YouTube API.

See this thread (post on 17.09.2008) for the YouTube high-quality proxy script:

        http://www.jeroenwijering.com/?thread=13017

Really? That's messed up. Why display low bandwidth YouTube videos in the JW FLV Player then, instead of YouTube's player, which at 425 wide by 344 high plays those supposedly 320x240 videos relatively sharply, both on YouTube.com and offsite? I don't get it. What's the point?

A better question is why in the world can't the JW FLV Player play low bandwidth YouTube videos relatively sharply at 425x344 like YouTube's player does? I was wanting to use a different FLV player than YouTube's to avoid the suggested videos feature, but I didn't think I'd have to sacrifice player size in the process.

How disappointing. Looks like I did spend all that time for nothing after all. It's a shame, 'cause the JW FLV Player's a great player otherwise.

Could someone please answer my questions? Or will I have to start a new thread to have a better chance of getting them answered?

i also had this problem, only way I can find of solving this is to do the following,

Try adding quality=true to enable high quality playback. This will also enable smoothing and deblocking. for full details look here http://code.jeroenwijering.com/trac/wiki/FlashVars#Behaviour

Quality is set on "true" by default.

Digr: the FLVPlayer and the YouTube player are completely different developments. It's the same like asking, why the Porsche is faster than the Volkswagen, while both have 4 wheels.

YouTube videos in standard quality have 320 x 240. I would never go higher than that. Personally I embed 200 x 150.

You could instead use the high quality videos, they go by 480 x 360 (fmt=18). But you need to use a workaround to use high quality videos in the FLV Player.

> the FLVPlayer and the YouTube player are completely different developments.

Really? I never would've guessed. ; )

> It's the same like asking, why the Porsche is faster than the Volkswagen, while both have 4 wheels.

In other words, you believe the YouTube player is a much better / more advanced player than the JW FLV Player. I'm not sure everyone familiar with both would agree with you, but it does at least seem to be the case concerning playing low-bandwidth, or standard quality, as you call them, YouTube videos.

> YouTube videos in standard quality have 320 x 240.

No kidding? I do believe that's been established already. As I said, even if it's true that they're that size, which doesn't seem very likely, the YouTube player nevertheless plays them at 425x344.Maybe in time Jeroen will add that capability (please).

> You could instead use the high quality videos

Only one or two of the videos in my playlists are available in high quality, judging by the link by that title. Besides, I want the average person to be able to view them, not just people with a high-bandwidth connection. But thanks anyway. Happy holidays.

There is also a javascript function that returns YouTube video's thumbnail

http://jquery-howto.blogspot.com/2009/02/how-to-get-youtube-video-screenshot.html

This article describes how to get a URL to YouTube's video image thumbnail. All you have to do is pass a Youtube video URL or video ID and function will return a URL to the thumbnail. You can also specify thumbnail size (big/small).

<a href="http://jquery-howto.blogspot.com/2009/02/how-to-get-youtube-video-screenshot.html">Get YouTube video image thumbnail using only javascript without Google Devloper API key</a>

What he is saying is how to turn on smoothing on youtube videos. Not the quality ffs.

both youtube and JW player use the same kernel in Adobe flash player for playing .flv and .mp4 files. it's not written by macromidia originally

The guy (TS) hits the nail right on the head..

During uploading to youtube I also ef-ing hit some config option that is making al the images of all the videos I see on various channels including my own look pixelated as hell.

I cannot undo this, is that so difficult to ef-ing understand? what is the point if all the so-called tech forums are full of morons that have no more clues then I do?

I'll tell you what the point is, endless browsing for hours to get one tiny question answered

thanks for nothing..