How to convert mkv to mpeg?

Know that the containers are almost identical. Need to convert matroska webm in real-time using js. Know how bad it is to quickly change the container. It is logical to parse EBML and package differently. The question is how?
Sorry for the confusion
June 5th 19 at 21:49
3 answers
June 5th 19 at 21:51
Convert on backend
Pure GS is not drawn
Do pulls, but meeeeeee and sad. - Austen.Thompson53 commented on June 5th 19 at 21:54
June 5th 19 at 21:53
>>You know that the containers are almost identical.

containers can, and the same - but the codecs can be different. Real-time show this in HTML5 video.... I doubt it.
Suggest another way video output this format in a browser? I don't know how else - Austen.Thompson53 commented on June 5th 19 at 21:56
to stream via vlc/mplayer. - abigail_Kohler89 commented on June 5th 19 at 21:59
June 5th 19 at 21:55
On the CPU you WEBM (aka VP8\9) in real-time will not calculate. The speed will be 1\5 - 1\10.
Hardware encoder these codecs, as I recall, no.
H264 will not work?

Find more questions by tags VideoJavaScriptMKV