Video view in android buffering very slow - android

Videoview in android is taking long time in buffering a high quality video and sometimes its hanging up with progressbar and does not play.
This happens with video recorded from the built-in camera .
Any solution for this ??

Related

How to speed up MediaPlayer buffering on Android

Hi I'm developing an application that uses Android MediaPlayer to play a background video usually of 30 seconds length.
With some videos that are less than 5-7MB the Player starts immediately, but when the video size goes over 10-15MB the video takes over 30 seconds before playing.
My question is: is there a way to speed up Android native MediaPlayer Buffering in order to play the first frame of the video as soon as it is available like YouTube?
Thanks in advance
Don't know much about android native MediaPlayer but got similar problems using ExoPlayer and solve it by using LoadControl. If you don't find any solution with MediaPlayer maybe think about use ExoPlayer. Here is the link for discussion about DefaultLoadControl:
https://github.com/google/ExoPlayer/issues/2438

RTSP Player Live Stream Android App

I'm trying to develop an android app that allow streaming video from the IP Camera. I finally got the video from the IP camera to display on the app using videoview with mediacontroller but it seem to have some drawbacks. Please help me, thank you!
The functionalities that I need improve:
1) Reduce the playback delay between the camera and video display on the app
2) Record live stream, allowing to view the playback 10 seconds before to 10 seconds after.

ExoPlayer audio starts before video

We are having problems about the player.
We only play mp4 files.
When there is low internet connection, audio starts before the video and the video starts playing after 2-3 seconds. There is no synchronization problem meaning when video appears the audio and video synchronized. But there is a latency with the video.
What can we do about this?

method to know that video buffering is complete in android browser

I am playing a live tv channel in android browser using flash player.
Video takes some time to load in browser so i want to play some animation until video buffering ends.
The weird thing for me is how to know when will video buffering be complete in browser flash player?
I am not an expert in this subject - but i got this reference from another SO question itself:
How to detect when video is buffering?
This refers to the event called NetStream.Buffer.Full event that could be your help.

Android - Buffering Lag with VideoView

I am using VideoView to display a video in my app. The problem is that, once the layout gets created there is lag of almost 10-30 seconds before which the video starts to play. I can see in LogCat that the video is buffering during the lag.
Is there a way I can minimize this lag, or tell MediaPlayer to play the video sooner?
Thanks
Chris
if you are using RTSP Streaming, buffering is the reason of what you have more seamless playback.
if you are playing an Audio/Video file reduce the bit rate encoding of your files.

Categories

Resources