-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
zoomed video in Chrome #967
Comments
Does your playlist signal a discontinuity when the resolution changes? Have you run it through the mediastreamvalidator tool from Apple? |
Sorry, i don't have an Apple developer account to use mediastreamvalidator. A question: with hls.js library, can i manipulate the playlist.m3u8 and change the RESOLUTION tag before play video? |
mediastreamvalidator log: Started root playlist download chunklist_w914720008.m3u8Processed 15 out of 15 segments Discontinuity: sequence: 0, parsed segment count: 15 of 15, duration: 152.867 sec, average: 979.00 kb/s, max: 1125.38 kb/s MUST fix issuesError: Framerate change without discontinuity tag detected --> Detail: (null) --> Detail: (null) Error: Format change without discontinuity tag detected AirdiSalvatore:~ Salvatore$ |
The format change error might be the problem. You'd have to calculate if that segment coincides with the timing of your issue. Those framerate change issues are also worth fixing. hls.js and the browsers really do perform better if you feed them valid input. Some browser are sensitive to those changes. |
Framerate and Format, change voluntarily at runtime. |
I modified the file xhr-loader.js in response callback (readystatechange) before success callback. (latest version of hls.js). Any suggestions?? |
The Wowza player WORK FINE! |
Hi @Terminus80 |
Hi @mangui thanks. |
Hi @mangui, |
Hi @Terminus80 HLS spec is pretty clear on discontinuities regarding the zoom issue, even if your stream does not signal the discontinuity, I am pretty sure it is just a matter of detecting video width and video height change and resizing. have you tried manually resizing the video from JS debug console ? |
Hi @mangui Thanks. |
Could u first ensure that it works as expected with a discontinuity tag ? Just to understand what is missing. Also could u dump chrome://media-internals content, to check whether chrome uses hardware or software video decoder. |
Follow the dumps before and after zoom. In media-internals-WithZOOM.txt there are this messages after change resolution: { these messages still show up even back to the original resolution. |
I redid the test and this time there are no errors after zooming. |
as you said there are lots of timestamp gap detected after your resolution change. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Environment
Steps to reproduce
Hi,
i have a stream hls whose resolution dynamically changes.
For example, initially the video resolution is 640x360, but this may change in 1366x768 (inside the same stream).
If the resolution change, the video immage is zoomed.
The video image does not fit the size of the container.
I only see a portion of video ... zoomed
If i refresh the page no problem. the video immage is ok.(not zoomed)
No error in the console.
If I Call the hls.js function: recoverMediaError() the video immage return ok.
This issue occurs only with chrome on windows platform.
Chrome on mac is no Problem.
chrome on android is no Problem.
safari on ios no Problem.
firefox on windows no Problem.
For me, is a native issue of chrome tag video on windows platform.
PLEASE , HELP ME!
The text was updated successfully, but these errors were encountered: