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.
3056 Discussions

Integrating Intel® Media SDK with FFmpeg for transcode usages

Wu_M_
Beginner
281 Views

Introduction

The provided samples intend to illustrate how Intel® Media SDK can be used together with the popular FFmpeg suite of components to perform container muxing and demuxing (splitting). The samples also showcase integration of rudimentary FFmpeg audio decode encode and transcode.

The sample projects are based on the Intel Media SDK 2013 R2 samples (http://software.intel.com/en-us/articles/vcsource-tools-media-sdk/) with only small modifications to original code such as adding new mux/demux command line directives.

How to execute workloads

Below are some example command line workloads.

  1. Demux Any container and decode the MPEG2 video stream. If the container includes audio stream, it will be decoded into "audio.dat" ,then encode them into H264 video stream and AAC audio stream ,finally mux MPEG2TS container
    sample_multi_transcode.exe -i::mpeg2 CCTV1.ts -o::h264 out.ts -hw -w 720 -h 576 -f 25 -b 1000 -deinterlace

The current set of samples were tested and integrated using build "2012-08-27" of FFmpeg from: http://ffmpeg.zeranoe.com/builds/
Install VC 2010 redistributeInstall Intel Media SDK 2013 R2Prepare Intel Core 4 platformInstall newest driverscopy ffmpeg /avcodec-54.dll  avutil-51.dll  avformat-54.dll to Exe folder
Good Luck
Mason
masonwu@21cn.com

0 Kudos
2 Replies
Petter_L_Intel
Employee
281 Views

Hi Wu,

thank you very much for sharing your efforts with developers on this forum. Would you also be able to share your source code for developers that may be interested?

Your approach provides a nice alternate way of approaching FFmpeg usage with Media SDK, aside the existing Media SDK tutorial FFmpeg integration sample: http://software.intel.com/en-us/articles/intel-media-sdk-tutorial-simple-6-transcode-opaque-async-ffmpeg

Regards,
Petter 

0 Kudos
Wu_M_
Beginner
281 Views

this source is include peter's code and official sample .

audio part maybe is not well .

0 Kudos
Reply