Questions tagged [android-video-player]

Related to playing videos in Android API

541 questions
4
votes
0 answers

Write exif data to android video files

I am extracting metadata information (Exif infor) by using Id3 library in android, but I am getting null pointer exception and getting null in log Message it is a reason because value in src_set is null .I am not getting why it is returning null. my…
Jitendra Prajapati
  • 1,002
  • 1
  • 10
  • 33
4
votes
1 answer

Why? I can't play downloaded mp4 video file using Intent

I have to develop an application in which I am downloading a video file from an URL After downloading, I am playing it through an Intent. But every time I am getting the same message: "You can't play this video." download code: protected String…
hharry_tech
  • 952
  • 1
  • 8
  • 24
4
votes
0 answers

How to play video via byte array in videoview

In my project i want to play video with byte array, i dont want to store that byte array into temprory file, Suppose i have 300 mb file in encrypt form , now what i am doing is to decrypt that file and store into new one , for this i have 600mb size…
Narayan soni
  • 821
  • 1
  • 10
  • 28
4
votes
1 answer

MediaMetadataRetriever always returns null when trying to retrieve a frame

I'm trying to get the first frame of a Streaming video via the URL. getFrameAtTime always seems to return null with no Exception. @Override protected Bitmap doInBackground(String... strings) { String url = strings[0]; …
serenskye
  • 3,467
  • 5
  • 35
  • 51
4
votes
2 answers

How to create videoview like youtube "small screen and full screen play in android "

I want to develop activity or fragment like Youtube. "When user click on video from list it start playing in small video view like height =200dp and width = 300dp(as example) and i want to display full screen button on MediaPlayer controller by…
user1597878
4
votes
1 answer

android hls - get current bit rate

I've developed a video stream application and using HTTP Live Streaming. I want to get information about currently playing video. is it possible ? For example , i need current bitrate of HLS Video. It is so easy with IOS(getCurrentBitRate function)…
dracula
  • 4,413
  • 6
  • 26
  • 31
4
votes
1 answer

Online Video not Playing

I'm following a Tutorial to play Video in Android, Tutorial Here But when I run the Application on Emulator, it Gives me the following Error MediaPlayer error (1, -2147483648) Please Help Here's the Code of my Application JAVA package…
4
votes
1 answer

How to play a video from a RTSP link

I want to create an android app which can play video from RTSP link. When i tried to play this through a media player, it showed an error message - "The Video cannot be played" I would be grateful if you can provide me a solution for how to…
Arun J
  • 188
  • 1
  • 1
  • 13
4
votes
1 answer

MediaPlayer Error (1, -2147483648) android programing

I have been having some issues with my code to play html5 vide. I created a short presentation in powerpoint and exported it html5, it contain a video, I have copy the exported files into my assets files in android buy my video is not…
Derek
  • 175
  • 1
  • 4
  • 16
4
votes
1 answer

Problems getting SurfaceTexture work with Android Videoplayer on MALI 400

I've written an application which is rendering video into a texture basically using the code found in many posts here. I guess the original comes from some nVidia samples (VideoSurfaceView) found here: Using SurfaceTexture in Android This example…
Marco
  • 984
  • 10
  • 18
4
votes
1 answer

youtube video is not playing in android webview from iframe

I am developing an android application. This is my xml feed tag:

Actor Hrithik Roshan has always nursed a






@Notch…

4
votes
0 answers

change video playback rate in android

i am developing a video recorder which should change the frequency and pitch of the sound only. video should play with the same rate. I used the Soundpool library to change rate of sound in android but it says it only works for audio files.…
Talha Malik
  • 1,509
  • 3
  • 22
  • 44
4
votes
1 answer

VideoView vs MediaPlayer?

Please tell me why this would work on with MediaPLayer and not in videoView? And how to make it work with a video view? Videos are downloaded form an API and saved in this folder I created: File mediadir = cw.getDir("tvr",…
Harry
  • 13,091
  • 29
  • 107
  • 167
4
votes
1 answer

Android webview doesn't playing mp4 video in same page

I'm trying to show one local html file contains code for playing video and try to show that html file in android webview. I've used following code to for playing video: WebViewLoadVideoActivity.java //DECLARE webview variable outside of onCreate…
Slk
  • 205
  • 5
  • 12
4
votes
3 answers

How can I ensure correct playback orientation of recorded video?

I'm using the MediaStore.ACTION_VIDEO_CAPTURE intent to capture video and later play it back using a VideoView. I would like to know the orientation of the video that was captured. I don't want to use the orientation at the time of the intent…
Jeff Axelrod
  • 27,676
  • 31
  • 147
  • 246