Android :: Playing Video Using Mms Protocol
Mar 27, 2010
Using the Android SDK, is it possible to play a video stream using the MMS protocol I am streaming video from a PC using windows media. I can use Windows Media Player to play the stream by just inputting the following URL in Windows Media Player mms://192.168.223.194:8081. Is it possible to play the same stream using the Android SDK?
View 1 Replies
Oct 13, 2010
I'm developing an application on Android 2.2. This application have to read some h264 videos using HTTP protocol. To read a video, I'm using following methods :
// INIT PART mMediaPlayer = new MediaPlayer(); mMediaPlayer.reset();
mMediaPlayer.setOnErrorListener(this); mMediaPlayer.setOnBufferingUpdateListener(this);
mMediaPlayer.setOnCompletionListener(this); mMediaPlayer.setOnPreparedListener(this);
mMediaPlayer.setOnSeekCompleteListener(this);
mMediaPlayer.setAudioStreamType(AudioManager.STREAM_MUSIC);
// SET DATASOURCE mMediaPlayer.reset(); mMediaPlayer.setDataSource(url);
mMediaPlayer.prepareAsync();
In prepareAsync callback : public void onPrepared(MediaPlayer mediaplayer) { mMediaPlayer.start();
}
View 2 Replies
View Related
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
Dec 3, 2012
I am using the Alcatel OT-918d (stock rom, root access enabled) and while playing videos in the browser, I do not get an action prompt to choose from the available video players and browser plays the video using "default video player".
The so called "default video player" has been uninstalled though. Have cleared cache, clear defaults, clear data for the browser but still do not get a prompt to choose a video player while playing videos from the browser.
Also installed the "Default App Manager" to check for the default video player. However, it indicates no defaults to play any videos (either from file or streaming videos).
(If I play a stored video from phone or SD card, I do get the prompt to choose a video player. But do not get a prompt if playing any video in the browser.)
View 6 Replies
View Related
Dec 1, 2012
I am using the Alcatel OT-918d (stock rom, root access enabled) and while playing videos in the browser, I do not get an action prompt to choose from the available video players and browser plays the video using "default video player".
The so called "default video player" has been uninstalled though. Have cleared cache, clear defaults, clear data for the browser but still do not get a prompt to choose a video player while playing videos from the browser.
Also installed the "Default App Manager" to check for the default video player. However, it indicates no defaults to play any videos (either from file or streaming videos).
(If I play a stored video from phone or SD card, I do get the prompt to choose a video player. But do not get a prompt if playing any video in the browser.)
View 5 Replies
View Related
Aug 15, 2010
Kindly provide me the code/steps for Android application which will provide the Video Streaming & Video playing functionalities by accesssing the Videos from various video websites available on Internet.
View 1 Replies
View Related
Apr 1, 2009
I have problem in playing video file. Video file is playing nice but i want to play video file in the whole emulator (size).Right now video file is playing but in small size.
View 3 Replies
View Related
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
Aug 20, 2009
From weeeks i m trying to play a video file from raw folder .but no success.
I have used this code:..................
View 4 Replies
View Related
Oct 15, 2009
I'm trying to play video's on Android, by launching an intent. The code ...
View 1 Replies
View Related
Jul 20, 2010
I have had this problem for a while, and my boyfriend has too. I have the moto droid and he has droid eris. When certain people send me picture messages and I touch them to open and view it plays as a video, the picture will play for a second and then go to black screen and then back to the messaging screen. It wasn't sent as a video message by the person so why is it "playing " instead of just letting me open it in the gallery and view it like most? I've searched google and other forums for an answer but still nothing.. its not a huge deal but I would like to fix it if possible.
View 3 Replies
View Related
Mar 28, 2010
Can any one suggest the way by which i can resize the SurfecView while Playing the Video on it.actually I tried the onMeasure() method which is called by measure() .but it does not resized.
View 3 Replies
View Related
Apr 6, 2009
We are trying to test the Music Player (Music.apk) with Monkey. We have added the permissions in AndroidManifest.xml of Camera application (Camera.AK): <uses-permission android:name="android.permission.SET_ACTIVITY_WATCHER" /> In the same file, we have added intent for MovieView Activity: <category android:name="android.intent.category.MONKEY" /> We use the following commands: # Launch the Music Player am start -a android.intent.action.MAIN -n com.android.music/ com.android.music.VideoBrowserActivity # Launch Monkey to test Music player monkey -p com.android.music -v -v -v 500 But, we get the error message: "// Rejecting start of Intent.
View 2 Replies
View Related
Oct 6, 2010
I have code that will bring up a Youtube video on their webpage and the user has to then tap the play option to play it:
CODE:..............
This works fine but what I would really like is to have the video come up in the player on the phone immediately without the user ending up on the webpage and having to tap the play option.
View 2 Replies
View Related
Nov 20, 2010
I have two simple programmes, server and client, both at localhost. What I want to do is to streaming the video from the server to the client through socket and the client can play it by using filediscriptor of the socket. First I try to send some message and the client can receive it. After that I send a few bytes of the video from the server'sd card to the client. The client can receive those bytes but cannot play it. Anyone know how to solve the problem?
Here is my server and client code snippets:
Server:
CODE:..............
Client:
CODE:..........................
View 1 Replies
View Related
Apr 2, 2009
I have written a video player app. Its working fine, but the problem is the screen is going to in sleep mode after playing some time. When I click on "Menu" button on the device, then only it wakes up.
How can I solve this?
View 4 Replies
View Related
Jul 23, 2010
I got a question is it possible in Android to load the video data into a VideoView without it instantly starting to play?? If so, how could I do that?
View 1 Replies
View Related
Jul 21, 2009
I plan to have a 3gp video file that will come with the installation package, it will be placed in /files/ subdirectory, and I would like to ask the native Android media player to play it when I want that.
Here is what I have planned to do/code:
Intent intent = new Intent(android.content.Intent.ACTION_VIEW);
Uri data = Uri.parse("BattlestarGalactica.3gp"); intent.setDataAndType(data,"video/3gpp"); startActivity(intent);
However, when I try to launch the lines above, I get the following error:
CODE:.............
And the video can not be played.
What am I doing wrong that is not applicable to Android platform?
View 7 Replies
View Related
Sep 10, 2010
I've got an Activity with two views set up in a ViewFlipper. One of the views is a layout with a GLSurfaceView and a few other widgets, the other just has a layout with a TextView and a VideoView. When I click on something in the GLSurfaceView, the ViewFlipper swaps so the video can play. In this screenshot, you can see the plain GLSurfaceView rendering a map on the left. On the right is what it looks like after the ViewFlipper has flipped and the video starts playing. The empty transparent area where the GLSurfaceView shows through is where the video is supposed to be. I can hear it playing through the speaker and the timeline is moving forward, so I know it's playing.
View 1 Replies
View Related
Nov 21, 2010
I got this message when trying to play mp4 video on android from url ( video is not valid for streaming on this device )
the code i use to play mp4
Intent intent = new Intent(Intent.ACTION_VIEW);intent.setDataAndType(Uri.parse(url), "video/mp4");startActivity(intent);
how to solve this problem?
View 14 Replies
View Related
Sep 27, 2010
I have a problem in playing video file in android using VideoView. When I keep the .3gp video file locally in res/raw folder, the video file plays successfully. But when I keep this same file on live web server and stream it, it runs on Android G1, Nexus one and Tatoo which I have for testing. But It fails to stream and play on Motorola milestone. I got the error on device as: 'This video is not valid for streaming'. What problem it should be, I am really seek of finding it. Is it the issue of programming or file format?
View 2 Replies
View Related
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
Sep 19, 2010
I am facing problem in properly converting the video for iphone & Android phones. I have converted the video to mp4 using following command...
View 2 Replies
View Related
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
Sep 3, 2010
Not sure if this has been addressed before, but I cant seem to view mms videos. Im using Handscent SMS and when i receive videos via text, they don't seem to load. I just get a, itunes looking image and i only hear the video audio.
View 3 Replies
View Related
Nov 23, 2010
Ok so I see a lot of people saying they are having problems with video playback when importing from their SD Card but Im having the opposite problem.
I just switched over from the Metro PCS Samsung Code which is a Windows 6 phone to EVO and I put my SD Card in my EVO. All my music files play and the mp4 video files play but the audio from the mp4 video files dont. Does anyone have advice on how to fix this?
View 9 Replies
View Related
Nov 30, 2011
Is it possible to play video from a Droid 2 on a TV, if you have a TV with an HDMI input?
View 3 Replies
View Related
Feb 1, 2010
I emailed myself a video from my phone. Downloaded it to my laptop. its a 3gp extension file. What do I play it with? I suppose that if I manually take it off the SD card, it will be the same extension. How do I deal with these files? VLC, QuickTime did not play it. Windows Movie Maker did not open it either. On a Mac it worked fine and flawlessly.
View 4 Replies
View Related
Jan 8, 2010
I need to know if there is a way for watching .WMV videos on the HTC Hero.
I already know that it will play MPEG-4 videos without a problem (you can use the RealPlayer Video Downloader to download HQ/HD videos from places like Youtube and it automatically saves them to MPEG-4 format).
However, I want to transfer some files like music videos onto my HTC Hero and having tried several times, using the RealPlayer Converter, to convert the .mpg files to .wmv, I can't watch them on the Hero.
However, I recently looked at one of the threads (I think on a different forum) and he said that he could watch videos in WMV format using 750kbps on resolution 480x320. But RealPlayer only allows for 768kbps and resolution as 480p HD as the nearest possible (which was the setting I ordinarily chose).
The other strange thing is that when I go onto the Albums part of the phone to see if I can view any videos, it shows a thumbnail image of the music video (a preview image of the video) and when I play it, I can hear the music, but the video itself fails to appear.
View 4 Replies
View Related
Aug 26, 2010
I cant play the videos i have recorded on my laptop as it doesnt recognise the 3gp format. How have you been getting around this as there are some i want to keep for memories but it is useless if i cant play them back on another device.
View 1 Replies
View Related