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

Don't support the h264 decoder frame-by-frame?

I want for h264 decoder to operate frame by frame reading of data by our application.

But, the h264 decoder in simpledecoder.cpp operatein a file.
This sample code is welloperatedin a file.

But, in frame by frame operation, GetFrame()method returns UMC_ERR_NOT_ENOUGH_DATA infinitely.
0 Kudos
1 Reply
Ying_H_Intel
Employee
64 Views

Quoting - relay21
I want for h264 decoder to operate frame by frame reading of data by our application.

But, the h264 decoder in simpledecoder.cpp operatein a file.
This sample code is welloperatedin a file.

But, in frame by frame operation, GetFrame()method returns UMC_ERR_NOT_ENOUGH_DATA infinitely.

Hello

here are some discussion for your reference,

1) http://software.intel.com/en-us/forums/showthread.php?t=68676

GetFrame()willdon't start decode (returnUMC_ERR_NOT_ENOUGH_DATA) untill the decodebuffer is full. So you may consider add some loop wrapper to thefucntion GetFrame(). Once it returns data (start decode), you will get data frame by frame

2) or eliminate the delay by the way in

http://software.intel.com/en-us/forums/showthread.php?t=67755

But please note only work with no re-ordering (decode order = present order),

Hope it helps
Regards,
Ying
Reply