GithubHelp home page GithubHelp logo

lrzjbyx / bilibili_video_convert_pdf Goto Github PK

View Code? Open in Web Editor NEW
12.0 1.0 2.0 254.67 MB

视频转换成关键帧PDF

Python 100.00%
bilibili bilibili-api bilibili-download pdf-converter video-downloader

bilibili_video_convert_pdf's Introduction

Bilibili_video_convert_pdf

介绍

  • 下载哔哩哔哩视频
  • 视频转成关键帧PDF
  • 默认下载支持格式中清晰度最高的

安装

  • Python 3.9.6
    conda create -n venv python==3.9.6
    conda activate venv
    git clone https://github.com/lrzjbyx/Bilibili_video_convert_pdf.git
    cd Bilibili_video_convert_pdf
    pip install -r requirements.txt

使用

  • 本地文件转换成pdf
    python main.py --address file_path[video] --target save_path --pdf True --cookie "cookie"
  • cookie(拷贝cookie的value) 如下所示 cookie
  • 哔哩哔哩视频转成pdf
    # 单p下载 转换
    python main.py --address https://www.bilibili.com/video/BV19d4y197NK
    # 多个p 转换
    python main.py --address https://www.bilibili.com/video/BV1ZD4y1H72X
  • 获取视频和音频支持格式 require_video_list

示例

不足

  • 合并视频速度慢且占据大量CPU
  • 无交互式页面
  • 无进度条显示
  • 视频下载仅仅支持AV、BV

感谢开源

更新日志

  • 文件路径找不到 [已修复]
    • Window平台需要加入ffmpeg/ffmpeg.exe文件
  • PDF关键帧乱序 [已修复]
  • 内存溢出 [已修复]
  • 支持cookie [已修复]

声明

  • 适合学习使用
  • 不适用非法使用

bilibili_video_convert_pdf's People

Contributors

baishiqing avatar lrzjbyx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

bilibili_video_convert_pdf's Issues

Bug within Download Function.

您好,我根据您的readme文件尝试对其它视频进行下载解析,但resource目录下始终下载的为示例视频,导致后续切片分析转换成PDF时仍然是实例视频。我尝试对BilibiliVideoDownloader.py文件进行检查,查看是否有未删除测试信息,但是目前还没有发现问题。

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.