airlingo

command module
v0.0.0-...-35ce3d9 Latest Latest
Warning

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

Go to latest
Published: May 20, 2017 License: MIT Imports: 2 Imported by: 0

README

ElasticSearch

Creating Indexes

curl -H "Content-Type: application/json" -X PUT -d @store/ddl/elasticsearch/dialog.json http://localhost:9200/dialog-en

Deleting dialogs

curl -H "Content-Type: application/json" -X POST -d '{"query":{"match":{"title_id":"1a9b4"}}}' http://localhost:9200/dialog-en/_delete_by_query

Fonts

Montserrat Semi-Bold
Size: 80

ffmpeg

Install version 3.3

sudo add-apt-repository ppa:jonathonf/ffmpeg-3 sudo apt update && sudo apt upgrade

Uninstall version 3.3

sudo apt install ppa-purge && ppa-purge ppa:jonathonf/ffmpeg-3

Extract audio

ffmpeg -i video.mkv -vn -c:a aac -b:a 64k -ac 2 audio.m4a ffmpeg -i video.mkv -acodec pcm_s16le -ac 1 -ar 16000 audio.wav

Subtitles

Prepare subtitles

subx format -s ./en-orig.srt --html --non-dialog --new-line --round-time --build-phrases ./en-mod.srt subx format -s ./ptbr-orig.srt --html --non-dialog --new-line ./ptb.srt subx sync -s ./en-mod.srt -t ./ptbr.srt ./ptb.srt

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
cmd
ui
shared
Code generated by hero.
Code generated by hero.

Jump to

Keyboard shortcuts

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