Hi all,

When I start to decode a video file, codec.dequeueOutputBuffer will equals 
MediaCodec.INFO_TRY_AGAIN_LATER (-1) at about five or more times in the 
beginning, should I *stop* *queuing* the input buffer and *keep dequeuing*the 
output buffer until it return non-negative value? I found that if I 
keep filling and queuing the next input buffer, and total output decoded 
frames number will *less than* the total sample-frame number of the video 
should be, but if I stop filling and just keep dequeuing the output buffer, 
the output frames number will *more than* the correct one about four, is 
that normal?

Also, I wrote a post about how to process the MediaRecorder's frame using 
these low-level Media 
APIs<http://hello-qd.blogspot.com/2013/05/how-to-process-mediarecorder-frames.html>,
 
hope you could give me any comment.

Thanks,
Yu-Hsuan

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to