Re: [android-developers] Re: PVMFFailure when using MediaPlayer for radio streams

2011-05-15 Thread Menny
I had this issues too, with Android device 1.6 and 2.2 (actually, the only 2.2 device I had this issue with was Galaxy Tab). The solution I found, was to re-encode the original WAV files to MP3 with ffmpeg: ffmpeg -i 1.wav -acodec libmp3lame -b 96k -ar 160001.mp3 -- You received this message

Re: [android-developers] Re: PVMFFailure when using MediaPlayer for radio streams

2011-05-15 Thread Menny
Ho. And in the HTTP header, I made sure I get audio/mpeg value for the Content-Type header key. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from

[android-developers] Re: PVMFFailure when using MediaPlayer for radio streams

2010-05-21 Thread MobDev
so there is actually still no solution ? We have a new and modern platform which cannot stream mp3's or aac from the net ? Well I guess we didn't move that far from j2me at all, this is still a very frustrating MediaPlayer class... On 19 mei, 00:25, rooster 808 rich.al...@gmail.com wrote:

[android-developers] Re: PVMFFailure when using MediaPlayer for radio streams

2010-05-18 Thread rooster 808
here's a link to a file that has a correct header, but gives the PVMFailure error in the Media Player. Pretty frustrating. I find dozens of these a day that are valid files w/Android 2.1 http://www.fileden.com/files/2009/11/2/2634160/Julian%20Shah-Tayler%20Butterfly.mp3 tnks, rich On Mar 29,

Re: [android-developers] Re: PVMFFailure when using MediaPlayer for radio streams

2010-03-29 Thread dillirao malipeddi
Arijasoft developed android online radio SDK using this AOR SDK you can play shoutcast/icecast ( mp3/aac) radio streams on android for more details look in to http://demos.arijasoft.com/Arija_Android_Dev/aorsdkrelease.php http://demos.arijasoft.com/Arija_Android_Dev/aorsdkrelease.phpThanks On

[android-developers] Re: PVMFFailure when using MediaPlayer for radio streams

2010-02-15 Thread Kamal Hasan
Hi, Any one has tried with HTTPS on media player I am getting Command PLAYER_SET_DATA_SOURCE completed with an error or info PVMFErrNotSupported Error. I am able to play the file on http but failed to play on HTTPS. Can you help me in this regard. Kamal On Feb 11, 10:42 pm, Steve

[android-developers] Re: PVMFFailure when using MediaPlayer for radio streams

2010-02-11 Thread Steve
I can make this work on 1.6 with this link http://www.colorado.edu/AmStudies/lewis/Design/blue.mp3 What is the url you are trying to connect to? On Jan 29, 6:08 am, David trend...@gmail.com wrote: ps-I am using version 1.5 on a HTC phone On Jan 14, 9:48 pm, Tanmay tanm...@gmail.com wrote:

[android-developers] Re: PVMFFailure when using MediaPlayer for radio streams

2010-01-29 Thread David
I also have this problem!! I tried setting: mp.setAudioStreamType(AudioManager.STREAM_MUSIC); But the same exact error: 01-29 14:57:45.161: ERROR/PlayerDriver(37): Command PLAYER_INIT completed with an error or info PVMFFailure Is there a bug using MP3 streams? /D On Jan 14, 9:48 pm, Tanmay

[android-developers] Re: PVMFFailure when using MediaPlayer for radio streams

2010-01-29 Thread David
ps-I am using version 1.5 on a HTC phone On Jan 14, 9:48 pm, Tanmay tanm...@gmail.com wrote: I tried doing this in 1.6 but still gave me the Prepare Failed 0x1 error along with the PVMFFailure in the log. Has there been any solution to this one developed yet? On Dec 14 2009, 10:13 pm,

[android-developers] Re: PVMFFailure when using MediaPlayer for radio streams

2010-01-15 Thread Tanmay
I tried doing this in 1.6 but still gave me the Prepare Failed 0x1 error along with the PVMFFailure in the log. Has there been any solution to this one developed yet? On Dec 14 2009, 10:13 pm, YaushiIizuka vse5...@gmail.com wrote: Hi. String url = http://your.url;; MediaPlayer mp = new

[android-developers] Re: PVMFFailure when using MediaPlayer for radio streams

2010-01-07 Thread HC
But if non-streamable video? On 2009年12月14日, 下午5�r13分, YaushiIizuka vse5...@gmail.com wrote: Hi. String url = http://your.url;; MediaPlayer mp = new MediaPlayer(); mp.setDataSource(url); mp.setAudioStreamType(AudioManager.STREAM_MUSIC); mp.prepare(); mp.start(); On 10月23日, 午後3:28, dede

[android-developers] Re: PVMFFailure when using MediaPlayer for radio streams

2009-12-14 Thread YaushiIizuka
Hi. String url = http://your.url;; MediaPlayer mp = new MediaPlayer(); mp.setDataSource(url); mp.setAudioStreamType(AudioManager.STREAM_MUSIC); mp.prepare(); mp.start(); On 10月23日, 午後3:28, dede dede830...@126.com wrote: Hi, In 1.6,I also try to play stream through setDataSource(http://

[android-developers] Re: PVMFFailure when using MediaPlayer for radio streams

2009-10-23 Thread dede
Hi, In 1.6,I also try to play stream through setDataSource(http:// xxx/.mp3), but also it return IOException: prepare failed, status=0x1. If set the url into windows media player, it can play correctly, I wanna know your problem whether be resolved? If yes, can u tell me the

[android-developers] Re: PVMFFailure when using MediaPlayer for radio streams

2009-10-06 Thread iwhoyt
In 1.5 I was able to stream an mp3 over http by passing the url to setDataSource(). However I started getting PVMFFailure s in 1.6. For me the issue was the Content-Type http header. If the header was set correctly (Content-Type: audio/mpeg), the stream played. Otherwise if failed during

[android-developers] Re: PVMFFailure when using MediaPlayer for radio streams

2009-10-02 Thread Lukas
You could try it with a http connection. First store the incoming data to the sdcard. String src = http://xxx.xxx;; File f = new File(sdcard, filename.mpeg); URL url = new URL(src); HttpURLConnection con = (HttpURLConnection) url.openConnection(); InputStream in = con.getInputStream();

[android-developers] Re: PVMFFailure when using MediaPlayer for radio streams

2009-09-02 Thread siliconeagle
Also the URl is a http (MP3) stream URL - as opposed tioo other opost where RTSP is being tried. It looks like it should just work. Has anyone else got streaming working via a streaming URL? On Sep 1, 1:24 pm, siliconeagle rrmu...@gmail.com wrote: I am trying to build streaming radio into my