【FAQ】H5 website open source streaming media player EasyPlayer.js plays H.265, what is the reason why the snapshot cannot be taken?

TSINGSEE Qingxi Video's open source streaming media player EasyPlayer video player can support H.264 and H.265 video encoding formats, stable performance, smooth playback, and can also support RTSP, RTMP, HLS, FLV, WebRTC and other video streaming playback , and has realized real-time video recording on the web page and low-latency live broadcast on iOS. At present, all video surveillance platforms of TSINGSEE Qingxi Video use EasyPlayer.js player, which is also the most popular H5 streaming media player among users and developers.

Some users reported that when using EasyPlayer.js to play H.265 encoded video streams, snapshots cannot be taken. In response to this feedback, we immediately conducted a troubleshooting.

The local test found that the local H.265 encoded video can be screenshotted normally and can be saved and downloaded. So a comparison test was conducted and it was found that because the user's video resolution is too small to reach the set size, it will directly return that the snapshot cannot be taken.

Solution: Find the player js in the project and modify the parameters as follows:

Find the two files of the player, and modify the judgment length, which can be set to 106432.

EasyPlayer is a tool with high attention in our streaming media component series. After years of development and iteration, there are currently multiple application versions, including RTSP version, RTMP version, Pro version, and js version, of which the js version is played as a web page are widely used by users. EasyPlayer.js can support playback of multiple streaming media protocols, including WebSocket-FLV, HTTP-FLV, HLS (m3u8), WebRTC, etc., and supports playback on all platforms and terminals, such as Windows, Linux, Android, and iOS, without installing any plug-ins , fast start, low latency, strong compatibility, and very convenient to use.

Guess you like

Origin blog.csdn.net/Black_3717/article/details/132055420