字幕自动匹配和修改工具
来源:互联网 发布:js播放视频 编辑:程序博客网 时间:2024/06/05 11:32
这几天出于兴趣写了一个关于字幕自动匹配下载和字幕修改的工具
- 输入文件路径就可以自动下载出来对应匹配的字幕
- 解析中文英文混杂的字幕,将英文或者中文单独提取出来
工具比较简陋,字幕匹配用了一个外国SubDB的API
但是可能是不太全吧感觉,匹配度虽然是100%
但是能匹配到的不是特别多,以后有时间还会继续修改这个项目吧,加一些中文匹配之类的
Github: https://github.com/WJerry0227/SubtitleUtil
Subtitle Util
Subtitle Util has a list of functions below
- 1 Subtitle Transfer
- 2 Subtitle Downloader
See each util for more details.
Requirement:
- python 2
- python -> urllib2
Installation:
- git clone https://github.com/WJerry0227/SubtitleUtil.git - cd SubtitleUtil - python [Subtitle Util Type].py [Usage]
Contact:
wjerry227@gmail.com
About:
Developed by WJerry0227
1 Subtitle Transfer
Intro
It is a small python program to remove Chinese or English characters in your subtitle file
When I was watching This is us on my computer. I hate the Chinese subtitle mixed with English subtitle.
Therefore, this python program came to mind.
Usage
python SubtitleTransfer.py [YOUR SUBTITLE FILE PATH] [TYPE]
- TYPE: The type that you want to delete from your subtitle.
- [Chinese] [English] are available only
- FILE PATH :.ass and .srt are available only
It will create a new file in your old path with the new postfix.
Encoding
The encoding of your subtitle will be automatically detected.
2 Subtitle Downloader
Intro
It is a small python program to download subtitle for your video
I always found the subtitle download from Internet does not fit with my video. Then I search this website SubDB. Thanks to the API it provides.
Usage
python SubtitleDownloader.py [YOUR VIDEO FILE PATH] [LANGUAGE]
- [LANGUAGE] is optional.
- [LANUGAGE] support type: [ en,es,fr,it,nl,pl,pt,ro,sv,tr ]
- It does not support Chinese yet.
It will automatically download a [VIDEONAME].srt file in your video path.
- 字幕自动匹配和修改工具
- 自动匹配字符串时间工具
- EDIUS字幕窗口中保存和自动另存为该怎样区分
- ffmpeg无损转换格式,修改默认音轨和字幕轨道
- 字幕时间修改软件
- 自动匹配AutoCompleteTextView和multiAutoCompleteTextView
- 修改.srt格式字幕文件
- 一个srt字幕分割工具
- 如何下载Youtobe视频和字幕(可下载自动翻译的中文字幕)
- Qt中的模糊匹配QCompleter和自动匹配
- select,radio 和checkbox动态自动匹配。
- 自动匹配输入和记住密码
- 大括号匹配和字体修改
- 【整理】取消eclipse for php 括号自动补全闭合,修改自动匹配,开启自动换行
- 自动测试和分析工具
- google关键词匹配和扩展工具
- android TextView 垂直自动滚动字幕实现
- QQ影音自动下载字幕乱码
- Linux进程间通信——使用命名管道
- Java基础应用之循环控制(用while循环计算1+1/2!+1/3!…1/20!)
- HTML页面放大镜效果
- SDUT-图结构练习——最小生成树
- 反编译工具使用gui
- 字幕自动匹配和修改工具
- Java基础应用之循环控制(for循环输出空心的菱形)
- eclipse新建maven项目(2)
- 自己总结的web前端知识体系大全【欢迎补充】
- 接口要怎么对?你知道正确的姿势吗
- MUI(5)
- Android ProgressBar
- Socket收到MJPEG视频数据包,如何查找FFD8和FFD9?
- 学习android之ADT