rtsp

Decode android's hardware encoded H264 camera feed using ffmpeg in real time

孤街醉人 提交于 2020-01-01 01:11:08
问题 I'm trying to use the hardware H264 encoder on Android to create video from the camera, and use FFmpeg to mux in audio (all on the Android phone itself) What I've accomplished so far is packetizing the H264 video into rtsp packets, and decoding it using VLC (over UDP ), so I know the video is at least correctly formatted. However, I'm having trouble getting the video data to ffmpeg in a format it can understand. I've tried sending the same rtsp packets to a port 5006 on localhost (over UDP),

Video Streaming from IP Camera in Python Using OpenCV cv2.VideoCapture

天大地大妈咪最大 提交于 2019-12-31 01:57:34
问题 I am trying to get video stream in python from IP camera but i am getting an error. I am Using Pycharm IDE. import cv2 scheme = '192.168.100.23' host = scheme cap = cv2.VideoCapture('http://admin:Ebmacs8485867@'+host+':81/web/admin.html') while True: ret, frame = cap.read() # Place options to overlay on the video here. # I'll go over that later. cv2.imshow('Camera', frame) k = cv2.waitKey(0) & 0xFF if k == 27: # esc key ends process cap.release() break cv2.destroyAllWindows() Error: "E:

Reading RTCP packets from an IP camera using FFMPEG

眉间皱痕 提交于 2019-12-30 05:28:10
问题 I am using the ffmpeg C library. I need to intercept RTCP packets from the camera in order to get the timestamp from the Sender Report. Is there any method or structure in the ffmpeg that gives me this information? I am completely stuck but I am not able to solve that problem. Any help will be appreciated. Thanks in advance, 回答1: Finally I had to hack into the ffmpeg library like this: // Patch for retrieving inner ffmpeg private data RTSPState* rtsp_state = (RTSPState*) context->priv_data;

RTSP video streaming for iOS [closed]

强颜欢笑 提交于 2019-12-30 02:36:12
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 3 years ago . I want to display on the iPhone screen video stream RTSP . Can throw the source code of the project or details on how to implement it. Found 2 project, but they have not compiled: https://github.com/mooncatventures-group/RTSPPlay https://github.com/mooncatventures-group/RtspFrames

OpenCV - how to capture rtsp video stream

人盡茶涼 提交于 2019-12-30 00:38:32
问题 for example we have working rtsp stream test like: "rtsp://184.72.239.149/vod/mp4:BigBuckBunny_115k.mov" (it works in moment of publishing this post) Now I want to catch this video stream in openCV (opencv 2.4.7 / 2.4.8) I've my code works perfectly on local movie files but when I try to capture rtsp I get msgs like: "Couldn't read movie file rtsp://184.72.239.149/vod/mp4:BigBuckBunny_115k.mov" I've tried few different ways like: CvCapture *camera = cvCreateFileCapture("rtsp://184.72.239.149

rtsp stream capturing

北慕城南 提交于 2019-12-29 14:16:32
问题 I'm looking for some universal way to dump rtsp stream. I want to figure out, that some rtsp stream is working well and server is sending some watchable video. openRTSP At first, google recommends me openRTSP tool. openRTSP -4 ${stream_link} > ${output_file} But output video file dumped by that tool is not really correct. Video decoder (ffdec) returns many errors like "Failed to decode video packet" and "[h264] no frame!", which don't suit me. ffmpeg Then I've tried to dump rtsp stream with

rtsp stream capturing

时光怂恿深爱的人放手 提交于 2019-12-29 14:14:48
问题 I'm looking for some universal way to dump rtsp stream. I want to figure out, that some rtsp stream is working well and server is sending some watchable video. openRTSP At first, google recommends me openRTSP tool. openRTSP -4 ${stream_link} > ${output_file} But output video file dumped by that tool is not really correct. Video decoder (ffdec) returns many errors like "Failed to decode video packet" and "[h264] no frame!", which don't suit me. ffmpeg Then I've tried to dump rtsp stream with

Server to stream RTSP to android

会有一股神秘感。 提交于 2019-12-29 05:37:31
问题 Can Flash Media Server 3.5 serve a video rtsp stream to the Android media player? Or do we need to use Wowza or red5 to serve an rtsp stream to the Android media player rtsp client? Are there any other rtsp servers to consider when the video needs to be viewed on Android (without the Adobe Flash app)? 回答1: Try darwin streaming server. This can stream MPEG-4 and 3GPP. Note that Videoplayer in Android supports RTSP streaming as per 3GPP PSS Streaming specifications. i.e fileformat is 3GP/MP4

C++ RTSP video capture implementation

与世无争的帅哥 提交于 2019-12-25 14:25:28
问题 I would like to develop a very tiny and small RTSP client to get the video stream from network cameras. Does anybody know where can I find a simple explanation of the protocol and some good examples? Best regards, 回答1: You connect to the camera via RTSP protocol to query its capabilities, identify streams and prepare/start transmission. RFC 2326 - Real Time Streaming Protocol (RTSP) As a part of initialization and handshaking, you will discover available streams. RFC 4566 - SDP Session

GStreamer pipeline to show an RTSP stream

送分小仙女□ 提交于 2019-12-25 09:28:06
问题 I am pretty new to Gstreamer. I need to write a video client able to stream data from an RTSP source using GStreamer. I configured VLC to stream a video I have on my laptop using RTSP and I want to create a pipeline to get that stream and show it. I tried using playbin and everything works fine. The point is that I need to fine tune the latency used to stream the video but it seems I cannot do that with playbin. I tried rtspsrc because it allows to work on the latency but I don't know how to