Android :: Phone Play Video In Media Player From Given URL?
Oct 24, 2009Can anyone please tell me if Android Media Player is able to play a video that is placed in a remote server, in a supported format?
View 5 RepliesCan anyone please tell me if Android Media Player is able to play a video that is placed in a remote server, in a supported format?
View 5 RepliesI am new to android.I am trying to play a video from sdcard. this is the sample code I have used..
public class videoa extends Activity {
/** Called when the activity is first created. */
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
this.setContentView(R.layout.main);
VideoView videoView = (VideoView)this.findViewById(R.id.videoView);
MediaController mc = new MediaController(this);
videoView.setMediaController(mc);
// (1) Web
//videoView.setVideoURI(Uri.parse(
//"http://www.bogotobogo.com/Video/sample.3gp"));
//"http://www.bogotobogo.com/Video/sample.mp4"));................Please help me out.
If this is a repeat of another thread then i apologize .i need a video player that will play mp4 video in full resolution for the droid.m coming from bb.can you help me with this.i don't care if it is free or not.
View 8 Replies View RelatedSince the 2.2 update for most phones, I've noticed that my 2.1 (Samsung Moment) won't stream video's now. Before video's would stream over my connection, however 2.2 comes out and know I keep getting error's or programs just shut down. Is this just a case of host programs switching to the new android format?
View 1 Replies View RelatedIs there a media player that will allow you to view video clips from the Iphone on the Eris? My son has the Iphone . He can view my videos sent by email but I cannot view his sent to me.
View 13 Replies View RelatedDoes anyone know where to find a media player that would allow you to play streaming videos on Android Browser?
I want to know if you can play streaming videos on your web browser on your android os phone.
I guess no one cares to listen to their favorite music in the order the artist intended? we now listen to timeless classic Opera in whatever order? makes no difference? Classic Rock albums out of order? Pink Floyd "Dark Side of the Moon"?
View 6 Replies View RelatedMy application gets playlist from a XML file, requests URL of mp3 file from server, downloads and plays it. It was able to download mp3 file but unable to play it. When I used emulator with Android 2.1, it was displayed in LogCat:
[Quote]
I recently bought some gameloft games for my droid incredible but i noticed all the sounds of music of the games are showing up on my media players. Is there any fix for this issue?
View 2 Replies View Relatedgood mp3 player and video player / HTC EVO. is there anything better than stock
View 5 Replies View RelatedI create a "mplayer" to play the rtsp on the emulator. When the "mplayer" play the http ,it is ok.
MediaPlayer mplayer = new MediaPlayer();
mplayer.setDataSource("rtsp://test.intra.3g.sina.com.cn/streaming/ 20090313/wenjiabao1.mp4");
mplayer.prepare(); mplayer.start(); but when it play the rtsp, it doesn't work. The Wireshark shows UDP Checksum Incorrect.
I tried to play a piec of 16-bit .wav audio file, no sound came out from my earphone, but .mp3 file would be OK. Do any one else have this kind of experience? This is the code: player = MediaPlayer.create(this, R.raw.test); // I put test.wav in /res/raw player.start();
View 4 Replies View RelatedI have an Activity that plays a brief OGG "pop" sound effect when bubbles pop. To keep it fast and to ensure I can play several pops, I create four MediaPlayer instances. I synchronize access to a pool of instances, so I can play up to four pops at once. Once a sound completes, I call seekTo(0) and return the MediaPlayer instance to my pool.
Here is a rough sketch of the code:
// when the activity resumes... for (int i=0; i<4; i++) {
MediaPlayer mp = MediaPlayer.create(context, R.raw.pop);
mp.setOnCompletionListener(this);
mp.setVolume(1f, 1f); players.add(mp); // put into a pool of available players }
The dev guide suggests this
MediaPlayer mp = new MediaPlayer();
mp.setDataSource(this, Uri.parse("http://wamu-1.streamguys.com:80"));
mp.prepare(); mp.start();
I can't seem to get it working though.
I'm getting "java.io.IOException: Prepare failed.: status=0x1"
Is there any support for avi and other media formats except mp4 and 3gpp? If there is no support may I develop a support through correct the program? Will that be too difficult ?I don't know where to put my hands into first, should I correct programs in opencore first or should I just correct programs in directory frameworks/base/include/ media . I want to have a clear mind how I can achieve my goal, I need a roadmap to guide me how to do it.
I am trying to get familiar with the SDK 1.0 now. another question, my chip is from freescale and it supports hardware codecs of mpeg4, h.263 and h.264, I don't know whether I can change the program or the architecture of mediaplayer to utilize my hardware codecs instead of software codecs provided by android opencore. I once implement an mplayer to my platform, there is problems about sync of audio and video due to the quality of my chips(CPU can support software codecs but is not fast enough to make sure sync of audio and video), So I am worried about when the android is implemented, there would also be the same problem, and for this reason, I am thinking whether I can utilize my hardware codecs for mediaplayer.
Has anyone found a video player that automatically plays the next video when the first video ends like episodic videos?
View 2 Replies View RelatedI am trying to play mp4 video file from mediaplayer demo given in the api demos along with android sdk.I changed the path to /sdcard/video.mp4.If i run mediaplayer_video demo, the audio output is coming, but no video is being displayed, the screen is black.when i seen the logcat,it reports, surfaceCreated called and surfaceChanged called.
View 4 Replies View RelatedI'm developing an application that makes video stream to an internal network, so I need to broadcast to listeners devices (connected to this network), found an application called VPLAYER receiving video stream, but it performs HTTP, which makes the broadcast. So, I wonder if there is any player that receives video stream and run under the UDP or whether it is possible to develop an application that receives the video stream and pass to the player's native android.
View 1 Replies View RelatedWhen i record my audio from MIC and store file in /data/data/. why Media Player can't play this file ? If i change destination to / sd card/..... - all works great. I do something wrong ? I not found limitation for Media Player. Device - Samsung T959 (Galaxy S).
View 4 Replies View RelatedI am currently new to android development I been working on the examples in the Dev Guide in the android website. I want to get a stream from a server I have to play in the emulator when I insert the url it doesn't seam to want to play. My question is there a way to get the emulator to play audio or is it all enabled also does MediaPlayer require a special kind of format like mp3 or ogg? his is the code i am running on my 'onCreate()' method.
MediaPlayer mp - new MediaPlayer();
mp.setDataSource(MY_URL_);
mp.prepare();
mp.start()
Why Update buffering is always 0% when mediaplayer play the rtsp? I try to play this both on the emulator and on the device. But eveytime it shows that the Update buffering is always 0%. Could anyone give me a reason?
At last it always shows the log
E/MediaPlayer( 1455): stop called in state 4
E/MediaPlayer( 1455): error (-38, 0)
E/PlayerDriver( 1088): Command (7) was canceled
I wanted to stream A/V from my machine to Android over HTTP
(http://lists.mplayerhq.hu/pipermail/libav-user/2010-July/004944.html).
But that does not seem feasible using FFMpeg. I am planning to try FFMpeg streaming over RTSP. But I am not sure whether MediaPlayer or VideoView classes on Android support RTSP playback. Is playing RTSP stream possible in simple application?
We've a mpeg4 source that we would like to play in the media player. Our source is not in a file or on an rtsp server. It is hand coded to generate mpeg4 source on the fly. Imagine the data is coming from an unix pipe stream instead of rtsp or a file. How can I use that stream in media player?
View 1 Replies View RelatedAs the headline say:How can I play .mov files on my HTC Desire?
View 3 Replies View RelatedI'm looking for an app or combination of apps where I can find a link to a movie online, stream it on my phone then using air play push it onto my tv. They only released the sony screen mirroring app to a couple of sony xperia phones so I cant use that. I dont want to have to download the movie first either.
View 2 Replies View RelatedI love my Eris BUT it is inferior in one critical area (too me) - I like to use my player t"watch" VIDEO podcasts or tivo'd news shows. Much of the time, I do not need to actually see the video (just want to hear it). So is their a video app that will let me play the video and turn the screen off and/or play video while I use the device to do other tasks. Seems like a simple feature but I cant find it anywhere for the Android.
View 4 Replies View RelatedWhat video player for Android can I download for free that can play mkv files?
View 2 Replies View RelatedI was wondering if anyone has had any luck getting subtitles to work in any video player on Android so far.
I though that I may be lucky after converting an MKV with embedded subs to an MP4 and playing in Meridian with no luck. After having a look over the Meridian FAQ/Tutorial I can see they are supported, though only as an additional SRT. Having a had a look around it appears extracting SRTs from MKV is not nearly as easy as you'd think (I've so far been unsuccessful) so I thought I'd see if anyone else has had more luck.
Where can i download the Video player for G1?
View 15 Replies View RelatedI am interested if there is any programs out there that mimic the DVD player. On a DVD you first start off with a Menu then can decide to either play the movie or see different interviews ect. Is there a player or a converter that allows you to take a DVD and play it with menu and all?
View 3 Replies View Related