Media (Intel® oneAPI 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 sign-in experience has changed to support enhanced security controls. If you sign in, click here for more information.

How to enconde a nv12 file

daniel_f_5
Beginner
188 Views

After capture the screen in nv12 file, how to encode and then decode this file?

0 Kudos
1 Reply
Ramashankar
New Contributor III
188 Views

Hi Daniel,

You can refer sample code of "sample_encode" and "sample_decode" module in latest Intel Media SDK Samples, or You can refer the "mediasdk-tutorials" also which has much more simple implementations of these decoder and encoders.

In case you have dump file of NV12 data then you can directly use 'sample_encode.exe' and 'sample_decode.exe' provided in media sdk to encode and then decode this file.

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

samples: https://software.intel.com/en-us/media-sdk-support/code-samples

 

Reply