Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Li__Desmond
Beginner
64 Views

How to test the samples?

Greetings from a beginner programmer, I've downloaded the samples and the codes are able to build and compile. As I've clicked the application (e.g sample_decode.exe), the console exits itself.

I wonder how I could test the samples where I've found the ones in "_bin/content" folder.

0 Kudos
2 Replies
Mihail_P_
Beginner
64 Views

Run them from the console window (cmd.exe for example) You will see the output of the samples there.

Li__Desmond
Beginner
64 Views

Thanks. As I've input the parameters based on the examples from ReadMe PDFs (e.g sample_encode.exe h264 -i input.yuv -o output.h264 -w 720 -h 480 -hw

Errors showed up in the command prompt with:

[ERROR], sts=MFX_ERR_UNKNOWN(-1), CEncodingPipeline::GetFreeTask, m_TaskPool.SynchronizeFirstTask failed at src\pipeline_encode.cpp:1516

[ERROR], sts=MFX_ERR_UNKNOWN(-1), CEncodingPipeline::Run, m_pmfxENC->EncodeFrameAsync failed at src\pipeline_encode.cpp:1851

[ERROR], sts=MFX_ERR_UNKNOWN(-1), wmain, pPipeline->Run failed at src\sample_encode.cpp:1072

Frame number: 0

Encoding fps: -0

Reply