rtsp

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

Convert rtsp video stream to http stream

∥☆過路亽.° 提交于 2019-12-20 09:06:21
问题 I have the rtsp URL for a live video stream which I would like to access as an HTTP stream. Can someone please tell me if there are any components out there which I can put on my server to do this? I do not have any idea how I can implement this. Would appreciate a heads up. Thanks. 回答1: I would say that your best bet is to use either FFmpeg or VLC. Both are open source software and are widely used among hobbyists and also as a part of multiple different services. Also both can take in RTSP

H.264 over RTP - Identify SPS and PPS Frames

瘦欲@ 提交于 2019-12-20 08:38:31
问题 I have a raw H.264 Stream from an IP Camera packed in RTP frames. I want to get raw H.264 data into a file so I can convert it with ffmpeg . So when I want to write the data into my raw H.264 file I found out it has to look like this: 00 00 01 [SPS] 00 00 01 [PPS] 00 00 01 [NALByte] [PAYLOAD RTP Frame 1] // Payload always without the first 2 Bytes -> NAL [PAYLOAD RTP Frame 2] [... until PAYLOAD Frame with Mark Bit received] // From here its a new Video Frame 00 00 01 [NAL BYTE] [PAYLOAD RTP

ffmpeg returns “method SETUP failed: 404 Not Found” [duplicate]

落花浮王杯 提交于 2019-12-20 02:53:08
问题 This question already has answers here : Does FFMPEG support RTSP authentication? (7 answers) Closed 5 months ago . We're using ffmpeg (build ffmpeg-20190628-098ab93-win32-static) to take a snapshot from camera RTSP streams on a Win 10 system. On some cameras, we're getting this error: [rtsp @ 06813ac0] method SETUP failed: 404 Not Found rtsp://username:password@example.com: Server returned 404 Not Found Here's an example command we use: ffmpeg -y -i rtsp://username:password@example.com

HTTP,RTMP,RTSP网络协议区别

寵の児 提交于 2019-12-20 02:17:03
三种协议一般从4各方面区分,1.是否流媒体协议 2.传输格式流 3.是否共有协议 4.TCP通道 1.流媒体协议:RTMP协议,RTSP协议 ,适用于做直播。非流媒体协议:HTTP协议,适用于做点播。 3.传输格式流:RTMP协议一般传输的是 flv,f4v 格式流,RTSP协议一般传输的是 ts、mp4 格式的流,HTTP协议没有特定的传输流。 3.是否共有协议:RTMP协议是 Adobe 的私有协议,未完全公开。HTTP协议与RTSP协议是共有协议,并有专门机构做维护。. 4.TCP 通道数:RTMP协议一般在 TCP 1个通道上传输命令和数据,HTTP协议与RTSP协议一般需要 2-3 个通道,命令和数据通道分离。 来源: CSDN 作者: Slc_Jack 链接: https://blog.csdn.net/slc685375/article/details/103605751

Has anyone succeedded in streaming rtsp packet using TCP through live 555 libraries

夙愿已清 提交于 2019-12-19 11:49:32
问题 Has anyone succeedded in streaming rtsp packet using TCP through live 555 libraries .?** I try'ed searching web a lot but didn't find anything useful all the solution provided i try'ed but the wireshark shows that UDP packet are being streamed. 回答1: Ya send the appropriate setup request you will be able to stream over TCP.In case of live 555 subclass "OnDemandServerMediaSession" class. 来源: https://stackoverflow.com/questions/14811574/has-anyone-succeedded-in-streaming-rtsp-packet-using-tcp

how to play rtsp url in android?

ε祈祈猫儿з 提交于 2019-12-19 10:33:13
问题 how to play rtsp url in android ? 回答1: you can use either MediaPlayer or VideoView for this,it will not work in emulator you can do like mediaplayer.setDataSource(String RTSP); // if you are using mediaplayer or videoView.setVideoURI(Uri.parse("rtsp://...../file")); // if you are using videoview both methods u can tryout 来源: https://stackoverflow.com/questions/4898774/how-to-play-rtsp-url-in-android

Convert rtsp-stream into http stream

偶尔善良 提交于 2019-12-19 10:32:35
问题 Often discussed but so far never working on windows with the current versions of vlc or ffmpeg. These are my stream's properties: How to do it with vlc or ffmpeg? I tried a lot. Way too much to list. 回答1: I use this to convert a remote RTSP source to a local HLS streaming with ffmpeg and it works ok: ffmpeg -i "rtsp://yourRtspStreamSource" -hls_time 3 -hls_wrap 10 "yourOutputDir/streaming.m3u8" Also I use -t and -stimeout options to control the timeout of that proccess. More info about HLS

Convert rtsp-stream into http stream

感情迁移 提交于 2019-12-19 10:32:01
问题 Often discussed but so far never working on windows with the current versions of vlc or ffmpeg. These are my stream's properties: How to do it with vlc or ffmpeg? I tried a lot. Way too much to list. 回答1: I use this to convert a remote RTSP source to a local HLS streaming with ffmpeg and it works ok: ffmpeg -i "rtsp://yourRtspStreamSource" -hls_time 3 -hls_wrap 10 "yourOutputDir/streaming.m3u8" Also I use -t and -stimeout options to control the timeout of that proccess. More info about HLS

How to save a RTSP video stream to MP4 file via gstreamer?

泄露秘密 提交于 2019-12-19 05:48:20
问题 I need to get a video stream from my camera via RTSP and save it to a file. All of this needs to be done via gstreamer. After some google searching, I tried the following: gst-launch-1.0 rtspsrc location=rtsp://192.168.1.184/live2.sdp ! queue ! rtph264depay ! avdec_h264 ! mp4mux ! filesink location=result3.mp4 but it gives the error: "Erroneous pipeline: could not link avdec_h264-0 to mp4mux0" gst-launch-1.0 rtspsrc location=rtsp://192.168.1.184/live2.sdp ! queue ! rtph264depay ! h264parse !