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"
I 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()
I want to be able to use/view the video's I record with my phone on my computer. (open from an email or use in window's movie maker)I have a new computer with Windows seven at work and a Vista laptop at home. I can send the video to myself and try to open in from my email or tether to the computer and transfer the file manually. Either way I can't open with windows media player. Video's taken with default "Camcorder" app on a myTough 3G running Android 1.6.I know it has something to do with the codec's the phone uses but wonder why they wouldn't use codec's that are compatible with the most commonly used pc's?Is there any way around this? Some kind of converter for the computer or for the phone?Is there another camcorder app that can record video with a different codec or is it phone hardware specific?So far have been able to use these forum's to sort out most of my Android problems but I'm stumped on this one. It doesn't seem like it should be this hard to do. Should be more user friendly.
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"?
My 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:
I'm trying to create .mp4 video clips that when you click on the link in a browser (I have an Evo 4G) the clip will buffer and stream in the HTC Streaming Media Player. So far I only get this error message when the streaming media player launches: "Warning - Video is not for streaming play. Would you like to download the file." All my clips play great when downloaded to the SD card and they all stream flawlessly on the iPhone. Not sure if this problem is HTC specific or all Android phones. Has anyone created .mp4 clips that can be streamed from a website? What software and settings are you using? I'm using Handbrake which obviously isn't working.
I've got my HTC Desire and i got to listen to my favorite radio station. To do that i got to have an media player that can use url's like win amp or windows media player from windows for example. I've tried most of the e-radio software like tune wiki last. FM etc but it does not help.
I am trying to figure out how to set the default player for streaming video on my EVO. I know there is a player on it from HTC called "Streaming Media Player" but it doesn't seem to be the default and I would like it to be. When I am using the Engadget app, and the article has a button to click for a video they have created, my phone seems to use the You Tube player and on occasion it just errors, but if I go to the actual article on the engadget web site and click the video, it opens in the HTC player and works fine. I don't get an option to choose which player I want to use when I click on videos, can I change any of this?
Recently I just create an app (that is using mediaplayer) to play the RTSP Streaming. At the beginning,I use the SIM card to connect to the internet. I try to let the app play for many times. But it was only success once. Many times the app could not play and the buffer always shows 0%. While I use the WiFi to connect the internet, the rtsp could be played but when I use the another WiFi to connect to the internet, to my surprise it failed. Both the SIM card and WiFi, it all could play the http Streaming. The RTSP Streaming is very strange, I can not understand. I guess there is maybe something wrong with Wireless.
Within Windows Media Player 12 (Win 7 x64), I have checked "Stream > Automatically allow devices to play my media" Unfortunately, when I open up Media Share on the Droid X, and continue to the music folder, it doesn't show anything - instead it lists "no files found" Open Media Share -> Computer -> Play -> Next -> Next (DLNA) -> Next (allow remote playback stuff) -> Next (confirming we're connected to the same network) -> Then I go tot he All Music folder, and the Droid X says "No files to display"
i have a very simple test app (see below), that simply tries to play a streamed audio file below over and over. after running for about half an hour (the file itself is only like 3.5 minutes or so), I get the following error:
I've had my HTC Desire for a couple of months now and it's truly a great phone! Today my 32Gb micro SD card arrived for it and I set about moving my media onto it. I wanted to see if I could watch movies on my phone so I set about converting one from a full HD .mkv file to an .mp4 using handbrake. I read up on what the best parameters are and stuck to them religiously.I can play other videos on it no problem but when it comes to my own it just says that it can't play them, I've tried Meridian (which seems unstable as hell btw) but that doesn't help. My file is a couple of gigs in size when the encoding is done but I'm not short on space so that's not such an issue. I don't know why the phone is being so picky, can anyone please suggest what I might be doing wrong?
I really want to know why I can not hear any sound whatsoever simply because the video uses 5.1ch aac instead of 2ch aac. The video part of mp4 plays perfectly, encoded to h.264. I would really like to know if there is any media player able to play these videos correctly without having to resort to any kind of re-encoding (a waste of time when the original encodes should play fine) or having to use special 5.1ch headphones (bulky and not practical to keep on hand all the time). Also, does anyone know if this might be corrected with Froyo 2.2? And last, all my videos that have 2ch audio play as they should, sound and all. Same codec settings were used.
I have downloaded the free REALPLAYER app. How do i view videos through this on the web? And allso, I just downloaded a free MUSIC SEARCH app too. I'm downloading music now and i just wanted to no if im safe and i don't have to pay for these MP3 files.
I am new to this site not so much to the android world, but there is something that keep annoying me and its when I go to youtube or to watch my anime episodes on my Motorola blur and it tells me a need a adobe reader but when I go into the website it tells me my phone doesn't support the software. Is there an app for this?
I assume that the EVO 4G can play full length videos (via microSD?). How do you put the video onto the device and play it. Is there a designated application & software client, or is it just drag and drop (onto the microSD) and watch the video through the HTC Player? The reason I'm asking is because I do not have an EVO, but i do have a HTC Sense enabled phone. So by theory, since the phones are both running the same OS/UI, couldnt i watch movies on my HTC Eris?
I'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.
I 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 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?