https://github.com/codingstark-dev/m3u8-to-mp4
m3u8 to mp4 (deno)
https://github.com/codingstark-dev/m3u8-to-mp4
deno m3u8 m3u8-downloader mp4
Last synced: 11 months ago
JSON representation
m3u8 to mp4 (deno)
- Host: GitHub
- URL: https://github.com/codingstark-dev/m3u8-to-mp4
- Owner: codingstark-dev
- Created: 2023-10-30T05:25:13.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-30T05:25:27.000Z (over 2 years ago)
- Last Synced: 2025-01-16T00:22:54.260Z (about 1 year ago)
- Topics: deno, m3u8, m3u8-downloader, mp4
- Language: TypeScript
- Homepage:
- Size: 28.3 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
/**
* This script creates a server using the Oak framework and listens on port 3000.
* When a GET request is made to the "/convert" endpoint with a "url" query parameter,
* the script downloads the video from the URL, converts it to an MP4 file using FFmpeg,
* and sends the MP4 file as a response with the "Content-Disposition" header set to
* "attachment; filename="video.mp4"".
*
* @requires import { Application, Router } from "https://deno.land/x/oak/mod.ts"
* @requires import { exec } from "https://deno.land/x/exec/mod.ts"
*/