Media (Intel® Video Processing Library, Intel Media SDK)
Access community support with transcoding, decoding, and encoding in applications using media tools like Intel® oneAPI Video Processing Library and Intel® Media SDK
Announcements
The Intel Media SDK project is no longer active. For continued support and access to new features, Intel Media SDK users are encouraged to read the transition guide on upgrading from Intel® Media SDK to Intel® Video Processing Library (VPL), and to move to VPL as soon as possible.
For more information, see the VPL website.

Intel SDK and FFmpeg

Aleksandr_S_
Beginner
1,384 Views

Hello all,

What libraries should I use for FFmpeg that worked intel sdk. Only openCL?

0 Kudos
11 Replies
Sravanthi_K_Intel
1,384 Views

Can you please elaborate the question Aleksandr with more details? For example, what is it the pipeline you are trying to develop, and how does ffmpeg fit into it. And how you plan to use Media SDK?

0 Kudos
Aleksandr_S_
Beginner
1,384 Views

Hello,

 Need to transcode MPEG-2 to MPEGTS H.264 for live stream.
 

0 Kudos
Lee_g_
Beginner
1,384 Views

You can download qsv codes from https://github.com/shenhailuanma/qsv-ffmpeg-codec

I'm currently using it with some customization in FFmpeg 2.6.3, as i recall, also qsv decoder is available in FFmpeg 2.6.1

0 Kudos
Surbhi_M_Intel
Employee
1,384 Views

Hi Aleksandr,

You can check one of our existing samples which has a same pipeline set up. Check Full Transcoding Sample in this package - https://software.intel.com/en-us/intel-media-server-studio-support/code-samples. You can transcode a MPEG2 input to H264. You need prebuilt FFmpeg version 2.0.2(you can find the details in the Media Samples Guide which comes in the package).

Thanks,
Surbhi

0 Kudos
Aleksandr_S_
Beginner
1,384 Views

Hello,

We are trying to run ffmpeg which implements Intel's hardware encoding. The ffmpeg stucks at ff_qsv_enc_frame() function and permanently prints out to the console 

[h264_qsv @ 0x1b47800] Timeout, device is so busy. cnt:5005
[h264_qsv @ 0x1b47800] Timeout, device is so busy
[h264_qsv @ 0x1b47800] Timeout, device is so busy. cnt:5005
...
So, it means that the hardware is permanently busy. How to work around this issue ?
Here is an actual implementation of the ff_qsv_enc_frame()
https://github.com/shenhailuanma/qsv-ffmpeg-codec/blob/master/ffmpeg2.2/libavcodec/qsvenc.c#L843

0 Kudos
Aleksandr_S_
Beginner
1,384 Views

Hello,

We are trying to run ffmpeg which implements Intel's hardware encoding. The ffmpeg stucks at ff_qsv_enc_frame() function and permanently prints out to the console 

[h264_qsv @ 0x1b47800] Timeout, device is so busy. cnt:5005
[h264_qsv @ 0x1b47800] Timeout, device is so busy
[h264_qsv @ 0x1b47800] Timeout, device is so busy. cnt:5005
...
So, it means that the hardware is permanently busy. How to work around this issue ?
Here is an actual implementation of the ff_qsv_enc_frame()
https://github.com/shenhailuanma/qsv-ffmpeg-codec/blob/master/ffmpeg2.2/libavcodec/qsvenc.c#L843

0 Kudos
Aleksandr_S_
Beginner
1,384 Views

Hello all,

intel xeon e-1245v3 and intel xeon e-1276v3   support intel sdk?

0 Kudos
Lee_g_
Beginner
1,384 Views

Hi Aleksandr,

Did you install custom kernel on your system?

 

It happens constantly when running qsv without custom kernel, which must be build to use quick sync and can be found in Media SDK.

0 Kudos
The_T_
Beginner
1,384 Views

Hi,

I am stuggling for weeks with the exact same issue..

Lee, what do you mean by custom kernel ? Can you please elaborate a bit ?

Thx

0 Kudos
The_T_
Beginner
1,384 Views

Hi,

I found the 172 patches :), it works now!

ffmpeg has some problems when calling MFXClose though.. it crashes or hangs the app.

 

0 Kudos
Sergey_G_1
Beginner
1,384 Views

The T. wrote:

ffmpeg has some problems when calling MFXClose though.. it crashes or hangs the app.

Hi! The same problem. Who can help ?  my skype: svgramatchikov

0 Kudos
Reply