-
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
使用hls.js播放hls时,视频出现了花屏 #6515
Comments
We will not reach out via email or messaging app to follow up. You can connect with us on Video-Dev Slack in the |
收到,已经发到了Video-Dev Slack |
Looks like an issue transcoding the Transport Stream segments. https://github.com/video-dev/hls.js/blob/v1.5.11/src/demux/tsdemuxer.ts |
那这个需要怎么修改喽 |
It may be related to deficiencies found in NAL Unit overflow parsing. We had to rollback a change that introduced regressions in #6492. |
刚才我测试了一下其它版本,hls.js-1.4.5和hls.js-1.5.8也有该现象 |
这个有没有方法把ts解析出的264,保存成文件不。这样可以进一步确认解析的264是不是正常 |
On the HLS.js demo page, check "Dump transmuxed fMP4 data", then click "Create video-fmp4" under "Playback" controls. All appended segments are concatenated into a single byte array. |
您好,这个问题有进展了没,我尝试修改了部分代码,按照上面的方法下载了fmp4,用vlc播放,已经不花屏了。但网页上还是花屏。 |
@xht I've found the root cause to be unexpected AVC NAL Access unit delimiters between the SPS, PPS and frame units. A fix has been pushed to #6617 (test link https://bugfix-avc-nal-aud-samples.hls-js-4zn.pages.dev/demo/). |
意思是,SPS PPS I这之间当成一帧,只需要1个aud,是这个意思不? |
刚才测试了一下v1.5.14这个版本,还是花屏。 |
The fix will be released in v1.6. Version 1.5 will not get a patch with this change. |
|
The NAL units comprising the first frame of the asset that produces this issue (mapped using
Typical first frame of TS video (SEI is not required):
Prior to #6617 the TSDemuxer would only have pushed the data in the last 'AUD,IDR' units into the tranmuxed mp4 mdat. The earlier data was not after encountering unexpected AUD NAL units. |
明白了,谢谢 |
这个版本是什么时候发布喽 |
Click the 1.6.0 Milestone link for additional information including the release due date. There is a beta pre-release available now https://github.com/video-dev/hls.js/releases/tag/v1.6.0-beta.2 |
What version of Hls.js are you using?
v1.5.11
What browser (including version) are you using?
Microsoft Edge(125.0.2535.92)
What OS (including version) are you using?
windows10
Test stream
No response
Configuration
Additional player setup steps
No response
Checklist
Steps to reproduce
2.点击Apply。
Expected behaviour
能正常解决解码视频
What actually happened?
不太清楚,用ffplay播放m3u8能正常播放
Console output
Chrome media internals output
No response
The text was updated successfully, but these errors were encountered: