Search found 3 matches

by Hellopoplar
Sun Oct 28, 2018 9:04 am
Forum: Developement with FFmpeg
Topic: Build an AVFrame manually
Replies: 2
Views: 1372

Re: Build an AVFrame manually

It is ok of your code. But after put raw pcm to AVFrame, you need set frame's properties: 1. you should set AVFrame's format field, in your case, it should be AV_SAMPLE_FMT_FLTP (float planar data); 2. channel layout, channel number will be calculated via channel layout, and if you don't know channe...
by Hellopoplar
Sat Oct 27, 2018 12:55 pm
Forum: Developement with FFmpeg
Topic: h264_amf miss SPS and PPS
Replies: 1
Views: 2180

Re: h264_amf miss SPS and PPS

if you set AV_CODEC_FLAG_GLOBAL_HEADER, the sps/pps will only output once (no repeated headers)
by Hellopoplar
Sat Oct 27, 2018 12:52 pm
Forum: Developement with FFmpeg
Topic: Nvidia Aceleration with ffmpeg
Replies: 2
Views: 1354

Re: Nvidia Aceleration with ffmpeg

could you post the error message. it could be missing of nvcodec headers which can be download here:
https://github.com/FFmpeg/nv-codec-headers
for FFmpeg version > 3.4.2
'