Skip to content

Introduce filtergraph customization#62

Open
hheimbuerger wants to merge 8 commits intom1k1o:masterfrom
hheimbuerger:filtergraphs
Open

Introduce filtergraph customization#62
hheimbuerger wants to merge 8 commits intom1k1o:masterfrom
hheimbuerger:filtergraphs

Conversation

@hheimbuerger
Copy link
Copy Markdown
Contributor

This is a continuation of #59. Sorry, I couldn't be bothered to separate the branches. But I still wanted to create a separate PR, because this is might be a very controversial additional.

Allows optionally defining filtergraphs for VOD video and audio profiles. These work on top of the existing automatic rescaling filter.

Example:

vod:
  video-profiles:
    1080p:
      width: 1920
      height: 1080
      bitrate: 5000
      filtergraph:
        - "[vin]format=pix_fmts=yuv420p[vout]"   # change pixel format to yuv420p
vod:
  audio-profile:
    filtergraph:
      - "[ain]asetrate=48000*1.5,aresample=48000[aout]"   # Pitch the audio up by ~50 % (everyone's sounds like that famous mouse!)

@hheimbuerger hheimbuerger force-pushed the filtergraphs branch 2 times, most recently from 4f6b46c to 72f26d0 Compare July 5, 2025 22:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant