after posting an answer to this question Buffering Surface input to MediaCodec it was suggested I ask a new question even though I was answering the last question...
i have stuttering video on both a galaxy note 10.1 tablet and a lenovo yoga hd tablet...the former is on 4.1.2 so it's pre-cts and possibly wont get fixed...dequeueoutputbuffer always returns bufferinfo.size of 0 so cts test will never display the surface if display is based on size. The lenovo is 4.3 and has > 0 size but the video stutters and appears to be due to the fact the input buffers are rarely available. The same code works fine on GalaxyS3 and Nvidia Shield.
Is there an issue with calling dequeueInputBuffer too often? Is there a problem with the driver on the Lenovo?