0

HTML5 Video hwz="on" distorts video aspect, hwz="off" drops frames

I am trying to use a basic HTML5 page with with <video> tags to play either 720p or SD MP4 videos. hwz="off" plays videos back in the proper format, however, has poor quality and many dropped frames. hwz="on" doesn't recognize the aspect ratio and both stretches 4x3 video and stretches or scrunches 16x9. Some files, perhaps encoded with a different codec, seem to play fine.

I have tried manually adjusting the positioning, padding, height, and width--but never with expected results. Is there anything that can be done on my end? Or is this a bug?

 

 

 

5 comments

  • 0
    Avatar
    Lyndon

    If you could send us sample content and html, we can test and try and duplicate the issue you are seeing. 

  • 0
    Avatar
    Greg Erickson
    The page is being served from a private network. Here is a slimmed down version of the code that gets the same results. Let me know if this is enough for you to work with.
     
    I am currently using Firmware 4.7.146 -- though I also tried 4.7.112 with similar results.
     
    One of the 16x9 videos I'm using is located here, though I am using a copy in the same directory as the html page. Notice the title, which should be centered, is cut off.
     
    One of the 4x3 videos is here:
     
    <html>
    < head>
    <style type="text/css">
     #master
     {
      position:absolute;
      top:0px;
      left:0px;
     }
     
     ::-webkit-scrollbar
     {
      width:0px;
      height:0px;
     }
     
    < /style>
    </head>
    <body>
    <div id="master">
     <video id="videozone" height="720px"  hwz="on" autoplay >
     <source src="502014276_E_cnt_1_r720P.mp4" type='video/mp4'/>
        </video>
     
    </div>
    <body/>
    </html>
  • 0
    Avatar
    Lou Swing

    Any update to this by chance? Running into a similar issue with full screen 1080 video, just a bit pixelated. I have not been able to add the "hwz" attribute to "on" due to Adobe Edge coding, but am working on a solution. Thanks

  • 0
    Avatar
    Romeo

    Hi,

    > I have not been able to add the "hwz" attribute to "on" due to Adobe Edge coding

    You can also set HWZ on  in BrightAuthor by ticking the "Enable native video plane playback" box in the HTML5 state.

    Regards,

    Romeo

     

  • 0
    Avatar
    Lou Swing

    Romeo,

    Thanks, that did the trick, the video is playing great now, good to see. Playing back full screen compressed 1080p video nice and smooth!

     

Please sign in to leave a comment.