sonysuqin / WasmVideoPlayer

Play file/stream with wasm & webgl & web audio api, using ffmpeg for multi codec support, especially for h265,support http, websocket, http-flv stream.
GNU General Public License v3.0
1.3k stars 375 forks source link

Decoder.prototype.openDecoder 返回为7 代表什么错误呢 #5

Closed erossv closed 5 years ago

erossv commented 5 years ago

image

sonysuqin commented 5 years ago

从代码看,不应该返回7,只会返回0或者8吧,8代表FFmpeg api返回错误。

erossszh notifications@github.com 于2019年5月27日周一 下午9:16写道:

[image: image] https://user-images.githubusercontent.com/40795291/58422238-a7e10c80-80c4-11e9-8a83-cac2edfd8075.png

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/sonysuqin/WasmVideoPlayer/issues/5?email_source=notifications&email_token=ABBBTEJDEY3FILMQGOQUF3TPXPNMNA5CNFSM4HP34RV2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GWA6VJQ, or mute the thread https://github.com/notifications/unsubscribe-auth/ABBBTEJCUXXMMSSPEDRTM2TPXPNMNANCNFSM4HP34RVQ .

zhang6685979 commented 5 years ago

@sonysuqin 你好,大神,demo中的视频可以播,但是我找的其他H265的视频在解码时返回的都是8,这种问题该怎么解决呢?

sonysuqin commented 5 years ago

@zhang6685979 看看这个问题的回答,格式弄成一样的应该就可以了。

tablife commented 5 years ago

好的,谢谢,解决了 ------------------ 原始邮件 ------------------ 发件人: "何震"notifications@github.com; 发送时间: 2019年8月15日(星期四) 下午4:09 收件人: "sonysuqin/WasmVideoPlayer"WasmVideoPlayer@noreply.github.com; 抄送: "Subscribed"subscribed@noreply.github.com; 主题: Re: [sonysuqin/WasmVideoPlayer] Decoder.prototype.openDecoder 返回为7 代表什么错误呢 (#5)

@zhang6685979 看看这个问题的回答,格式弄成一样的应该就可以了。

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.