Questions tagged [android-video-player]

Related to playing videos in Android API

541 questions
3
votes
1 answer

setOnSeekCompleteListener for VideoView how can be achieved

I'm developing a video player application for which the user has an option to seek to a particular location, but the problem is there is no setOnSeekCompleteListener for VideoView, So I am not sure if the seek operation that was requested has…
Shrikant Tudavekar
  • 1,399
  • 3
  • 11
  • 6
3
votes
4 answers

RTSP over SSL (RTSPS)

We have a video streaming (video on demand) server implemented using wowza streaming engine. Clients (android application, web browser) access the stream using RTMP (web browser) and RTSP (android application). As we have requirement that the…
Durgesh Tanuku
  • 1,124
  • 2
  • 10
  • 26
3
votes
1 answer

How can we cache HLS video url once streamed

I am using exomedia library to play video through hls. I want to cache video as the video gets streamed. AndroidVideoCache library do this job well but it doesn't support HLS .
3
votes
1 answer

get path of video file selected from gallery getting NULL. How to get path of video file?

get path of video file selected from gallery getting NULL. How to get path of video file ? Get URi in Activity Result also give null. converting Uri to String also getting Null. Intent intent; String selectedVideo1Path,…
3
votes
3 answers

VideoView: Unable to open content and setDataSource failed

I am not able to open any video file with my application. i got a piece of code from StackOverFlow and used it, but it isn't working for me. I have the link as per it is on my gallery. But it is throwing the runtime error that content can't be…
Dinesh
  • 889
  • 14
  • 34
3
votes
0 answers

Want to resume video in onMovedToScrapHeap

This is my code. public class MainActivity extends Activity { ListView listview; CustomListAdapter adapter; private static ProgressDialog progressDialog; public static int currentItem; public static ArrayList videoLIst; …
Nidhi Dave
  • 141
  • 2
  • 10
3
votes
1 answer

Android Abandoning Audio focus

I have a video without any audio playing in my activity, so if my music player is playing and my app is opened the music stops. I was wondering if there is a way to not request the Audio focus and let the music play in the background even when my…
Adnan Mulla
  • 2,872
  • 3
  • 25
  • 35
3
votes
0 answers

Android Video Player Activity Display mini mode Like youtube mini player

How can I make my videoPlayer work in mini mode just like the youTube App. I want to display is at the bottom right and while the video is playing I want to continue to browser the app. Here I can make the videoPlayer and surface half size. …
Thiago
  • 12,778
  • 14
  • 93
  • 110
3
votes
2 answers

How to capture screenshot or video frame of VideoView in Android

I've tried the following tutorial from this blog ( http://android-er.blogspot.kr/2013/05/get-current-frame-in-videoview-using.html ), which shows how to capture a video frame using MediaMetadataRetriever from a video source. However, it only works…
code
  • 5,294
  • 16
  • 62
  • 113
3
votes
3 answers

Play video in Android listview

I am trying to play videos in my listview just like Vine or Instgram. I have been trying to use TextureView with a media player except that when attaching TextureView to the media player I experience issues where the textureview is not being reused…
MoMo
  • 186
  • 1
  • 3
  • 15
3
votes
1 answer

android: How to play YouTube video on emulator

Could someone help me in 1.Is this possible to play video from YouTube on emulator using YouTube video link (like:http://www.youtube.com/watch?v=T1Wgp3mLa_E) ? If not, then why? 2.If yes then how ? I tried to play YouTube video using VideoView but…
Vasu
  • 4,862
  • 8
  • 42
  • 48
3
votes
2 answers

Android video stream capture for AR

I would like to be able to capture the video from an android phone camera, and then process this video. Processing involves adding a layer of AR to the live stream. Is this possible on android? Pretty sure it should be. I have looked at the android…
3
votes
2 answers

surfaceview playing video as stretched view

I am using the mediaplayer.xml to play the video file
Karthikeyan Ve
  • 2,550
  • 4
  • 22
  • 40
3
votes
1 answer

Best way to play a Video file?

I have a URL for a video file which I need to play using the native Video-player of the handset. I figured using Intent.ACTION_VIEW and setting the URI as Intent data, I am able to achieve the aforementioned on G1 except HTC hero. In case of Hero, I…
Samuh
  • 36,316
  • 26
  • 109
  • 116
3
votes
1 answer

How to do Ramp Slow Mo in android?

Update: Question in Short: How to do Audio *Time Stretching* and Pitch shifting in Android? How to slow mo the video? Question in detail: What am I trying to do? I am trying to do ramp slow mo in a video file along with the audio and have to save…