- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
OS: Windows 10 64bit Professional
Library Version: Media SDK 2019 R1
Compiler Version: Visual Studio 2019 16.5.5
CPU: Core i7-6700K
Driver: 27.20.100.8187
In the above environment, MPEG-2 video could not be hardware decoded even with the MediaSDK sample.
How do I decode MPEG-2 video?
- Tags:
- Development Tools
- Graphics
- Intel® Media SDK
- Intel® Media Server Studio
- Media Processing
- Optimization
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am very sorry.
The problem is that we have modified the sample to process the input stream into smaller fragments, which is why the It was occurring due to.
It is now possible to decode normally by feeding more than one frame of MPEG-2 data.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
MPEG2 decoder works on SKL. Please share stream you tested and sample_decode command line.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Me too I have problems decode to MPEG2. After installed the oneAPI ToolKits 2021.1.1113.beta06, I run the simple_encode sample, changing the bitstream output to MPEG2, directly from visual studio professional 2017. Encode file end out to be h264
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The tested source is MPEG-2 demultiplexed from the following download.
https://download1.pegasys-inc.com/download_files/mpeg/TE3demo_kishin6Mbps.zip.
The command line inputs are as follows.
sample_decode mpeg2 -hw -i demuxed_file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
#4 quote Masaharu T.
You are right. Decode works fine, The problem seems to be encoding NV12 to MPEG2 or MJPEG.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I could not reproduce this problem. What does the sample_decode output? Did you use the «-o» option to specify the output stream?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I could not reproduce the bug. What exactly doesn’t work? Does the decoder produce something or is there a problem in the output stream?
I checked the following sequence for demultiplexing and decoding:
ffmpeg -i TE3demo_kishin6Mbps.mpg stream.m2v
sample_decode mpeg2 -hw -i stream.m2v -o out.yuv
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am very sorry.
The problem is that we have modified the sample to process the input stream into smaller fragments, which is why the It was occurring due to.
It is now possible to decode normally by feeding more than one frame of MPEG-2 data.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page