MEDIA_ERR_DECODE(-4006,404)(P.0)
发布于 4 年前 作者 chao19 12163 次浏览 来自 官方Issues

视频ID:s3241y79959

视频地址:https://v.qq.com/x/page/s3241y79959.html

最近有很多客户反馈,大多数新上传的视频,无法打开,都提示MEDIA_ERR_DECODE(-4006,404)(P.0)

代码如下,不存在未获取vid就渲染的情况

<block wx:if="{{ data.video && data.video.src }}">
    <block wx:if="{{ data.video.channel == 0 }}">
        <view class="w100 rlt bg-fff mar-t-2">
            <view class="flex flex-h pad-t-4 pad-r-4 pad-b-4">
                <view class="bg-red mar-l-4 mar-r-3" style="width: 4px; height: 24rpx; border-radius: 2px;"></view>
                <view class="flex-1 font-28 color-222">视频介绍</view>
            </view>
            <view class="w100 rlt over-h" style="padding-bottom: {{ data.video.ratio * 100 }}%;">
                <view class="abs-full">
                    <txv-video class="w100" vid="{{ data.video.src }}" playerid="{{ data.video.src }}" usePoster width="100%" height="100%"></txv-video>
                </view>
            </view>
        </view>
    </block>
</block>

小程序日志如下

tvpUrl http://vlive2.hls.tc.qq.com/vlive2.hls.tc.qq.com/mp4/0/Av9JrThJo5gSCACvuPTUVGeu-S-WPaUnzheGavjormm9yFAT_g8o9g/5kpKYSGB4jJhqTQ7ucmfy9L39yYuaxKumObJLJSNLntF8xV4YZYqCSOJTstZbwDMlJ8E7vHVy_N1lvUmKb3OFC_B3Chhh7QefRPGgNxaQafl2qbMwpkuRN3rqSik1WjBlIFi2fmIxDQysqos1THQCg/s3241y79959.mp4/playlist.av.m3u8?fn=mp4&bw=64&st=0&et=0&iv=&ivfn=&ivfc=&ivt=&ivs=&ivd=&ivl=&ftype=mp4&fbw=45&type=m3u8&drm=0?platform=4210801&sdtfrom=v4169
Invoke event __onTvpWaiting in component: plugin-private://wxa75efa648b60994b/component/video/video
Invoke event __onTvpError in component: plugin-private://wxa75efa648b60994b/component/video/video
Invoke event __onTvpError in component: plugin-private://wxa75efa648b60994b/component/video/video
2 回复

404了,先确认下视频源是否访问得到吧

请具体描述问题出现的流程,并提供能复现问题的简单代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html),提供下复现机型,微信版本号,系统版本号。

回到顶部