Surfaceview audio problem. The audio plays before the video starts. therefore two audio sounds is heard in the video.
Any suggestion for this problem
thanks in advance..
Related
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?
I am trying to record audio and video with mediaMuxer. I followed the example for video recording from https://github.com/google/grafika but when I tie in an audiostream it results in a broken video over half the time. Does anyone know of any examples or tutorials that show how to record both audio and video properly?
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.