
Research
/Security News
Toptal’s GitHub Organization Hijacked: 10 Malicious Packages Published
Threat actors hijacked Toptal’s GitHub org, publishing npm packages with malicious payloads that steal tokens and attempt to wipe victim systems.
h265-web-player
Advanced tools
This project code reference learning WasmVideoPlayer, if you need to learn the partners please check the project source code. This project code is based on the secondary development of WasmVideoPlayer project, according to the need to reorganize the code structure, on the basis of the project to increase the range of playable video and do compatibility processing. We will continue to update it.
Based on the high compression ratio of H265, we can reduce the size of video files, and reduce the traffic and storage cost of cloud services when playing online.
Compatible: Packaging formats: MP4, FLV Video encoding formats: H265, H264 Audio encoding format: AAC Rendering format: YUV420P, YUVJ420P
Planned updates: Encoding format: M3U8, MKV Encoding format: V8, V9, H266 Rendering Format: YUV422P, YUV444P Network transfer protocol: WEBSOCKET, WEBRTC
github address: https://github.com/DigitalBoyYu/h265-web-player.
Here is just a simple implementation of some of the functions of the player, including downloading, unpacking, decoding, rendering, audio and video synchronization, and other basic functions, there are still a lot of details can be optimized in each link. At present, it can support various built-in codecs of FFmpeg, such as H264/H265, etc. By default, it supports MP4/FLV file playback and HTTP-FLV stream playback. Web Worker is used here to put the download and the call to FFmpeg into a separate thread.
There are two main threads:
Google Chrome (self-test) version 123.0.6312.86 CPU usage 1%-3% (i5-8600K 3.6GHz) Memory usage 300-600M
Execute the command to start the local service: `` node server.js node server.js WEB URL http://localhost:3000/index.html
Initialize:
let canvas = document.getElementById('playCanvas')
let player = new Player()
player.init({
width: 500,
player.init({ width: 500, height: 500,
canvas: canvas, url: ''
url: 'http://localhost:3000/video/h265.mp4'
})
This project is still in the process of continuous optimization, welcome all developers to put forward valuable comments, thank you for your support. I accept customization requirements for business cooperation, if you need please email me (ss00147147@qq.com)
FAQs
WebAssembly-based H265 Web Player
The npm package h265-web-player receives a total of 9 weekly downloads. As such, h265-web-player popularity was classified as not popular.
We found that h265-web-player demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
/Security News
Threat actors hijacked Toptal’s GitHub org, publishing npm packages with malicious payloads that steal tokens and attempt to wipe victim systems.
Research
/Security News
Socket researchers investigate 4 malicious npm and PyPI packages with 56,000+ downloads that install surveillance malware.
Security News
The ongoing npm phishing campaign escalates as attackers hijack the popular 'is' package, embedding malware in multiple versions.