Many developers mentioned when communicating with us, why should Danniu Live SDK develop SmartPlayer with VLC as an open source player? The following is a general comparison of VLC and SmartPlayer functions:
VLC
VLC, full name is Video Lan Client, is an open source, cross-platform Video player, as follows:
- Operating system: Windows, WinCE, Linux, MacOSX, BEOS, BSD
- Access mode: File, DVD/VCD/CD, HTTP, FTP, MMS, TCP, UDP, RTP, IP multicast, IPv6, and RTSP
- Encoding format: MPEG*, DIVX, WMV, MOV, 3GP, FLV, H.263, H.264, FLAC
- Video subtitle: DVD, DVB, Text, Vobsub
- Video output: DirectX, X11, XVideo, SDL, FrameBuffer, ASCII
- Control interface: WxWidgets, QT4, Web, Telnet, Command line
- Browser plug-in: ActiveX, Mozilla (Firefox)
VLC related links
- VLC official website: www.videolan.org/
- VLC download page: www.videolan.org/vlc/
- VLC download directory (source and the installation package) : download.videolan.org/pub/videola…
- VLC Nightly Builds: nightlies.videolan.org/
- VLC development Wiki:wiki.videolan.org/Developers_…
- VLC Win32 third-party libraries pre-compiled package download directory: download.videolan.org/pub/testing…
- VLC official forum: forum.videolan.org/
- VLC mailing list: www.videolan.org/developers/…
SmartPlayer
SmartPlayer is a fully developed kernel OF RTSP and RTMP live player SDK produced by Github, which is cross-platform (Windows, Android, iOS), fully functional, high stability, ultra-low latency, ultra-low resource occupancy, It is suitable for security, education, individual command and other scenarios where latency and stability requirements are demanding. Under the premise of no bottleneck in machine performance, SmartPlayer’s RTSP player and RTMP player delay is one of the few millimeters in the industry.
Features:
- [Multi-instance play] Supports multi-instance play.
- [Event callback] Supports callback of network status and buffer status.
- [Video format] support H.265, H.264, in addition, also support RTSP MJPEG playback;
- [Audio format] AAC/PCMA/PCMU;
- [H.264/H.265 soft decoding] Supports H.264/H.265 soft decoding;
- [H.264 hard decoding]Windows/Android/iOS support H.264 hard decoding;
- Windows/Android/iOS support H.265 hardware;
- [H.264/H.265 hard decoding]Android supports Surface mode hard decoding and normal mode hard decoding;
- [RTSP mode setting] Supports RTSP TCP/UDP mode setting.
- [AUTOMATIC RTSP TCP/UDP switchover] Supports automatic RTSP TCP/UDP switchover.
- [RTSP Timeout setting] The RTSP timeout setting is supported, in seconds.
- [RTSP 401 Authentication Processing] RTSP 401 events are reported. For example, authentication information carried by URLS is automatically processed.
- [Buffer time setting] Supports buffer time setting.
- [First screen second on] Supports the first screen second on mode;
- [Complex network processing] Automatic adaptation of various network environments such as disconnection and reconnection;
- [Quick URL switching] During playback, you can quickly switch to other urls, and content switching is faster.
- Android platform, video: SurfaceView /OpenGL ES, audio: AudioTrack/OpenSL ES;
- [Real-time mute] You can mute or unmute a player in real time.
- [Real-time snapshot] Capture the current screen during playback.
- [Keyframe-only] The Windows platform supports real-time setting whether to play only keyframes.
- [Render Angle] Support 0°, 90°, 180° and 270° video rendering Angle Settings;
- [Render image] support horizontal inversion, vertical inversion mode Settings;
- [equal scale scaling] Support image equal scale drawing;
- [Real-time download speed update] Supports real-time callback of the current download speed (supports setting the callback interval);
- [Video data callback before decoding] support H.264/H.265 data callback;
- [Decoded video data callback] support decoded YUV/RGB data callback;
- Support AAC/PCMA/PCMU data callback;
- [Audio and video adaptive] Support audio and video information change in the playback process, self-adaptation;
- [Extended Recording function] Supports recording and recording state callback.
conclusion
By comparison, it can be concluded that SmartPlayer has more comprehensive support for live playback in RTSP and RTMP.
If the delay requirements are not high, need to support more protocols and audio and video formats, you can consider using VLC, the emergence of VLC is the Gospel of the audio and video industry.
If the delay and stability requirements are high, you can consider using SmartPlayer, which is easy to integrate, supports real-time download speed callback and network status callback, etc. SmartPlayer is one of the few milliseconds delay RTSP and RTMP live player.