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.

Decoding H.264 UDP stream Example

mlbderby998
Beginner
1,234 Views

Hey I am trying to evaluate using the Intel Media SDK to decode a live UDP H.264 video stream from a hardware video encoder with a focus on low latency (~200ms or lower). I have been looking at the samples but all of the decoder samples only seem to support an input of a video file. Is there way to configure one of the samples to decode a UDP stream or is there another sample project I can use. I am trying to minimize the time required to get a working demo in order to measure some preliminary data on how this decoder performs against some of the other decoders out there.  Thank you for your help.

0 Kudos
4 Replies
andy4us
Beginner
1,234 Views

The easiest way is to inherit from their file class, and use that as the input/output mechanism. This minimises the changes to the Intel code, but also allows you to source the data from a non file source. Thats how I hooked it up to our frame grabber and custom file mechanism.

0 Kudos
Petter_L_Intel
Employee
1,234 Views

Hi,

The Media SDK product does not provide samples for all possible integration points.But we have written some white papers and tutorials that you may find interesting in your efforts.

FFmpeg supports a wide range of mux/demux features and codecs that Media SDK does not cover. FFmpeg also has support for UDP streaming. For an example on how to integrate Media SDK with FFmpeg, check out the FFmpeg integration section part of the Media SDK tutorial, here:
http://software.intel.com/en-us/articles/intel-media-sdk-tutorial ;

Regards,
Petter 

0 Kudos
nguyen__quan
Beginner
1,234 Views

Hi!, I searching for ffmpeg integrate with intel media sdk and I found that your link is not available. Please give a new link. Thank you!

Larsson, Petter (Blackbelt) wrote:

Hi,

The Media SDK product does not provide samples for all possible integration points.But we have written some white papers and tutorials that you may find interesting in your efforts.

FFmpeg supports a wide range of mux/demux features and codecs that Media SDK does not cover. FFmpeg also has support for UDP streaming. For an example on how to integrate Media SDK with FFmpeg, check out the FFmpeg integration section part of the Media SDK tutorial, here:
http://software.intel.com/en-us/articles/intel-media-sdk-tutorial 

Regards,
Petter 

0 Kudos
Mark_L_Intel1
Moderator
1,234 Views

Hi Nguyen,

Here is the link for the tutorial package, release 0.0.4 has the ffmpeg integration Petter mentioned.

https://software.intel.com/en-us/media-sdk/training

For the website, we have 3 main sources for media SDK historically, all of there are based on the same API code base while a little bit difference among these:

https://software.intel.com/en-us/media-sdk : this is Media SDK for Windows and Media SDK for Embedded Linux(Yocto)

https://software.intel.com/en-us/intel-media-server-studio : this version is used to support Intel server platform(CentOS, Ubuntu) on Linux.

https://github.com/Intel-Media-SDK/MediaSDK : this is our open source project which support Linux with source code.

Our tutorial code is to enable user to start programming and this is why Petter recommend.

Except to use Media SDK directly, you can also use major media frameworks, FFmpeg and G-Streamer, you can find the installation guide here:

https://01.org/linuxmedia/quickstart/overview

Mark

0 Kudos
Reply