High compatible RTSP RTSP player pages without plug-in streaming media player EasyPlayer-RTSP-Win64-bit code compiler upgrade introduces the debugging process

Most of the players are facing RTSP live scene, if the delay over the General Assembly seriously affecting experience. So, low latency is a very important indicator of a good RTSP player, currently live cattle SDK delay control of RTSP to play in a few hundred milliseconds, VLC in a few seconds.

In addition to H.264, H.265 also need support, more and more are currently available in the market RTSP H.265 camera, support RTSP H.265 player is imminent. In addition, a simple play H.265 enough, you also need to be can H.265 data can be recorded.

EasyPlayerRTSP.png

EasyPlayer-RTSP-Win64-bit code compiler upgrade

Daniel live SDKRTSP player EasyPlayer-RTSP-Win support multiple pull streaming, and pull stream decoding process takes up system resources, and we all know that 32-bit programs can only use up to 4G of memory, and now moving the 8G, 16G memory space that can not be fully utilized; therefore, in order to make full use of memory resources, EasyPlayer-RTSP-Win will also be upgraded to 64-bit version.

1. Create a new 64-bit compiler platform

51.jpg

All dependencies translated into 64
1> gpac library compiler 64
official website to download GPAC source, the VS version cmake generate a corresponding, then compiled 64-bit platform to;
2> libEasyAACEncoder Library Compiler 64
3> ffmpeg compiler 64
ffmpeg may from the network to download the source code official, by cross-compilation or cmake to compile 64;
4> IntelHardCodec compiled 64
5> SaveJPGDll library compiled 64
6> FFDecoder compiled 64
7> D3DRender compiled 64
solemnly thank in Gavin great God busy taking the time help compile 64-bit repository;
8> EasyRTSPClient compiled 64

2. Compile the program is compatible with 64-bit and 32-bit debugging
program is very simple to compile, compile the specified platform, then attach the corresponding platform dependencies of header files and libraries can;
through this 64-bit version of the compiler, encountered several problems and precautions:
(1) program dependent DLL libraries compiled 64 by to pay attention to dependent libraries (system or third-party) should be compiled with 64-bit support;
(2) if there is no source, by a third party provided by the library, if need be compatible compiler can be solved by way of macro definitions, such as:

	
#ifdef _WIN64
#include "D3DRender\include\x64\D3DRenderAPI.h"

#pragma comment(lib, "EasyRTSPClient/lib/x64/libEasyRTSPClient.lib")
#pragma comment(lib, "FFDecoder/lib/x64/EasyDecoder.lib")
#pragma comment(lib, "./D3DRender/lib/x64/D3DRender.lib")
#pragma comment(lib, "IntelHardCodec/lib/x64/IntelHardCodec.lib")
#pragma comment(lib, "libEasyAACEncoder/lib/x64/libEasyAACEncoder.lib")
// 增加MP4box和SaveJPG库的支持 [9/20/2016 dingshuai]
// JPGSave
#pragma comment(lib, "SaveJPGDll/lib/x64/SaveJpgDll.lib")

#else
#include "D3DRender\include\x86\D3DRenderAPI.h"

#pragma comment(lib, "EasyRTSPClient/lib/x86/libEasyRTSPClient.lib")
#pragma comment(lib, "FFDecoder/lib/x86/EasyDecoder.lib")
#pragma comment(lib, "D3DRender/lib/x86/D3DRender.lib")
#pragma comment(lib, "IntelHardCodec/lib/x86/IntelHardCodec.lib")
#pragma comment(lib, "libEasyAACEncoder/lib/x86/libEasyAACEncoder.lib")
#endif

Currently x64 systems have been widely used, mainstream future program should be 64, in order to make full use of memory resources, but also suggest that you have to upgrade your existing 32-bit applications to 64-bit; the latest compatible 64-bit and 32-EasyPlayer-RTSP- Win will also be released.

This switched: https: //blog.csdn.net/TsingSee/article/details/102682467

Guess you like

Origin www.cnblogs.com/TSINGSEE/p/11719887.html