dionysia-dev / dionysia

A streaming platform based on open source software
Apache License 2.0
116 stars 7 forks source link

Customize default ladder through JSON data #7

Open mauricioabreu opened 2 months ago

mauricioabreu commented 2 months ago

Is your feature request related to a problem? Please describe. We already provide a default ladder (passthrough), but it is hardcoded. It would be awesome if this ladder could be configured through JSON file.

Describe the solution you'd like

We can set a path in the container, then the program parses it. PROS: users can change the default ladder without rebuilding the application.

Describe alternatives you've considered You are free to suggest other alternatives

Additional context N/A

patrickdeangelis commented 2 months ago

Can you give more context? Where is the ladder? I didn't find it search by "ladder"

mauricioabreu commented 2 months ago

@patrickdeangelis

Yes!

In video streaming, ladder is the set of quality/resolution/codec/etc offered to end users.

You may want to read service/input.go and service/command.go to see how GPAC command runs and which options are used to generate this ladder.

https://ottverse.com/perfect-bitrate-ladder-for-video-streaming-compression/