- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I'm having trouble in executing sample_camera.exe in given samples [ version : Intel Media SDK Samples 2016 6.0.0.142 ]. Please help us execute this sample.
This is the command I'm using to execute
sample_camera.exe -plugin_version 1 -i test_stream_176x96.yuv -w 176 -h 96 -f bggr -o out
The following is the error I'm seeing
C:\Users\developer\Documents\Intel Media SDK Samples 2016 6.0.0.142\_bin\win32>sample_camera.exe -plugin_version 1 -i "C:\Users\Developer\Documents\Intel Media SDK Samples 2016 6.0.0.142\_bin\content\test_stream_176x96.yuv" -w 176 -h 96 -f bggr -o out
Return on error: error code -9, src\pipeline_camera.cpp 985
Return on error: error code 1, src\sample_camera.cpp 605
Hardware specs :
Intel NUC - i5-5250U @1.6GHz - HD6000 graphics with Windows 10.
Regards,
Sachin.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Sachin,
From readme-camera.pdf, you can find
The Intel Media SDK RAW Media Accelerator Sample supports the following video formats:
input (uncompressed) 16-bit BGGR, RGGB, GBRG, GRBG Bayer formats
output (uncompressed) ARGB32, ARGB64
So, I think you should not use test_stream_176x96.yuv as input.
Thanks,
Zachary
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Zachery,
I have corrected the input. Now, I have a raw file as input and I still get "MFX_ERR_NOT_FOUND " ( error code : -9 ) when I execute.
What I see from the documentation is,
Running the Software
The executable is to be run from the folder where the Intel RAW Media Accelerator plugin islocated.
- C:\Program Files (x86)\Intel\Media SDK which contains the libmfxhw/sw.dll
- C:\Users\Developer\Documents\Intel Media SDK Samples 2016 6.0.0.142\_bin\win32 -- which contains the installed/prebuilt executables of samples
- C:\Users\Developer\Documents\Intel Media SDK Samples 2016 6.0.0.142\_build\Win32\Debug -- which my local build directory.
By the way, it loads libmfxhw32.dll normally. It fails to load the CAMERA plugin that it is trying to manually load by GUID.
In none of the locations , the program executes. every time it says same error -- " MFX_ERR_NOT_FOUND = -9, /* the specified object is not found */ "
Could you please let me know how to use this sample?
Regards,
Sachin.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Sachin,
Let take this step by step, so we can see what you are missing:
1) Update to latest driver on the machine from down https://downloadcenter.intel.com/.
2) Install and update to latest MediaSDK 2016 R2 as it provides API 1.19 support where Media RAW accel is part of driver and plugin in not needed. More details here: https://software.intel.com/en-us/articles/whats-new-in-intel-media-sdk-r2
3) Now, check the input you are passing to the sample_camera is really a RAW file and is one of the formats - bg16 (bggr), rg16 (rggb), gb16 (gbrg). Refer to read-camera.pdf in the samples folder.
I tried on my end and its worked, here is the command line "sample_camera.exe –i input_text.bg16 -w 3908 -h 2602 -f bggr -b 14 -a 1 -o output 1 -n 1.
Let me know how it goes.
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
i get error when i give the command for 16 bit depth
sample_camera.exe –i input_text.bg16 -w 3908 -h 2602 -f bggr -b 14 -a 1 -of 16 -o output 1 -n 1 for more details please refer post
https://software.intel.com/en-us/forums/intel-media-sdk/topic/642014
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page