[Libav-user] avpacket data padding and alignment

2018-04-15 Thread YIRAN LI
Hi guys, I know if I call av_new_packet then the data buffer created will be padded and aligned. But how if I only use ffmpeg to do the muxing? Say if I get a buffer with size n. My code looks like this. AVPacket pkt; ZeroMemory(&pkt, sizeof(pkt)); pkt.stream_index = myindex; pk

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

2018-04-15 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 C