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

2018-04-18 Thread Carl Eugen Hoyos
2018-04-18 7:48 GMT+02:00, Anton Prikazchikov : >>I don't see anything funny there. Does it fail in the same way with all >> H.264 files (including ones in a proper container with timestamps)? What >> about H.265, VP8 or VP9 (which I think should all be supported on

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

2018-04-17 Thread Anton Prikazchikov
>I don't see anything funny there. Does it fail in the same way with all H.264 >files (including ones in a proper container with timestamps)? What about >H.265, VP8 or VP9 (which I think should all be supported on RK3399)? It fails in the same way with all H264 files... All H264 files contains

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

2018-04-16 Thread Mark Thompson
On 16/04/18 07:58, Anton Prikazchikov wrote: > >> Can you give more detail about your setup and the input stream? > > I have firefly RK3399. > > OS: > Linux localhost 4.4.120 #2 SMP Mon Apr 9 10:08:10 +04 2018 aarch64 aarch64 > aarch64 GNU/Linux > No LSB modules are available. > Distributor

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

2018-04-16 Thread Anton Prikazchikov
>Can you give more detail about your setup and the input stream? I have firefly RK3399. OS: Linux localhost 4.4.120 #2 SMP Mon Apr 9 10:08:10 +04 2018 aarch64 aarch64 aarch64 GNU/Linux No LSB modules are available. Distributor ID:    Ubuntu Description:    Ubuntu 16.04.3 LTS Release:    16.04

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

2018-04-13 Thread Mark Thompson
On 13/04/18 07:08, Anton Prikazchikov wrote: >> 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

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

2018-04-13 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

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

2018-04-12 Thread Henri Zikken
mpeg.org> Onderwerp: Re: [Libav-user] How to use rkmpp decoder? >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 D

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

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

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

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

2018-04-11 Thread Carl Eugen Hoyos
2018-04-10 8:34 GMT+02:00, Anton Prikazchikov : > My purpose is decoding a received from RTCP stream h264 AVPacket-s to > AVFrame-s using by hardware of rk3399 (Rockchip RK3399 is a processor for > computing(aarch64, Rockchip platform)) > > I found that rk3399 has

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

2018-04-11 Thread Anton Prikazchikov
ormat, libavutil,libavdevice >and libavfilter." < libav-user@ffmpeg.org > >Onderwerp: Re: [Libav-user] How to use rkmpp decoder? >  >Thanks for answer! > >I will be testing the lib which you sent. > >But still, do you know what mean "--enable-rkmpp" f

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

2018-04-11 Thread Henri Zikken
libavfilter." <libav-user@ffmpeg.org> Onderwerp: Re: [Libav-user] How to use rkmpp decoder? Thanks for answer! I will be testing the lib which you sent. But still, do you know what mean "--enable-rkmpp" flag? I thought that ffmpeg supports hardware decoding too. Среда,

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

2018-04-11 Thread Anton Prikazchikov
s about using libavcodec, libavformat, libavutil,libavdevice >and libavfilter." < libav-user@ffmpeg.org > >Onderwerp: Re: [Libav-user] How to use rkmpp decoder? >  >I need an avpacket because i read rtcp stream using by ffmpeg and receive from >the rtcp stream an avpacket.

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

2018-04-11 Thread Henri Zikken
libavdevice and libavfilter." <libav-user@ffmpeg.org> Onderwerp: Re: [Libav-user] How to use rkmpp decoder? I need an avpacket because i read rtcp stream using by ffmpeg and receive from the rtcp stream an avpacket. Mpp can't read rtcp stream as i know. Also I saw that ffmpeg have

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

2018-04-11 Thread Anton Prikazchikov
n...@ffmpeg.org > Namens Anton Prikazchikov >Verzonden: dinsdag 10 april 2018 08:34 >Aan: "This list is about using libavcodec, libavformat, libavutil,libavdevice >and libavfilter." < libav-user@ffmpeg.org > >Onderwerp: Re: [Libav-user] How to use rkmpp decode

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

2018-04-10 Thread Henri Zikken
Henri Zikken Van: Libav-user <libav-user-boun...@ffmpeg.org> Namens Anton Prikazchikov Verzonden: dinsdag 10 april 2018 08:34 Aan: "This list is about using libavcodec, libavformat, libavutil,libavdevice and libavfilter." <libav-user@ffmpeg.org> Onderwerp: Re: [Libav-us

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

2018-04-10 Thread Anton Prikazchikov
your system. >  >Regards, >  >Henri Zikken >  >Van: Libav-user < libav-user-boun...@ffmpeg.org > Namens Anton Prikazchikov >Verzonden: maandag 9 april 2018 16:27 >Aan: libav-user@ffmpeg.org >Onderwerp: [Libav-user] How to use rkmpp decoder? >  >Hello, > >I

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

2018-04-09 Thread Henri Zikken
v-user@ffmpeg.org Onderwerp: [Libav-user] How to use rkmpp decoder? Hello, I have rk3399 and installed mpp(https://github.com/rockchip-linux/mpp). I am receiving rtsp stream using by ffmpeg(C++). And now I have to decode h264 video using by mpp but I don't understand how to do this. I found

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

2018-04-09 Thread Carl Eugen Hoyos
2018-04-09 16:27 GMT+02:00, Anton Prikazchikov : > I have rk3399 and installed mpp( https://github.com/rockchip-linux/mpp ). > > I am receiving rtsp stream using by ffmpeg(C++). > And now I have to decode h264 video using by mpp but I don't understand how > to do

[Libav-user] How to use rkmpp decoder?

2018-04-09 Thread Anton Prikazchikov
Hello, I have rk3399 and installed mpp( https://github.com/rockchip-linux/mpp ). I am receiving rtsp stream using by ffmpeg(C++). And now I have to decode h264 video using by mpp but I don't understand how to do this. I found