Hi Denis,
When encoding you want to fill your AVFrame with the raw audio data.
You need to initialize AVFrame and set a buffer size.
Then you need to fill it's buffer with that size of data.
You can split your own input buffer manually to fill AVFrame's buffer and
then encode it (avcodec_send_fram
avcodec_decode_video2 is a deprecated function, so the success of usage
depends on what version of LibAV you are using.
If decoding is not working for you it might be worth to turn on logging
with av_log_set_level(AV_LOG_TRACE) and add an own logger callback so you
can define the output with av_log
hi,
call av_register_all() first.
br,
Attila
On Fri, 15 Nov 2019, 09:28 Wodzu, wrote:
> Hi guys,
>
>
>
> Second day I am struggling co compile ffmpeg so it include libx264. I’ve
> downloaded version 4.1.4 and configured it like this:
>
> ./configure --enable-shared --enable-libx264 --enable-g
hi,
i think you are trying to encode the sw frame instead of transfering the
data buffer to hw frame and then encoding the hw frame.
i believe the vaapi example works fine for the other hw encoders too
(nvenc, qsv, amf)
best regards
attila
On Thu, 10 Oct 2019, 12:20 freefalcon, wrote:
> Hi,
Hi All,
I'm about to create a video encoder.
I'm receiving RGB32 pixel format from camera, but the h264_qsv encoder
accepts only PAL8 pixel format.
Am I on the right track with converting RGB32 pixels into PAL8 pixels?
Isn't that a bit overkill considering that I want to achieve a hardware
encod
Hi all,
I’m reading RTMP stream with LibRTMP ( RTMP_Read ). I’m processing the FLV
as follows:
- I’m reading the header
- I’m reading the tag
- Getting the frame type codec byte out of the tag
- If the codec is AVC, than I’m reading the package byte, and the
I'm sorry, somehow I've got directed back to this thread.
The libav mailing list is totally unresponsive.
Best Regards,
Attila
On Sun, 12 May 2019 at 00:10, Carl Eugen Hoyos wrote:
> Am Sa., 11. Mai 2019 um 18:24 Uhr schrieb Attila Krüpl <
> krupl.att...@gmail.com&g
Hi All,
I'm about to decode AAC stream - with the LibAV codec - received from
Mainconcept's AAC encoder.
Basically, the Mainconcept library is doing an encoding on raw media input,
sending it through to my LibAV decoder, where I'm trying to decode it.
My issue is, that I can't decode it the way