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

Forums

/

Player distorting H.264 video

5 replies [Last post]
Reply

Greetings,
We are in the testing phase of moving from FLV to MP4 (h.264) to enable our videos to be IOS friendly.

When I upload the h.264 clip, the JW player distorts the video. The original dimensions of the video are 448x298 (player is set at 448x380) and it plays back as such using Quicktime.

Does anyone have any ideas to alleviate or work around this issue? Has anyone had this same problem?

We are using the latest version of the player (5.8.2011). The video is encoded using Compressor via Final Cut Pro 7.

Here is a sample of the distorted video followed by what the video should look like (the second one is an flv):

http://flashmedia.stthom.edu/videos/academic/leblanc/leblanc264_6.html
http://flashmedia.stthom.edu/videos/academic/leblanc/leblanc_intro.html

Reply

You should be able to work around this issue by changing the "stretching" variable:

stretching ( uniform )

Defines how to resize the poster image and video to fit the display. Can be:

none: keep the original dimensions.
exactfit: disproportionally stretch the video/image to exactly fit the display.
uniform: stretch the image/video while maintaining its aspect ratio. There’ll be black borders.
fill: stretch the image/video while maintaining its aspect ratio, completely filling the display.

Reply

Howdy Ethan,

Thanks for your help here. I work with mike and am trying to help him get this sorted out. I'm more of a web guy, I know just enough about video to be dangerous. Mike is our in-house video expert.

I've applied the stretching parameter and tried each of the options available. None of them seem to produce the correct aspect ratio.

I have a feeling that the player doesn't like something about how the video is encoded. We don't have this problem with any of our flv files, but we're trying to switch to h264 to be accessible to students using iOS devices.

The file mike linked above uses an mov container (if that's the appropriate term). However, we've also found a utility that will help us convert some of our flv files to mp4. They convert without issue and play in the native player on the machine perfectly, but when we route them through the jwplayer only the audio renders. The video is blank. Here's an example: http://flashmedia.stthom.edu/videos/academic/leblanc/leblanc_5397.html

If we could get that sorted out it would provide a solution to our issue via different route.

I believe this video was converted from FLV via the free Hamster Video Converter tool.

Thoughts?

Reply

Hmm, maybe you can try to re-encode it using - http://handbrake.fr/ ?

Reply

turns out the encoder he was using was encoding it with the wrong frame size. It could compensate for that on his mac, but pcs were having a problem. We re-encoded with the right frame size and problem resolved. Thanks for your time, Ethan.

Reply

Np

Post new comment

  • Allowed HTML tags: <code> <blockquote> <em> <strong> <strike> <ul> <li> <ol>
  • You may post code using <code>...</code> .
  • Lines and paragraphs break automatically.
  • Web page addresses and e-mail addresses turn into links automatically.

More information about formatting options