Currently developing open source VLC embedded in the page to play RTSP data stream, but found embedded page of VLC (page start, install VLC plug-in) play RTSP stream compared to VLC player, there will be a phenomenon of lag, ask if there are friends have similar problems, if please help answer under, Not very grateful.This article is from the "9684632" blog, please be sure to keep this source http://9694632
Bada is a mobile operating system developed by Samsung. It features flexible configuration, good user interaction, and service-oriented. It attaches great importance to SNS integration and geographic location service applications. Bada is designed to create an era in which everyone can use smartphones. This article describes how to play a real-time rtsp stream on the bada platform.
Use the Osp: Media: Player class
The supported formats in stream
1, first from FFPLAY.C main ()is = Stream_open (Input_filename, File_iformat);2, inside the Straem_open.Is->read_tid = Sdl_createthread (Read_thread, is);3,read_threadErr = Avformat_open_input (ic, Is->filename, Is->iformat, format_opts);4,avformat_open_inputif (ret = Init_input (s, filename, tmp)) The real drama is from Init_input ();Our goal is to know how to interact with the server for RTSP messages, so the first one to parse from the input URL is
A background:
Users need to watch the video through flash or mobile phone, and most cameras are RTSP protocol, so need to do a relay.
Resources:
http://blog.csdn.net/firehood_/article/details/8813587
http://blog.csdn.net/firehood_/article/details/8783589
These two articles detail the Mp4v2 save the file and the 264 files through the rtmp live, the two aspects of interest can be directly read the two articles. This article is only read the two articles
the difference between hls,http,rtsp,rtmp protocols:
in HTTP mode:The FLV is downloaded to the local cache by the server, and then the FLV is played back through the local connection of the netconnection, which is to play the local video, not the video of the playing server. So this flv can be found in the local cache. The advantage is that the server downloaded this flv, the server is not consumed, save the server consumption. The disadvantage is th
==================== Problem Description ====================Use Videoview to do the display. Play all the way a little problem, no card, very real-time, but, more can not play, also reported wrong. Automatically eject a dialog box that cannot be played.The same is true with Surfaceview.I hear it's because the Android bottom only supports decoding.Do you have to transplant ffmpeg? But this is soft decoding ah, the efficiency is too low, and seemingly quite complex.Who has a better way to do it.
After debugging for a while, the RTSP server can finally see the live video. The test environment is
① Rt5350 runs in AP Mode
② The client is PC + VLC, And wifi uses a 54 Mbps USB Nic of TP-link.
Busybox v1.12.1 (22:09:57 Cst) built-in Shell (Ash)Enter 'help' for a list of built-in commands.# FreeTotal used free shared BuffersMem: 28116 18524 9592 0 836Swap: 0 0 0Total: 28116 18524 9592# TopMem: 18520 K used, 9596 K free, 0 K shrd, 836 K buff, 284
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 is as follows:
If test.html is enabled in t
Use the vlc plug-in to embed the IP camera into the webpage and play the RTSP stream, vlcrtsp1. Description
Recently, a project needs to embed the IP camera image into a web page. To reduce development costs, use the vlc plug-in to play the RTSP stream provided by the camera. On the official website of videolan wiki, We will detail how to use vlc web plugin.Note that the methods provided on the wiki are no
Video courses and related documents code address: https://github.com/EasyDarwin/Course#course-3RTP ProtocolThe real-time Transport protocol RTP (real-time Transport Protocol) is a network transport protocol that was published by the IETF Multimedia Transmission Working Group in RFC 1889 in 1996 and later updated in RFC3550.ITU-T also released its own RTP documentation as a h.225.0, but it was later canceled when the IETF released a standard RFC on its stability. It is described in detail as an I
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, BGR to RGB arrangement, both efficiency usi
1, compiled live555 source directory basicusageenvironment, Groupsock, Livemedia, usageenvironment four projects to generate the corresponding library files;The directory structure is as follows:2, including the above four project directory under the Include directory file and the generated library files, compiled MediaServer directory files, will generate the corresponding EXE file (under Windows compiled EXE, under Linux can generate the corresponding running program)The MediaServer.exe file i
Http://www.onlyblog.com/blog2/zyjzyj2000/10343.html
The installation steps are as follows:1. Install fedora7;2. Remove the firewall of Fedora 7. You can also configure the firewall by yourself to allow ports 4212 and 5554;3. Install the VLC server. See the above blog.Article;Configure the VLC server as follows:1. Run the command on the control terminal of Fedora 7VLC -- TTL 12-vvv -- color-I Telnet -- telnet-Password VideoLAN -- RTSP-host 0.0.0.0:
With VLC built a streaming media server, on the local side to open the network stream and there is no problem, when the Android link is in option when the failure, connection time out, in addition to build VLC RTSP server does not have any problems, On other machines, the same construction method can play normally, this indicates the local configuration where the failure occurred?Workaround:Advanced settings for firewalls on your PC are as follows:Con
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 the Web page to play the
How to receive the H for RTSP transmission in PHP. 264 video Streaming
I tried to send the RTSP method, can print a stream of streams (should be able to accept), as if to save the binary file as a save, but it is not running, feel I still have something to do, to seek the direction of the expert pointing
------Solution--------------------
Convert src to your video stream.
------Solution------------
error code for standard RTSP message – The first line of the reply message indicates
"100"; Continue (All range)
"110"; Connect Timeout
"200"; Ok
"201"; Created
"250"; Low on Storage Space
"300"; Multiple Choices
"301"; Moved Permanently
"302"; Moved temporarily
"303"; See other
"304"; Not Modified
"305"; Use Proxy
"350"; Going away
"351"; Load balancing
"400"; Bad Request
"401"; Unauthorized
"402"; Payment Required
"403"; Forbidden
"404"; Not Found
In general, DirectShow filter contains three parts: Source Filter, transform filter, and renderfilter.As required by the project, you need to develop a filter based on FFMPEG (soucer filter + transform filter merge ). That is, Source Filter-> render FilterThis filter needs to be able to decode and display the RTSP h264 video stream. The general solution is to use FFMPEG to receive RTSP video streams, obtain
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.