Re: [Libav-user] How to use rkmpp decoder?

2018-04-12 Thread Anton Prikazchikov
>Did you already implement software decoding with libavcodec? >Once this works, you should only have to switch from the "h264" >decoder to the "h264_rkmpp" decoder to make it work. I tried to do this, but it doesn't work.(software decoding works, hardware decoding does not work) I can post outpu

Re: [Libav-user] How to use rkmpp decoder?

2018-04-12 Thread Anton Prikazchikov
>Did you already implement software decoding with libavcodec? >Once this works, you should only have to switch from the "h264" >decoder to the "h264_rkmpp" decoder to make it work. I rebuilded my ffmpeg and now output: Codec is initializated [NULL @ 0x20f35030] Opening '../4k.h264' for reading [f

Re: [Libav-user] How to use rkmpp decoder?

2018-04-12 Thread Mark Thompson
On 12/04/18 10:24, Anton Prikazchikov wrote: >>Did you already implement software decoding with libavcodec? >>Once this works, you should only have to switch from the "h264" >>decoder to the "h264_rkmpp" decoder to make it work. > > I rebuilded my ffmpeg and now output: > > Codec is initializated

Re: [Libav-user] How to use rkmpp decoder?

2018-04-12 Thread Anton Prikazchikov
>The ffmpeg implementation requires DRM. Make sure that mpp is built with >-DHAVE_DRM and that your user can access the DRM devices (/dev/dri/?). Mpp is built with -DHAVE_DRM. You are right, my user cannot access the DRM device. But i started my decoder program with sudo access and this does not

Re: [Libav-user] How to use rkmpp decoder?

2018-04-12 Thread Henri Zikken
So what is the issue? It seems to be working? Van: Libav-user Namens Anton Prikazchikov Verzonden: donderdag 12 april 2018 12:34 Aan: "This list is about using libavcodec, libavformat, libavutil,libavdevice and libavfilter." Onderwerp: Re: [Libav-user] How to use rkmpp decoder? >The ffmp

Re: [Libav-user] How to use rkmpp decoder?

2018-04-12 Thread Anton Prikazchikov
> So what is the issue? It seems to be working? Technically it works, but not completely... I try do decode 50 packets(i think that each contains 1 frame) and I can't receive no one decoded frame. I looked the code of rkmppdec.c. The decoder must print to log " Received a frame. " but it doesn