New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
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
  • Socket score

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

  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

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc