Android :: Youtube Fails To Stream Video
Jun 29, 2010playing youtube videos in android. I have tried the RTSP but it fails to stream the video.
View 2 Repliesplaying youtube videos in android. I have tried the RTSP but it fails to stream the video.
View 2 RepliesAnyone had issues trying to upload large files to YouTube over 200MB? (and yes, this was tested over home wifi)
It tells me that it attempts to upload, fails right away and then attempts again in 1 min, etc and so the cycle goes.
I am trying to build a music app on a android device with GStreamer ported on it. But when I try mp3 url streaming on http, it failed to handle stream (however, it works perfectly fine on Android devices with base Media Framework, OPENCore). So I wanted to know whether GStreamer supports http url streaming, or is there any other way of doing it.
View 1 Replies View RelatedPlease give me a clue, to pass CTS. I'm try to do CTS test. The Android 1.5 r3 which I get from Android Open Source fails CTS. Mean while, if I download Android 1.5 r3 and run CTS test for emulator it's PASS. the module fail CTS is: java.io.OutputStreamWriterTest I run test with follow string: start --plan Java -t tests.api.java.io.OutputStreamWriterTest#test_write$C I found that java.io.OutputStreamWriterTest class belongs to core.jar I compared sizes of core.jar build by me and build by Google, and it's different for 362 bytes. I'm completely frustrated. What's I'm doing wrong! For building we use: Java jdk: 1.5.0_16 Ubuntu version: 8.04 All others libs installed as mentioned on the http://source.android.com/download. Building by command: make or make sdk Error log:
<FailedScene message="junit.framework.AssertionFailedError: Error when reading bytes in UTF-8 expected:"8916"; but was:"8907"; at tests.api.java.io.OutputStreamWriterTest.test_write$C (OutputStreamWriterTest.java:470)"> <Stack Trace>at tests.api.java.io.OutputStreamWriterTest.test_write$C (OutputStreamWriterTest.java:470) at java.lang.reflect.Method.invokeNative(Native Method) at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:164) at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:151) at android.test.InstrumentationTestRunner.onStart (InstrumentationTestRunner.java:418) at android.app.Instrumentation$InstrumentationThread.run (Instrumentation.java:1520) at tests.api.java.io.OutputStreamWriterTest.test_write$C (OutputStreamWriterTest.java:470) at java.lang.reflect.Method.invokeNative(Native Method) at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:164) at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:151) at android.test.InstrumentationTestRunner.onStart (InstrumentationTestRunner.java:418) at android.app.Instrumentation$InstrumentationThread.run (Instrumentation.java:1520) </Stack Trace>
I am trying to open a remote Stream of a JPEG image and convert it into a Bitmap object code...
The decoder returns null and in the logs I get the following message:
DEBUG/skia(xxxx): --- decoder->decode returned false
Note:
1. the content length is non-zero and content type is image/jpeg
2. When I open the URL in browser I can see the image.
What is that I am missing here?
how to make android facebook app play youtube video with youtube app?
When i press the browser he opens a link from m.facebook to m.youtube and i dont want that...it will be better if facebook app let me choose between orig.browser,opera,skyfire and most important for me "youtube" app....
I have try another app named 3d flower facebook (is just like old facebook app but there are so much things missing) that do excactly that....
Galaxy s jw1 semaphon 2.0.5sc
I'm very excited by prospects of Gingerbread being on the horizon and possible new nexus! Can anyone help with the reason why the YouTube app may not download successfully? I am on version 1.6.21 by cannot update to latest version.
View 3 Replies View RelatedI 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 Relatedhtc 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.
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
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).
I am a new android/captivate buyer. Try as I might (googled for a few hours) I could not find anything on the Captivate and it's Hd playback. My question is: Is there a way I can play Youtube HD on my Captivate via stream? (and NO I don't mean High Quality I mean straight up HD *720p*.).
I'm just mad the iphone 4 can and I can't find a way to do it on my captivate.
There is an online stream that is 512Kb MPEG4 and total size of 312mb online and if I'm correct after looking over docs in order to play the movie I just simply put:
CODE:..................
It is triggered to play after a button press which after a few seconds after pressing the button it plays the audio BUT doesn't show the video, why not? Do I have to use a surface view or something for visual playback of the stream.
I have an activity that uses VideoView and MediaController. I have a .mp4 file. When I put the file in res/raw folder, I can play the video using Uri.parse("android.resource://<package>/" + R.raw.id_video)
However, when I put the same file in the filesystem, it plays properly. I use videoView.setVideoPath("/sdcard/myfile.mp4");
Is there an app to capture video when watching let's say YouTube or any video? Was looking for something like that so I could capture my baby boys face as he watches videos .
View 2 Replies View RelatedI am running a version of pl3x on my Moto Droid. I am not able to play any video (even youtube via the app). I have tried both the main player and kmplayer. I actually first noticed this earlier today when trying to play a video on youtube (it worked yesterday). I have run into this in the past and wrote it off as the rom (I do not remember which one I was running at the time) but restoring from an old backup followed by install of pl3x fixed it. I am really looking for an option other than flashing my phone again since it seems to happen multiple times on multiple roms.
View 1 Replies View RelatedI want to play video file that exists in one of my servers. I am using MediaPlay and VideoView classes and it works fine but the problem is that the video start to play only when it finished downloading the whole file. How can i stream it, meaning play the video while it continues to download?
View 4 Replies View RelatedI want to stream a video to Android, preferably over RTP. Session setup would be done with SIP. Any ideas where to start? I looked at sipdroid, but there is only audio.
View 2 Replies View RelatedI want to get the stream and send it to server directly by using MediaRecorder.
Actually, I am able to record the video,and able to store it into sdcard. Now I want to it to stream (live stream) to server rather than storing it.
I am trying to play the streaming video using the API demo application. I set the path to mp4 link from the web.
when i run it with Nexsus 1 (SDK 2.2.1) it is working as expected but on HTC Dream (SDK 1.5) it throws the following exception:
CODE:.......................
Currently I am developing an application that will stream video using RTP and SIP. I have this mostly working with audio working fine both ways using Java (and native) codecs. I can stream out video also from the camera to a windows client.
The problem comes from when I want to receive and decode the video on the android platform. I understand at this stage that Mediaplayer only supports RTSP streams. Ironically it does what I need (by getting the SDP information from using RTSP SETUP call and using that RTP/UDP information to receive the stream). But I can't seem to access this functionality, all it takes as input is a RTSP url. If you are unfamiliar the difference between RTSP using RTP and SIP using RTP. You can read about the differences here<http://www.cs.columbia.edu/~hgs/rtsp/faq.html#rtsp_sip> .
What I need to do is take an RTP stream encoded with h.263-1998 and somehow pass it to the mediaplayer (or even a lower level api if somebody can provide an example).
The only way I can think around this is to write another service to receive the RTP stream and provide an RTSP interface... but this is a really ugly solution.
I bought a cable, manufactured by HTC, which is supposed to give you the ability to stream video out via the device's usb connector. It has a usb connector on one end and splits out to three rca plugs on the other (the usual red, white, and yellow for audio and video). HTC claims that the cable is compatible with my phone (the HTC Eris). When I connected the cable and it didn't work, I wrote to HTC support, which replied that I need software to enable the phone to do this. I searched the anroid market and the web and could not find any such software. I wrote back to HTC asking for them to suggest software to me and they never responded. Does anyone know of such software? Would HTC manufacture a cable in anticipation of somebody developing the proper software?
View 4 Replies View RelatedHas anyone gotten vuze to stream video to their phone? If so what on the phone needs to be done, some app or setting? PS3 works great, although that I can actually see the vuze device fine. In vuze it see's my phone in the devices but I'm not sure what to do other than copy over the movie to the phone in vuze. Plus it looks like the phone is grayed out in vuze.
View 2 Replies View RelatedI would like to be able to capture the video from an android phone camera, and then process this video. Processing involves adding a layer of AR to the live stream. Is this possible on android? Pretty sure it should be. I have looked at the android site [http://developer.android.com/guide/topics/media/index.html] but this seems to be concerned with video capture and storage. I would like to be able to play with the video pre-storage.
View 1 Replies View RelatedI've searched several forums but it's been hard to find a clear-cut answer for the app I'm looking for. There is an app for iphone called "here file file" that from what I understand allows a user to access and play pretty much any file such as audio and video on their iphone that is on their Mac. You don't have to be at home using your own wifi connection or any wifi connection for that matter. So basically you can access your Mac files from anywhere and play them on your iphone. I've seen remote desktop apps but I'm not sure they do the same thing and I've seen mention of things like orb and vlc but does anyone know if they do what I'm looking for? I have a new Samsung Moment and would love to be able to do this.
View 16 Replies View RelatedI have a Samsung Moment with Android 2.1 on it and lately I cannot stream music or video in any app that I try. The YouTube app says "Sorry, this video cannot be played." for every single video, and if I try to use something like DroidLive (for shoutcast and such) it has a connection error every time. Grooveshark has an "Unknown MediaPlayer error." I tried a few other random apps off of the market to try to rule things out and none of them would play. Music that is stored on my SD card plays just fine.
It doesn't only not work sometimes, it doesn't work 100% of the time now. Happens when I have 3G and even if I'm connected to Wifi. I did a factory reset last night thinking that maybe an app had messed with a setting somewhere and it still doesn't work. I have no clue what else I could possibly try.
EDIT: As requested by the stickied thread:
1.) Model Number - SPH-M900
2.) Firmware Version - 2.1-update1
3.) Baseband Version - S:M900.8.0S.DD03
4.) Kernel Version - 2.6.29
5.) Build Number - ECLAIRDD03
And the hardware version is M900.8.0
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 RelatedI'm developing an application that makes video stream to an internal network, so I need to broadcast to listeners devices (connected to this network), found an application called VPLAYER receiving video stream, but it performs HTTP, which makes the broadcast. So, I wonder if there is any player that receives video stream and run under the UDP or whether it is possible to develop an application that receives the video stream and pass to the player's native android.
View 1 Replies View RelatedI am sending a MPEG4 video stream in RTP format over RTSP to my android emulator using ffmpeg and ffserver. I use the Android VideoView to play the RTSP stream. I do not see the video. The error in LogCat is pasted below. Is there some specific that I need to do? If I use the Android 2.2 to run the same code, the video plays fine.
I also tried coding video using H263, but that stream does not play in 1.6/2.2 emulator =================================================================================== 07-16 15:50:46.073: DEBUG/PlayerDriver(554): buffering (6) 07-16 15:50:46.273: DEBUG/PlayerDriver(554): buffering (6) 07-16 15:50:46.474: DEBUG/PlayerDriver(554): buffering (73) 07-16 15:50:46.683: DEBUG/PlayerDriver(554): buffering (73) 07-16 15:50:46.884: DEBUG/PlayerDriver(554): buffering (73) 07-16 15:50:47.092: DEBUG/PlayerDriver(554): buffering (73) 07-16 15:50:47.293: DEBUG/PlayerDriver(554): buffering (73) 07-16 15:50:47.492: DEBUG/PlayerDriver(554): buffering (73) 07-16 15:50:47.703: DEBUG/PlayerDriver(554): buffering (73) 07-16 15:50:47.902: DEBUG/PlayerDriver(554): buffering (73) 07-16 15:50:48.113: DEBUG/PlayerDriver(554): buffering (73) 07-16 15:50:48.123: DEBUG/PlayerDriver(554): buffering (100) 07-16 15:50:48.162: ERROR/SW_DEC(554): PV SW DECODER is used for MPEG4 07-16 15:50:48.223: INFO/MP(807): onPrepared called 07-16 15:50:48.223: INFO/MP(807): vv start 07-16 15:50:48.252: INFO/mediaDuration3(807): -1 07-16 15:50:48.384: ERROR/PlayerDriver(554): HandleErrorEvent: PVMFErrCorrupt 07-16 15:50:48.652: WARN/PlayerDriver(554): PVMFInfoErrorHandlingComplete 07-16 15:50:48.652: ERROR/MediaPlayer(807): error (1, -10) 07-16 15:50:48.652: ERROR/MediaPlayer(807): Attempt to call getDuration without a valid mediaplayer 07-16 15:50:48.652: ERROR/MediaPlayer(807): error (-38, 0) 07-16 15:50:48.794: ERROR/MediaPlayer(807): Error (1,-10) 07-16 15:50:48.794: DEBUG/VideoView(807): Error: 1,-10 07-16 15:50:48.794: INFO/MP(807): onError called 07-16 15:50:49.063: ERROR/MediaPlayer(807): Error (-38,0) 07-16 15:50:49.072: DEBUG/VideoView(807): Error: -38,0 07-16 15:50:49.072: INFO/MP(807): onError called ===================================================================================
Is there any way to Stream video From iPhone Or Android to RTMP Server using Red5??
i searched over internet and there is only 2 application that mange to do this successfully
(UStream , Qik)
the problem they closed source So if anyone could help me find some code snippets that make this possible ??