Re: Streaming from MKV file not working in Chrome

Austin Einter <[email protected]> Sun, 29 Oct 2017 22:48:16 +0530
Newsgroups gmane.comp.multimedia.matroska.user
Message-ID <CANXt1k-A3D9j7a=yZtVKembW6be_G3Mj7VMV7H40C9TGu807Hg@mail.gmail.com>
--===============1454454525656772314==
Content-Type: multipart/alternative; boundary="94eb2c0dd11e30a9a9055cb2b5d3"

--94eb2c0dd11e30a9a9055cb2b5d3
Content-Type: text/plain; charset="UTF-8"

Dear Steve
Thanks for kind response.

The container is matroska, but it can contain VP8 encoded data. I parse the
mkv file, get simpleblock from matroska, and from that I send the data to
chrome. For chrome it is just VP8 encoded data.

Be it a webm file or matroska file, but the VP8 encoded data will be same
in both the case, whereas metadatas may differ.

If above assumption is true, Ideally Chrome should play it.

I hope I am missing something, and chrome not recognizing the video frames.

Best Regards
Austin



On Sun, Oct 29, 2017 at 8:48 PM, Steve Lhomme <[email protected]> wrote:

> Chrome handle only a few codecs. And among those it may not allow them
> in Matroska. I know Firefox can handle H264 but not from Matroska.
> What you want is to use WebM and so use codecs that are possible with
> WebM: VP8 and VP9 (and later AV1).
>
> 2017-10-27 13:40 GMT+02:00 Austin Einter <[email protected]>:
> > Hi
> > I am developing an application, where I need to read audio / video frames
> > and send to Chrome, and in Chrome we should be able to see vide, listen
> > audio.
> >
> > I am able to get audio part working (webrtc call, http as signalling).
> > But video I send does not show in Chrome.
> >
> > Do I need to take care anything extra to get Chrome show the video
> packets.
> >
> > Thanks
> > Kamal
> >
> > _______________________________________________
> > Matroska-users mailing list
> > [email protected]
> > https://lists.matroska.org/cgi-bin/mailman/listinfo/matroska-users
> > Read Matroska-Users on GMane:
> > http://dir.gmane.org/gmane.comp.multimedia.matroska.user
> >
>
>
>
> --
> Steve Lhomme
> Matroska association Chairman
> _______________________________________________
> Matroska-users mailing list
> [email protected]
> https://lists.matroska.org/cgi-bin/mailman/listinfo/matroska-users
> Read Matroska-Users on GMane: http://dir.gmane.org/gmane.
> comp.multimedia.matroska.user
>

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

<div dir=3D"ltr">Dear Steve<br>Thanks for kind response.<div><br></div><div=
>The container is matroska, but it can contain VP8 encoded data. I parse th=
e mkv file, get simpleblock from matroska, and from that I send the data to=
 chrome. For chrome it is just VP8 encoded data.</div><div><br></div><div>B=
e it a webm file or matroska file, but the VP8 encoded data will be same in=
 both the case, whereas metadatas may differ.</div><div><br></div><div>If a=
bove assumption is true, Ideally Chrome should play it.</div><div><br></div=
><div>I hope I am missing something, and chrome not recognizing the video f=
rames.</div><div><br></div><div>Best Regards<br>Austin</div><div><br></div>=
<div><br></div></div><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Sun, Oct 29, 2017 at 8:48 PM, Steve Lhomme <span dir=3D"ltr">&lt;<a =
href=3D"mailto:[email protected]" target=3D"_blank">[email protected]=
</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin=
:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Chrome handle only=
 a few codecs. And among those it may not allow them<br>
in Matroska. I know Firefox can handle H264 but not from Matroska.<br>
What you want is to use WebM and so use codecs that are possible with<br>
WebM: VP8 and VP9 (and later AV1).<br>
<div><div class=3D"h5"><br>
2017-10-27 13:40 GMT+02:00 Austin Einter &lt;<a href=3D"mailto:austin.einte=
[email protected]">[email protected]</a>&gt;:<br>
&gt; Hi<br>
&gt; I am developing an application, where I need to read audio / video fra=
mes<br>
&gt; and send to Chrome, and in Chrome we should be able to see vide, liste=
n<br>
&gt; audio.<br>
&gt;<br>
&gt; I am able to get audio part working (webrtc call, http as signalling).=
<br>
&gt; But video I send does not show in Chrome.<br>
&gt;<br>
&gt; Do I need to take care anything extra to get Chrome show the video pac=
kets.<br>
&gt;<br>
&gt; Thanks<br>
&gt; Kamal<br>
&gt;<br>
</div></div>&gt; ______________________________<wbr>_________________<br>
&gt; Matroska-users mailing list<br>
&gt; <a href=3D"mailto:[email protected]">Matroska-users@li=
sts.matroska.<wbr>org</a><br>
&gt; <a href=3D"https://lists.matroska.org/cgi-bin/mailman/listinfo/matrosk=
a-users" rel=3D"noreferrer" target=3D"_blank">https://lists.matroska.org/<w=
br>cgi-bin/mailman/listinfo/<wbr>matroska-users</a><br>
&gt; Read Matroska-Users on GMane:<br>
&gt; <a href=3D"http://dir.gmane.org/gmane.comp.multimedia.matroska.user" r=
el=3D"noreferrer" target=3D"_blank">http://dir.gmane.org/gmane.<wbr>comp.mu=
ltimedia.matroska.user</a><br>
&gt;<br>
<span class=3D"HOEnZb"><font color=3D"#888888"><br>
<br>
<br>
--<br>
Steve Lhomme<br>
Matroska association Chairman<br>
______________________________<wbr>_________________<br>
Matroska-users mailing list<br>
<a href=3D"mailto:[email protected]">[email protected]=
atroska.<wbr>org</a><br>
<a href=3D"https://lists.matroska.org/cgi-bin/mailman/listinfo/matroska-use=
rs" rel=3D"noreferrer" target=3D"_blank">https://lists.matroska.org/<wbr>cg=
i-bin/mailman/listinfo/<wbr>matroska-users</a><br>
Read Matroska-Users on GMane: <a href=3D"http://dir.gmane.org/gmane.comp.mu=
ltimedia.matroska.user" rel=3D"noreferrer" target=3D"_blank">http://dir.gma=
ne.org/gmane.<wbr>comp.multimedia.matroska.user</a><br>
</font></span></blockquote></div><br></div>

--94eb2c0dd11e30a9a9055cb2b5d3--

--===============1454454525656772314==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Matroska-users mailing list
[email protected]
https://lists.matroska.org/cgi-bin/mailman/listinfo/matroska-users
Read Matroska-Users on GMane: http://dir.gmane.org/gmane.comp.multimedia.matroska.user

--===============1454454525656772314==--