Getting VP8 frames from mkv file

Austin Einter <[email protected]> Tue, 14 Nov 2017 14:03:40 +0530
Newsgroups gmane.comp.multimedia.matroska.user
Message-ID <CANXt1k_GWOP3-BbZcPub=yJ261EBSDEGBe9Y9o_Dk0_U99zFuQ@mail.gmail.com>
--===============5138098282948894714==
Content-Type: multipart/alternative; boundary="089e0821ea6c824e92055ded3e44"

--089e0821ea6c824e92055ded3e44
Content-Type: text/plain; charset="UTF-8"

Hey,
I am in process of implementing a streaming application. Where I have a mkv
file, I need to read video frames from mkv file, I need to stream it to
remote chrome browser to play it (its a webrtc call).

I am successful in parsing the mkv file (like clusters, simple blocks etc).
But I have lots of question in respect to how to relates to VP8 encoded
frames.

I am able to extract payload from simpleblocks and sending those to chrome
over RTP (after webrtc call established) as per timestamp we read from mkv
file. Chrome is not playing it.

So my question is VP8 encoded frames and a simpleblock data in a mkv file,
how these two are related. Am I correct to assume one simpleblock data
corresponds to one frame in VP8.

If any of you has done a streaming onto a browser, can you guide me, give a
mkv file, how can we get video frame by frame.

Best Regards,
Austin

--089e0821ea6c824e92055ded3e44
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hey,<br>I am in process of implementing a streaming applic=
ation. Where I have a mkv file, I need to read video frames from mkv file, =
I need to stream it to remote chrome browser to play it (its a webrtc call)=
.<div><br></div><div>I am successful in parsing the mkv file (like clusters=
, simple blocks etc). But I have lots of question in respect to how to rela=
tes to VP8 encoded frames.</div><div><br></div><div>I am able to extract pa=
yload from simpleblocks and sending those to chrome over RTP (after webrtc =
call established) as per timestamp we read from mkv file. Chrome is not pla=
ying it.</div><div><br></div><div>So my question is VP8 encoded frames and =
a simpleblock data in a mkv file, how these two are related. Am I correct t=
o assume one simpleblock data corresponds to one frame in VP8.=C2=A0</div><=
div><br></div><div>If any of you has done a streaming onto a browser, can y=
ou guide me, give a mkv file, how can we get video frame by frame.</div><di=
v><br></div><div>Best Regards,=C2=A0<br>Austin</div><div><br></div><div><br=
></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br=
></div></div>

--089e0821ea6c824e92055ded3e44--

--===============5138098282948894714==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline

X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KTWF0cm9za2Et
dXNlcnMgbWFpbGluZyBsaXN0Ck1hdHJvc2thLXVzZXJzQGxpc3RzLm1hdHJvc2thLm9yZwpodHRw
czovL2xpc3RzLm1hdHJvc2thLm9yZy9jZ2ktYmluL21haWxtYW4vbGlzdGluZm8vbWF0cm9za2Et
dXNlcnMKUmVhZCBNYXRyb3NrYS1Vc2VycyBvbiBHTWFuZTogaHR0cDovL2Rpci5nbWFuZS5vcmcv
Z21hbmUuY29tcC5tdWx0aW1lZGlhLm1hdHJvc2thLnVzZXIK

--===============5138098282948894714==--