Skip to main content

transcoder FFmpeg based wrapper

Project description

tabarnak - Transcoder All Basically Accessible Resolutely Not All Klingon - transcode ffmpeg based utility tool

Build Status Pylint Python package codecov HitCount

Description

This script is used to convert video or video/audio media files to modern codecs such as HEVC, VP9 or AV1 (experimental). It walks into a directory and probes media files for video that are not encoded with specified codec (default HEVC). Then it transcodes them. The idea is to use a more modern codec that has a better quality/bitrate ratio. Resulting files are significantly smaller than original h264, mpeg2, mpeg4 or likely any other formats that they are currently encoded to.

tabarnak.py uses crf encoding. All channels are copied. The audio is converted by ffmpeg to ogg vorbis by default.

tabarnak.py won’t delete or clean up your files. It will skip files that are already done. Basic sanity check is performed after encoding and it will print a warning if the input and output size do not match.

If you plan to use your media files with a chrome cast, be sure the buy chromecast ultra since the 3rd generation chromecast does not support HEVC.

Usage

For help: python3 tabarnak.py -h

Requirements

I prepared a tutorial video to learn how to do that on Windows 10: https://gist.github.com/desjare/adc1514d46bcb38414a5e2a602f6d12d

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tabarnak-desjare-0.0.2.tar.gz (10.2 kB view details)

Uploaded Source

Built Distribution

tabarnak_desjare-0.0.2-py3-none-any.whl (21.3 kB view details)

Uploaded Python 3

File details

Details for the file tabarnak-desjare-0.0.2.tar.gz.

File metadata

  • Download URL: tabarnak-desjare-0.0.2.tar.gz
  • Upload date:
  • Size: 10.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.9

File hashes

Hashes for tabarnak-desjare-0.0.2.tar.gz
Algorithm Hash digest
SHA256 8e6962b2316b61b723bcd96d05b156d80f160c08fba937874d21e2759ae4c97a
MD5 4afe6b3127ce9949d2bf00f3d9ccf886
BLAKE2b-256 7a83a2af90a31ba4939bd69f76f93300f0c0655735d3a0391b367a33a6d05ba0

See more details on using hashes here.

File details

Details for the file tabarnak_desjare-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: tabarnak_desjare-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 21.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.9

File hashes

Hashes for tabarnak_desjare-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 bd75aabe1bb5a73f56ea27028a51ac437c99abeeeb57be8a98b2dddd931fd6a2
MD5 e6f22d2763ba24cc9117633b4664434e
BLAKE2b-256 3d3500d0590df13c5648c135f041602aa2adc740f2d3a5b41771c5c0a41efdbe

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page