[mythtv] V4L2_PIX_FMT_NV12M for amlogic hw decode support?

Mark Kendall mark.kendall at gmail.com
Sat Aug 17 00:42:21 UTC 2019


Hi Piotr.

Currently on my summer travels - won’t be back for another 2 weeks or so.

In the meantime:

Re yv12 playback- have there been fixes to the Lima driver? Curious why you
can only play some videos.

Re NV12M - change looks fine. Though I wonder if the ffmpeg code will
handle that enum?

Re playback errors - try removing the call to
MythV4L2M2MContext::SetDecoderOptions - that’s the only reason I can think
of for that error.

Regards
Mark


On Fri, 16 Aug 2019 at 13:26, Piotr Oniszczuk <piotr.oniszczuk at gmail.com>
wrote:

> Mark,
>
> Just small progress report regarding myth on some arm systems.
>
> Fixing issue with playback black screen on arm mali gpu is progressing
> well :-)
> I can now play some videos with yv12 renderer on mali.
>
> It looks however that amlogic hw decoder uses multiplanar nv12 pix fmt.
> (nv12m).
> By this I add V4L2_PIX_FMT_NV12M in checks at
> mythtv/libs/libmythtv/mythv4l2m2mcontext.cpp#L262
> Unfortunately any attempt to play content with v4l2 m2m decode on s905
> v4l2 gives error like in log: https://pastebin.com/FnYrNvn7
>
> Let me know what You think!
>
>
> _______________________________________________
> 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/20190817/484b2b5f/attachment.html>


More information about the mythtv-dev mailing list