amcvideodec: decoding fails on Mediatek tablet (API level 19)

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

amcvideodec: decoding fails on Mediatek tablet (API level 19)

Gregoire Gentil
Hardware decoding fails on this tablet inside amcvideodec as I explained
in this bug report:

https://bugzilla.gnome.org/show_bug.cgi?id=797149
amcvideodec: decoding fails on Mediatek tablet (API level 19)

I would like to try to debug further this issue which seems to be
related how Gstreamer handles the hardware decoding.

Can anyone provide any tip how I should investigate further to find out
the issue?

Grégoire
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: amcvideodec: decoding fails on Mediatek tablet (API level 19)

Nicolas Dufresne-5
Le jeudi 20 septembre 2018 à 15:38 -0700, Grégoire Gentil a écrit :

> Hardware decoding fails on this tablet inside amcvideodec as I
> explained
> in this bug report:
>
> https://bugzilla.gnome.org/show_bug.cgi?id=797149
> amcvideodec: decoding fails on Mediatek tablet (API level 19)
>
> I would like to try to debug further this issue which seems to be
> related how Gstreamer handles the hardware decoding.
>
> Can anyone provide any tip how I should investigate further to find
> out
> the issue?

Can you give a try with a fixed pipeline, like:

  filesrc location=test.mov ! parsebin ! <amcvideodec> ! glimagesink

I wonder if it's just negotiation issue or if there is something else.
Also, looks at the logs, normally AMC code warns when there is issues
(e.g. unsupported color format). I know from the upstream driver the
mediatek codec produces some HW specific tile format, that might be
related. We have added software detilers in the past for other
platform, like older Samsung MFC codec.

>
> Grégoire
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: amcvideodec: decoding fails on Mediatek tablet (API level 19)

Gregoire Gentil


On 09/20/2018 04:22 PM, Nicolas Dufresne wrote:

> Le jeudi 20 septembre 2018 à 15:38 -0700, Grégoire Gentil a écrit :
>> Hardware decoding fails on this tablet inside amcvideodec as I
>> explained
>> in this bug report:
>>
>> https://bugzilla.gnome.org/show_bug.cgi?id=797149
>> amcvideodec: decoding fails on Mediatek tablet (API level 19)
>>
>> I would like to try to debug further this issue which seems to be
>> related how Gstreamer handles the hardware decoding.
>>
>> Can anyone provide any tip how I should investigate further to find
>> out
>> the issue?
>
> Can you give a try with a fixed pipeline, like:
>
>    filesrc location=test.mov ! parsebin ! <amcvideodec> ! glimagesink
I have tried:

filesrc location=%s ! parsebin ! queue !
amcvideodec-omxmtkvideodecoderavc ! queue ! videoconvert ! glimagesink

as well other similar combination around amcvideodec but the decoding
element is not recognized. I know that it's created on the fly. I saw
"omxmtk" when it was failing with playbin. How do I specify the right
pipeline on Android?

Grégoire
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel