Android :: No Update Buffering When Media Player Play RTSP?

Sep 13, 2009

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

Android :: No Update buffering When Media Player play RTSP?


Android :: Media Player Could Not Play RTSP?

Sep 9, 2009

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.

View 10 Replies View Related

Android :: Play RTSP Stream Using Media Player Or VideoView

Jul 2, 2010

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?

View 3 Replies View Related

Android :: How To Play Media Player With Non-file And Non-rtsp Source

Feb 15, 2010

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 Related

Android :: Buffering In Media Player - VideoView Blank For A While

Jun 2, 2010

I am using MediaPlayer to play a video in my app. The video takes a while to buffer and the videoview is blank for that time. Is there a way to start the buffering when the user is in the previous screen, so that when he comes to the video playing screen, the video is ready to play?

View 2 Replies View Related

Android :: RTSP Streaming Using Media Player

Sep 19, 2009

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.

View 4 Replies View Related

Android :: Media Player Application - Video Streaming Through RTSP Protocol

Feb 16, 2010

I am writing a media player application in Android when I calling a mp.prepare() it is giving a IllegalStateException. The same RTSP URL working with VLC or quick time Media Player.

View 2 Replies View Related

Android :: RTSP Streaming With Media Player On Android 1.5 Image?

Sep 16, 2009

Could anyone make mediaplayer play the rtsp streaming work successfully on the standard HTC Android 1.5 image? I have tried a lot, but It always failed.

View 2 Replies View Related

Media :: Find A Media Player To Play Streaming Videos On Andro?

Sep 1, 2010

Does 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.

View 1 Replies View Related

Media :: No Media Player Will Play Music In Order As CD

Jul 7, 2010

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 Related

Media :: Media Player Not Play Downloaded MP3 Files?

Oct 23, 2010

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:

[Quote]

View 5 Replies View Related

Android :: Phone Play Video In Media Player From Given URL?

Oct 24, 2009

Can 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 Replies View Related

Android :: Can Media Player Play .wav Fomat Audio?

Feb 16, 2009

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 Related

Android :: Media Player - Play Video From Sdcard

Sep 13, 2010

I 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.

View 1 Replies View Related

Android :: Media Player Sluggish To Play Sounds

Mar 31, 2009

I 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 }

View 4 Replies View Related

Android :: Possible To Use Media Player To Play Streaming Audio?

Mar 21, 2010

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"

View 6 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 :: Media Player Cant Play From Program Data Folder

Sep 22, 2010

When 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 Related

Android :: Getting Streaming Audio To Play With Media Player Class?

Jul 21, 2010

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()

View 1 Replies View Related

Media :: Which Player Will Play .mov Files?

Jul 15, 2010

As the headline say:How can I play .mov files on my HTC Desire?

View 3 Replies View Related

General :: Air Play Media Player

Feb 8, 2014

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.

View 2 Replies View Related

Media :: Player - Converter To Take A DVD And Play It With Menu / All?

Nov 3, 2010

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?

View 3 Replies View Related

Media :: Stock Music Player / Play Ringtones Too?

Sep 6, 2010

I am using the stock music player. Why does it also play the ringtones that I have added to my SD card?

View 2 Replies View Related

HTC Hero :: Media Player To Play .flv Files Without Having To Convert To .mp4 / .3gp?

Apr 18, 2010

Anyone know of a media player that will play .flv files without having to convert to .mp4 or .3gp ?

Seems strange that youtube streams fine, but you can't play the downloaded files in the default media player.

View 3 Replies View Related

HTC Hero :: Media Player Apps Which Can Play AVI , Mpeg , DivX , FLV?

Jan 25, 2010

Are there any MEdia Player Apps. which can play AVI, Mpeg, DivX, FLV, etc?

View 3 Replies View Related

General :: Play Windows Media Player Embedded In Webpage?

Jun 5, 2013

I need to embed windows media player in a web page and show streaming video from my server with a url. I have WMP on my phone and the video streams through it fine. Is there any way to embed this now in a web page? It does not play. Do I need a special plugin or what?

View 2 Replies View Related

General :: Adobe Flash Player Stops Buffering Mid Way Through Video

Apr 1, 2013

I can start streaming a video perefectly. However, if i pause it to go do something, or to let it pre-buffer, and i play it again, it will play for a little then stop. I look at the seekbar and it says its fully buffered. However, its not and it doesnt play anything and just sits their saying its buffering.

My guessing, well first attempt and finding the culprit, is that the service that is processing the video gets prematurely terminated and restarted thus returning that the buffer is complete.

View 3 Replies View Related

2.1 Update :: Any Player Which Can Play All Video Formats?

Nov 9, 2010

I tried searching all kind off applications for this but dint find to my expectations. I tried for Vplayer, but it says, cannot install. Iam using an X10 Mini Pro.

View 2 Replies View Related

Android :: Playing Media Through Http/rtsp

Nov 2, 2009

Did anyone try playing audio/video through http/rtsp. I am having a problem with either of the approach.... I am getting an error Command PLAYER_INIT completed with PVMFError I some cases I got Command PLAYER_INIT completed with PVMFErrorContentInvalidForProgressiveDownoload.

The code snippet I am using is given below...

CODE:.....................

The code works fine when I say mVideoView.setVideoPath("/sdcard/vv.3gp"); but not able to play if I give a rtsp/http urls

In case of http it says PVMFErrorContentInvalid for progressive download....

View 2 Replies View Related

Android :: Receive And Play MMS Or RTSP Audio Stream?

Jul 2, 2009

does android can recieve and play MMS or RTSP audio stream? or just can address for HTTP stream?? i try for MMS stream,but there is nothing to hear..

View 2 Replies View Related







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