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?
Related
I have net stream that plays mp4 files form Amazon S3.
Currently when I call _ns.seek(time) if the file is buffered to that point the seek will work, else it will wait until the video is linear buffered to start playing.
How to make the net stream start playing immediately from seek point?
I'm trying to play two audio simultaneously, one of the audio plays background music, while other player plays an audio , both audios are in raw folder. Please any pointer are much appreciated .
Things which i have tried,
*) Create two media player and play the audios in separate media player instances.
*) Playing in separate thread(handler/asynchtask) ,I faced issues when i'm trying to change/cancel/stop the audio.
*) Soundpool is not suitable since the audio are of large size.
I have mute video file and separate audio file for same video. How can I play video with separate audio in android? I have tried using VideoView but unable to play audio separately. can anyone help in this!!
Before you start everything running, first you prepare both video and audio. When both of them are prepared only after that you can push the Start button.. and they should be synchronized ( if you recorded the audio part at the same time you started the video part)
I'm creating an app that has a function that plays user selected video's. Nothing fancy, just playback of video's on the device itself without any advanced settings. Since MediaPlayer has issues with some video types I use Vitamio. It works great on smaller compressed video's but when I select a mp4 video that I've recorded with my phone itself it stutters, both audio and video. I tried changing video quality of the Vitamio Media Player, but it doesn't seem to have any effect.
I'm quite stuck in finding a solution, anyone who has any experience with this?
Please sure the video you recorded is ok, you can playback the video use VPlayer. or pull the video to your computer playback it.
if first ok ,you can try use Vitamio hardware decoder playback it.
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.