rtsp

How can I play H.264 RTSP video in Windows 8 Metro C# XAML app?

心已入冬 提交于 2019-12-03 03:16:52
I have a device that provides an H.264 video stream from a URL like: rtsp://192.168.0.10:554/videoservice Since this is live video I don't need to be able to control it (pause, rewind, etc), just play. Is this supported by MediaElement or another standard class, do I need something like Smooth Streaming Client SDK or is this a lot more complicated than I thought? Update: I downloaded Microsoft's Player Framework but this doesn't play the stream either. I can't find anything in the examples about RTSP. Update: I used Wireshark to compare the packets that VLC Media Player (which works) sends

Video streaming using RTSP: Android

匿名 (未验证) 提交于 2019-12-03 03:04:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I'm trying to install a Wowza server on my Linux machine to enable the RTSP streaming for my Android application. On Android client side what sort of changes do I need to make in my application? I'm using Videoview to simply play a video file stored locally. Now I want to get the video content get streamed through the server that I've installed. If necessary I can move to any other streaming server as right now I'm doing a research on streaming servers. 回答1: For rtsp streaming you can also try following servers: Darwin Streaming Server -

MediaPlayer RTSP video stream with authentication

匿名 (未验证) 提交于 2019-12-03 03:03:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I was able to stream a video from ip camera without authorization, but now i need to do this with authorization. I found few information that says that Android doesn't support authentication by RTSP, but I found another information that says that it is possible in API level 14 by adding HEADERS with that method: setDataSource (Context context, Uri uri, Map headers) . My code looks like this: @Override public void surfaceCreated(SurfaceHolder holder){ String authHeader = getB64Auth("user","password"); Map<String, String> headers = new HashMap

FFMPEG API: How to connect to RTSP stream using av_open_input_file?

匿名 (未验证) 提交于 2019-12-03 03:03:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I'm trying to connect to some RTSP stream using av_open_input_file() like this: AVFormatContext* ic; avcodec_register_all(); av_register_all(); av_open_input_file(&ic, "rtsp://login:password@xxx.xxx.xxx.xxx/videoinput_1/mjpeg/media.stm", NULL, 4096, NULL); It always returns 'file not found'. The same url, though, I can see in, say, VLC player. Do I do something wrong in my code? I'm using FFMPEG 0.6, shall I use the latest instead? 回答1: Turned out I did not enable network support when building FFMPEG. The following options worked for me: -

RTSP tunneled HTTP, FFMPEG

匿名 (未验证) 提交于 2019-12-03 02:52:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I'm trying to stream from an Axis ip camera which uses RTSP over HTTP. I can get the normal RTSP stream to work, but I can't find any information or documentation on how to actually set the tunneling mode for the stream. It is supported in the source code by setting the control_transport to RTSP_MODE_TUNNEL . My question is simple how do I do this with the following code? int ret = avformat_open_input(&pFormatCtx, [@"rtsp://ip/axis-media/media.amp" UTF8String], NULL, NULL); I tried the following: pFormatCtx = avformat_alloc_context();

how to create a RTSP streaming server

给你一囗甜甜゛ 提交于 2019-12-03 02:49:55
问题 So I am trying to create a RTSP server that streams music. I do not understand how the server plays a music and different requests get what ever is playing at that time. so, to organize my questions: 1) how does the server play a music file? 2) how does the request to the server look like to get whats currently playing? 3) what does the response look like to get the music playing in the client that requested the music? 回答1: First: READ THIS (RTSP), and THEN READ THIS (SDP), and then READ THIS

Streaming RTP/RTSP: sync/timestamp problems

匿名 (未验证) 提交于 2019-12-03 02:49:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I'm having some trouble streaming H.264 video over RTSP. The goal is to live-stream a camera image to an RTSP client (ideally a browser plugin in the end). This has been working pretty well so far, except for one problem: the video will lag on startup, stutter every few seconds, and has a ~4-second delay. This is bad. Our setup is to encode with x264 (w/ zerolatency & ultrafast) and packed into RTSP/RTP with libavformat from ffmpeg 0.6.5. For testing, I'm receiving the stream with a GStreamer pipeline with gst-launch when connecting to an

FFMPEG to send RTSP encoded stream C++

匿名 (未验证) 提交于 2019-12-03 02:45:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am trying to figure out a way to take an encoded H264 image that I have created in FFMEG and send it out via RTSP using FFMPEG, is there some sample code or a tutorial out there that shows how to do this. I tried searching the web, but there is nothing that I could find out there. Any help is greatly appreciated. Thanks in advance. 回答1: I made few changes in docs/examples/muxing.c here is my code which transmits audio and video streams using mpeg4 rtsp #include <stdio.h> #include <vector> #include <windows.h> #include <iostream> #include

Gst RTSP server programming

匿名 (未验证) 提交于 2019-12-03 02:31:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I've installed gst-rtsp-server and I wanted to try a simple code. But on compilation I'm getting the following error: In function `main': test-launch01.c:(.text+0x64): undefined reference to `gst_rtsp_server_new' test-launch01.c:(.text+0x74): undefined reference to `gst_rtsp_server_get_media_mapping' test-launch01.c:(.text+0x7d): undefined reference to `gst_rtsp_media_factory_new' test-launch01.c:(.text+0x95): undefined reference to `gst_rtsp_media_factory_set_shared' test-launch01.c:(.text+0xad): undefined reference to `gst_rtsp_media

send a multicast audio in rtsp using libstreaming for upstreaming from an android device

匿名 (未验证) 提交于 2019-12-03 02:30:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: The code is only streaming for one user at a time. Can anyone help me to play the stream in more than one system at the same time(convert it to multicast or broadcast). Thanks in advance. The library source is over here: https://github.com/fyhertz/libstreaming my current code is: mSurfaceView = (net.majorkernelpanic.streaming.gl.SurfaceView) findViewById(R.id.surface); // Sets the port of the RTSP server to 1234 Editor editor = PreferenceManager.getDefaultSharedPreferences(this).edit(); editor.putString(RtspServer.KEY_PORT, String.valueOf