All Projects â†’ Kagami â†’ Webm.py

Kagami / Webm.py

Licence: other
🎞 Cross-platform command-line WebM converter

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Webm.py

Boram
🎞 Cross-platform graphical WebM converter
Stars: ✭ 312 (+235.48%)
Mutual labels:  webm, ffmpeg, mpv, cross-platform
Vidcutter
Been busy guys, will be reviewing and integrating pull requests shortly. Thanks to all contributors! LATEST RELEASE: 6.0.0 - flatpak @ https://flathub.org/apps/details/com.ozmartians.VidCutter - snap @ https://snapcraft.io/vidcutter - see https://github.com/ozmartian/vidcutter/releases for more details...
Stars: ✭ 775 (+733.33%)
Mutual labels:  ffmpeg, mpv, cross-platform
Orion
Cross platform Twitch.tv client
Stars: ✭ 298 (+220.43%)
Mutual labels:  mpv, cross-platform
Mpc Qt
Media Player Classic Qute Theater
Stars: ✭ 345 (+270.97%)
Mutual labels:  mpv, cross-platform
Axiom
An FFmpeg GUI for Windows
Stars: ✭ 560 (+502.15%)
Mutual labels:  webm, ffmpeg
Swiftffmpeg
A Swift wrapper for the FFmpeg API
Stars: ✭ 243 (+161.29%)
Mutual labels:  webm, ffmpeg
Ffmpeg Build Script
The FFmpeg build script provides an easy way to build a static FFmpeg on OSX and Linux with non-free codecs included.
Stars: ✭ 290 (+211.83%)
Mutual labels:  webm, ffmpeg
Webm.js
JavaScript WebM converter
Stars: ✭ 428 (+360.22%)
Mutual labels:  webm, ffmpeg
Mpv
🎥 Command line video player
Stars: ✭ 17,018 (+18198.92%)
Mutual labels:  ffmpeg, mpv
Qimgv
Qt5 image viewer with optional video support
Stars: ✭ 714 (+667.74%)
Mutual labels:  webm, cross-platform
Mpv.net
🎞 mpv.net is a modern media player for Windows that works just like mpv.
Stars: ✭ 737 (+692.47%)
Mutual labels:  ffmpeg, mpv
Mpv Webm
Simple WebM maker for mpv, with no external dependencies.
Stars: ✭ 234 (+151.61%)
Mutual labels:  webm, mpv
Ccapture.js
A library to capture canvas-based animations at a fixed framerate
Stars: ✭ 2,836 (+2949.46%)
Mutual labels:  webm, ffmpeg
Ffmpeg.js
Port of FFmpeg with Emscripten
Stars: ✭ 2,447 (+2531.18%)
Mutual labels:  webm, ffmpeg
Trim.lua
Trim mode for mpv — Turn mpv into Lossless Audio / Video Editor.
Stars: ✭ 24 (-74.19%)
Mutual labels:  ffmpeg, mpv
Mpv thumbnail script
A Lua script to show preview thumbnails in mpv's OSC seekbar, sans external dependencies
Stars: ✭ 350 (+276.34%)
Mutual labels:  ffmpeg, mpv
Downline
Free cross-platform desktop app to download videos and music from YouTube and many other sites
Stars: ✭ 146 (+56.99%)
Mutual labels:  ffmpeg, cross-platform
Ffmpeg
Mirror of https://git.ffmpeg.org/ffmpeg.git
Stars: ✭ 27,382 (+29343.01%)
Mutual labels:  webm, ffmpeg
Media Autobuild suite
This Windows Batchscript helps setup a Mingw-w64 compiler environment for building ffmpeg and other media tools under Windows.
Stars: ✭ 900 (+867.74%)
Mutual labels:  ffmpeg, mpv
Yaxg
capture and record your screen with callbacks
Stars: ✭ 47 (-49.46%)
Mutual labels:  webm, ffmpeg

webm.py PyPI version Build Status

Cross-platform command-line WebM converter.

Features

  • No Python dependencies, single source file
  • Supports encoding to VP8, VP9 and AV1, with Opus or Vorbis
  • 2-pass encoding, user-friendly defaults, flexible set of options
  • Provides graphical interactive mode to cut/crop input video with mpv
  • Can burn subtitles, fit to limit, use external audio track and many more

Requirements

  • Python 2.7+ or 3.2+
  • FFmpeg 2+ compiled with libvpx and libopus
  • mpv 0.17+ compiled with Lua support, for interactive mode only

Make sure to set Add to PATH option in Python for Windows installer.

FFmpeg and mpv executables must be in PATH or set their location with WEBM_FFMPEG and WEBM_MPV environment variables.

Installation

pip install webm

Or just save https://raw.githubusercontent.com/Kagami/webm.py/master/webm.py and put in your PATH.

Windows, Python 2 and non-ASCII filenames

Unicode filenames won't work on Windows with Python 2 due to Python bugs. Use Python 3 if you can but if not an option set PYTHONIOENCODING environment variable to utf-8 and run:

pip install subprocessww

Usage

Show help:

webm -h

Examples:

# VP9 with default quality
webm -i in.mkv

# Fit to 10 megabytes
webm -i in.mkv -l 10

# Set 1000kbps video bitrate
webm -i in.mkv -vb 1000

# Change quality
webm -i in.mkv -crf 20

# Encode to AV1
webm -i in.mkv -av1

# Encode to VP8 & Vorbis
webm -i in.mkv -vp8

Interactive mode

Pass -p flag to interactively select cut frargment and crop area with mpv. Show help for interactive mode:

webm -hi

Related links

webm.py wiki contains some encoding tricks and links to documentation on WebM/VPx.

License

webm.py is licensed under CC0.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].