Skip to content

Videos play speed and audio are not in sync #4

Description

@hthetiot

Thank you for wonderfull walk memory lane made of JS.

I noted that the video is not in sync with the audio from the .rar file you gracefully shared.
Here is how to fix it.

# wemb to mp4
ffmpeg -i input_video.webm - an output_video.mp4
# Fix videos
ffmpeg -i input_video.mp4 -filter:v "setpts=0.25*PTS" -an output_video.mp4
ffmpeg -i output_video.mp4 -i input_video.mp4 -c:v copy -map 0:v -map 1:a -shortest fixed_video.mp4

Find attached link to updated medias.rar <3 with music and videos folders to put at the root of project.
https://dark-reign.net/downloads/medias.zip

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions