TUM-Dev / gocast

TUMs lecture streaming service.
https://live.rbg.tum.de/
MIT License
178 stars 42 forks source link

Add feature: audio normalization during transcoding #1230

Closed YiranDuan721 closed 7 months ago

YiranDuan721 commented 8 months ago

Motivation and Context

Reason for this feature: #1206 With the new feature, this problem can be avoided: #1186

Description

Applies the loudnorm filter of ffmpeg during transcoding. Parameters are chosen according to the EBU recommendation R128. Results of some experiments with this method

Steps for Testing

Prerequisites:

  1. Initialize a variable, say sc, of the mocked type StreamContext, with transcodingCmd = nil
  2. Call function transcode(streamCtx: *StreamContext): error with the parameter &sc
  3. Get transcoded video, of which the audio is normalized
github-actions[bot] commented 8 months ago

Your Testserver will be ready at https://1230.test.live.mm.rbg.tum.de in a few minutes.

Logins | Kurs1 | Kurs2 | Kurs3 | Kurs4 | | ---------------------------------------- | ------------------------- | ------------------------- | ------------------------- | | public | public | loggedin | enrolled | | prof1 | prof1 | prof2 | prof1
prof2 | | student1
student2
student3 | student1
student2 | student2
student3 | student1
student2 |
YiranDuan721 commented 7 months ago

I'll rewrite the change to runner once possible.