VLC plays the. 264 file packaged and sent by RTP

Source: Internet
Author: User

I have been searching for this problem online for a long time. It may take about two weeks. After a large number of searches and searches, I have finally made some progress. Although I still don't understand the principle, I can finally see it. The next step is to make a deeper research, but today we are going to post the receipt, although very few, but it is also a summary of myself. Of course, we would also like to thank our predecessors and Friends of the video forum for their selfless dedication.

1. Of course, you must have a server that sends the. 264 file of the RTP package.

2. Download vlchttp: // download.videolan.org/pub/videolan/vlc/1.1.5/win32/. This version can be used for playback (It seems that other versions are not acceptable. I tried it for a long time. Thanks for the connection provided by netizens.)
And then set:

1). Set W. SDP to open VLC ---> media ---> open network stream
(1) ---> network ---> RTP: // @ 192.168.1.101: 1234

(2) ---> file ---> Add... W. SDP -----> play

Here we will talk about the SDP file. When the SDP file is used, VLC playback is required. This is required. Otherwise, it cannot be played. W. the SDP file has only a few words. I will post them here:

M = video 1234 RTP/AVP 96 // 96 indicates the dynamic net load type number, which means that the load type is uncertain and A = rtpmap: 96 h264a = framerate: 15c = in ip4 192.168.0.30

The above 1234 and 192.168.1.101 should all know what it is, namely, the RTP Port and IP address.

2.) Click the play button of VLC (you must first click play)

3) then run the. 264 file's RTP packet sent to the server

4.) You will be able to see the VLC starting to play the video later.

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.