General :: How To Record Received RTSP Video Streaming On Android Client
Oct 3, 2012
How to record the received rtsp video streaming on android client.
I need record the received video by a android smartphone via rtsp streaming (DSS 6) in mp4 or yuv file format.
I can do this using a pc/linux client but i do know how to do this on android.
Also, can an i access a android device using ssh and execute vlc, mobo or mplayer on it? How?
View 1 Replies
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
Jul 26, 2010
I need HTTP/RTSP Video Streaming with Android. Any Ideas ?
Is that possible to go with JMF with Android ? Any Working examples ?
Already tried with
http://davanum.wordpress.com/2007/12/29/android-videomusic-player-sample-from-local-disk-as-well-as-remote-urls/
Its not working with my case. Are there any specific types of videos that Android can stream?
View 1 Replies
View Related
Feb 3, 2009
I'm trying to receive RTSP streaming video with g1. The video file I made was encoded using QuickTime pro, and they are progressive streamable with a hint track. Video is encoded in H.264, and audio is encoded in AAC LC. File container is MP4. (They can be played via sdcard). I used Darwin Streaming Server to stream this file. With sample media player given from android, I changed 'path' to the address like "rtsp://172.29.10.109/test.mp4". The results are really odd. It sometimes (like once per 20~30 times) runs well, but in other times, only audio is played and video freezes after first 1~3 frames.
View 15 Replies
View Related
Apr 15, 2009
I am able to play a local video in full screen through Mediaplayer. But supplying an RTSP link to it gives a blank screen. Using VideoView, however, I am able to play the same RTSP link but not in full size. DavidSparks I am attaching a cc to you cos I have seen a similar kind of issue in your name. Can anyone help me in playing a full screen RTSP video. The Youtube application in G1 does so.
View 2 Replies
View Related
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
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
Jul 10, 2010
I've Set up wowza streaming server in my ubuntu box for RTSP streaming video files. The video gets stream perfectly when I've Totem video player at client side. The same URL or video is failing to work on android device and the application that tries to access that RTSP URL breaks with Mediaplayer error (1,-1).
View 1 Replies
View Related
Dec 3, 2009
I am currently involved with developing a streaming media player for android. For testing purpose I have HTC HERO , HTC G1, and droid. I could stream audio and video both for only HERO. On G1 and Droid I get this error "Player Engine AO did a leave , error = 101 ", surprisingly this comes as soon as describe response is sent to the client!. So far I have not able to find out the exact cause of this error. Should it imply that (on droid and G1) Video type H264 is not supported for streaming? (RTSP).
Firmware details.
HERO >> 1.5 G1 >> 1.6 droid >> 2.0
RTSP streaming for only aac works fine on all the devices.
View 3 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
Jul 6, 2010
Video streaming using RTSP. I 'm trying to install a Wowza server on my linux machine to enable the RTSP streaming for my android application. On android client side what sort of changes do I need to make in my application. I am using Videoview to simply play a video file stored locally. Now I want to get the video content get streamed through the server that I've installed. If necessary I can move to any other streaming server as right now I 'm doing a research on streaming servers.
View 2 Replies
View Related
Oct 8, 2010
I'm trying to stream video to an android phone via rtsp. I think my SDP isn't quite right and there's something in it that the phone doesn't like. Below is the trace from the phone. Any idea what's wrong with the SDP that causes the player to give up?
10-08 14:11:22.657 I/RTSPEngine( 5031): RTSP Server response:
10-08 14:11:22.657 I/RTSPEngine( 5031): RTSP/1.0 200 OK
10-08 14:11:22.657 I/RTSPEngine( 5031): CSeq: 0
10-08 14:11:22.657 I/RTSPEngine( 5031): Date: Fri, 8 Oct 2010 21:11:24 GMT
10-08 14:11:22.657 I/RTSPEngine( 5031): Expires: Fri, 8 Oct 2010 21:11:24 GMT
10-08 14:11:22.657 I/RTSPEngine( 5031): Last-Modified: Fri, 8 Oct 2010 21:11:24 GMT
10-08 14:11:22.657 I/RTSPEngine( 5031): Session: 123456
10-08 14:11:22.657 I/RTSPEngine( 5031): Content-Type: application/sdp
10-08 14:11:22.657 I/RTSPEngine( 5031): Content-Length: 207
10-08 14:11:22.657 I/RTSPEngine( 5031):
10-08 14:11:22.657 I/RTSPEngine( 5031): v=0
10-08 14:11:22.657 I/RTSPEngine( 5031): o=- 21070 3 IN IP4 0.0.0.0
10-08 14:11:22.657 I/RTSPEngine( 5031): c=IN IP4 0.0.0.0
10-08 14:11:22.657 I/RTSPEngine( 5031): s=xxxxx H.263 video stream
10-08 14:11:22.657 I/RTSPEngine( 5031): i=Video stream
10-08 14:11:22.657 I/RTSPEngine( 5031): t=0 0
10-08 14:11:22.657 I/RTSPEngine( 5031): m=video 0 RTP/AVP 103
10-08 14:11:22.657 I/RTSPEngine( 5031): a=rtpmap:103 H263-1998/90000
10-08 14:11:22.657 I/RTSPEngine( 5031): a=fmtp:103 profile=0; level=40
10-08 14:11:22.657 I/RTSPEngine( 5031): b=TIAS:2048000
10-08 14:11:22.667 E/PlayerDriver( 5031): Command PLAYER_INIT completed with an error or info PVMFErrNotSupported
10-08 14:11:22.667 E/MediaPlayer(13821): error (1, -4)
View 2 Replies
View Related
Jul 29, 2012
I am developing a application detect thief via ip camera.I watched successfully camera via rtsp on surface view, but I have a problem "how can I detect color in around center of surface view". In this case, If someone wear red T-shirt appear in front of camera, this app will notify that is red color.
I try to use mediametadataretriver with getFrameAt() method but fail, this method work well with mp4 local video.
How to capture frame from rtsp streaming on surface view?
View 1 Replies
View Related
Jun 11, 2009
To read RTSP streaming has been discussed a lot, but still not solved. Now android 1.5 realized, can RTSP streaming be played in android? The method setDateSource seems provide a way to receive RTSP streaming.
public void setDataSource (String path)
Sets the data source (file-path or http/rtsp URL) to use. Parameters path the path of the file, or the http/rtsp URL of the stream you want to play Throws IllegalStateException if it is called in an invalid state IOException IllegalArgumentException. Who knows how to use it? I wrote:
MediaPlayer mp =new MediaPlayer();
try { mp.setDataSource("rtsp://live.cri.cn/pop");
mp.setAudioStreamType(AudioManager.STREAM_MUSIC);
mp.prepare(); mp.start();
} catch (IllegalArgumentException e) {
// TODO Auto-generated catch block e.printStackTrace();
} catch (IllegalStateException e) {
// TODO Auto-generated catch block e.printStackTrace();
} catch (IOException e) {
// TODO Auto-generated catch block e.printStackTrace();
}
But didn't work. May be the parameter in setAudioStreamType is wrong. Who knows?
View 2 Replies
View Related
Mar 20, 2009
I have difficulties to stream a video file via RTSP using wireless LAN inside the browser. It works fine over the cellular network (WLAN deactivated). But if WLAN is activated the player the starts loading the clip but eventually displays an alert window stating that video playback is not possible. I encountered this issue on m.youtube.com and also on another site. Is it a bug? Maybe it is the T-Mobile branding?
View 4 Replies
View Related
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
Jan 21, 2010
Our team has been working on a live video application for Android and we'd like to get to a very low end-to-end delay. We use H.264 coded video, RTP packetization, and RTSP to reach the player. We have been experimenting with CIF resolution on Android 2.0. We have been experiencing about 3 seconds of delay on the player side. Any tips on how we could reduce it?
View 2 Replies
View Related
Jul 18, 2010
I am wanting to try out RTSP locally so that I can play about with it etc. I've got RTSP working from m.youtube.com and would now like to try and get it so it streams from my LAN. Obviously the Emulator is no good, because like I've read it either requires a lot of computing power OR it has an internal firewall that prevents playback. Which ever the reason, the Emulator is not working. So I attached my HTC Hero to my LAN via WiFi (connected it to my WiFi router). I also have another computer (lets call it Computer A) attached to my WiFi via Ethernet cable, and then another computer (lets call that Computer B) attached to that one, again via Ethernet.
Now I've run Wowza server on Computer A and tried to browse via my HTC but it seems it is trying to connect out to the internet every single time. I've also run an Apache web server on Computer A, but Hero still can not see this, so I know it's not a configuration fault on the servers. How can I test RTSP when I can't even get my Hero to connect to my local network ? I've searched around to see what the problem but can't find it, so either no one knows, or more likely I am not putting in the right search parameters. Can someone perhaps guide me on this on how to attach phone into Local network? Once I have it connected I can play about with RTSP to my heart's content then.
View 3 Replies
View Related
Apr 21, 2009
I am doing development on RSTP streaming on cupcake. I want know more clear about it, so my question is, which version of 3GPP PSS has been support on cupcake, R4, R5 or R6?
View 2 Replies
View Related
May 22, 2013
I am creating video playing app from Youtube. I have extracted Video Data using gdata API and got 3gp url for format 1,6. This i got extracted from Media:Group --> Media:content element. My Device Info Android Version 4.0.3.
These video is working in VLC Player but not in VideoView in my app. Here is my code:
Code:
android:id="@+id/LinearLayout01"
android:layout_height="fill_parent"
android:paddingLeft="2px"
android:paddingRight="2px"
[Code]...
I removed // from link as forum was not permitting me to put links
View 2 Replies
View Related
Apr 14, 2014
any easy way to record the activities and views on my Android app to a video without root access. To be a bit more specific, I am looking for a screen-recording solution so that I can get a video of the user's interaction with the app interface. Connecting the phone to any device such as a computer to do the recording is not an option.
Here is a sample gif that I created using a Mac screen recorder to record the iOS simulator interface. It gives a rough idea of what I would like to achieve on Android, except for the fact that I would like the same to be from the actual phone (not the emulator) and without having to connect the phone to a computer or any other device.
View 2 Replies
View Related
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
Mar 19, 2012
Is there any app to record video cm9 dont like the cm9 one
View 1 Replies
View Related
Jul 27, 2010
My main dev phone is a Nexus 1 running 2.2. I have successfully been streaming live video to this device from a Wowza server for several weeks now. I have now taken my application (without modifications) and put it on a Sony Ericsson Xperia running 1.6. The video will not play. I get the following errors:
MediaPlayer: Couldn't open file on client side, trying server side
... MediaPlayer: info/warning (1/26)
PlayerDriver: Command PLAYER_INIT completed with an error or info PVMFFailure
MediaPlayer: Error: (1,-1)
VideoView: Error: 1,-1
I've been googling around, but just can't seem to get a clear answer. Does anyone know if live streaming just doesn't work on some versions of Android?
View 1 Replies
View Related
May 30, 2012
I just got my new galaxy note (i717) on friday (immediately flashing it with OnlyOne beta 2 (ics)) and I would like to use it for a bit of podcasting using the front camera to record myself while I read text from some teleprompter software.
I can record video from the front camera just fine, and it actually comes out a bit higher quality than I expected even, but for the life of me, when i hit the record button and then switch away from the camera app to the prompter app, it gives me an audio notification that the camera has stopped recording.
is there prompter software that has an integrated video recorder? (that'd be pretty sweet imho) or better, some way to record video while another app (that's not particularly resource intensive) is in use? - I don't mind trimming and cutting the video together (there are actually some pretty decent editing tools for android i've found) but I can't figure out a way to record and prompt at the same time...
View 5 Replies
View Related
Apr 12, 2012
I have a question regarding the Android MediaRecorder -
My test device
HTC Desire HD
Firmware 2.3.5
I want to write an app, which records a video. This should be implementet via the MediaRecorder (not via Intents). On the Google-Developers site I found a "tutorial" [URL]
My problem:
I followed the whole tutorial. When I'm starting my application on my test device it throws an exception ("start failed") at recorder.start() if I set the quality to high (CamcorderProfile.QUALITY_HIGH). If I change the setting to QUALITY_LOW the app starts recording for 1-2 seconds. After that the screen freezes and my LogCat tracks the following errors:
media server died!
camera server died
ICamera died
I also get ERROR 100
View 2 Replies
View Related
May 1, 2011
Is there an app that allows you to record the screen in video format? I know sill pictures can be done...
View 9 Replies
View Related
Jun 25, 2013
I've been looking for some torrent films, and I have seen some users saying "Want YIFY", "when YIFY?". So on google I have searched for the meaning of YIFY and I have figured out that movies longer than 1.5hrs in 1080p had a size of 1gb approximately. But when I record 10 minutes video it takes 1gb.
My questions are, how to record video using the YIFY method? Do I have to go in root files and change the camera profile file?
Is it possible to record out in *.mkv format with low bitrate? Or any alternative to?
In clear, how to record 1080p videos with the smallest size possible?
LG Optimus G E975 on Android 4.1.2 Rooted & Bootloader Unlocked
View 1 Replies
View Related
Sep 28, 2012
I am trying to make app that recod video from the front camera
I have a code that work in all devices that i know but not in sg3. How to record video with the camera in sg3?
this is my record code:
mMediaRecorder = new MediaRecorder();
mMediaRecorder.setCamera(mRecoredCamera);[code]....
this is the exception im getting:
java.lang.RuntimeException: start failed.
at android.media.MediaRecorder.start(Native Method)
View 1 Replies
View Related
Apr 29, 2009
I need your help regarding streaming in android. I read some of the previous discussions but I have a few doubts which I thought of clarifying from you. Please help me with the following aspects:
(i) Does android supports RTSP and HTTP streaming?
(ii) One discussion read -> "Streaming does not work in the emulator environment due to some firewall issues in the emulator network layer". Is this issue not resolved till now?
(iii) I used the api demo code available
@ ApiDemossrccomexample androidapismediaMediaPlayerDemo_Video.java
Here I set the path as->
path = "Rtsp://10.2.5.220/sample_50kbit. 3gp"; OR as ->
"path = "rtsp://10.2.5.220/sample_100kbit.mp4"
This is crashing @ mMediaPlayer.prepare();
(I am using darwin streaming server)
This is playing fine in local playback. But, I am not able to understand why it is crashing here.
(iv) The supported codecs are MPEG4 Video, AVC, MPEG4 Audio, AMR, and H263. Am I correct? I await your response. Kindly assist.
View 5 Replies
View Related