Questions tagged [android-video-player]

Related to playing videos in Android API

541 questions
7
votes
0 answers

Recording video from a USB camera

Calling all Android video-over-usb experts! I've spent weeks trying to get to grips with what I need to do to display and record a video stream from an external USB-connected video camera. It's easy enough using the device's built-in camera, but…
DDSports
  • 400
  • 1
  • 14
7
votes
2 answers

Android Media Player Error (100,0)

I have read all the error codes given on the web. Error specifies: const PVMFStatus PVMFInfoLast = 100; " Placeholder for end of range" But I didn't able to handle this error, thanks for helping.
Pranav Sharma
  • 692
  • 2
  • 9
  • 22
7
votes
1 answer

VideoView & Fullscreen & Orientation changes - Android

I implemented a e-Reader that has embedded video players on it, I need a option to toggle fullscreen mode from the player. My question is the following: Which is the best way to play a video on fullscreen and let the user come back from this state…
6
votes
2 answers

Video Frame by Frame seeking

Is there a way to step through a video file frame by frame? I've tried using a VideoView and I've had minor success. I can get the video the step through key frames but not individual frames. I figured this would be the default settings, especially…
Spidy
  • 39,723
  • 15
  • 65
  • 83
6
votes
0 answers

Android App to play video Instant like Tiktok

I have developed an app where I am displaying users videos, those can be of 15 minutes long, that is why I have transcoded all the videos in HLS format in AWS Bucket with the help of lambda function and I am serving those videos through cloud front…
6
votes
1 answer

How do use a MediaPlayer to a SurfaceView in a Fragment

Because I want to be able to pass the MediaPlayer that plays the video around, I want to use a SurfaceView instead of a VideoView inside my fragment that plays the video. I looked at an earlier question about how to attach the MediaPlayer to the…
Christian
  • 25,249
  • 40
  • 134
  • 225
6
votes
2 answers

Video in Android : change visual properties (e.g. saturation, brightness)

Assuming we have a Surface in Android that displays a video (e.g. h264) with a MediaPlayer: 1) Is it possible to change the displayed saturation, contrast & brightness of the displayed on the surface video? In real time? E.g. Images can use…
Diolor
  • 13,181
  • 30
  • 111
  • 179
6
votes
1 answer

In Android MediaStore.EXTRA_DURATION_LIMIT not working in 6.0 and uper version device

I'm using LG Nexus(6.0). When I have use the camera to capture video using below code. Intent intent = new Intent(MediaStore.ACTION_VIDEO_CAPTURE); fileUri = getOutputMediaFileUri(MEDIA_TYPE_VIDEO); // set video quality …
Sanjay Bhalani
  • 2,424
  • 18
  • 44
6
votes
1 answer

How to play 360 mp4 vids?

I'm fascinated by the 360 videos on YouTube as of recently. I'd like to develop a sample Android application that can play a 360 video and be able to pan/swipe with it along with being able to use accelerator/gyroscope. Few questions: What file…
6
votes
2 answers

Android's MediaPlayer setSurface while on paused state

EDIT: So apparently this has nothing to do with multiple activities, and this has something to do with the encoding of the video file. I will try to simplify the question: I have a MediaPlayer object in a paused state, when I call…
woot
  • 3,671
  • 4
  • 26
  • 39
6
votes
1 answer

Full Screen Video Without Break Aspect Ratio

In my program im trying to have video in full screen but without break aspect ratio of the playing video , in android default player it has button in upper left corner when you press it it shift video to full view without distortion of video which…
androidqq6
  • 1,526
  • 2
  • 22
  • 47
5
votes
2 answers

Multiple Video Files Simultaneously Playing in Android

I had asked the same question for iOS on iPad but now I am trying to see if it's possible within Android. The response I received so far is no within iOS. If it's possible in Android please explain what API is used. Here's my original question…
ninu
  • 890
  • 2
  • 10
  • 26
5
votes
1 answer

cannot open play this video in VideoView from sd card

Hi i am trying to play video from phone's internal storage in VideoView but my phone is prompting "cannot play this video". I am getting video path in main activity passing it to projector activity. This is the path:…
Tabish
  • 390
  • 3
  • 12
5
votes
0 answers

Display Custom video ads on native android videoPlayer like on Youtube

I just want to know that is it possible to display custom video ads on native videoPlayer . iwas doing R&D on this topic and got IMA SDk from google developers . link given bellow :-…
5
votes
3 answers

android -What is the best way to play video in my application

I've encounter this problem many times , the problem is that I've a videoView in my application but it couldn't play lots of different formats and video files. for example , if I want to open a mp4 file, I should ask my users to convert the video…
donald draper
  • 561
  • 2
  • 9
  • 24
1 2
3
36 37