Sign inSign up

ricin/db-encode

By ricin

•Updated over 1 year ago

Image
0

499

ricin/db-encode repository overview

⁠db-encode

Usage: db-encode -r 720|1080 -s INPUT_FILE [-d OUTPUT_FILE] [-c SHA256] [-C] [-n] [-w WORKING_DIR]

  -r 720|1080           Resolution to encode to.

  -s INPUT_FILE         Source file to encode.

  -d OUTPUT_FILE        Destination file to encode to. (optional)

                        If an OUTPUT_FILE is not specified, the output file name will be calculated
                        to include '720p-x265' for 720, or 'x265' for 1080 as expected.

  -c SHA256             Check the SHA256 sum of the source file against the input. (optional)

  -C                    Calculate the SHA256 sum of the destination file. (optional)

                        This will also output the sha256 to a file named OUTPUT_FILE.sha256

  -n                    No subtitle/closed caption processing. (optional)

  -w WORKING_DIR        Working directory. INPUT_FILE and OUTPUT_FILE location. (optional)

                        Default: /encodes
                        This can also be set via the WORKING_DIR environment variable.

  -h                    Display this help message.


Example:
  db-encode -r 720 -s input.mkv -d output.mkv -C -c 1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef

Files are expected to be in: /encodes

⁠Build instructions

./build.sh version [push] [push-only]

Example:

./build.sh 1.0 push

This would build the docker image tagged as ricin/db-encode:v1.0 and ricin/db-encode:latest. Then it will docker push.

⁠Requires docker-slim

To install Docker-slim, follow these steps:

  1. Open a terminal.

  2. Run the following command to install Docker-slim:

    docker pull docker-slim
    
  3. Once the installation is complete, you can start using Docker-slim for optimizing your Docker images.

For more information, refer to the Docker-slim documentation⁠.

Tag summary

Content type

Image

Digest

sha256:52c3020bc…

Size

84.6 MB

Last updated

over 1 year ago

docker pull ricin/db-encode