rtsp

RTSP1.0/ 404 Stream Not Found

守給你的承諾、 提交于 2019-12-13 03:37:37
问题 I wanna get stream from camera: DESCRIBE rtsp://192.168.1.200:554/ RTSP/1.0 CSeq: 1 Accept: application/sdpAuthorization: Basic YWRtaW46YWRtaW4= RTSP/1.0 200 OK CSeq: 1 Date: Wed, Feb 16 2011 10:17:47 GMT Content-Base: rtsp://192.168.1.200:554/ Content-Type: application/sdp Content-Length: 358 v=0 o=RTSP 1297842675200000 1 IN IP4 192.168.1.200 s=RTSP Server t=0 0 a=range:npt=0- a=control:* m=video 0 RTP/AVP 96 c=IN IP4 0.0.0.0 a=rtpmap:96 MP4V-ES/90000 a=framerate:20 a=fmtp:96 profile-level

Re-stream RTSP from IP cam with Node Media Server to http/ws and display it with html

大城市里の小女人 提交于 2019-12-13 03:21:50
问题 Goal My goal is to display my IP cam's RTSP-output stream on a standard HTML-page (html5 + css3 + vanilla javascript, no magic = no plugins). The HTML-page should be hosted in a NGINX web server on my Raspberry Pi. My equipment The setup I am using is a Raspberry Pi 3 B+ with Rasbian OS, Node.js and Node-Media-Server package, NGINX ( but I do not believe that NGINX is important for my problem? I have not made any config for the Node-Media-Server in it anyway. ) An IP-camera, and a browser.

Workaround to play HTTPS video URL in WPF MediaElement

有些话、适合烂在心里 提交于 2019-12-12 20:34:12
问题 I have a C#/WPF application and I need to play a video stream over HTTPS (I'm talking about a YouTube videos, direct URLs extracted by using YoutubeExplode). It's well known that WPF MediaElement is a control with a lot of BUGs, but I'm looking for a method to make it work. Like in this stackoverflow question, I'd like to make a localhost redirect by coding a small HttpListener that transmits the HTTPS response in real time using an HTTP URL, but I have no idea how to do it. Maybe someone can

FFmpeg NaCl module avformat_open_input (on rtsp stream) returns -5: I/O error

試著忘記壹切 提交于 2019-12-12 19:23:36
问题 I want to create an RTSP player in Chrome PNaCl. I have successfully built the ffmpeg naclport including the following networking flags in the build.sh file for the ffmpeg NaCl port. --enable network --enable-protocols --enable-demuxer=rtsp --enable-demux=rtp --enable-demuxer=sdp --enable-decoder=h264 Furthermore, I have successfully coded and the linked the ffmpeg NaCl port in my own PNaCl module. I have included the following network permissions in the manifest.json file: "permissions": [ {

ffmpeg rtsp error: Nonmatching transport in server reply

牧云@^-^@ 提交于 2019-12-12 18:36:17
问题 I'm using ffmpeg to read an rtsp camera. I'm getting an error: ffmpeg rtsp error: Nonmatching transport in server reply" in c++ and "Invalid data found when processing input". The camera has setting "RTP ES". Here's the code. source_name = "rtsp://192.168.1.108/WESCAM"; // Open the initial context variables that are needed format_ctx = avformat_alloc_context(); codec_ctx = NULL; // Register everything av_register_all(); avformat_network_init(); //open RTSP camera or h264 file if (avformat

浏览器使用VLC插件播放rtsp

老子叫甜甜 提交于 2019-12-12 14:40:08
我们项目里用到了华为的摄像机,在实况浏览的时候爬了好几天的坑,终于东拼西凑,自己弄好了一份html的demo,可以播放视频记录一下. 1.我们是从华为轻量云上获取的摄像机的参数和视频信息 轻量云包括VCM(分析平台,网页端可以登录) ,VCN(监控平台需要下载客户端才能登录) 2.我是调用vcn上的接口拿到相应摄像机的rtsp地址,下面我就直接上代码了 注意要先在电脑安装VLC插件,才能在浏览器调用,下载地址: https://www.videolan.org/ 注意32和64位,我使用的32位 . vlc web开发文档地址 : https://wiki.videolan.org/Documentation:WebPlugin/ 里面有详细介绍 这是一个基本的html页面 ,将rtsp地址替换下面的地址即可,只支持IE,和360(因为有ie内核),Chrome当前版本是不支持的,网上说45版本以下的支持,但是我试了还是不行,可能是不会配置. <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>video</title> </head> <body> <object type='application/x-vlc-plugin' id='vlc' events='True' width="800

Convert RTSP stream to HTTP and stream it with VLC client

眉间皱痕 提交于 2019-12-12 14:22:22
问题 I have an IP-camera which deliveser a stream by RTSP, i can play it on PC with VLC player using the following URL: rtsp://192.168.1.52:554/user=admin&password=&channel=1&stream=0.sdp? I have linux server, and i want convert RTSP to HTTP and transmit it. I tryed like this, but it does not work: vlc -vvv 'rtsp://192.168.1.52:554/user=admin&password=&channel=1&stream=0.sdp?' --sout '#standard{access=http,mux=ogg,url=192.168.1.41:8081}' Where is my mistake? 来源: https://stackoverflow.com/questions

Videoview behavior on differents smartphone (with different stagefright)

风流意气都作罢 提交于 2019-12-12 12:42:15
问题 I'm having compatibility problems using videoview (or MediaPlayer) for play rtsp streams in multiple videoviews in the same activity. I have opened another question on this problem here but now I know that isn't my code the responsible, because I test same software on different phones and it work. Viewing logcat Info messages for RTSP setup I see that each phone has different implementation of stagefright (android multimedia framework): (A) I/RTSPEngine(147): User-Agent: Player/LG Player 1.0

Embed RTSP Stream into Browser

若如初见. 提交于 2019-12-12 12:08:43
问题 I have an IP Camera that only has an address locally: XXX.XXX.X.XX. This camera has an rtsp stream and I want to integrate that stream into HTML5's video tag. Unfortunately, it only accepts mp4, ogg and web. What should I do now? Note that I do not want to use a plugin! 来源: https://stackoverflow.com/questions/32330725/embed-rtsp-stream-into-browser

How to play RTSP url from within app in ios

Deadly 提交于 2019-12-12 09:52:45
问题 I have found many suggestion in stack overflow regarding usage of FFmpeg and link of github for DFURTSPPlayer but it is not compiling. But after integrating FFmpeg what I have to write? suppose i am having HTTP urls then I write: code moviePath = "http:/path.mp4" movieURL = NSURL.URLWithString(moviePath!) moviePlayer = MPMoviePlayerController(contentURL: movieURL) moviePlayer!.play() So for using RTSP urls what kind of code should i write? 回答1: Here is another post that has an example FFmpeg