video encoding - How to implement frame skipping in MediaCodec android -


I am creating an app that uses the MediaCodec API, the app runs on two phones First phone from SDCD Reads and then uses the MediaCode encoder to encode the frame in AVC format and streams the frame to another device. The other device is running a MediaCode decoder. Decoder decodes frames and render them on the surface. This code is working fine, but after some time when the size of the frame is high, the first device is not able to stream the video for some time and the encoder Closes the reporting of the following logs:

  E / OMX -VENC-720p (212): Pole time-out, halted pipeline due to client / firmware ETB: 496, EBD: 491 , FTB: 492, FBD: 492  

That's why I I want to introduce myself leaving skipping frames on the encoder side and the best way to stream them to other devices What is?

PS On a separate note, if someone can suggest some other way of streaming video to another device then it would be really good.

Please try the Intel Indie Media Pack with tutorial. It has camera, file and game streaming components, which allow streaming and a set of samples to be streamed, which show it to be used as a server and as a client

Enter image details here


Comments

Popular posts from this blog

java - org.apache.http.ProtocolException: Target host is not specified -

java - Gradle dependencies: compile project by relative path -

ruby on rails - Object doesn't support #inspect when used with .include -