livepeer / task-runner

Background service that executes tasks from the Livepeer API. Mainly used for VOD.
MIT License
4 stars 2 forks source link

Handle input asset `start_time` on transcode and prepare #28

Open victorges opened 2 years ago

victorges commented 2 years ago

When processing an asset through broadcasters, we demux the segments and transcode them independently. We then create an HLS playlist with all the output segments or a file with no metadata coming from the original file.

This causes things like start_time to be ignored, which can make a video have off-sync audio issues. This is my hypothesis based on the little I know and investigated about these files and behavior.

This might also be fixed by #18 at least for the transcode task. We might still need to do something for HLS playlists though, like for example using the new clipping feature https://github.com/livepeer/go-livepeer/pull/2280 on the works!

pglowacky commented 2 years ago

Unclear how often this happens, we assume that this happens most often when users are manipulating the video post production. When this happens, it makes the video unusable.

Could be solved by: