rtsp

How can I force wireshark to decipher some types of protocols if it doesn't recognize them (RTSP,RTP, RTCP)?

吃可爱长大的小学妹 提交于 2019-12-07 17:07:23
问题 I'm trying to implement RTSP protocol in Java according to http://www.csee.umbc.edu/~pmundur/courses/CMSC691C/lab5-kurose-ross.html example; I have succeed up to successful communication with VLC via RTSP requests and streaming RTP packets; RTP packets with JPEG payload are not recognized by VLC well; that's why I supposed I send malformed RTP. I sniffed them with wireshark and compared them with packets, sniffed from successfull RTSP communication of gstreamer RTSP streamer and VLc. I was

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 ...

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

无人久伴 提交于 2019-12-07 07:50:28
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 when using opencv's VideoCapture [ cap.isOpened() returns False ] The standalone executable works fine

Process RTSP with Node.js for taking an image snapshot

时光怂恿深爱的人放手 提交于 2019-12-07 04:16:19
问题 I have a RTSP that I would love to make Node.JS understand. I found a way to do it using Java taking a capture from a webcam but I would love to just use Node.js on this task and get it from a video RTSP'd. My intention is to use setInterval, grab the stream, convert it to base64 and stream it through Socket.IO to a client so they can see it as a <img> tag on their browser. Much of this will be taken from the guy who make it with a webcam but I only have a RTSP available as video-source. So,

stream live video from IP Cams in iPhone SDK?

限于喜欢 提交于 2019-12-07 03:05:33
I have to develop plug-in module which will allow us to stream live video from IP Cams if the IP of the cameras are available. The format and encoding for the same is: MPEG4 RTSP/RTP but I dont know from where to start. I have search in many site, unable to find any thing related. while browsing the Apples doc's, I found AVFoundation is used to stream live video from IP Cam's. UPDATE I found this from GITHUB but dont know How to implement it in my App. Please help me by sample code or related app and suggest me to overcome this. thanks in Advance. Dipan Mehta I am adding some references for

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

落花浮王杯 提交于 2019-12-07 02:55: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 forward/etc functionality), but its libraries and documentation for C# are lacking; with most of the

Decode h264 rtsp with ffmpeg and separated AVCodecContext

我是研究僧i 提交于 2019-12-07 02:10:47
问题 I need some help with decodein rtsp stream of video. I get it from AXIS IP-camera. I use ffmpeg library for it. It is neccessary to create AVCodecContext separately, not from AVFormatContext->streams[...]->codec; So i create AVCodec, AVCOdecContext and try to init them. AVCodec *codec=avcodec_find_decoder(codec_id); if(!codec) { qDebug()<<"FFMPEG failed to create codec"<<codec_id; return false; //--> } AVCodecContext *context=avcodec_alloc_context3(codec); if(!context) { qDebug()<<"FFMPEG

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

梦想与她 提交于 2019-12-06 15:19:45
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 VideoBitRate 500 AVOptionVideo flags +global_header VideoCodec libx264 AVPresetVideo baseline NoAudio </Stream>

RTSP stream in android with username and password

我的未来我决定 提交于 2019-12-06 14:21:28
问题 My task is to create an android application in android to check some IP cameras of the city. Using the existing RTSP url which is rtsp://admin:pms7112@xxx.xx.xx.xxx:554/cam/realmonitor?channel=1&subtype=0 I can get the stream in VLC player but no luck in android. I have tried videoview native player and media player . Almost every solution gave me MediaPlayer: setDataSource IOException happend : java.io.FileNotFoundException: No content provider: rtsp://... Should this problem happen because

MPEG4 extract from RTP payload

喜你入骨 提交于 2019-12-06 13:53:35
I'm trying to extract mpeg4 from an rtp payload , format of the rtsp media (video) is MP4V-ES but I'm not able to extract the mp4 from the payload . when I dump the extract into a raw file and use ffmpeg to convert it into .avi or .mpg its not working. I don't know what I'm missing here. the code is written in java. I want to extract each video frame from the rtp and save that in a file or retransmit it. Thanks Question UPDATED..... Thanks for the inputs, actually I'm able to extract bytes from 000001b6 and sent it to ffmpeg , but it complains about not header information and then I