Showing posts with label aspect ratio. Show all posts
Showing posts with label aspect ratio. Show all posts

Wednesday, September 23, 2009

Demonstrating a point.

This is just an attempt to explore some options that may exist with YouTube's embedded players. The following player has been defined as 560x200. But any other set of dimensions should also be possible.

This is an extension of the post made recently, speculating about the reasons for the appearance of the viewers on YouTube itself. I have to wonder... at least I have wondered for quite awhile, whether this isn't some subtle incentive for YouTube's users to focus on using embedded players, rather than sending them to YouTube pages more directly. It's a silly and overly complicated speculation, I know.

Oddly enough, this particular player embeds the video at its uploaded dimensions. In this case, the video was rendered at 1200x496 pixels... a 2.42:1 aspect ratio I mostly invented. The 560x200 player provides a 2.8:1 aspect ratio window... wider than the uploaded video. The result is the pillarboxing you see below.

Below the jump, I'll put up a 600x248 (+30px for the progress bar) player, which should be roughly a match to the video contained there... My apologies to any early readers of this post, which should probably not have been published before debugging everything. I'll try to follow this up with some more technical details on just how to determine the size of your embedded player, once I'm a bit more sure of what I'm doing here.

Below: Bringing widescreen options to YouTube. One crazy person at a time.

This player SHOULD be a half-size match to the original upload.




And here's another example... in this case the image and rendering were matched... this should show neither letterboxing nor pillarboxing.





Monday, September 21, 2009

YouTube does CinemaScope

This video is presented as an example of an odd, and possibly unsupported YouTube feature. Recently, in the past few days, an ultrawide player appeared on YouTube, at least for some types of videos. The aspect ratio was around 2.35:1, instead of the 16:9 aspect ratio introduced back in December 2008.

Hopefully this embedded video illustrates this new format, but what's really interesting is if you follow this video back to YouTube, and use the new large screen switcher. It's a button with arrows pointing left and right. The "mouseover" text reads "Change Player Size." The odd thing at the moment though is that this player is only available if you avoid rendering in a way that triggers HD encoding.  For example, an otherwise identical clip was rendered at 1440x608 and displays on YouTube in the now familiar 16:9 ratio player.  Perhaps that will be fixed in a future update?  (Don't bet actual money on that hopeful statement, though).

Please note: to get the 2.35:1 aspect ratio embedded player below, you will need to (at present) manually change the values (both at the beginning and end) of the embedded player code. In this case the height value was 262, width 560.  If you're not familiar with the method (clicking the YouTube watermark) to open a video on its own YouTube page, you can click this link to get to the video behind the embedded player below.





Here are the detailed specs for the file uploaded above:

General
Name : Patriots90920cVryShortSM2.mp4
Format : MPEG-4
Format profile : Base Media / Version 2
Codec ID : mp42
File size : 15.0 MiB
Duration : 30s 30ms
Overall bit rate : 4 195 Kbps
Encoded date : UTC 2009-09-21 04:12:06
Tagged date : UTC 2009-09-21 04:12:06

Video
ID : 2
Format : AVC
Format/Info : Advanced Video Codec
Format profile : Baseline@L3.0
Format settings, CABAC : No
Format settings, ReFrames : 2 frames
Muxing mode : Container profile=Unknown@0.0
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 30s 30ms
Bit rate mode : Variable
Bit rate : 3 999 Kbps
Width : 720 pixels
Height : 304 pixels
Display aspect ratio : 2.35
Frame rate mode : Constant
Frame rate : 29.970 fps
Resolution : 24 bits
Colorimetry : 4:2:0
Scan type : Progressive
Bits/(Pixel*Frame) : 0.610
Stream size : 14.3 MiB (95%)
Language : English
Encoded date : UTC 2009-09-21 04:12:06
Tagged date : UTC 2009-09-21 04:12:06

Audio
ID : 1
Format : AAC
Format/Info : Advanced Audio Codec
Format version : Version 4
Format profile : LC
Format settings, SBR : No
Codec ID : 40
Duration : 30s 16ms
Bit rate mode : Constant
Bit rate : 192 Kbps
Channel(s) : 2 channels
Channel positions : L R
Sampling rate : 48.0 KHz
Resolution : 16 bits
Stream size : 704 KiB (5%)
Language : English
Encoded date : UTC 2009-09-21 04:12:06
Tagged date : UTC 2009-09-21 04:12:06


One further point of interest, though. Even though video appears rather ugly on YouTube itself, the same trick used above, should work to conform embedded players to any non-standard aspect ratios you might want to use. See the example below:



Thursday, January 1, 2009

First stab at explaining why your YouTube videos are all messed up

During December, YouTube finally did what I'd long hoped they would do. They went and changed viewing screens. They took that 1950s, 4:3 format so beloved by Barbara Billingsley fans, and swapped it for that spiffy 16:9 ratio you see every time you walk by the TV section at your favorite mass merchandiser.

Sad to say, like so much in life, this change came at a cost. For many of us who had been letterboxing our widescreen video in the old viewer as the only way (or so we thought) to preserve the original aspect ratio, to keep our subjects from looking like the inhabitants of the Planet with Incredibly Stretchy Air -- suddenly, our old, tired videos look something like this, if we're lucky:



Actually, on this page that viewer doesn't look so bad. On the YouTube page though it looks more like this:

This is very frustrating -- don't you just want to grab the corners of the image and just
streeeeeetttttch them so they fill that little screen? I'm betting you do.

In fact, I'm betting you probably want your video to look more like the next video you see (points) "over there!" -->>>> (well, somewhere soon).



It's my plan, at least, to try to suggest some ways to make your video look more like the second example and less like the first.


Something you probably don't want is a version that looks like this.



Once I deal with giving you the settings and what to watch for so your videos do the proper tricks where aspect ratio is concerned, them maybe I'll get to tell you how I messed that one up, and why I even did it on purpose. In the meanwhile you might want to take a look at the file specs for that one too which, as with the other videos, is included at the end of the description block.

And so, here are the boring details.

Until I do spell this out in all its gory details (or at least the details that probably matter to the Average Josephina with a video camera, you may want to take a look at those two videos and compare them on their individual YouTube pages. In particular, look at the details given in the description for file format and other details of how each one was rendered, paying special attention to the lines about width, height and display aspect ratio. The last one can be a biggie, and there are several ways to screw up so I'll try (and most likely fail) to keep it simple.

Widescreen, but crammed into a Dior housedress of a Leave It to Beaver pseudo-screen:

http://www.youtube.com/watch?v=voPR3FhKt1k


Luxurious Luxorvision (16:9 video in a 16:9 Player):

http://www.youtube.com/watch?v=ImDmUuL_4iE

I'll try to work on a more detailed explanation in the meanwhile, aimed at those who may just be starting to learn about all the variations possible when it comes to rendering, and some of the reasons why you may be better off rendering things in moderate quality for the present and keeping control over the results, to whatever degree that might be a realistic goal.