Cummenbert
Cummenbert

Reputation: 67

VIDEO - soundcodec AC3 (MKV)

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/

Upvotes: 3

Views: 5655

Answers (2)

Carl Norwood
Carl Norwood

Reputation: 1

I believe if you put the video with audio codec AC3 and then put it into Handbrake it'll convert to AAC which is what you want and it'll work. It works for me.

Upvotes: 0

Yash Capoor
Yash Capoor

Reputation: 357

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.

Upvotes: 5

Related Questions