VIDEO - soundcodec AC3 (MKV)

一世执手 提交于 2019-12-25 07:15:08

问题


Im trying to get a HTML page set up where a video is playing.

My video is an .mkv file. It works fine on Chrome, but I dont have any sound. Audio codec is AC3.

My code:

<p><video src="video.mkv" type='video/x-matroska; codecs="a_ac3, avc"' autoplay controls onerror="failed(event)" ></video></p>

https://jsfiddle.net/wc2fn02s/


回答1:


AC3 is not supported by Chrome due to licensing issues.

No support for ac3 and dts - Current status: WontFix

Media player silently ignores AC3 audio (pun intended).

The first link talks about third party plugins like this one that can play it, though.



来源:https://stackoverflow.com/questions/38146541/video-soundcodec-ac3-mkv

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!