VLC player implements push-flow and streaming methods

Source: Internet
Author: User
Tags port number

VLC Player is a powerful player.

Baidu Encyclopedia: VLC Multimedia player (originally named VideoLAN client) is a multimedia player of the VideoLAN program. It supports a wide range of audio and video decoders and file formats, and supports DVD audio-visual discs, VCD audio-visual discs, and various streaming protocols. It can also be used as a unicast or multicast streaming server under a high-speed network connection of IPV4 or IPV6. It integrates the decoder with the FFmpeg program and the LIBDVDCSS library so that it has the ability to play multimedia files and encrypt DVD discs.

We can use VLC's push stream streaming function to realize the video playback function.

One, the data collected from the computer's own camera to play out

Open VLC

Media--> Open the capture device-->

Capture Mode: DirectShow

Adapter device Name: USB2.0 ...

Audio Device Name: Microphone (... )

Click Play

The computer camera capture screen will appear:


screen. jpg


Two Send the data that the computer camera collects

Open VLC

Media--> Stream--> capture device-->

Capture Mode: DirectShow

Adapter device Name: USB2.0 ...

Audio Device Name: Microphone (... Tap Stream-Next

Enter the flow Output Settings screen:















The image above can be found to have selectable items, we select UDP Transport, and then click the Add button:















Enter your computer's IP address at address, set the port number (0-65535)

Click Next---next--stream

(When the push flow is complete, we can accept the flow.) Luck. )

And open a new VLC window.

Media----> Open Network streaming:















Enter the appropriate address: udp://@IP: Port number

Click to play, you can accept the video.



Three. Using VLC to push video files, push RTP stream and so on can also be achieved.

Step and push the computer camera above the same time, you can try it yourself.

Note that the IP address used here is the IP between a local area network, that is, if a wants to push the video to B look, then first they must be in the same

Local area network, second, enter the IP address must be B.

Some friends may want to know the way to multicast, but for many reasons, multicast is difficult to achieve.


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.