rtsp-client

Upload live android webcam video to RTP/RTSP Server

别等时光非礼了梦想. 提交于 2019-12-20 09:35:26
问题 I have already done proper research, but still lack information on the thing I would like to achieve. So I would like to program an application where the user can record a video and instantly (live) upload the video to a RTP/RTSP Server. The server side will not be a problem. The thing I am unclear about is how to achieve this on the phone-side. My research so far is that I have to write the video on recording to a local socket rather than to a file, because the 3gp files if written to a file

Does FFMPEG support RTSP authentication?

时光怂恿深爱的人放手 提交于 2019-12-19 03:14:41
问题 Such as... rtsp://user:pass@x.x.x.x/VideoString 回答1: It has been quite q while, not sure what's the story back in 11, but yes, ffmpeg now support so. ffmpeg -i rtsp://user:pass@x.x.x.x/VideoString works. 回答2: ffmpeg support rtsp authentication i think you might be missing quotes covering rstp URL. examples: Not working : ffmpeg -i rtsp://user:pass@x.x.x.x/VideoString Working : ffmpeg -i "rtsp://user:pass@x.x.x.x/VideoString" 回答3: Yea Im having problems with this too. It seems Digest

FFmpeg NaCl module avformat_open_input (on rtsp stream) returns -5: I/O error

試著忘記壹切 提交于 2019-12-12 19:23:36
问题 I want to create an RTSP player in Chrome PNaCl. I have successfully built the ffmpeg naclport including the following networking flags in the build.sh file for the ffmpeg NaCl port. --enable network --enable-protocols --enable-demuxer=rtsp --enable-demux=rtp --enable-demuxer=sdp --enable-decoder=h264 Furthermore, I have successfully coded and the linked the ffmpeg NaCl port in my own PNaCl module. I have included the following network permissions in the manifest.json file: "permissions": [ {

Java openCV 3.0 VideoCapture rtsp stream from Foscam FI9805W

三世轮回 提交于 2019-12-12 05:58:32
问题 I'm trying to get a videostream vom an ip cam with opencv 3.0 in java. Everything works fine if i look for my webcam with this code: VideoCapture camera = new VideoCapture(0); but with the RTSP Stream I get an error. What I found was that it should work to get a RTSP Stream like this: VideoCapture camera = new VideoCapture("rtsp://test:test@192.168.1.76:88/videoMain"); User: test Password: test I am using a Foscam FI9805W. On this website are possible ways to connect but nothings works (http:

RTSP pipeline implemented via C code not working?

社会主义新天地 提交于 2019-12-12 04:38:15
问题 My Scenario is as follows :- I have set up a RTSP server at IP 192.168.1.24 at port 554.I use the following gst-launch command on client side to receive packets and everything works fine. gst-launch rtspsrc location = rtsp://admin:admin123@192.168.1.24:554/axis-media/media.amp ! fakesink But when I implement the same thing via C code it gives me error.My C code is as follows:- #include <gst.h> #include <glib.h> static gboolean bus-call (GstBus *bus, GstMessage *msg, gpointer data) { GMainLoop

Parsing Rtsp response parameter that is sprop-parameter-sets

爷,独闯天下 提交于 2019-12-12 02:43:19
问题 I just get the response from RTSP DESCRIBE request.[ For H264 stream] a=fmtp:96 profile-level-id=42A01E;packetization-mode=1; sprop-parameter-sets=Z0IAKOkAoAQNgPsgAAADACAAAAMDwWIEJQ==,aM44gA== For the sprop-parameter-sets=Z0IAKOkAoAQNgPsgAAADACAAAAMDwWIEJQ==,aM44gA== The RFC 3984 Section 8.1 says that it is [page 45] The value of the parameter is the base64 But using an online Base64 Converter [ http://coderstoolbox.net/string/] i get no meaningfull result from that string... What am i doing

Keeping Alive Rtsp Connection

吃可爱长大的小学妹 提交于 2019-12-09 11:59:44
问题 I have a simple Rtsp Client...The client send Rtsp Commands to Rtsp Server and get RTP packets from server. The problem is that after a time( about 3-4 minute) my 3rd party RTSP Server drop connection with my RTSP Client. I have not implemented RTCP...I take rtp packets from rtsp server but does not send any RTCP PACKET... I make simple search and find that some guys use some RTSP commands[ like OPTIONS, SET PARAMETER-GET PARAMETER ] too keep alive Connections between RTSP Server and Client..

FFMPEG API: How to connect to RTSP stream using av_open_input_file?

戏子无情 提交于 2019-12-09 06:32:08
问题 I'm trying to connect to some RTSP stream using av_open_input_file() like this: AVFormatContext* ic; avcodec_register_all(); av_register_all(); av_open_input_file(&ic, "rtsp://login:password@xxx.xxx.xxx.xxx/videoinput_1/mjpeg/media.stm", NULL, 4096, NULL); It always returns 'file not found'. The same url, though, I can see in, say, VLC player. Do I do something wrong in my code? I'm using FFMPEG 0.6, shall I use the latest instead? 回答1: Turned out I did not enable network support when

Live555 OpenRTSP Client : How to delete current rtsp client properly and start new One

亡梦爱人 提交于 2019-12-07 23:48:00
问题 Well, When my OpenRtsp Client lost connection with server, I dispose the old client and other parameters then re-create new client. The Client send Options,Describe request successfully but failed after that... I can not able create Session and Subsesions so I got Access Violations errors.. How to reset old OpenRtspClient properly so that get new "brand" RTSPClient? My Current Way to Reset Old Client: I just modify the "shutdown" method in playCommon class. I did not send Teardown... ... void

Getting video width height from RTP Packets or Rtsp Server

醉酒当歌 提交于 2019-12-07 13:44:56
问题 I have to get stream video [ which is from rtsp server] width and height. Third party servers give the following info at RTSP DESCRIBE REQUEST: One RTSP server give me width-height Server Response: RTSP/1.0 200 OK .... Content-Type: application/sdp Content-Length: 376 a=x-dimensions:1280,1024 // GET WIDTH HEIGHT .... a=x-dimensions:1280,1024 But the other does not give me width/height info.... It seems that it supports ONVIF... Server Response: RTSP/1.0 200 OK x-Accept-Dynamic-Rate: 1 ...