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

Forums

/

Detecting anamorphic h.264?

4 replies [Last post]

As far as I can tell, JW Player is not able to detect and properly display anamorphic h.264 video.

I have video encoded as 640x480 anamorphic 16:9 h.264 (.mp4), and JW plays it as if it is 4:3. Sure, I can force it to stretch arbitrarily, but that doesn't really work well as it fails in fullscreen and it requires that the page's code knows the aspect ratio of the video, which it may not.

Is this a bug? Is this not possible to do? Flowplayer also has this issue, from what I can tell.

Thanks.

I'm having the same issue. Very disappointing.

The player currently uses a 4:3 aspect ratio by default, as this is the format of most content.

There is a solution available, however. See http://www.longtailvideo.com/support/forum/Bug-Reports/13766/aspect-ratio-not-detected

That link to the solution is broken.

When stretching=exactfit is set in flashvars, the aspect ratio should be used for full screen. It's easy to determine:
aspect = object width / (object height - controls height)

@Lucas - the forum post has been restored. Looks like a glitch in the forum software.