
Security News
MCP Steering Committee Launches Official MCP Registry in Preview
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.
@freetube/yt-dash-manifest-generator
Advanced tools
This NodeJS library generates a DASH Manifest file for a YouTube video in order to allow a playback with 1080p+ resolutions. It is developed for and tailored towards easy usage in the [FreeTube](https://github.com/FreeTubeApp/FreeTube-Vue) rewrite but can
This NodeJS library generates a DASH Manifest file for a YouTube video in order to allow a playback with 1080p+ resolutions. It is developed for and tailored towards easy usage in the FreeTube rewrite but can be used with any other project as well. It takes the adaptive formats of the response string as input. If this library should not work at some point, please create an issue and let me know so that I can take a look into it. Pull requests are also welcomed in this case.
yt-dash-manifest-generator
##Usage
const ytdashgen = require("yt-dash-manifest-generator")
generate_dash_file_from_json_data(JsonStringData, VideoLengthInSeconds)
Takes a JSON file as string and the length of the video in seconds. Usable when the data from ytdl.getInfo() is already available
const xml_string = generate_dash_file_from_json_data(JsonString, VideoLengthInSeconds)
async generate_dash_file_from_json_data_from_id(VideoId, VideoLength)
Takes the length of the video in seconds as well as the ID of the video as input and gets the json data itself with yt-dl-core
generate_dash_file_from_json_data_from_id(VideoId, VideoLength).then((xmlData) => {
doSomethingWithXML();
}).catch((error) =>{
console.error(error)
})
generate_dash_file_from_formats(VideoFormats, VideoLength)
Takes an array of formats in the way which yt-dl-core provides it as well as the video length in seconds and generates the xml file
const xml_string = generate_dash_file_from_formats(VideoFormats, VideoLength)
FAQs
This NodeJS library generates a DASH Manifest file for a YouTube video in order to allow a playback with 1080p+ resolutions. It is developed for and tailored towards easy usage in the [FreeTube](https://github.com/FreeTubeApp/FreeTube-Vue) rewrite but can
We found that @freetube/yt-dash-manifest-generator demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers 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.
Security News
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.
Product
Socket’s new Pull Request Stories give security teams clear visibility into dependency risks and outcomes across scanned pull requests.
Research
/Security News
npm author Qix’s account was compromised, with malicious versions of popular packages like chalk-template, color-convert, and strip-ansi published.