All Projects → mutschler → Mt

mutschler / Mt

Licence: gpl-3.0
yet another media thumber. Generate Video Contat Sheets easily. http://mutschler.github.io/mt

Programming Languages

go
31211 projects - #10 most used programming language
golang
3204 projects

Projects that are alternatives of or similar to Mt

Swiftffmpeg
A Swift wrapper for the FFmpeg API
Stars: ✭ 243 (+219.74%)
Mutual labels:  ffmpeg, multimedia
Mpv thumbnail script
A Lua script to show preview thumbnails in mpv's OSC seekbar, sans external dependencies
Stars: ✭ 350 (+360.53%)
Mutual labels:  ffmpeg, thumbnails
ffmpeg-commander
🛠️ FFmpeg Command Generator Web UI
Stars: ✭ 136 (+78.95%)
Mutual labels:  ffmpeg, multimedia
Screen Recorder Ffmpeg Cpp
*Multimedia project* A screen recording application to capture your desktop and store in a video format. Click here to watch the demo
Stars: ✭ 98 (+28.95%)
Mutual labels:  ffmpeg, multimedia
Learn Ffmpeg
学习音视频知识,整理资料,编写技术手册。
Stars: ✭ 601 (+690.79%)
Mutual labels:  ffmpeg, multimedia
Ffmpeg Video Player
An FFmpeg and SDL Tutorial.
Stars: ✭ 149 (+96.05%)
Mutual labels:  ffmpeg, multimedia
Qtav
A cross-platform multimedia framework based on Qt and FFmpeg(https://github.com/wang-bin/avbuild). High performance. User & developer friendly. Supports Android, iOS, Windows store and desktops. 基于Qt和FFmpeg的跨平台高性能音视频播放框架
Stars: ✭ 2,997 (+3843.42%)
Mutual labels:  ffmpeg, multimedia
nebula
Media asset management and broadcast automation system
Stars: ✭ 103 (+35.53%)
Mutual labels:  ffmpeg, multimedia
Javacv
Java interface to OpenCV, FFmpeg, and more
Stars: ✭ 5,543 (+7193.42%)
Mutual labels:  ffmpeg, multimedia
Snickers
🍫 An open source alternative to the video cloud encoding services.
Stars: ✭ 498 (+555.26%)
Mutual labels:  ffmpeg, multimedia
Thumbnail
Thumbnail for a given video using FFMpeg
Stars: ✭ 96 (+26.32%)
Mutual labels:  ffmpeg, multimedia
Mlt
MLT Multimedia Framework
Stars: ✭ 836 (+1000%)
Mutual labels:  ffmpeg, multimedia
Video Thumbnail Generator
📷 Generate thumbnail sprites from videos.
Stars: ✭ 190 (+150%)
Mutual labels:  multimedia, thumbnails
Mpv
🎥 Command line video player
Stars: ✭ 17,018 (+22292.11%)
Mutual labels:  ffmpeg, multimedia
Mystiq
Qt5/C++ FFmpeg Media Converter
Stars: ✭ 393 (+417.11%)
Mutual labels:  ffmpeg, multimedia
Ffmpeg
Mirror of https://git.ffmpeg.org/ffmpeg.git
Stars: ✭ 27,382 (+35928.95%)
Mutual labels:  ffmpeg, multimedia
Flavy
Simple API for convert audio/video files, get thumbnails from video, information of files
Stars: ✭ 25 (-67.11%)
Mutual labels:  ffmpeg, thumbnails
Rtp Streamer
rtp record and rtp streamer
Stars: ✭ 60 (-21.05%)
Mutual labels:  ffmpeg
Androidaudioconverter
Convert audio files inside your Android app easily. Supported formats: AAC, MP3, M4A, WMA, WAV and FLAC.
Stars: ✭ 1,156 (+1421.05%)
Mutual labels:  ffmpeg
Dokai
Collection of Docker images for ML/DL and video processing projects
Stars: ✭ 58 (-23.68%)
Mutual labels:  ffmpeg

Gitter

Build Status Github All Releases Github Latest Release

mt

mt is a lightweight media thumbnailer. it aims to be a simple and fast alternative to outlayers awesome Video Contact Sheet

Download

you can download the latest version GitHub release from githubs release page alternatively you can install mt from source as descibed down below

Installation from Source

mt uses depends on ffmpeg's libraries, so you'll need those installed and then run:

go get github.com/mutschler/mt
go install github.com/mutschler/mt

if you'll have ffmpeg installed in a non standart directory you'll may have to use PKG_CONFIG_PATH variable like this:

LD_LIBRARY_PATH=/path/to/ffmpeg/lib/ PKG_CONFIG_PATH=/path/to//ffmpeg/lib/pkgconfig/ go build

Settings

Default Settings can be alternated via config files in JSON format, there are 3 directories in which the config can be saved:

/etc/mt/, $HOME/.mt/ and the current working directory

just create a file called mt.json in any of this locations to change the settings

to change settings on runtime you can either use the provided pflags (use mt --help for more info) or set environment Variables with the MT_ prefix:

mt --numcaps=20 myvideo.mkv will change the numcaps settings to 20 for this run only, so will MT_NUMCAPS=20 mt myvideo.mkv

since v 1.0.3-dev there is an option to save the current settings to a specified config file:

mt --save-config=/path/to/config.json

and load a custom config on runtime:

mt --config-file=/path/to/config.json

Available Config Options:

name default value description
numcaps 4 number of screenshots to take
columns 2 how many columns should be used
padding 5 add a padding around the images
width 400 width of a single screenshot
height 0 height of a single screenshot
font_all "Ubuntu.ttf" Font to use for timestamps and header
font_size 12 font size
disable_timestamps false option to disable timestamp generation
timestamp_opacity 1.0 opacity of the timestamps must be from 0.0 to 1.0
filename {{.Path}}{{.Name}}.jpg filename for the generated file
verbose false verbose logging
bg_content "0,0,0" RGB values for background color
from "00:00:00" starting timestamp
to "00:00:00" end timestamp
single_images false will create a single image for each screenshot
header true append a header with file informations
header_meta false append codec, bitrate and FPS to header
bg_header "0,0,0" header background color
fg_header "255,255,255" header font color
header_image "" absolute path to an image that should be added to the header
watermark "" absolute path to an watermark image that will be added to the middle image of the contact sheet
comment "" comment that will be added to the bottom-left of the header
watermark_all "" absolute path to an image that will be added to the bottom left corner of each image
filter "none" choose a filter to add to the thumbnails: "greyscale", "invert", "fancy", "cross"
skip_blank false try up to 3 times to skip a blank image (can slow down mt)
skip_blurry false try up to 3 times to skip a blurry image (can slow down mt)
sfw false EXPERIMENTAL nude detection
skip_existing false skip movie if there is already a jpg with the same name
overwrite false by default mt will increment the filename by adding -01 if there is already a jpg use --overwrite to overwrite the image instead
fast false makes mt faster a lot, but seeking will be more inacurate and may produce duplicate screens
webvtt false create a webvtt file for use with html5 video players
interval 0 creates a screencap every interval seconds, this overwrites numcaps
skip_credits false try to skip movie credits by cutting of 4 minutes or 10% of the length
webvtt false generate a webvtt file
blur_threshold 62 threshold for blur detection
blank_threshold 85 threshold for blank image detection
upload false upload the generated image
upload_url "" url to send the image to

Upload Info

upload needs upload_url to be set as well. You'll need a simple script on the Server that saves the content of $_FILES["image"]

Uplad URL Example script:

<?php

if(isset($_FILES["image"])) {
  $uploadfile = "yourFilename.jpg";

  move_uploaded_file($_FILES['image']['tmp_name'], $uploadfile))
}

?>

please note that all those values are also available as runtime pflags just replace the _ with an - ex: single_images will get single-images

Usage

just run mt and provide any video file as args: mt video.avi

Some of the settings can be changed through runtime flags provided directly to mt for more information just run mt --help

example:

more examples can be found in the example older

alt text

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].