Git Product home page Git Product logo

fansub-utils's Introduction

A collection of utilities for fansubbing that I've written. Improvements and ideas are always welcome.

Requirements:

  • Python 3.6 or higher

Usage:

$ python [script].py [--args]

Utilities:

auto-CRC

A small script that appends CRC-32's to every mkv in the current directory.

Arguments:

Argument Arg Description
--help -h show this help message and exit
--recursive -R check recursively

encode-audio

Automatically encodes audio in the current directory to AAC (using qaac -V 127) or FLAC.

Arguments:

Argument Arg Description
--help -h show this help message and exit
--recursive -R check recursively
--flac -F enable FLAC encoding

generate_keyframes

Generic script to generate keyframes for all files of a given extension. Heavily inspired by kagefunc's generate_keyframes, but made to work as a standalone script for timers. Special thanks to begna for helping me with writing big parts of this.

Arguments:

Argument Arg Description
--help -h show this help message and exit
--recursive -R check recursively
--extension -E pick extension to generate keyframes for
--noheader -N do not include header line for aegisub
--outfile -O name for keyframes file output
--trims -T string of trims to source file.
format: "[inclusive,exclusive],[inclusive,exclusive],[None,exclusive],[inclusive,None]"

Usage Example:

Trim one second off of the start and end

$ python generate_keyframes.py -T "[24,-24]"

Trim three seconds off of the end

$ python generate_keyframes.py -T "[None,-72]"

Trim the first five seconds

$ python generate_keyframes.py -T "[120,None]"

remux

Generic script for remuxing videos from a certain filetype into another. Remuxes mkv's into mp4's by default.

Arguments:

Argument Arg Description
--recursive -R check recursively
--input_ext -i set input's extension (default: mkv)
--output_ext -o set output's extension (default: mp4)

fansub-utils's People

Contributors

lightarrowsexe avatar zolhungaj avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.