Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
27 Views

I can't run the sample_camera which is one of the samples of MediaSDK with the argb16 input format

i run the sample_camera with the command line , the params : 

sample_camera_d.exe -i camera\single\b_ff.argb16 -f argb16 -w 1280 -h 720 -o camera\single\out_b_ff_16_n_

i use the argb16 format as input, then i get the error info:

Return on error: error code -3, d:\program_project\mediasdk_samples_git\samples-
f7b203bc2e5d601079721aca3508522ce025e1c5\samples\sample_camera\src\pipeline_came
ra.cpp  1053


Return on error: error code 1,  d:\program_project\mediasdk_samples_git\samples-
f7b203bc2e5d601079721aca3508522ce025e1c5\samples\sample_camera\src\sample_camera
.cpp    625

when i use the bayer file as input ,the sample can run successfully.

the command line:sample_camera_d.exe -i camera\single\test_RAW14.bin -f rggb -w 5494 -h 4114 -b 14 -o camera\single\out_test_RAW14_

result:

Input format    R16
Resolution      5504x4128
Crop X,Y,W,H    0,0,5494,4114
Frame rate      24.00
Output format   RGB4
Resolution      5504x4128
Crop X,Y,W,H    0,0,5494,4114
Frame rate      24.00
Input memory type               system
Output memory type              d3d
MediaSDK impl           hw
MediaSDK version        1.19

Camera pipe started
Total frames 1
Total time   1.59 sec
Total FPS    0.63 fps

Camera pipe finished

sample version:2016 6.0.0.142   OS:win7 64bit    VS2015

Does this sample support argb16 input?

Could someone help me with this problem?

Thanks.

 

 

0 Kudos
1 Reply
Highlighted
Beginner
27 Views

i still havn't solved this problem...

0 Kudos