[Libav-user] From buffer encoding

Henry, David David1.Henry at sling.com
Mon May 8 19:28:19 EEST 2017

Thanks David for replay,

Maybe my question should be better defined, I know that my platforms Adreno 530 GPU supports certain hardware accelerated encoding for both h.264 and h.265, but I failed to find any API for access it, so I was wondering is it integrated and supported in ffmpeg?


On 08.05.2017. 15:36, David Yuan wrote:

Based on this a little dated announcement on Qualcomm, https://www.qualcomm.com/news/releases/2015/08/12/qualcomm-introduces-next-generation-gpu-architecture-and-image-signal, it supports 60FPS HEVC decoding, but no where it mentions about its capability to encode in HEVC.

Qualcomm Introduces Next-Generation GPU Architecture and ...<https://www.qualcomm.com/news/releases/2015/08/12/qualcomm-introduces-next-generation-gpu-architecture-and-image-signal>
Qualcomm Incorporated (NASDAQ: QCOM) today announced that its subsidiary, Qualcomm Technologies, Inc. (QTI), has introduced its next-generation visual processing ...

I think your question could be better answered at Qualcomm's developer's forum. And if the answer is yes the Adreno 530 GPU does support HW encoding for HEVC, the next stop is here to ask the ffmpeg developers whether that is integrated into ffmpeg.

Please let me know if you find out the answer, as I'm interested in knowing too.


From: Libav-user <libav-user-bounces at ffmpeg.org><mailto:libav-user-bounces at ffmpeg.org> on behalf of MIhajlo Jovanovic <mihajlo.jovanovic at rt-rk.com><mailto:mihajlo.jovanovic at rt-rk.com>
Sent: May 8, 2017 8:29 AM
To: libav-user at ffmpeg.org<mailto:libav-user at ffmpeg.org>
Subject: [Libav-user] From buffer encoding

Hello everyone,

I have multiple questions that I couldn't find answers for. I am hoping that I'll get any answers here.
So, I am working on Qualcomm Snapdragon 820 android platform, I have 6(!!) cameras attached on it, I have camera library
that supplies me with 30 raw 1280*720 yuv422 (UYVY) frames per sec in vector/buffer format. I need them to convert into h.264/5 video for real time(!!!) streaming.
    Does ffmpeg supports HW acceleration for This device? I couldn't completely find answer for that here: https://trac.ffmpeg.org/wiki/HWAccelIntro.
HWAccelIntro - FFmpeg<https://trac.ffmpeg.org/wiki/HWAccelIntro>
FFmpeg provides a subsystem for hardware acceleration. Hardware acceleration allows to use specific devices (usually graphical card or other specific devices) to ...

    And if doesn't support HW acceleration, is it possible to achieve real-time encoding without it.
    Is it possible to encode separate frames not from file? I am asking this because I got hard time with nonexistentappropriate documentation doing this in MediaCodec.

I would muchappreciate if got any answers before i step deeper in ffmpeg API-s also any help or guidance too.

Best Regards.


Hi Oljahim - This type of question might get a better response on the x264-devel list.  Ffmpeg afaik doesn't have an internal h264 encoder, only decoder.  It uses libx264 for encoding h264 video.
- David

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20170508/74aec836/attachment.html>

More information about the Libav-user mailing list