All Projects → wxbool → Video Srt

wxbool / Video Srt

这是一个可以识别视频语音自动生成字幕SRT文件的开源命令行工具。

Programming Languages

go
31211 projects - #10 most used programming language
golang
3204 projects

Projects that are alternatives of or similar to Video Srt

Aeneas
aeneas is a Python/C library and a set of tools to automagically synchronize audio and text (aka forced alignment)
Stars: ✭ 1,942 (+774.77%)
Mutual labels:  srt, ffmpeg
Ffsubsync
Automagically synchronize subtitles with video.
Stars: ✭ 5,167 (+2227.48%)
Mutual labels:  srt, ffmpeg
Video Downloader Deploy
Video Downloaders (you-get, youtube-dl, annie) One-Click Deployment Batch. || 视频下载器 (you-get, youtube-dl, annie) 一键配置脚本。
Stars: ✭ 178 (-19.82%)
Mutual labels:  ffmpeg
Srt
A simple library for parsing, modifying, and composing SRT files.
Stars: ✭ 210 (-5.41%)
Mutual labels:  srt
Captioning
A collection of tools made to help you create and edit subtitles in different formats (Subrip, WebVTT, Substation Alpha...)
Stars: ✭ 197 (-11.26%)
Mutual labels:  srt
Gear360pano
Simple script to create equirectangular panorama by stitching images from Samsung Gear 360
Stars: ✭ 178 (-19.82%)
Mutual labels:  ffmpeg
Videostreamer
Stream video (e.g. RTSP) to an HTML5 video element (MP4)
Stars: ✭ 208 (-6.31%)
Mutual labels:  ffmpeg
Homebridge Dafang
Homebridge Plugin for Xiaomi Dafang / Wyze Cam IP Camera => Hey Siri, Start Video Recording
Stars: ✭ 176 (-20.72%)
Mutual labels:  ffmpeg
Ffmpeg Aws Lambda Layer
FFmpeg/FFprobe AWS Lambda layer
Stars: ✭ 222 (+0%)
Mutual labels:  ffmpeg
Penguin Subtitle Player
An open-source, cross-platform standalone subtitle player
Stars: ✭ 194 (-12.61%)
Mutual labels:  srt
Ffplayer
a video player based on ffmpeg for win32 and android platform.
Stars: ✭ 210 (-5.41%)
Mutual labels:  ffmpeg
Giph
simple gif recorder
Stars: ✭ 193 (-13.06%)
Mutual labels:  ffmpeg
Jaffree
Java ffmpeg and ffprobe command-line wrapper
Stars: ✭ 184 (-17.12%)
Mutual labels:  ffmpeg
Ffmpegandroid
android端基于FFmpeg实现音频剪切、拼接、转码、编解码;视频剪切、水印、截图、转码、编解码、转Gif动图;音视频合成与分离,配音;音视频解码、同步与播放;FFmpeg本地推流、H264与RTMP实时推流直播;FFmpeg滤镜:素描、色彩平衡、hue、lut、模糊、九宫格等;歌词解析与显示
Stars: ✭ 2,858 (+1187.39%)
Mutual labels:  ffmpeg
Autosubsync
Automatically synchronize subtitles with audio using machine learning
Stars: ✭ 179 (-19.37%)
Mutual labels:  ffmpeg
Cloud Morph
Decentralize, Self-host Cloud Gaming/Application
Stars: ✭ 207 (-6.76%)
Mutual labels:  ffmpeg
Ffmpeg.js
Port of FFmpeg with Emscripten
Stars: ✭ 2,447 (+1002.25%)
Mutual labels:  ffmpeg
Ffmpegrecorder
An Android video recorder using JavaCV and FFmpeg.
Stars: ✭ 184 (-17.12%)
Mutual labels:  ffmpeg
Puppeteer Lottie
Renders Lottie animations via Puppeteer to image, GIF, or MP4.
Stars: ✭ 208 (-6.31%)
Mutual labels:  ffmpeg
Hls Vod
HTTP Live Streaming with on-the-fly encoding of any video file for Web/Apple TV/iPhone/iPad/iPod
Stars: ✭ 221 (-0.45%)
Mutual labels:  ffmpeg

video-srt

这是一个可以识别视频语音自动生成字幕SRT文件的开源命令行工具。

本项目使用了阿里云的OSS对象存储录音文件识别的相关业务接口。

Windows-GUI版本:https://github.com/wxbool/video-srt-windows

下载安装

go get -u github.com/wxbool/video-srt

使用

项目使用了 ffmpeg 依赖,请先下载安装,并设置环境变量.
  • 设置服务接口配置(config.ini)
#字幕相关设置
[srt]
#智能分段处理:true(开启) false(关闭)
intelligent_block=true

#阿里云Oss对象服务配置
#文档:https://help.aliyun.com/document_detail/31827.html?spm=a2c4g.11186623.6.582.4e7858a85Dr5pA
[aliyunOss]
# OSS 对外服务的访问域名
endpoint=your.Endpoint
# 存储空间(Bucket)名称
bucketName=your.BucketName
# 存储空间(Bucket 域名)地址
bucketDomain=your.BucketDomain
accessKeyId=your.AccessKeyId
accessKeySecret=your.AccessKeySecret

#阿里云语音识别配置
#文档:
[aliyunClound]
# 在管控台中创建的项目Appkey,项目的唯一标识
appKey=your.AppKey
accessKeyId=your.AccessKeyId
accessKeySecret=your.AccessKeySecret
  • 生成字幕文件(CLI)
go run main.go video.mp4
video-srt video.mp4

FAQ

  • 支持哪些语言?
    • 视频字幕文本识别的核心服务是由阿里云录音文件识别业务提供的接口进行的,支持汉语普通话、方言、欧美英语等语言
  • 如何才能使用这个工具?
    • 注册阿里云账号
    • 账号快速实名认证
    • 开通 访问控制 服务,并创建角色,设置开放 OSS对象存储智能语音交互 的访问权限
    • 开通 OSS对象存储 服务,并创建一个存储空间(Bucket)(读写权限设置为公共读)
    • 开通 智能语音交互 服务,并创建项目(根据使用场景选择识别语言以及偏好等)
    • 设置 config.ini 文件的配置项
    • 命令行执行(详见使用
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].