rtsp

Get RTSP URL from Youtube

你离开我真会死。 提交于 2019-11-28 06:52:08
I have a video URL like http://www.youtube.com/watch?v=AAAAAAAAAA How can I get a RTSP URL for this video? EDIT: Seems like Youtube stopped supporting this method. Go to: http://gdata.youtube.com/feeds/api/videos/ {video-id} For example: If we want to get the RTSP link for this video: https://www.youtube.com/watch?v=rUDm2xatms4&list=PLA9nd26sR8HD62LClHOBU93tuDKnJsfKa&feature=player_detailpage#t=0 We'd use: http://gdata.youtube.com/feeds/api/videos/rUDm2xatms4 This will download an XML file for you. In there search for 'rtsp' and you'll get the full link. Hope this helps. Go to this link, and

Java RTSP client/server library

廉价感情. 提交于 2019-11-28 06:33:09
Is anyone aware about good RTSP client/server Java library? Search on Google reveals JMF, which is very outdated. Thanks. If you're still interested, Netty provides RTSP support since version 3.2. You can use Netty NIO framework to write your own RTSP server / client implementation. You can try using FMJ . It's a set of libraries that wrap a lot of modern codecs in Java interfaces. There is no java implementation of RTSP protocol. You must do it yourself using a NIO framework (MINA, GRIZZLY, NETTY...) its a possible solution. Red5 has some support or is going to have support for RTSP and is

Turning an iPhone or iPod into a wireless webcam

末鹿安然 提交于 2019-11-28 06:00:56
I'd like to stream video from the camera on an iOS device to a receiver via wifi, in effect turning the device into a wireless webcam. Is there a way to build a small app that captures video input on an iOS app and sends it via an RTSP stream or similar? As this is an ad hoc experiment, I'm not concerned about App Store guidelines and can jailbreak if necessary. If I interpret your question correctly you more or less need to solve four problems: Get the camera feed. Convert/encode this to the right format. Stream the data. Prevent the phone from locking itself and going into deep sleep. The

RTSP to RTMP streaming

╄→尐↘猪︶ㄣ 提交于 2019-11-28 05:01:54
I have an IP camera which is streaming via RTSP and RTP. Ideally I would like to convert RTSP to RTMP to stream it to LiveStream or similar streaming services. Can anyone please let me know how may I convert RTSP to RTMP and then stream it to streaming services? Using FFMPEG you can convert rtsp stream to rtmp For Example ffmpeg -i "[your rtsp link]" -f flv -r -s -an "[Your rtmp link]" run the above syntax on ubuntu or linux os . it will convert your rtsp stream to rtmp stream There's a couple of options, but by far the most common is Wowza server , which will digest the RTSP and then output

Storing RTSP stream as video file with OpenCV VideoWriter

大憨熊 提交于 2019-11-28 03:54:23
问题 I'm developing a Python module, with OpenCV, that connects to an RTSP stream to perform some preprocessing on the video (mostly, reducing fps and resolution), and then store it in the file system. But, even after trying several codecs, looking for similar developments... I always end up with an empty video. I've seen this other thread (cv::VideoWriter yields unreadable video), which may be similar, but was developed on C++. Has anyone worked on this? I normally use a sample RTSP stream as

How to stream live video from android to Wowza via RTMP [closed]

血红的双手。 提交于 2019-11-28 02:16:52
问题 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 2 years ago . Problem that occupied me for last 7 days is implementation of live video streaming from android to WowzaMediaEngine. I have started my research on official Wowza pages and i was thrilled with existance of GoCoderSDK library for android and IOS. "Small" problem is the price (10k

RTSP Streaming in objective C

安稳与你 提交于 2019-11-28 02:09:56
问题 I need RSTP Live Streaming.I Started R&D but i am not get it.some one said Using FFMPEG library ,But i don't know how to add FFMPEG library to myProject.Please any one help me How to get Live RTSP Streaming . Please give me idea and any RTSP Live Streaming Video Sample code. Thanks in advanced 回答1: RTSP is quite simple protocol by itself, just reading RFC2326 will help a lot. Source code examples you can find, for example, at former live.com or jrtplib (it's RTP/RTCP library, but as I said

Write opencv frames into gstreamer rtsp server pipeline

对着背影说爱祢 提交于 2019-11-27 21:45:13
I'm trying to put opencv images into a gstreamer rtsp server in python. I have some issue writing in the mediafactory, I'm new to gst-rtsp-server ancd there's little documentation so I don't know exactly if I'm using the right approach. I'm using a thread to start the MainLoop and I'm using the main thread to create a buffer to push in the appsrc element of the mediafactory pipeline. Am I using the right approach to obtain my objective? Can anyone help me? My code is below: from threading import Thread from time import clock import cv2 import gi gi.require_version('Gst', '1.0') gi.require

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

不想你离开。 提交于 2019-11-27 21:29:19
问题 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: As far as I know, there is no control

FFmpeg can't decode H264 stream/frame data

六月ゝ 毕业季﹏ 提交于 2019-11-27 18:50:45
Recently I had chance to work with two devices that are streaming the H264 through RTSP. And I've ran into some problem trying to decompress this stream using FFmpeg library. Every time the " avcodec_decode_video2 " is called - FFmpeg just says something like: [h264 @ 00339220] no frame! My raw H264 stream I frame data starts like this: " 65 88 84 21 3F F8 F8 0D..." (as far as I understand this 0x65 indicates that it's a IDR frame?) Other frames for one device starts like: " 41 9A 22 07 F3 4E 48 CC...." and for other device - like this: " 61 9A 25 C1 1C 45 62 39...." Am I missing some frame