bytedance / xgplayer

A HTML5 video player with a parser that saves traffic
https://h5player.bytedance.com/
MIT License
8.06k stars 845 forks source link

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

Open Hubmeat opened 3 months ago

Hubmeat commented 3 months ago

您使用的西瓜播放器版本是多少? 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 commented 2 months ago

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

Hubmeat commented 2 months ago

这是来自QQ邮箱的假期自动回复邮件。   您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。

Hubmeat commented 2 months ago

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

gemxx commented 2 months ago

@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 commented 2 months ago

但是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 commented 2 months ago

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