Use libvlc for network streaming

Source: Internet
Author: User

Reprinted with the source: http://www.cnitblog.com/buf/archive/2012/10/10/74993.html

VLC has rich and powerful command line parameters, allowing you to easily perform transcoding and IO redirection (file, network ...) And so on. There are also a lot of related information on the network, so I won't be so embarrassed here. Here, I would like to share my experience on using libvlc for streaming.

1. First. To use libvlc, you must include the header file "VLC/VLC. H" and the files connecting libvlc. lib and libvlccore. Lib.

2. libvlc requires stdint. h. If this file is not available, download it to the SDK \ include \ VLC directory and put # include <stdint in libvlc_structures.h. h> Replace with # include "stdint. H ", compilation will be okay.

3. After connecting to libvlc, the program will run libvlc. dll, libvlccore. dll, and a series of plug-in function DLL. These are included in the ZIP files downloaded in 1 and copied to the directory where the program is located. Keep the directory structure unchanged. For example:

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.