dialog-extractor

command module
v0.0.0-...-a1ede7e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 10, 2020 License: MIT Imports: 13 Imported by: 0

README

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

  1. Install golang
  2. 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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL