rtsp

RTSP solution for JavaScript/HTML5 [closed]

匿名 (未验证) 提交于 2019-12-03 02:30:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am developing a Smart TV application and streaming live video from an IP Camera is a huge portion of the functionality. The camera's manual states that if it is set to stream MPEG-4 or H.264 that HTTP is not supported; only RTSP/RTP is. The alternative (via HTTP) is Motion JPEG, which I would like to avoid as much as possible (terrible framerate on the TV). Is there any JavaScript/HTML5 solution/wrapper for RTSP? The TV cannot run a Java applet or anything of the sort, and by default, the browser does not support RTSP. Thanks! 回答1: There

Use an IP-camera with webRTC

匿名 (未验证) 提交于 2019-12-03 02:14:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I want to use an IP camera with webrtc. However webrtc seems to support only webcams. So I try to convert the IP camera's stream to a virtual webcam. I found software like IP Camera Adapter , but they don't work well (2-3 frames per second and delay of 2 seconds) and they work only on Windows, I prefer use Linux (if possible). I try ffmpeg/avconv: firstly, I created a virtual device with v4l2loopback (the command was: sudo modprobe v4l2loopback ). The virtual device is detected and can be feed with a video (.avi) with a command like: ffmpeg

Playing RTSP with python-gstreamer

匿名 (未验证) 提交于 2019-12-03 02:13:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I use gstreamer for playing RTSP stream from IP cameras (like Axis.) I use a command line like this: gst-launch-0.10 rtspsrc location=rtsp://192.168.0.127/axis-media/media.amp latency=0 ! decodebin ! autovideosink and it work fine. I want to control it with a gui in pygtk so I use the gstreamer python bindings. I've wrote this piece of code: [...] self.player = gst.Pipeline("player") source = gst.element_factory_make("rtspsrc", "source") source.set_property("location", "rtsp://192.168.0.127/axis-media/media.amp") decoder = gst.element

Read Frames from RTSP Stream in Python

匿名 (未验证) 提交于 2019-12-03 02:06:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I have recently set up a Raspberry Pi camera and am streaming the frames over RTSP. While it may not be completely necessary, here is the command I am using the broadcast the video: raspivid -o - -t 0 -w 1280 -h 800 |cvlc -vvv stream:///dev/stdin --sout '#rtp{sdp=rtsp://:8554/output.h264}' :demux=h264 This streams the video perfectly. What I would now like to do is parse this stream with Python and read each frame individually. I would like to do some motion detection for surveillance purposes. I am completely lost on where to start on this

Java RTSP client/server library

匿名 (未验证) 提交于 2019-12-03 01:39:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: Is anyone aware about good RTSP client/server Java library? Search on Google reveals JMF, which is very outdated. Thanks. 回答1: If you're still interested, Netty provides RTSP support since version 3.2. 回答2: You can use Netty NIO framework to write your own RTSP server / client implementation. 回答3: You can try using FMJ . It's a set of libraries that wrap a lot of modern codecs in Java interfaces. 回答4: There is no java implementation of RTSP protocol. You must do it yourself using a NIO framework (MINA, GRIZZLY, NETTY...) its a

How to force client to switch RTP transport from UDP to TCP?

匿名 (未验证) 提交于 2019-12-03 01:14:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: If the client wants to watch a stream that is on my RTSP server, it first tries to setup a stream through the UDP protocol. How can I tell it that my server only supports RTP/AVP/TCP and that it should switch transports? I want to terminate the UDP support on my server, but all the clients first try to SETUP the session over UDP, and later they do so over TCP... and I want to switch them to TCP as soon as possible in RTSP protocol. How can I do that? 回答1: To expand on the answer for android, For Android clients, they will always attempt to

Server to stream RTSP to android

匿名 (未验证) 提交于 2019-12-03 01:07:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: 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 and the supported codecs are MPEG-4 Video, AVC,

What is the proper way to RTSP stream, transcode and save to file?

匿名 (未验证) 提交于 2019-12-03 01:00:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: While showing the rstp-stream, we are trying to transcode, and record it to file for later use. VLC 2.1.1 seems to work when using vlc rtsp-stream :sout=#transcode{vcodec=mp1v,vb=700,scale=1}:duplicate{dst=display,dst=std{access=file,mux=asf,dst="C:\file.mpg"}}" This seems to be broken on VLC 2.2.4 Documentation on VLC's wiki seems outdated. 回答1: Discrepancies with the vcodec/mux pairing as well as using samplerate instead of vb seem to fix it. vlc rtsp-stream :sout=#transcode{vcodec=mp4v,scale=0.5,samplerate=44100}:duplicate{dst=display,dst

new.livestream.com API to get RTSP

泄露秘密 提交于 2019-12-03 00:50:33
I need to get an RTSP stream of a livestream.com account. I was reading some of the API documentation for livestream.com, but they have a new website (new.livestream.com), and I cannot find any API documentation talking about that. Does anybody knows if there is an API for the new livestream.com website which allows me to get an RTSP stream? Thanks in advance. I Know this is a bit old, but i was asking that very same question and i this is how i've done it: I've found this URL/API call, for the new livestream, to get the details of an event's stream http://new.livestream.com/api/accounts/

rtmp/rtsp/hls公网测试地址

匿名 (未验证) 提交于 2019-12-03 00:22:01
相信大家在调试播放器的时候,都有这样的困惑,很难找到合适的公有测试源,以下是 大牛直播 SDK 整理的真正可用的直播地址源。 其中,rtmp和rtsp的url,用 https://github.com/daniulive/SmarterStreaming 提供的 播放器 验证通过。 hls的地址,用vlc验证通过。 1. RTMP协议直播源 香港卫视:rtmp://live.hkstv.hk.lxdns.com/live/hks 大熊兔(VOD): rtsp://184.72.239.149/vod/mp4://BigBuckBunny_175k.mov 国外电视台: rtsp://rtsp-v3-spbtv.msk.spbtv.com/spbtv_v3_1/214_110.sdp 3. HTTP协议直播源 香港卫视: http://live.hkstv.hk.lxdns.com/live/hks/playlist.m3u8 文章来源: rtmp/rtsp/hls公网测试地址