rtsp

Force FFMPEG to use TCP protocol when reading a RTSP Stream

白昼怎懂夜的黑 提交于 2019-12-09 05:10:58
问题 I'm running ffmpeg (Windows 7, 64bit) from command line to get a frame from a RTSP stream (second channel from my DVR): ffmpeg -i "rtsp://xxx.xxx.xxx.xxx:554/user=xxxx&password=xxxx&channel=2&stream=0.sdp" -rtsp_transport tcp -y video.jpg After running, it waits for about 10 seconds and then i get: [rtsp @ 026fd840] UDP timeout, retrying with TCP After another long wait (2 minutes or so), i get: [rtsp @ 028dd840] Could not find codec parameters for stream 0 (Video: h264): unspecified size I

What library is best for a H264 video stream streamed from an RTSP Server?

≡放荡痞女 提交于 2019-12-08 07:35:33
问题 Anyone know of an efficient, feature rich and C# .NET supported library for capturing H264 encoded video streamed from an RTSP server? I'm developing a security application that needs to buffer video for a set amount of time (e.g. 30 seconds), and then when prompted (via an external trigger) record for n seconds after; so that what lead to the event and what happened after is captured. So far I've found the LeadTools Multimedia SDK (which can buffer real time streams with pause/ play/fast

Capturing RTSP stream fails when the script is turned into a standalone executable using pyinstaller

Deadly 提交于 2019-12-08 06:45:02
问题 Code: from imutils.video import VideoStream import cv2 # Read rtsp stream rtsp = u"rtsp://admin:admin@10.64.1.31:554/1/h264major" #vs = VideoStream(src=0).start() # for capturing from webcam vs = VideoStream(src=rtsp).start() while True: frame = vs.read() # show the output frame cv2.imshow("Frame", frame) key = cv2.waitKey(1) & 0xFF # if the `q` key was pressed, break from the loop if key == ord("q"): break # do a bit of cleanup cv2.destroyAllWindows() vs.stop() I have faced the same problem

streaming a webcam feed over rtsp using ffmpeg & ffserver to an android client

淺唱寂寞╮ 提交于 2019-12-08 04:16:00
问题 I am trying to stream my webcam over rtsp and open the stream using android. I managed to get the first part working (rtsp stream) using ffserver and ffmpgeg. Here is my ffserver.conf file : HTTPPort 8000 RTSPPort 8001 HTTPBindAddress 192.168.1.74 RTSPBindAddress 192.168.1.74 MaxClients 100 MaxBandwidth 10000 NoDefaults <Feed witty.ffm> File /tmp/witty.ffm FileMaxSize 20M </Feed> <Stream witty.mov> Feed witty.ffm Format rtp VideoSize 640x480 VideoQMin 1 VideoQMax 20 VideoFrameRate 30

RTSP RTP client streaming, timestamp, live555

走远了吗. 提交于 2019-12-08 02:55:46
问题 I have an IP camera that is located in a different country ( with a different time zone ) and that has it's own date-time values applied, ( for example:~2012-04-16 11:30:00 ) then the one my PC is located at. ( so my PC's time for example is ~2012-14-16 06:10:00 ) My purpose: When streaming, i need to get this date-time value that is set in camera ("11:30:00") ( I'm not interested in a current local time of my PC ). Is there any way to calculate camera's date-time value from RTP's timestamp ?

Gstreamer rtsp playing (with sound)

随声附和 提交于 2019-12-08 02:23:24
问题 im newbie in gstreamer and simple try to wath rtsp video flow from Dlink 2103 camera. When i trying it (just video): gst-launch rtspsrc location=rtsp://192.168.0.20/live1.sdp ! \ rtph264depay ! \ h264parse ! capsfilter caps="video/x-h264,width=1280,height=800,framerate=(fraction)25/1" ! ffdec_h264 ! ffmpegcolorspace ! autovideosink Its ok. When i trying it (just audio): gst-launch rtspsrc location=rtsp://192.168.0.20/live1.sdp ! \ rtpg726depay ! ffdec_g726 ! audioconvert ! audioresample !

IP camera RTSP address

廉价感情. 提交于 2019-12-08 02:01:26
问题 I have IP camera and I don't know it's full correct url address to RTSP stream. There is port only in RTSP settings but 192.168.1.132:554 is not enough as I understood. VLC says that rtsp stream is not found. How can I figure out correct url address? 回答1: How can I figure out correct url address? Ask hardware vendor for documentation on this (the best solution) As most cameras have a built-in web server and web client software to interact with the camera. Chances are that web client itself

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

How to send webcam video + audio to rtsp/rtmp server

跟風遠走 提交于 2019-12-07 23:14:27
问题 I'm looking for a method to send video and audio to the rtsp/rtmp server. It should be compatible with notebook webcams and USB webcams. I would like to do it in C#. I found some library called rtmpclient, but it looks it can't send a message to the server. I found also a framework to support webcams that gives a posibility to do an action for every captured frame. But I can't find any similar solution to send a voice with the image. How can I send the video and audio to the server? 回答1:

RTP/RTSP library usable in Java

六眼飞鱼酱① 提交于 2019-12-07 18:53:28
问题 I'm looking to write a voip application, I know JMF has RTP code but it's old and 32bit only. Is there a robust library that does RTP/RTSP that can be used with java? Thanks 回答1: no way JMF - its 10 years out of date list java RTP RTSP packages: RTSPClientLib.tar.gz on code.google http://github.com/brunodecarvalho/efflux i used the efflux on a java project and it was worth the time learning his packages. The combined netty/efflux is very robust on the variety of RFC's involved in networking