
Research
/Security News
Weaponizing Discord for Command and Control Across npm, PyPI, and RubyGems.org
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
MP4 混流工具
功能:纯浏览器环境下,将视频流与音频流重新混合,该过程完全流式处理
https://tools.mscststs.com/tools/mp4-remux
<script src="https://unpkg.com/mp4-remux/lib/mp4-remux.iife.js" ></script>
<script src="https://cdn.jsdelivr.net/npm/mp4-remux/lib/mp4-remux.iife.js" ></script>
import remux from "mp4-remux"
Example 1: 通过 Fetch 获取音频和视频流,然后写入本地文件;
const videoStream = (await fetch('__videoUrl__')).body;
const audioStream = (await fetch('__audioUrl__')).body;
const remuxedStream = remux(videoStream, audioStream);
const fileHandler = await window?.showSaveFilePicker({
suggestedName: "output.mp4",
types: [
{ accept: {
"video/mp4": ".mp4"
}
}],
});
const writable = await fileHandler.createWritable();
const writableStream = new WritableStream({
write: (chunk)=>writable.write(chunk),
close: ()=>writable.close(),
})
remuxedStream.pipeTo(writableStream);
mp4box.js
FAQs
Remux Video and Audio as Stream in browser
We found that mp4-remux 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
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
Security News
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
Research
The Socket Threat Research Team is tracking weekly intrusions into the npm registry that follow a repeatable adversarial playbook used by North Korean state-sponsored actors.