leychan/video-downloader

There is no license information available for the latest version (v1.0.3) of this package.

Installs: 9

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 0

Open Issues: 0

Type:project

pkg:composer/leychan/video-downloader

v1.0.3 2021-03-17 04:51 UTC

This package is auto-updated.

Last update: 2025-12-08 01:32:06 UTC


README

download video from websites

背景

在b站听到一个up翻唱的歌曲很好听,但是up没有上传音频版本,只有视频版本,于是萌生了下载视频然后提取音频的想法,就写了这个小工具

支持的站点

  • B站
  • youtube (需代理)

功能

目前b站可使用的功能:

  • 根据url下载视频
  • 多段视频合并为一个视频(依赖ffmpeg)
  • 分离音频(依赖ffmpeg)

使用

使用 composer

$ composer require leychan/video-downloader:1.0.3

新建index.php文件

<?php

require_once __DIR__ . '/vendor/autoload.php';

(new \video\Application())->run();

$ composer install

$ php -f index.php

直接git clone

$ git clone https://github.com/leychan/video-downloader

$ cd video-downloader

$ composer install

$ php -f index.php