Skip to content
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

华为 麦芒 20 5G - “解码错误,请重试” #1416

Open
Hubmeat opened this issue Apr 25, 2024 · 6 comments
Open

华为 麦芒 20 5G - “解码错误,请重试” #1416

Hubmeat opened this issue Apr 25, 2024 · 6 comments
Labels
mobile Player run in iOS or Android webview

Comments

@Hubmeat
Copy link

Hubmeat commented Apr 25, 2024

您使用的西瓜播放器版本是多少? What version of xgplayer are you using?
2.31.6

您使用的操作系统和浏览器分别是? What OS and browser are you using?
image

如何复现问题? How to reproduce the problem?
image
实例化播放器进行播放,报错如图

image 实例化播放器进行播放,报错如图

您期望的播放器正常行为是? What did you expect to happen?
正常播放

实际播放器的表现是? What actually happened?
提示解码错误

可填写您所在的公司和相关产品业务,方便我们提供更好的技术支持 You can write your company and product which uses xgplayer, for helping us provide better technical support.

@gemxx
Copy link
Collaborator

gemxx commented May 8, 2024

@Hubmeat 方便提供下播放地址吗?或者demo?

@Hubmeat
Copy link
Author

Hubmeat commented May 8, 2024 via email

@Hubmeat
Copy link
Author

Hubmeat commented May 8, 2024

@gemxx
Copy link
Collaborator

gemxx commented May 11, 2024

@Hubmeat 这个MP4视频的264 Codec编码参数有些高 AVC High Level 5 [avc1.640032/],中低端手机一般不支持。建议对用户提供 High Level 3左右的编码

https://dyanyapi.elecottech.com/mini_comm_img/hichina/video/dehong_new.mp4

@Hubmeat
Copy link
Author

Hubmeat commented May 11, 2024

但是a

@Hubmeat 这个MP4视频的264 Codec编码参数有些高 AVC High Level 5 [avc1.640032/],中低端手机一般不支持。建议对用户提供 High Level 3左右的编码

https://dyanyapi.elecottech.com/mini_comm_img/hichina/video/dehong_new.mp4

但是用户设备本身通过浏览器直接播放这个 Mp4 应该可以,造成编码解析差异的原因是设备原因还是组件原因呢?

@gemxx
Copy link
Collaborator

gemxx commented May 14, 2024

@Hubmeat 提供一下播放器的配置我再看一下。由于我手边没有这个机型做测试,你那里有的话,可以试试直接用原生video直接播放这个视频地址,看看能否播放?如果不能播放的话,就是浏览器在实际实现的时候有特殊处理。

@gemxx gemxx added the mobile Player run in iOS or Android webview label May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mobile Player run in iOS or Android webview
Projects
None yet
Development

No branches or pull requests

2 participants