根据副标题从.mkv文件分割音频线的脚本

mkv-line-split的Python项目详细描述


mkv线分割

mkv-linesplit is a Python script for splitting or cutting audio segments from mkv files.

First it extracts the audio and subtitles from the mkv file, Then it splits the lines from the audio file according to the timestamps stored in the subtitles and names the output file to the corresponding line.


要求

  1. Python3
  2. MKVToolNix

mkvextract used for extracting the audio and subtitle from the mkv file.

mkvmerge used for splitting the parts from the mkv audio.


安装

$ pip install mkv-line-split

用法

$ linesplit -m path/to/mkvmerge -x path/to/mkvextract path/to/mkv/file/or/directory

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java如何获得要渲染的纹理   java如何动态确定对象类型的文本的实际类型   java如何用方括号解析参数数组?   java与ECC公钥的长度混淆   JavaLWJGL包括GUI类吗?   java如何打印所有收件箱电子邮件   java在片段中使用RecyclerView而不是活动会导致E/RecyclerView:没有连接适配器;跳过布局错误   为位于系统托盘中的Java程序创建键盘挂钩   使用java将三个json对象合并为一个   java获取范围(x,y)内的随机整数?   java定制primaryStage标题:以图标为中心   命令行无法使用运行java应用程序。jar依赖性“错误:无法找到或加载主类”   java LuaJava编译错误“未解析的外部符号”   如何修复java函数   java文件。Listfile()强制关闭(NullPointerException)   java调试模式在IDEA和Kotlin中停止工作   当使用命名空间STD的C++头文件上运行Sigg时,java丢失分号错误   java如何在使用DBUnit时防止数据删除   找不到java类org/apache/zookeeper/server/NIOServerCnxn$工厂   java无法在上启动jbpmhttp://localhost:8080/businesscentral