Skip to content

Instantly share code, notes, and snippets.

View softworkz's full-sized avatar

softworkz

  • Munich, Germany
View GitHub Profile
@softworkz
softworkz / ReadMe.md
Created November 6, 2022 19:41
Comparing Results of Paletteuse Patch

Command

ffmpeg -y -loglevel verbose -i "..\..\build\fate-suite\apng\o_sample.png" -filter_complex "split[split1][split2];[split1]palettegen=max_colors=255[pal1];[split2][pal1]paletteuse" -frames:v 1 out.png  

Result with Current FFmpeg

image

@softworkz
softworkz / ReadMe.md
Last active February 11, 2023 17:22
Generate M3U Playlist for SiliconDust HDHomerun Tuners

SYNOPSIS

Creates an M3U playlist for an HDHomerun tuner

DESCRIPTION

Downloads the lineup from an HDHR tuner, specified by IP address and transforms it into an M3U plalist

When you don't specify an output file, the m3u content will be printed out for preview.
@softworkz
softworkz / ffmpeg_filtergraph.json
Created May 24, 2020 12:28
ffmpeg Filtergraph Output Example (with hw context)
{
"FilterGraphs": {
"Graphs": [{
"Description": "[0:0]scale_qsv@f1=w=1920:h=800:format=nv12[f1_out0]",
"Filters": [{
"Filter": {
"Description": "QuickSync video scaling and format conversion",
"HwDeviceContext": {
"DeviceType": "qsv",
"HasHwDeviceContext": true
@softworkz
softworkz / ffmpeg_filtergraph.json
Created May 24, 2020 02:40
ffmpeg Filtergraph Output Example
{
"FilterGraphs": [{
"Description": "[0:3]scale@f1=width=1920:height=1080:force_original_aspect_ratio=decrease[f1_out0];[0:0][f1_out0]overlay@f2=x=(W-w)/2:y=(H-h):repeatlast=0[f2_out0]",
"Filters": [{
"Filter": {
"Description": "Scale the input video size and/or convert the image format.",
"Inputs": [{
"LinkType": "Input",
"ChannelLayout": 0,
"Channels": 0,