Intel® Integrated Performance Primitives
Community support and discussions relating to developing high-performance vision, signal, security, and storage applications.
6633 Discussions

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

relay21
Beginner
124 Views
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
124 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