rtsp-client

Live555 OpenRTSP Client : How to delete current rtsp client properly and start new One

风格不统一 提交于 2019-12-06 07:28:08
Well, When my OpenRtsp Client lost connection with server, I dispose the old client and other parameters then re-create new client. The Client send Options,Describe request successfully but failed after that... I can not able create Session and Subsesions so I got Access Violations errors.. How to reset old OpenRtspClient properly so that get new "brand" RTSPClient? My Current Way to Reset Old Client: I just modify the "shutdown" method in playCommon class. I did not send Teardown... ... void ResetOurClient(){ if (env != NULL) { env->taskScheduler().unscheduleDelayedTask(sessionTimerTask); env

Playing RTSP stream in VLC player

不羁岁月 提交于 2019-12-04 04:27:34
问题 I am trying to make a simple rtsp streaming server in java. The server is able to stream the video properly to the custom written player. The problem I that I am not able to play the same stream in vlc media player. When I start the vlc media player and enter the streaming details, my server is displaying the following request made by vlc: OPTIONS rtsp://192.168.2.8:8210/movie.3gp RTSP/1.0 CSeq: 1 User-Agent: VLC media player (LIVE555 Streaming Media v2010.01.07) In response, I am sending the

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

感情迁移 提交于 2019-12-03 16:22:10
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? Turned out I did not enable network support when building FFMPEG. The following options worked for me: --enable-network --enable-protocol=tcp --enable-demuxer=rtsp

Keeping Alive Rtsp Connection

醉酒当歌 提交于 2019-12-03 13:24:18
I have a simple Rtsp Client...The client send Rtsp Commands to Rtsp Server and get RTP packets from server. The problem is that after a time( about 3-4 minute) my 3rd party RTSP Server drop connection with my RTSP Client. I have not implemented RTCP...I take rtp packets from rtsp server but does not send any RTCP PACKET... I make simple search and find that some guys use some RTSP commands[ like OPTIONS, SET PARAMETER-GET PARAMETER ] too keep alive Connections between RTSP Server and Client... But in my case that does not work... Here is my questions: What is the best way to keep alive

Playing RTSP stream in VLC player

一世执手 提交于 2019-12-01 21:16:30
I am trying to make a simple rtsp streaming server in java. The server is able to stream the video properly to the custom written player. The problem I that I am not able to play the same stream in vlc media player. When I start the vlc media player and enter the streaming details, my server is displaying the following request made by vlc: OPTIONS rtsp://192.168.2.8:8210/movie.3gp RTSP/1.0 CSeq: 1 User-Agent: VLC media player (LIVE555 Streaming Media v2010.01.07) In response, I am sending the following to the vlc player: RTSP/1.0 200 OK Supported: play.basic, con.persistent CSeq: 1 Server:

how to get vlc logs? [closed]

本小妞迷上赌 提交于 2019-11-29 20:13:50
I am trying to run rtsp url from the VLC player. But an error appears, and "see logs for details" comes up in a dialog box. How can I enable logs in VLC? Or you can use the more obvious solution, right in the GUI: Tools -> Messages (set verbosity to 2)... garima I found the following command to run from command line: vlc.exe --extraintf=http:logger --verbose=2 --file-logging --logfile=vlc-log.txt 来源: https://stackoverflow.com/questions/4303017/how-to-get-vlc-logs

Record RTSP stream with FFmpeg libavformat

耗尽温柔 提交于 2019-11-28 16:54:33
I'm trying to record RTSP stream from Axis camera with FFmpeg libavformat. I can grab video from files and then save it to another file, this is OK. But camera sends strange data, FPS is 100 and camera sends every 4th frame so result FPS is about 25. But libavformat set packets dts/pts for 90000 fps (default?) and new file stream has 100fps. Result is one hour video with only 100 frames. Here is my code #include <stdio.h> #include <stdlib.h> #include <libavcodec/avcodec.h> #include <libavformat/avformat.h> #include <libavformat/avio.h> int main(int argc, char** argv) { AVFormatContext* context

how to get vlc logs? [closed]

*爱你&永不变心* 提交于 2019-11-28 16:08:47
问题 I am trying to run rtsp url from the VLC player. But an error appears, and "see logs for details" comes up in a dialog box. How can I enable logs in VLC? 回答1: Or you can use the more obvious solution, right in the GUI: Tools -> Messages (set verbosity to 2)... 回答2: I found the following command to run from command line: vlc.exe --extraintf=http:logger --verbose=2 --file-logging --logfile=vlc-log.txt 来源: https://stackoverflow.com/questions/4303017/how-to-get-vlc-logs

Creating a rtsp client for live audio and video broadcasting in objective C

生来就可爱ヽ(ⅴ<●) 提交于 2019-11-28 11:40:29
I am trying to create a RTSP client which live broadcast Audio and Video. I modified the iOS code at link http://www.gdcl.co.uk/downloads.htm and able to broadcast the Video to server properly. But now i am facing issues in broadcasting the audio part. In the link example the code is written in such a way that it writes the Video data to file and than reads the data from the file and upload the NALU's video packets to RTSP server. For Audio part i am not sure how to proceed on it. Right now what i have tried is that get the audio buffer from mic and than broadcast it to the server directly by

Creating a rtsp client for live audio and video broadcasting in objective C

删除回忆录丶 提交于 2019-11-27 19:22:04
问题 I am trying to create a RTSP client which live broadcast Audio and Video. I modified the iOS code at link http://www.gdcl.co.uk/downloads.htm and able to broadcast the Video to server properly. But now i am facing issues in broadcasting the audio part. In the link example the code is written in such a way that it writes the Video data to file and than reads the data from the file and upload the NALU's video packets to RTSP server. For Audio part i am not sure how to proceed on it. Right now