Intel-FFmpeg-Plugin / Intel_FFmpeg_plugins

mirror of git://source.ffmpeg.org/ffmpeg.git
http://ffmpeg.org
Other
35 stars 19 forks source link

QSV Encoding example #45

Open lp35 opened 6 years ago

lp35 commented 6 years ago

Hi all,

Using avcodec API directly from my application, I would like to know if it is possible to provide a working code sample for encoding using HW MFX api.

I have seen that Zhong Li have written a example, that has not been merged on FFMpeg main branch:

https://ffmpeg.org/pipermail/ffmpeg-devel/2017-August/214425.html

Thank you for your time.

lizhong1008 commented 6 years ago

@lp35 , have you checked the unmerged patch is still working on your side? You may also refer a trans-coding example on 3.3.1 branch: https://github.com/Intel-FFmpeg-Plugin/Intel_FFmpeg_plugins/blob/intel_plugins-3.3.1/doc/examples/transcoding_qsv.c