Recently, we need to create an RTSP Streaming Media Player. After studying it, we encapsulate an RTSP playing class crtspplayer, and the decoding library uses FFMPEG. Due to the simple requirement and limited time, only the following basic interfaces are available: Play, stop, and pause. The following is a simple RTSP
ONVIF ODM in the field of ONVIF fame is very large, is an open source NVC implementation. Its implementation uses C # C + + F #. The project is large and complex. Recently, I wrote a C # version of the RTSP player by calling its class library. Not very difficult. But to understand the principle, but also need more research and research ODM source code.:At present, the difficulty lies in the decoding process
Step for inserting a VLC player into the webpage to play the rtsp video stream, vlcrtsp
1. Follow the steps in the http://download.csdn.net/detail/haowenxin123456789/8044245;
2. Download The http://www.videolan.org/vlc/index.html from the vlc-2.2.1-win32.exe and install it under the D: \ ProgramFiles folder;
3. Run: vegsvr32 D: \ ProgramFiles \ VideoLAN \ VLC \ axvlc. dll;
4. The code of the test.html file
1. Imitate the steps in http://download.csdn.net/detail/haowenxin123456789/8044245;2. Download the Vlc-2.2.1-win32.exe from the http://www.videolan.org/vlc/index.html and install it into the D:\\programfiles folder;3. operation: Vegsvr32 D:\\programfiles\\videolan\\vlc\\axvlc.dll;4. The test.html file code is as follows:Opening test.html in IE will play the live RTSP video stream.Insert VLC player into th
References:
Compile reference: http://blog.chinaunix.net/uid-20718335-id-2980793.html
Code reference: http://blog.csdn.net/leixiaohua1020/article/details/8652605
Compile FFMPEG in windows and use a test program to play the local file and RTSP video stream based on the FFMPEG dynamic library.
Why is it so troublesome for a csdn blog to insert images? After the previous article has cut so many images, I uploaded them all, and I want to see the color-ch
library during ' Pthread_mutex_lock ': Invalid argument. Aborting.Aborted (core dumped)[Email protected]:~/wyb/gst-rtsp-server/gst-rtsp-0.10.8/examples$Http://www.linuxidc.com/Linux/2014-12/111000.htmInstalling VLC player on Ubuntu 14.10sudo apt-get install VLC4. Test GST-RTSPThe first thing to look at is the Readme in the Doc directory in the GST-
identifier and session-related information.4. C-> S: Play request // C request playback4. S-> C: Play response // S: the requested information is returned.S-> C: Send streaming media data5. C-> S: teardown request // C request to close the session5. S-> C: teardown response // s should requestThe above process is a standard and friendly RTSP process, but the actual needs are not necessarily step by step.Steps 3rd and 4 are required! Step 1: The optio
packet is usually the option request message USER-AGENT:VLC Media Player (LIVE555 streaming media v2005.11.10) The response information for the server includes some of the methods provided, such as: rtsp/ 1.0 OK server:userver 0.9.7_rc1 cseq:1 //CSEQ value of each response message and request for a message that corresponds CSeq, DES Cribe, SETUP, TEARDOWN, PLAY, PAUSE, scale, Get_parameter//server avail
playback technology is mainly in the way of ffmpeg+ mapping. IV. Structure:
For ease of management and scalability, bandwidth throttling and multi-user concurrency considerations, the commercial solution will adopt streaming media server +web server + Relay Server + Mobile client program, in which: Streaming media server (streaming server) Responsible for capturing the video source and compressing the encoding and waiting for the RTSP connection requ
recorder Remote Control Protocol ".1.1. Introduction to RTSP
To implement the RTSP control function, not only the protocol, but also the media player and Media Server ). The relationship between media servers and media players is the relationship between servers and customers. The biggest difference between a media server and a common web server is that a Media
option request message User-Agent: VLC Media Player (live555 streaming media v2005.11.10). The server response information includes the provided methods, such as RTSP/1.0 200 okserver: userver 0.9.7 _ rc1cseq: 1 // The CSeq value of each Response Message corresponds to public: Options, describe, setup, teardown, play, pause, scale, get_parameter // available method provided by the server 2. describec initi
, RTSP does not bind RTP. The ability to reuse HTTP has benefits in at least two ways: security and proxy. Because the requirements are very close, it is valuable to use HTTP functionality on caches, proxies, and authorizations. 1. Live Streaming Protocol RTSP
RTSP[3] Protocol works as a client server, a multimedia playback control protocol that enables users
Rtps demo (64-bit for Linux and 32-bit for Windows): rtsp_demo.rar
1. First, the server receives a client connection request to produce an rtspclientconnection object. For details about the rtspclientconnection definition, refer to the definition of RTSP server-module from scratch.
int rtsp::v_accept(netconnection * n){ netoperation::v_accept(n); printf("client accept\n\n\n"); RtspClientConnection
Server: live555 client: VLC video format: H264
(1) OPTIONS
OPTIONS rtsp://222.201.145.236/slamtv60.264 rtsp/1.0Cseq:2user-agent:libvlc/1.1.11 (LIVE555 streaming Media v2011.05.25)Parsing: This step is where the client asks the server what methods are available. The package describes the address and port where the client requests the file and describes the version of the
How to play RTSP Streaming Media on ophone PlatformRTSP (Real Time Streaming Protocol) is an application layer protocol in the TCP/IP protocol system. This Protocol defines how one-to-multiple applications can effectively transmit multimedia data over an IP network.RTSP can be well supported by mainstream players. With the development of smart mobile phones, more and more mobile phones are beginning to support the
stop (roughly corresponding to teardown ). there is no setup-button available to the user. given that setup is mandatory in an RTSP-interaction, how wowould You implement that in a media player? When does the client sends the setup? Come up with a solution and implement it. Is it appropriate to send teardown when user clicks on the Stop-button?
Currently the client and server only implement the minimum ne
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.