[mythtv] Android mediacodec woes

Daniel Frey dmfrey at gmail.com
Tue Jun 26 23:09:24 UTC 2018


Peter,

I've been reworking it in a private repo. But also moving it to kotlin in
another. Unfortunately my job keeps me moving and I haven't been able to
focus on it lately.

I can share them with you if you like. You may be more interested in the
ExoPlayer one right now.

The player was taking more the approach you would do most your recording
management on a fe, and use the player just for playback and simple
management (i.e. transcode to hls, delete recording etc.) Movies are pretty
static and just periodically update their metadata.

Dan

On Tue, Jun 26, 2018, 7:02 PM Peter Bennett <pb.mythtv at gmail.com> wrote:

>
>
> On 06/26/2018 04:19 PM, Aman Gupta wrote:
> > If you really want 30fps deinterlaced output, you can use the
> > following patch. However this is a private/undocumented
> > SHIELD-specific option and will not work on other devices.
> >
> > @@ -383,6 +382,7 @@ static av_cold int
> > mediacodec_decode_init(AVCodecContext *avctx)
> >      ff_AMediaFormat_setString(format, "mime", codec_mime);
> >      ff_AMediaFormat_setInt32(format, "width", avctx->width);
> >      ff_AMediaFormat_setInt32(format, "height", avctx->height);
> > +    ff_AMediaFormat_setInt32(format, "deinterlace-method", 1);
> >
> >      s->ctx = av_mallocz(sizeof(*s->ctx));
> >      if (!s->ctx) {
>
> Thanks for the suggestion. I will keep it in mind, but I would rather
> stay away from making more ffmpeg changes and preferably work towards
> getting rid of the ones we have.  Also, we are not developing for Shield
> exclusively.
>
> Peter
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-dev
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-dev/attachments/20180626/d2ac9215/attachment.html>


More information about the mythtv-dev mailing list