<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
<br>
<div class="moz-cite-prefix">On 12/9/19 9:22 PM, Aman Gupta wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAK=uwuxs7tE2AGjgcVLSaBurh_U3xz8O8J7d2cyDMSni7sXczw@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div><br>
</div>
<div><br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Mon, Dec 9, 2019 at 2:35
PM Peter Bennett <<a href="mailto:pb.mythtv@gmail.com"
moz-do-not-send="true">pb.mythtv@gmail.com</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Aman<br>
<br>
There is still the ongoing issue with decoding mpeg2 using
mediacodec <br>
through ffmpeg. The process hangs, and never gets any frames
back.</blockquote>
<div dir="auto"><br>
</div>
<div dir="auto">I have not experienced any such issue. You're
not receiving even a single frame back?</div>
<div dir="auto"><br>
</div>
</div>
</div>
</blockquote>
No frame is seen. This is only with fire stick 4k. It works fine on
Nvidia Shield.<br>
<blockquote type="cite"
cite="mid:CAK=uwuxs7tE2AGjgcVLSaBurh_U3xz8O8J7d2cyDMSni7sXczw@mail.gmail.com">
<div>
<div class="gmail_quote">
<div dir="auto">Are you creating the decoder with a Surface or
not?</div>
<div dir="auto"><br>
</div>
</div>
</div>
</blockquote>
This is not using a surface, just decoding with ffmpeg into memory
and rendering after that with OpenGL. Mark Kendall is working on
direct rendering. I do not know if the same problem will happen
there, as the direct rendering is not currently in a working state.<br>
<blockquote type="cite"
cite="mid:CAK=uwuxs7tE2AGjgcVLSaBurh_U3xz8O8J7d2cyDMSni7sXczw@mail.gmail.com">
<div>
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
As a separate project i have developed a pure android mythtv
frontend <br>
player, using java and the exoplayer library. It is working
well and I <br>
am surprised to find that it plays mpeg2 perfectly and also
deinterlaces <br>
it. Exoplayer uses pure mediacodec, there is no software
video decoding.<br>
<br>
Whatever the problem is with mediacodec and fire stick 4K,
evidently <br>
there must be a way around it.<br>
<br>
If you need any more information please contact me.<br>
<br>
Regards<br>
Peter<br>
</blockquote>
</div>
</div>
</blockquote>
<br>
</body>
</html>