Android :: Playing RTSP Stream For Mobile Youtube Website?

Jan 18, 2010

I was tried for RTSP stream for a long time, finally I could success to play the RTSP stream from mobile Youtube website:
http://m.youtube.com/
My approach is to copy the stream link and paste it in my code, then, there are sometimes success to work(play) on Android and sometimes will not. I can't figure out why? Is something wrong about Youtube server? Because my code is just the same, and only change is the stream link URL. I used VideoView widget and my Android platform is sdk 1.5 and under x86-based, so I really want to know why and how can I solved for this. This is the logcat when I can't work for the video stream.
W/PlayerDriver( 2116): Using generic video MIO
E/PlayerDriver( 2116): Invalid percentage buffer size 8 (expected 4)
E/PlayerDriver( 2116): Invalid percentage buffer size 8 (expected 4)
E/PlayerDriver( 2116): Invalid percentage buffer size 8 (expected 4)
E/PlayerDriver( 2116): Invalid percentage buffer size 8 (expected 4)
E/PlayerDriver( 2116): Invalid percentage buffer size 8 (expected 4)
E/PlayerDriver( 2116): Invalid percentage buffer size 8 (expected 4)
E/PlayerDriver( 2116): Invalid percentage buffer size 8 (expected 4)
I/ServiceManager( 2112): service 'media.audio_flinger' died
W/MediaPlayer( 3344): MediaPlayer server died!
E/MediaPlayer( 3344): error (100, 0)
E/MediaPlayer( 3344): Error (100,0)
I/ServiceManager( 2112): service 'media.camera' died
D/VideoView( 3344): Error: 100,0

Android :: Playing RTSP Stream for Mobile Youtube Website?


HTC Desire :: How To Get YouTube Default Website View On Mobile?

Jun 4, 2010

How to stop youtube displaying the page designed for Mobile phones? I just want to view the site in my internet browser the same way as I can on my computer but when I am on youtube and I choose the Desktop view at the bottom of the page it just reverts back to Mobile view instead. I've disabled all the settings in my browser that convert sites to mobile views etc etc. It only does it on youtube and I cant stand the youtube app on my phone. I don't want any other apps or anything like that I just want to view it like I do on my comp.

View 1 Replies View Related

Android :: Rtsp Client For Stream Video?

Jun 28, 2010

say if android supports an RTSP stack? We've an RTSP server that we'd like to stream video to an android rtsp client if thats possible

View 8 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

Android : Delay In VideoView To Play An RTSP Stream

Feb 18, 2010

I'm using VideoView to play an RTSP video stream. It works fine, however on my Android phone the audio lags the video by about 3 seconds. If I watch it on my computer with VLC both the audio and video are in sync. Has anyone else experienced this audio delay before and how might I go about correcting it on the phone.

View 4 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 :: Possible To Display Video Information From An Rtsp Stream In Droid App UI?

Mar 23, 2010

I have managed to get a working video player that can stream rtsp links, however m not sure how to display the videos current time position in the UI, i have used the getDuration and getCurrentPosition calls, stored this information in a string and tried to display it in the UI but it doesn't seem to work code...

View 6 Replies View Related

Android : Streaming Audio/video Can't Stream A Rtsp File

Aug 25, 2009

I want to stream a media file on web, and android developer website has said that MediaPlayer.setDataSource() can set the data source (file-path or http/rtsp URL) to use. But I got an error in both G1 device and emulator when streaming a rtsp url file: Command PLAYER_PREPARE completed with an error or info PVMFailure error(1, -1). Does anyone know what is this error, or anyone knows where can I get the error description (1, -1) means? the code can work successfully when playing a audio/video file or streaming a http protocal sudio/video file, but can't stream rtsp protocal file. Is android not supported rtsp streaming?

View 4 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 :: Unable To Play Rtsp Video (H.264) Stream In Froyo Using MediaPlayer

Oct 3, 2010

I have an app that worked fine on Android 2.1 (Eclair) but is no longer working in 2.2.1 (Froyo). I think this may have to do with the shift from OpenCore to StageFright for video encoding and decoding, but am unsure.

The debug logs show two things I'm not sure about:

Does this mean H.264 baseline is not supported? WARN/QCvdec(59): Parsing Error unsupported profile or level No idea about: ERROR/PVOMXVidDecNode(59): Ln 1373 OMX_EventError nData1 -2147479542 nData2 0

Play the following url (it works fine in VLC, for example): rtsp://nexus3.dropcam.com/6821ec44e37846428850ec195d69969a

The code:.........

The debug result:

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

View 3 Replies View Related

Android :: Playing Audio Or Video From Remote URL - RTSP/HTTP

Nov 4, 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.

Can some one explain what is the problem. 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.

Can some body tell me what is the problem. Can you please post the code if someone has been successful in playing audio/video through http/rtsp.

View 8 Replies View Related

Android :: How To Stream Audio / Video Files Using RTSP In Android?

Aug 9, 2010

Would someone post an example of how to stream audio/video files using rtsp in android........

View 1 Replies View Related

Android :: How To Link To RTSP Stream On Android Phone?

Jul 18, 2010

I need to play an RTSP audio stream on an Android phone, linked to from a web-page. What's the simplest way to achieve this? I hope this will be very simple but unfortunately I don't have a phone on which to test.

View 1 Replies View Related

Android :: How To Stream Data And Resources From Website

Sep 12, 2010

how do you stream certain bits of information from a website. From what I understand webview launches a web page, but what if I want to only stream a paragraph that was published on a site. Example: Yahoo! Fantasy Football. Updates on players and the news feed about them.This is obviously a lot more complicated than my question. I would be interested in a tutorial that could walk me through this. Does this also take programming on the server side to send this out?

View 2 Replies View Related

HTC Droid Eris :: Youtube App Vs Youtube Mobile Site

Jul 8, 2010

I just read an article about the improved youtube mobile site at m.youtube.com. I have used the youtube app since the ota that was sent out to fix it and downloaded an apk that allowed it to always default to HQ rather than having to change it each time. But I just tried out the mobile site and it is blazingly fast compared to the app. The only thing that would make me not use this over the app is that I didn't see a way to watch the videos in HQ. Am I missing something? Does anyone else have a preference for the mobile site over the app or vice versa?

View 1 Replies View Related

Android :: RTSP Coding / Surefire Way To Make Rtsp Work?

Apr 24, 2010

I have Googled my butt off trying to find where if there is a surefire way to make rtsp work. I have a radio station that I listen to that streams via rtsp. Of course by default Android doesn't want to play it. If I pop the URL into yourmuze.fm and create a station there it lets me stream it to my phone. After checking how it works I come to find that it streams to the phone via rtsp! So obviously there is something amiss. What makes one stream work and one not? This is the stream I am attempting : rtsp://wms2.christiannetcast.com/yes-fm

It is an audio stream so I would be thrilled with most peoples problem of "it only does audio and not video." When yourmuze.fm streams, DDMS states it brings up MovieView to play the audio if that helps at all.

View 1 Replies View Related

Android :: Audio Stream From Currently Playing Song

Oct 13, 2009

I can capture an audio stream from the mic, but can I capture the currently playing audio stream?

View 2 Replies View Related

Android :: Stream Videos From Youtube On Emulator

Apr 8, 2010

I am trying to stream videos from you tube on my emulator. As per the you tube data api documentation I only see rtsp support from youtube.When I try to use the rtsp url in Media Player, I get an error in prepare() method and the video does not play. Going through the API demos media example I came to know that emulator supports only http based progressive download. I want to know whether I can stream youtube videos using http on my android emulator. Is there any licensed youtube APIs which developers can use?

View 2 Replies View Related

Android :: Youtube Fails To Stream Video

Jun 29, 2010

playing youtube videos in android. I have tried the RTSP but it fails to stream the video.

View 2 Replies View Related

Android : Youtube.com Direct Stream - Will Not Play

Aug 8, 2010

htc desire froyo. When I go to youtube.com from the stock browser I can load the page but when I click to any of videos it looks like it starts to load (loading circle in the middle is rotating) and then I get the message "An error occured, please try again later." at the center of the clip.

I was able to play them but now I can't. Can anyone provide a solution?

And please thank you anyway but do not offer solutions such as: use another browser, go to mobile site, use youtube app (which works by the way).

Main reason for me to switch to android is option to enjoy desktop view of the web on mobile device.

View 1 Replies View Related

Android :: Playing Audio Stream Not Working Using MediaPlayer

Nov 27, 2009

I am trying to make a very simple radio player for Android and I cannot get the audio streaming to work. In my latest attempt it plays for about 1 second and stops for some streams and it doesnt work at all for some other streams. Logcat doesn't give much useful information to me. I am testing on HTC Hero (Android 1.5).

If I hook the completion and buffer events I see the audio gets a complete event but it keeps buffering. Is there anything wrong with the code below? Should I be able to stream the the audio streams below? Is there a complete example somewhere of a working radio streaming?................

View 5 Replies View Related

Media : MP4 Stream Not Playing / How To Fix

Apr 9, 2010

We're currently launching a site with live (TV) and non-live streaming of video material.

The RTSP live feeds play fine on Android (.sdp extension) however other videos published on the side in MP4 format - don't. Neither the browser nor the Meridian player recognise the files and play them.

Any ideas where we went wrong?

PS. I'm not the guy in charge of the video encoding etc. but I'm looking for some tips and information for our team.

View 4 Replies View Related

Samsung Captivate : App - Website That Download - Stream Video Clips In 720p?

Jul 22, 2010

Is there an app or website that lets you download or stream video clips (movie trailers, etc.) in 720p?

I tried youtube and selected "view in high quality" but I highly doubt it was displaying 720p.

View 11 Replies View Related

General :: Stream Music From YouTube In Background On Any Android Device

May 23, 2014

I'm a music fan and I'd like to listen to it on my phone as well. I have an HTC One XL with the latest Viper ROM.

I have tried the following options.

1. Downloaded numerous apps (PVStar, NextVid and the likes). Some worked but not to my satisfaction. They're either very laggy or buggy or have unattractive UI to use.

2. Visited sites like youtify.com and tried on various browsers. (Chrome, firefox, UC, Dolphin, Opera etc.) hoping it won't stop playing audio when switched to another app or screen locked. On chrome and all the others it just stops playing audio when you switch to another app. On firefox it works but when screen is locked, audio becomes choppy (app's priority gets lower I think slowly). I tried to search for apps which can keep an app's priority higher but in no vain.

3. I also tried to find alternatives to Youtube like grooveshark app but it just keeps crashing whenever other apps are launched. I also tried Radio apps like TuneIn radio or pandora but you can't search for specific songs there.

Also some YouTube videos are specifically blocked by Google itself to not stream it to other apps/sites I think. How can we avoid this?

So, basically my problem is I need to be able to search and stream Youtube videos (Preferably have my own saved playlists) on my android phone while the screen is locked or in background while accessing other apps. (I know google is trying to bring 'play in background' feature to YouTube app itself but we can't create playlists there if I'm not wrong).

View 3 Replies View Related

HTC Desire :: YouTube Website - Flash Upgrade

Apr 18, 2010

I noticed today that when I went to the YouTube website in the browser that when I try to play a video is says "Old Flash, Go Upgrade", clicking the link takes me to the Adobe website but it won't let me install the latest Flash. I can still play videos on other websites and also on the YouTube application but just not from the website. Is there a way to upgrade the Flash?

View 2 Replies View Related

Motorola Milestone : Youtube Can't Play On Website / Way To Fix

Sep 4, 2010

i have a European unlocked milestone so it doesn't have youtube app but when i go into the website and press play it just refresh the page..

View 7 Replies View Related

General :: YouTube Link Directing To Website Rather Than App

Sep 18, 2012

Every time I click a YouTube link I am directed to the the website instead of the app. I have cleared permissions and defaults still it directs me to the YouTube.com. GT-I9300

View 1 Replies View Related

Android : Droid Playing Video Data From A Custom Network Stream?

Mar 13, 2010

Does Android MediaPlayer can only work with file sources? I would like play media (video) from a network stream, but the stream comes in a non-standard protocol, so I have to somehow feed Android MediaPlayer with the data only. Is there anyway to do that? I found a few web pages suggesting using a temporary file for the buffered media data etc. but I would like to minimize the I/O usage as much as I can, so I'm looking for a API only solution if there is any? how about JNI? but looks like the permissions going to be an issue with that also.

View 1 Replies View Related

Android :: Playing YouTube Clips

Feb 7, 2009

Most of the time when I click on a link to a YouTube clip it takes me to the YouTube web page where it tells me I need to have flash installed. I'm pretty sure once I clicked a link and it gave me the option to open it in a browser or the YouTube app, but now I'm no longer getting that option. Is there a way to make YouTube videos open in the app everytime?

View 1 Replies View Related

Android :: PVMFInfoUnderflow While Playing Video From Youtube

Sep 10, 2010

while I am playing the video from browser (youtube.com), I am getting the PVMFInfoUnderflow event. Could some one explain why I am getting? in which scenarios we get this error. and if possible try to provide the solution also.

View 2 Replies View Related







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