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 RK3399)? > > It fails in the sam

Re: [Libav-user] avpacket data padding and alignment

2018-04-18 Thread Gonzalo Garramuño
El 16/04/2018 a las 22:11, YIRAN LI escribió: 2018-04-16 12:07 GMT+10:00 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

Re: [Libav-user] QImage(RGB32) to AVFrame(RGB32)

2018-04-18 Thread Carl Eugen Hoyos
2018-04-18 7:04 GMT+02:00, Valeriy Shtoma : > I want to convert QImage to AVFrame and than push it to > filter. But when I pushed AVFrame, I got an error: > > [in @ 0x11c71c200] Changing frame properties on the fly > is not supported by all filters. > > and than > > [libx264 @ 0x10ea52c00] Input

Re: [Libav-user] QImage(RGB32) to AVFrame(RGB32)

2018-04-18 Thread Valeriy Shtoma
Hmm… I don’t think so… I tried few variants of do it. Kind Regards, Valeriy V Shtoma > On Apr 18, 2018, at 18:54, salsaman wrote: > > Maybe you have a bug when you create the QImage ? > > > http://lives-video.com > https://www.openhub.net/accounts/salsaman > > On Wed, Apr 18, 2018 at 11:00 A

Re: [Libav-user] QImage(RGB32) to AVFrame(RGB32)

2018-04-18 Thread salsaman
Maybe you have a bug when you create the QImage ? http://lives-video.com https://www.openhub.net/accounts/salsaman On Wed, Apr 18, 2018 at 11:00 AM, Valeriy Shtoma wrote: > Thanks for your reply! > > Okay, it’s clear. For now I have another code: > AVFrame *frame = av_frame_alloc(); > AVBuffer

Re: [Libav-user] QImage(RGB32) to AVFrame(RGB32)

2018-04-18 Thread Valeriy Shtoma
Thanks for your reply! Okay, it’s clear. For now I have another code: AVFrame *frame = av_frame_alloc(); AVBufferRef *buffer = av_buffer_create(img->bits(), img->sizeInBytes(), [](void *pOpaque, uint8_t *pData) {

Re: [Libav-user] QImage(RGB32) to AVFrame(RGB32)

2018-04-18 Thread salsaman
linesize should be w * 4 for ARGB I think. Gabriel. http://lives-video.com https://www.openhub.net/accounts/salsaman On Wed, Apr 18, 2018 at 2:04 AM, Valeriy Shtoma wrote: > Hi to all dear developers, > > I want to convert QImage to AVFrame and than push it to > filter. But when I pushed AVFr

Re: [Libav-user] QImage(RGB32) to AVFrame(RGB32)

2018-04-18 Thread salsaman
Actually av_image_alloc() should set it for you so you shouldn't need to set it yourself. Gabriel. http://lives-video.com https://www.openhub.net/accounts/salsaman On Wed, Apr 18, 2018 at 10:49 AM, salsaman wrote: > linesize should be w * 4 for ARGB I think. > > Gabriel. > > > http://lives-v

[Libav-user] Entropy Method

2018-04-18 Thread Vittalprasad
Hi Team, Is there any way to specify Entropy method to H264 encoder? AVCodecContext *c_enc = NULL; c_enc->width =iwidth;// 320;// c_dec->width;// 352; c_enc->height = iheight;// 240;// c_dec->height;// 288; //c_enc->sample_aspect_ratio = c_dec->sample_aspect_ratio; /// f