Android :: Mediaplayer Online Streaming Formats

Sep 22, 2010

I am trying to create a small application for streaming radio broadcast that is in video/x-ms-asf format. the url has a .asx extension at the end. I have come to know that Android does not support this format currently, what other format for streaming broadcasts does it support so I can request that from the radio?

Android :: Mediaplayer online streaming formats


HTC EVO 4G :: STREAMING Music Player - Audio Formats

Jul 20, 2010

Any music player that can stream audio formats aac+,pls,m3u.asx,.ram?

View 6 Replies View Related

Android :: Mediaplayer With Streaming

Feb 17, 2009

I am developing a media player which will download the media content from network (Shoutcast) It works fine. Problem is a small gap between players (2 players) I am using two mediaplayers to play the data while a thread downloads and stores the data and stores in to 100Kb files continuously. on first players oncompletelistener() i started the second player wise versa. I think there is a problem with mp3 frames(header sync byte) while splitting 100kb files. how to resole the gap between players.

View 2 Replies View Related

Android :: Streaming To The MediaPlayer

Mar 24, 2010

I'm trying to write a light-weight HTTP server in my app to feed dynamically generated MP3 data to the built-in Android MediaPlayer. I am not permitted to store my content on the SD card. My input data is essentially of an infinite length. I tell MediaPlayer that its data source should basically be something like "http://localhost/myfile.mp3". I've a simple server set up that waits for MediaPlayer to make this request. However, MediaPlayer isn't very cooperative. At first, it makes an HTTP GET and tries to grab the whole file. It times out if we try and simply dump data into the socket so we tried using the HTTP Range header to write data in chunks. MediaPlayer doesn't like this and doesn't keep requesting the subsequent chunks.

Has anyone had any success streaming data directly into MediaPlayer? Do I need to implement an RTSP or Shoutcast server instead? Am I simply missing a critical HTTP header? What strategy should I use here?.................

View 4 Replies View Related

Android :: Streaming With MediaPlayer In SDK 8

Nov 17, 2010

SDK level 8 (Froyo) has introduced the native capability for the MediaPlayer to connect to a streaming source, like Shoutcast. Previous SDK versions were able to do workarounds, such as run a local proxy on the device (see NPR). I took the same approach as NPR and am using a StreamProxy. However, NPR first checks if the currently running SDK is less than 8. If so, it uses the proxy. Otherwise, it connects directly. My StreamProxy requests metadata from the Shoutcast server, so it does not simply route the data from Shoutcast to my client. Instead, it parses out metadata and uses it accordingly, and only routes the music data.

When trying to use the StreamProxy at SDK level 8 or above, the MediaPlayer fails to prepare. My StreamProxy receives the connection and accepts it, but after successfully writing out the status line and headers to the client, the next write produces "java.net.SocketException: Connection reset by peer". This results in the client's mediaplayer throwing an "Error(1,-1007)". I am trying to figure out why the MediaPlayer is unable to connect to my local proxy. It should be the same as connecting to the original source without the metadata, which does work. I am forwarding on all headers from the external source, through my proxy, which includes content-type.

View 1 Replies View Related

Android :: Streaming With Mediaplayer On 2.0

Dec 18, 2009

I have an app that streams mp3's from a server, works fine on 1.5 and lower. But on the droid, for certain songs the mediaplayer buffers to like over 50% but onPrepared() is never called. These same songs work fine on 1.5 or on a 2.0 emulator but for some reason they just hang on the actual droid phone. No mediaplayer errors are thrown but if i call stop or reset it while it is hanging like this, it throws this,

12-18 19:14:05.230: ERROR/MediaPlayer(15718): stop called in state 4 12-18 19:14:05.230: ERROR/MediaPlayer(15718): error (-38, 0) 12-18 19:14:05.238: ERROR/PlayerDriver(987): Command (6) was cancelled

it is only for certain files (yes they are all mp3s) and only on the droid. Anyone have any ideas why these songs would hang? I already checked the http headers and they are correct.

View 5 Replies View Related

HTC Droid Eris :: Streaming Video Codec / Formats?

Feb 3, 2010

I am looking to figure out how to stream a video off my website through the browser. I know it is possible since I've seen some of those mobile porn sites do it, I just cant figure out what format this is in or how to get the video to play.

View 4 Replies View Related

Android :: Streaming Audio From URL Using MediaPlayer?

Dec 27, 2009

I've been trying to stream mp3's over http using Android's built in MediaPlayer class. The documentation would suggest to me that this should be as easy as :

MediaPlayer mp = new MediaPlayer();
mp.setDataSource(URL_OF_FILE);
mp.prepare();
mp.start();

However I am getting the following repeatedly. I have tried different URLs as well. Please don't tell me that streaming doesn't work on mp3's.

E/PlayerDriver( 31): Command PLAYER_SET_DATA_SOURCE completed with an error or info PVMFErrNotSupported
W/PlayerDriver( 31): PVMFInfoErrorHandlingComplete
E/MediaPlayer( 198): error (1, -4)
E/MediaPlayer( 198): start called in state 0
E/MediaPlayer( 198): error (-38, 0)
E/MediaPlayer( 198): Error (1,-4)
E/MediaPlayer( 198): Error (-38,0)

View 8 Replies View Related

Android :: MediaPlayer Streaming MP3 Over POST

Sep 17, 2010

I've got a question related to the Android MediaPlayer. Can it stream content through HTTP POST method , or do I have to write my own implementation? If so, what SDK do I have to use?

View 1 Replies View Related

Android :: MediaPlayer Streaming From PHP Redirect Does Not Work

Aug 25, 2010

The company I work for is developing an Android App that plays a video file from a URL on web. The
video URL is a parameter for a PHP script that encode it properly and redirects to the encoded video as shown below:

header('Content-Type: video/'.$format);
header('Location:'.$output_video);

Where $output_video is the URL to the encoded video (it works if we use this URL in the browser) and $format is the video format. But when I try executing the MediaPlayerDemo_Video from the API Demos using the streaming mode, I get an error like this:

MediaPlayer Command PLAYER INIT completed with an error or info PVMFErrCorrupt
MediaPlayer error (1. -10)
MediaPlayer Error (1.-10)

If we hard-code the URL and format in the PHP script, it also does not work out, but with a different error:

MediaPlayer info/warning (1. 28)
MediaPlayer Info (1 .28)

View 1 Replies View Related

Android :: Mediaplayer To Play Live Streaming Audio

Nov 8, 2010

In my music app, i would like to play live streaming like radio broadcasting with mediaplayer as Mediaplayer mp = new Mediaplayer(); mp.setDataSource(LiveStreamingURL); mp.prepare(); mp.start(); but after playing for few seconds it is stopped. I dont know how to overcome it. Give me your suggestions for this.

View 3 Replies View Related

Android :: MediaPlayer Stops Playing When Streaming Over 3G On The Nexus One

Apr 23, 2010

I am maintaining a streaming music player, and I'm running into a similar problem as http://www.last.fm/group/Last.fm+Android/forum/114391/_/593575

My player stop after roughly 1-2 minutes, and there are no log messages except for "I/AudioHardwareQSD( 52): AudioHardware pcm playback is going to standby" just after the playback stops.

This happens when I run it on the Nexus One over 3G. It does not happen over Wifi, and it does not happen on my HTC Hero with android 1.5 over 3G.

Do you guys have any hints on how to debug this? Is it e.g. possible to monitor the memory available to the media player object?

View 5 Replies View Related

Android :: MediaPlayer Provides Wrong Duration On Audio Streaming

May 27, 2010

I am having the following problem: I am using Android's MediaPlayer to play an mp3 through an HTTP connection. The audio is played correctly, but the MediaPlayer returns an incorrect duration (calling mediaPlayer.getDuration() ). Depending on the mp3 the duration is either shorter or longer. The code that plays the audio is the following:

mediaPlayer = new MediaPlayer(); mediaPlayer.setOnCompletionListener(this); mediaPlayer.setOnErrorListener(this); mediaPlayer.setOnPreparedListener(this); mediaPlayer.setOnBufferingUpdateListener(this); mediaPlayer.setDataSource("a valid URL"); mediaPlayer.setAudioStreamType(AudioManager.STREAM_MUSIC); mediaPlayer.prepareAsync();............................

View 2 Replies View Related

Android :: NFL Online Streaming

Oct 3, 2010

Real briefly I have a Samsung Moment phone thru Sprint and I am trying desperately to find a way to watch NFL games live. Does anyone know a way to do this because flash is not supported for android? With my pc I usually go to justintv, veetle.com, or atdhe to watch games for free however my pc is broke right now. I would greatly appreciate any help on this matter.PS I also would like to watch online straining of movies and such if anyone knows of an android app that I can use at veetle.com and such?

View 3 Replies View Related

Android :: Streaming Online Radio

May 26, 2010

I'm trying to steam online radio stations using Radio Time and iHeartRadio at work on my Incredible and it seems to cut out a lot or just lose the connection and then i have to reconnect and it works fine for a short while. Is this a common problem with online streaming and phones?? I'm wondering if it's a 3G issue or just the streaming.

View 2 Replies View Related

HTC EVO 4G :: Streaming Sirius Radio Online

Jun 16, 2010

Has anyone found a way to stream sirius radio from their evo using the online sirius flash player? Using orb and usirius (or any other similar program) seemed to do the trick on the iPhone. Can't get that to work on the evo though. Launching the online app itself does everything but play the stream. I have the sirius app, i'm looking to stream the channels that aren't supported by it.

View 2 Replies View Related

HTC Hero :: Streaming An Online Radio

Jan 29, 2010

How I can stream/listen to this on-line radio: mms://media.internet.fo/uf16 ?

I also found out that the station has this link as well: http://media-http.internet.fo/uf16

So anybody know an app that can play either of these 2 links?

View 23 Replies View Related

HTC Desire :: Watch Streaming Videos Online?

Apr 1, 2010

What type of videos can you watch on the device? Can you watch streaming videos online?

View 1 Replies View Related

HTC Desire :: Google Video Chat - Skype - Streaming Music Online?

Mar 26, 2010

Does it have a google video chat? Can you use skype? Is there a history file like a computer? Can you watch streaming movies online?

View 28 Replies View Related

General :: Streaming Video File Located In Online Password Protected Directory

Nov 27, 2012

Using MX Player. It worked best. All you have to do is have the username and password put in together into the URL after http, but before the URL of the video file. So lets say the directory is protected by the username FrancisFord and the password is Copola and the URL is URL...., you would enter this address when streaming from a URL:

URL.....Remember to remove the www from the URL and that the username comes first then the password seperated by a colon, followed by the @ symbol. URL....

So, I have video's uploaded to my personal site. I password protected the directory with .htaccess. The permissions of the videos are set to 777. If I surf to the directory of the video through the browser on my Galaxy S II, it asks for a username and password and then displays the files that are there. When I click on a file, it tells me that I cant play the video and thats with any video player I use. If I try to play the video in my browser itself by putting it into something like JW player, it also doesn't work. The only time it works is when I unprotect the directory. Then it streams it fine.

I am using A Samsung Galaxy SII (s2) or Epic 4G touch from Sprint. I have Cyanogen Mod 10, beta 2 with Jelly Bean on it. I use the built in browser and also Chrome. The video players I have tried using to no avail are:

Daroon Player
ES Media Player
MX Player
FPlayer
Rockplayer lite
Showtime Player panel
Stock Android Video player.

View 2 Replies View Related

Android :: MediaPlayer.start - Doesnot Work Fine After Calling MediaPlayer.seekTo - 0

Apr 27, 2009

I have a requirement to play several sounds many times in my game so instead of creating the MediaPlayer again and again I have called mp.seekTo(0) in onCompletion(mp) so that it will restart. Sometimes the sound is not audible from the device when I call mp.start () after setting mp.seekTo(0); but the player calls onCompletion() without playing any sound, this is observed randomly on most of the sounds

My sounds are of short duration mostly less than a second.

I am using a separate MediaPlayer for each sound (as I need this) -

There are almost 28 sounds in my game so i will be creating 28 MediaPlayers.

Below is the attached code for player

Also If I try to play many sounds one after the other in a short period of time i get an error saying "no more track names available". can u tell Why this is happening...?

check the below code:

CODE:........

View 9 Replies View Related

HTC Hero :: Android And Video Formats

Sep 24, 2009

I am a little disappointed though that my HTC Hero can't play avi movies. Will this be possible for Hero owners in the near future? With a ROM update or anything else?

View 5 Replies View Related

Android :: Supported Media Formats

Jul 2, 2009

I've been using MediaPlayer for playing some sounds and I've found no way to get hold of a list of supported mime types at runtime. I was hoping for something along the lines of MIDP's javax.microedition.media.Manager.getSupportedContentTypes() but there doesn't seem to be anything that achieves this on Android. The only thing that there seems to be is a web page that lists supported media types (at the moment and on the small amount of devices available).

http://developer.android.com/guide/appendix/media-formats.html

Does anyone know of a way of enumerating the mime types?

View 2 Replies View Related

Media :: Is There Program For Android That Let's Me Play Most Formats?

Jun 22, 2010

On Windows Mobile I used TCPMP and it could play any format; FLV, MP4, AVI (Could play DivX in theory, but the phone lacked physical resources I guess). Is there a program for Android that let's me play most formats?

View 14 Replies View Related

Android :: Supported Video Formats For Nexus One?

May 31, 2010

What video formats does the nexus one play?

View 3 Replies View Related

Android :: Proper Video Formats And Settings?

Jun 5, 2010

I'm having a bit of trouble getting videos to play on my HTC Evo with Android 2.1. I have several videos that I play on my PSP, and work just fine. However, when I transferred them over to my Evo's MicroSD card and tried to play them in any video player, they only played the audio stream, and no picture was shown. I never had trouble getting PSP-formatted videos to work on phones before; they worked n my G1 just fine. I assumed that because the Evo and PSP even had similar-sized screens, it would be even more compatible. It sounds somewhat foolish when I type it out, but one could expect it to work. I have tried playing it in the stock video player, the Meridian player, and the Video Player app from the android market, and they all had the same error. The file is an .mp4; and, as I said, gave me no problems when played in the PSP's video player.

Here's the specifications on the video file:
Type: MPEG4
Video Codec: AVC
Audio Codec: AAC
Size: 25 MB
Length: 00:23:41
Width: 480
Height: 272
Aspect Ratio: 16:9
Data Rate: 99kbps
Total Bitrate: 147 kbps
Frame Rate: 23 fps

View 6 Replies View Related

Android :: Different Formats Of Postal Address With ContactsContracts

Dec 5, 2009

Is there a way to get the data: address, postalcode, country ect. in different country formats.

Like in Great Britain:[recipient][street name][postal town (town/city)][postal code[country name]

And in The Netherlands: [recipient] [street name] [postal code] [postal town (town/city)] [country name]

I now use the ContactsContract from Android 2.0.1 and tried the ContactsContract.CommonDataKinds.StructuredPostal.DATA1 (FORMATTED_ADDRESS). But this seems to give the data as follows (no matter what country settings): [street name] [postal town (town/city)] [postal code].

View 2 Replies View Related

Android :: Why All Audio Formats Always Passed To Music Player?

Jul 27, 2010

I am writing a music player for esoteric music formats, and have defined mime types for them in my Manifest.
However, the standard music player is always started even though it can't handle the format. Looking at logcat I see;

: D/MediaScannerService( 688): IMediaScannerService.scanFile: / sdcard/download/Cybernoid.sid mimeType: audio/prs.sid : I/ActivityManager( 578): Stopping service: com.android.providers.media/.MediaScannerService : I/ActivityManager( 578): Starting activity: Intent { action=android.intent.action.VIEW data=file:///sdcard/download/ Cybernoid.sid type=audio/prs.sid flags=0x4000000 comp={com.android.music/com.android.music.MediaPlaybackActivity} }

.. so it seems the component is explicitly set to the music player ? Is there any way around this ?

View 3 Replies View Related

Android :: Media Player To Play AVI And Other File Formats?

Feb 12, 2009

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.

View 3 Replies View Related

Android :: Motorola XT720 - Video Formats? (Any Free Converters)

Nov 15, 2010

I sometimes download some TV stuff. The formats are MPEG-4 and AVI. I tried to just drag and drop them onto my XT720. When I tried to play them back, it didn't work. Are there any free video converters?

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved