rtsp

RTP RTSP implementation in javascript

落花浮王杯 提交于 2019-12-12 09:20:00
问题 I have a client program and a server program. The server is on my localhost and it has my .mpeg video. Using node JS I am supposed to stream a video from a server. The client requests messages, such as play/pause/resume/rewind etc. so I guess I have to use RTSP, to figure out what to send over the RTP. But I don't know from where to start. All I have so far is the RegEx to filter the message, for example on the client there are buttons like play/pause/setup etc. so I can grab that text. And I

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

Failed to Get SDP Description : 404 Stream not found testRTSPClient in LIVE555

流过昼夜 提交于 2019-12-12 03:15:35
问题 I am new to Live555 and have recently started to learn a few things about it. The docs state that a good test would be to try out the samples given in testProgs folder that is in the source code. So, I have started to test a few programs which are readily available in the live555 source. From the mediaServer folder I am running the server as per docs I should place the movie file (mp4) in the same place as the exe. Which I did. When I try to open the client (testRTSPClient.exe), I keep

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

FFMPEG Can write the header to the RTSP server but not the frame

佐手、 提交于 2019-12-12 01:39:25
问题 I am trying to capture the content of a window, and stream it to a rtsp server (wowza). I can write the header (avformat_write_header) and I see that the wowza server receive a connection. But when it comes to writing the frame, av_write_frame just triggers a segfault. It is quite interesting as the addresse of the variable that the method is trying to access is normal (0x0000000033921D20) here is the code : FfmpegEncoder::FfmpegEncoder(char *url) { AVRational tmp_time_base; AVDictionary*

Exchange data between ffmpeg and video player

有些话、适合烂在心里 提交于 2019-12-11 19:00:21
问题 I'm using ffmpeg as a proxy for playing RTSP streams in VLC (because it seems that VLC doesn't work too well with TCP-based RTSP streams). While in Linux I'm doing this by creating a FIFO file and using it as output for ffmpeg, in Windows I can't do this because os.mkfifo() doesn't work under this OS. So I have to find a way to start ffmpeg with subprocess.Popen() and sending it's converted data to VLC in real time (I'm using the VLC bindings for Python). I tried to set ffmpeg's output to

Mosaic of RTSP streams VLC 3.0.8

谁说胖子不能爱 提交于 2019-12-11 18:44:55
问题 I found a way to properly show mosaic of streams from RTSP cameras on VLC 3.0.8 and wanted to share the solution: Write the following into a file < mosaic_vlc3.vlm > # Comment the following line if you don't want to reset your VLM configuration del all new ch1 broadcast enabled setup ch1 input "rtsp://user:pass@192.168.1.101:554/stream1" setup ch1 output #mosaic-bridge{id=ch1,width=1280,height=512} new ch2 broadcast enabled setup ch2 input "rtsp://user:pass@192.168.1.102:554/stream1" setup

How to grab a single image from a video stream without connecting the stream (bandwidth issue)

こ雲淡風輕ζ 提交于 2019-12-11 17:25:57
问题 Not sure it is possible, but how can I get a single Image from video stream WITHOUT connecting the stream (rtsp) itself (I have bandwidth issue)? (priority to python but any code framework/language will be good). This is an example SDP file of the stream: v=0 o=Teleste 11501847 688 IN IP4 1.1.1.1 s=unnamed (mpeg4/tx-1) i=Teleste MP-X AUDIO/VIDEO Encoder c=IN IP4 221.1.1.1/64 t=0 0 m=video 4002 RTP/AVP 96 b=AS:6400 a=rtpmap:96 MP4V-ES/90000 a=fmtp:96 profile-level-id=1;config

How to maintain aspect-ratio when playing RTSP streaming video in Android?

≡放荡痞女 提交于 2019-12-11 11:03:11
问题 I have a streaming RTSP video link which I am playing with the help of VideoView. In the portrait mode the Video resolution and aspect ratio is perfect. But when I try switching to the landscape mode the video stretches and looks elongated. This distorts the quality to a great deal. Any tips of how to make the videoview to maintain the same aspect ratio in both orientation modes? If i need to write my own media player extending the VideoView .. How exactly should I override the onMeasure(...)