You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

github.com/hopskipnfall/dialog-extractor

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/hopskipnfall/dialog-extractor

v0.0.0-20200910101459-a1ede7eb29f3
Source
Go
Version published
Created
Source

DEPRECATED

Please see https://github.com/hopskipnfall/dialog, which is a cross-platform desktop app that accomplishes the same thing (and more).

dialog-extractor

Lightweight tool to extract dialog audio from videos using subtitles for dialog timing reference.

Usage

  • Install golang
  • Install ffmpeg
$ go run extract_dialog.go ./path/to/video.mkv

This currently works only with .mkv files. I have tested with SRT and ASS subtitles. It should work with most audio codecs but I have only tested AAC so far.

Running tests

$ go test ./...

TODO: Implement these features

  • Support for extraction on all videos in a folder
  • Identifying and stripping out opening/ending songs
  • Add padding around subtitle timing in case the timing is not exact
  • Add flags support

FAQs

Package last updated on 10 Sep 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts