Skip to content
This repository was archived by the owner on May 1, 2026. It is now read-only.
This repository was archived by the owner on May 1, 2026. It is now read-only.

Audio track delayed relative to video track #4

Description

@ivanistheone

There is a noticeable delay of the video relative to the audio in all videos:
https://kolibri-demo.learningequality.org/en/learn/#/topics/c/a57d2d00605350e580541d54b6d0be08

Screenshot_20200426-172420_Kolibri

I suspect this line:
https://github.com/learningequality/sushi-chef-free-english-with-hello-channel/blob/master/sushichef.py#L312-L313

Example original video: https://www.youtube.com/watch?v=VSTAnETMFJA

Consequences

Difficult to integrate information from both streams. In particular this is a channel for learning English so makes the delay more undesirable.

Possible solutions:

1/ Look at the library settings to avoid introducing the delay

2/ Add a postprocessing step

echo "Delaying audio of $1 by 60ms"
ffmpeg -i "tmp-$1" -itsoffset 0.06 -i "tmp-$1" -map "0:0" -map "1:1" -acodec copy -vcodec copy  "faster-$1"

via http://alien.slackbook.org/blog/fixing-audio-sync-with-ffmpeg/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions