- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi ,
i am new to Intel® Media RAW Accelerator and i am trying to preform simple action on a jpeg file .
i am using sample_decode with the following command :
"C:\Users\XXX\Documents\Intel® Media SDK 2019 R1 - Media Samples 8.4.27.25\_build\Win32\Debug\sample_decode.exe" jpeg -jpeg_rotate 90 -d3d11 -i "C:\Users\XXX\Desktop\123.jpeg" -o "C:\Users\vpikovsk\Desktop\124.jpeg"
i am simply trying to rotate and create a new file .
file NV12 is being created as an output and i have learned that this is a video format.
what i have to do in order to obtain jpeg as an output ?
thanks in advance !
- 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
Hi Vladimir,
I think this is related to jpeg profile, I got the same error as yours for one JPEG file, but I got succeed with following file:
https://commons.wikimedia.org/wiki/File:Intel-logo.jpg
The error you got is the bitstream header decoding failure, so this related to the JPEG profile. As our document, we support Baseline profile,
https://github.com/Intel-Media-SDK/MediaSDK/blob/master/doc/mediasdkjpeg-man.md#CodecProfile
I check my file that doesn't work, it has profile description "sRGB IEC61966-2.1", I am not the expert on this but it looks like not a baseline profile.
Mark
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Vladimir,
sample_decode output the raw image uncompressed from input, if your input is a single image, it should be a frame format not video. you can try sample_encode to compress it back to jpeg.
You can also use sample_multi_transcode to set both input and output as JPEG with the "-angle" parameter of 90 degree. Refer the detail to this page:
https://github.com/Intel-Media-SDK/MediaSDK/blob/master/doc/samples/readme-multi-transcode_linux.md
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
C:\Users\vpikovsk\Desktop\build\win_Win32\Debug\bin>sample_multi_transcode.exe -i::jpeg 123.jpeg -o::jpeg 1234.jpeg -angle 180
Multi Transcoding Sample Version 8.4.27.0
Session 0:
[ERROR], sts=MFX_ERR_NULL_PTR(-2), MFXVideoVPPPlugin::LoadDLL, m_PluginModule pointer is NULL at C:\Users\vpikovsk\Desktop\MediaSDK\samples\sample_plugins\vpp_plugin\src\mfx_vpp_plugin.cpp:59
[ERROR], sts=MFX_ERR_NOT_FOUND(-9), TranscodingSample::CTranscodingPipeline::LoadGenericPlugin, pVPPPlugin->LoadDLL failed at C:\Users\vpikovsk\Desktop\MediaSDK\samples\sample_multi_transcode\src\pipeline_transcode.cpp:4112
[ERROR], sts=MFX_ERR_NOT_FOUND(-9), TranscodingSample::CTranscodingPipeline::VPPPreInit, LoadGenericPlugin failed at C:\Users\vpikovsk\Desktop\MediaSDK\samples\sample_multi_transcode\src\pipeline_transcode.cpp:371
[ERROR], sts=MFX_ERR_NOT_FOUND(-9), TranscodingSample::CTranscodingPipeline::Init, VPPPreInit failed at C:\Users\vpikovsk\Desktop\MediaSDK\samples\sample_multi_transcode\src\pipeline_transcode.cpp:3727
[ERROR], sts=MFX_ERR_NOT_FOUND(-9), TranscodingSample::Launcher::Init, pThreadPipeline->pPipeline->Init failed at C:\Users\vpikovsk\Desktop\MediaSDK\samples\sample_multi_transcode\src\sample_multi_transcode.cpp:441
[ERROR], sts=MFX_ERR_NOT_FOUND(-9), wmain, transcode.Init failed at C:\Users\vpikovsk\Desktop\MediaSDK\samples\sample_multi_transcode\src\sample_multi_transcode.cpp:1143
C:\Users\vpikovsk\Desktop\build\win_Win32\Debug\bin>
facing those messages , this is plugin issue ? if it does , how do i solve it please ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Vladimir,
I think this is related to jpeg profile, I got the same error as yours for one JPEG file, but I got succeed with following file:
https://commons.wikimedia.org/wiki/File:Intel-logo.jpg
The error you got is the bitstream header decoding failure, so this related to the JPEG profile. As our document, we support Baseline profile,
https://github.com/Intel-Media-SDK/MediaSDK/blob/master/doc/mediasdkjpeg-man.md#CodecProfile
I check my file that doesn't work, it has profile description "sRGB IEC61966-2.1", I am not the expert on this but it looks like not a baseline profile.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi mark , still facing the issue , could we please chat on intel skype ?
i am an intel employee
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page