Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

VS2015 compiles Live555 streaming media server

2025-04-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

VS2015 compiles Live555 streaming media server

Scene

Use Live555 to simulate IPC to transmit RTSP video streams, and then use VLC to play h364

Prepare for

Live555-latest.tar.gz: download URL http://www.live555.com/liveMedia/public/

Steps

1) modify win32config file

A. TOOLS32 = c:\ Program Files\ DevStudio\ Vc change to TOOLS32 = TOOLS32 = C:\ Program Files (x86)\ Microsoft Visual Studio 14.0\ VC (your vs directory)

B. LINK_OPTS_0 = $(linkdebug) msvcirt.lib changed to LINK_OPTS_0 = $(linkdebug) msvcrt.lib

2) copy the Win32.Mak and NtWin32.Mak files to several modules in the Live555 directory. VS2015 is currently installed on disk C in the following directory

C:\ Program Files (x86)\ Microsoft SDKs\ Windows\ v7.1A\ Include

3) start Visual Studio Command Prompt (2015) and enter the Live555 library

4) execute genWindowsMakefiles.cmd

5) enter the liveMedia directory and execute nmake-f liveMedia.mak

Enter the other directories in the Live555 directory in turn, execute the corresponding mak files, and then compile the libraries and executable programs of different functional modules.

6) the directory where the Rtsp server is located is in the mediaServer directory. Copy an h364 streaming file to the current directory, and then start live555MediaServer.exe

The video can be played smoothly by entering url:rtsp://192.168.0.107/smoke.264 through the VLC player.

Refer to the website http://www.cnblogs.com/jiayayao/p/6196056.html

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report