Code Monkey home page Code Monkey logo

bilibilidownloadmerger's Introduction

b站app离线缓存合并器 —— bilibilidownloadmerger

简述:本应用可将b站app离线缓存功能下载的audio.m4s和video.m4s合并为mp4文件

使用方法(命令格式):

mergeBiliDown.exe <b站离线下载文件夹所在路径> <输出目录>

示例:

mergeBiliDown.exe D:/bilibili/download D:/bilibiliOut

输出格式:视频名称_bvid_avid/视频分p名_下载时间戳.mp4

依赖: ffmpeg.exe。

注:mergeBiliDown会尝试从当前目录和环境变量PATH中查找ffmpeg.exe,若两者同时存在,优先当前目录

操作步骤:

- 拷贝b站离线下载视频目录到电脑。(b站安卓app离线缓存文件夹位置:存储空间/Android/tv.danmaku.bili/download)
- 下载ffmpeg:https://ffmpeg.org/download.html#build-windows
- 下载本程序可执行文件:https://github.com/Frank997/bilibilidownloadmerger/releases
- 打开powershell,定位到程序所在目录,执行:mergeBiliDown.exe <b站离线下载文件夹所在路径> <输出目录>

注:程序执行时间取决于视频数量,请耐心等待,执行完毕后会打印处理成功数和失败数,若有错误,请拷贝程序输出,自行检查或发issue

构建:

go build mergeBiliDown.go

bilibilidownloadmerger's People

Contributors

frank997 avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.