rtsp

Decode h264 rtsp with ffmpeg and separated AVCodecContext

匿名 (未验证) 提交于 2019-12-03 08:44:33
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I need some help with decodein rtsp stream of video. I get it from AXIS IP-camera. I use ffmpeg library for it. It is neccessary to create AVCodecContext separately, not from AVFormatContext->streams[...]->codec; So i create AVCodec, AVCOdecContext and try to init them. AVCodec *codec=avcodec_find_decoder(codec_id); if(!codec) { qDebug()<<"FFMPEG failed to create codec"<<codec_id; return false; //--> } AVCodecContext *context=avcodec_alloc_context3(codec); if(!context) { qDebug()<<"FFMPEG failed to allocate codec context"; return false; //--

RTSP tunneled HTTP, FFMPEG

半城伤御伤魂 提交于 2019-12-03 08:42:15
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(); pFormatCtx->priv_data = malloc(sizeof(RTSPState));

Android Media Player RTSP

不羁岁月 提交于 2019-12-03 08:38:24
I'm trying to watch RTSP streaming on Android device. But if the server set password for the streaming my Android cannot play it. If without password it's ok. Here is my codes. public class VideoFragment extends Fragment implements View.OnClickListener, SurfaceHolder.Callback, MediaPlayer.OnPreparedListener { VideoView m_videoView; SurfaceView m_surfaceView; SurfaceHolder m_surfaceHolder; MediaPlayer m_mediaPlayer; SharedPreferences m_sharedPref; Boolean m_videoStarted; public VideoFragment() { // Required empty public constructor } @Override public View onCreateView(LayoutInflater inflater,

stream RTSP to HTML website

匿名 (未验证) 提交于 2019-12-03 08:30:34
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I would like to display IP cameras streaming in RTSP into a web page. I've tried many solutions, like using VLC to transcode the stream, but none of them seems to be reliable enough to create a real web service. I'm thinking on using some media server like flussonic or Red5. But I don't know if it will work. This is why I would like to know what is the best (and the simple) solution to display RTSP streams on a webpage. 回答1: RTSP stream are not supported directly by HTML5 browsers. Using plugins is a limited solution for certain browsers and

FFMPEG error with avformat_open_input returning -135

匿名 (未验证) 提交于 2019-12-03 08:28:06
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I have a DLL one of my applications uses to receive video from RTSP cameras. Under the hood, the DLL uses FFMPEG libs from this release zip : ffmpeg-20141022-git-6dc99fd-win64-shared.7z We have a wide variety of cameras in house and most of them work just fine. However, on one particular Pelco Model Number: IXE20DN-OCP, I am unable to connect. I tested the camera and rtsp connection string on VLC and it connects to the camera just fine. I found the connection string here : http://www.ispyconnect.com/man.aspx?n=Pelco rtsp://IPADDRESS:554/1

Stream desktop over RTP using VLC with the lowest latency possible

你。 提交于 2019-12-03 07:50:24
问题 I have been trying to figure out how to stream my desktop (over LAN) using VLC and to achieve the lowest latency possible (<100ms). The goal is to have another computer receive the stream and potentially play games while streaming (i.e playing game from PC1 on the PC beside the TV). What settings should I use? I have tried multiple approaches but have yet to succeed. EDIT: I am open to using something other than VLC as well. 回答1: I have also tried the same with VLC and couldn't ever get

Can&#039;t receive RTSP live stream from an IP cam

匿名 (未验证) 提交于 2019-12-03 07:50:05
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I want to receive live streaming from an IP camera using RTSP, I'm getting 'Can't play this video' , and the following Exception: 07-16 14:06:26.945: D/MediaPlayer(19411): setDataSource IOException happend : 07-16 14:06:26.945: D/MediaPlayer(19411): java.io.FileNotFoundException: No content provider: rtsp://192.168.30.108:554 07-16 14:06:26.945: D/MediaPlayer(19411): at android.content.ContentResolver.openTypedAssetFileDescriptor(ContentResolver.java:1052) 07-16 14:06:26.945: D/MediaPlayer(19411): at android.content.ContentResolver

How to live stream a video using RTSP link in android?

匿名 (未验证) 提交于 2019-12-03 07:50:05
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: I try to develop an application for live video streaming, and it's work for certain links. But some other links are doesn't work. Here is my code Uri stream = Uri . parse ( "rtsp://208.77.20.52:1935/dmm1/ten" ); Intent videointent = new Intent ( Intent . ACTION_VIEW , stream ); startActivity ( videointent ); It shows can't play this video. But when I use "rtsp://cdn.m.yupptv.tv/liveorigin/we2" Url it's works fine. Actually what is the problem?? the Link or my code?? I also use Video view with and without mediacontroller to do this

Using Live555 to Stream Live Video from an IP camera connected to an H264 encoder

假如想象 提交于 2019-12-03 07:36:09
I am using a custom Texas Instruments OMAP-L138 based board that basically consists of an ARM9 based SoC and a DSP processor. It is connected to a camera lens. What I'm trying to do is to capture live video stream which is sent to the dsp processor for H264 encoding which is sent over uPP in packets of 8192 bytes. I want to use the testH264VideoStreamer supplied by Live555 to live stream the H264 encoded video over RTSP. The code I have modified is shown below: #include <liveMedia.hh> #include <BasicUsageEnvironment.hh> #include <GroupsockHelper.hh> #include <stdio.h> #include <unistd.h>

H.264 RTSP Absolute TIMESTAMP

放肆的年华 提交于 2019-12-03 07:34:46
Is it possible to read an absolute timestamp from an H.264 stream sent trough RTSP from an Axis camera? It will be necessary to know when the frame has been taken by the camera. Thanks Andrea as Ralf already said - the RTP timestamps are relative to a random clock - they are only useful for computing the difference between two frames (or RTP-packets in general). For synchronizing these relative values to a wall clock you can use the RTCP sender - just have a look on the links Ralf provided. For Axis-products using H.264 this works pretty good. In case you're also using MPEG4, the Axis firmware