Related to playing videos in Android API
Questions tagged [android-video-player]
541 questions
4
votes
1 answer
Decoding and Rendering Video on Android
What I need to do is to decode video frames and render the frames on a trapezoidal surface. I'm using Android 2.2 as my development platform
I'm not using the mediaplayer service since I need access to the decoded frames.
Here's what I have so…

mctma
- 193
- 2
- 6
4
votes
0 answers
Can't scrub video in Webview provided by WebViewClient's shouldInterceptRequest
I am overriding WebViewClient's shouldInterceptRequest method to provide a local video stream. The video plays and pauses fine, but the user can't scrub at all--playback just continues from the same spot. How can I make it so the user can change…

Michiyo
- 1,161
- 1
- 14
- 33
4
votes
4 answers
Android Video streaming from HttpResponse object
I want to play video content from HttpResponse object. The content is downloading from a streaming sever.
My requirement is to create a HTTP POST request to the server. Request contains the URL of video, username and password of the user for…

Adarsh V C
- 2,314
- 1
- 20
- 37
4
votes
1 answer
problem with video streaming in android
i m developing a simple application which will play video from a vlc streaming server through rtsp streaming...but while i m running the application it shows me a error like this
"Mediaplayer Error(1,-21474648),Videoview…

user595226
- 89
- 3
- 10
4
votes
1 answer
How to stream video from url and play in android?
I would like to stream video from url and play in android. I want to play that video like youtube video. like, stream some byte and start play video. and also streaming is continue in background.
How it's possible? I have try with Videoview and…

Urvashi
- 41
- 3
4
votes
1 answer
VideoPlayerController.network() ran into source error
Im trying to play a video from the internet using VideoPlayerController.network() method but every single url that i try face with an error which is specified below :
Source error.
E/flutter ( 4250): [ERROR:flutter/lib/ui/ui_dart_state.cc(157)]…

Reza Yazdani
- 83
- 1
- 6
4
votes
0 answers
How to Edit and add Watermark or Text in a video with help of MediaCodec
How to add a textView or Watermark[Images] in a video . So that i can Overlay this bitmap at the bottom of the video on all frames and save the video on extarnal storage . After some search i found that there some helpful ways to do it which are…

Shiva s
- 710
- 1
- 6
- 13
4
votes
1 answer
Video compression issue in samsung s5 device
I trying to compress video. it's working fine in all device but in Samsung S5 it gives below error.
Error Log : android.media.MediaCodec$CodecException: Error 0xffffec77
below have my compression function
public boolean convertVideo(final String…

Sanjay Bhalani
- 2,424
- 18
- 44
4
votes
1 answer
Get amplitude of audio with its source/object/streamType
Can any one please help me to find any way to find amplitude of different audioPlayer with in app? I need to know the amplitude of videoCall's audio in my app.
Example in my app I have a videoPlayer (youtube) and videoCall feature. So when I get…

NehaK
- 2,639
- 1
- 15
- 31
4
votes
1 answer
How to make a video full screen using an Exoplayer without stretching it
I'm using an ExoPlayer to show videos, currently I just maintain the aspect ratio as default but this isn't ideal as I want the videos full screen.
for (Listener listener : mListeners) {
listener.onVideoSizeChanged(width, height,…

Antonio Gravano
- 153
- 1
- 11
4
votes
1 answer
Exoplayer - video never reaches STATE_READY
I'm currently using exoplayer just to play a sample video on a surfaceview (http://www.sample-videos.com/video/mp4/720/big_buck_bunny_720p_50mb.mp4) by permorming this settings:
player =…

Tiago Ornelas
- 1,109
- 8
- 21
4
votes
1 answer
Change the aspect ratio of surface view according to aspect ratio of the video in exoplayer demo application
I have implemented ExoPlayer in my Android app using the following code.
String versionName;
try {
String packageName = getPackageName();
PackageInfo info = getPackageManager().getPackageInfo(packageName, 0);
…

Carson Ande Aberle
- 77
- 2
- 9
4
votes
2 answers
floating video player (like youtube player ) in android
In my app i need to implement floating video player ( like youtube player). i gone through the below urls but not able to solve my issue. I don't know where to start and what to use .
Please someone help me
how to create a Floating popup video…

krishnamn
- 151
- 3
- 11
4
votes
2 answers
Can we play .vtt file in android for subtitles?
I have got a .SRT file working on Android platform as sub-tiles along with video. But the company has .vtt files for tons of videos, and .srt for only a few. .vtt is supported by iPhone development.
Can we play .vtt file on Android for subtitles? I…

Mukesh Garg
- 711
- 1
- 6
- 20
4
votes
1 answer
Play video using videoview in Listview
Friends I want to play my videos inside video view which is available in lists.
I am not happy with the current code as its not playing except the first video. My requirement is when I click the button on video view in any item of list must play…

Munchoo
- 313
- 1
- 7
- 22