-
Notifications
You must be signed in to change notification settings - Fork 272
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Audio out of sync when cutting VOD #556
Comments
I compared the gunshots of a VOD in the Twitch player and a cropped download in Sony Vegas 17.0 at 0.25x and found no desync. |
the desync I'm getting is close to a second or more. I did more testing and found it's only out of sync when playing back in VLC, windows player works fine. VLC will still play the uncut VODs properly though. maybe it's a problem on my end but I can't see what would cause such a weird edge case. |
It's almost certainly a duplicate of #531 #67 Again could either re-encode 1st part (which will inevitability have some loss in quality within the first 10 seconds) and would require a bit of CPU instead of it being basically a purely IO operation since we never did any re-encoding. Or could parse out the keyframes and cut on the nearest one. Would still not be totally accurate cut but no desync. Would have to bundle ffprobe too which would suck though. |
Had the same issue with some media players having a desynchronized audio, as well as some video editors: Davinci Resolve worked fine but with everything else I'd have to manually adjust the audio. Doesn't happen all the time though, don't know why. A huge bummer since downloading portions of a vod is all I need the tool for, and most of the times a download either fails for an unknown reason or results in a desynchronized audio. |
The only application I have found that has any of the desync/freezing issues is VLC. Other media players/editors such as MPV, Sony Vegas, Blender all correctly played the video file.
You can re-encode the downloads with Handbrake, Ffmpeg, or XMedia Recode and it will fix the odd playback issues. |
I also have this issue, the problem seems to be random because some videos are fine, what I do is download the video again from a few seconds before or after until the file doesn't have the sync issue. I blame ffmpeg because if I download segments directly with it I also get the issue. One thing I noticed is that the start of the video seems to have an issue (the first couple seconds have no audio data) and VLC just plays the video and audio assuming they are synced from the beginning (this causes the problem with VLC). Other players wait for the audio and video to sync, so the first couple seconds of the video have no audio and then when the audio finally starts then all is perfectly synced. This issue with the beginning of the videos also causes other random issues in other players. |
Have same issue, only happens with some cut VOD's and only with VLC player, works fine with Windows Media Player, i guess i could switch players when i have the issue but still annoying, come to think of it might just be a issue with VLC itself. |
I think QuickTime shows the 2002 error when trying to open a downloaded vod because of this issue as well |
Checklist
Edition
Windows GUI Application
Describe your issue here
When downloading a full VOD everything works perfectly, but if I try to only download a portion of the VOD the audio is out of sync with the video when playing it back. I have tried on multiple VODs and it always happens.
The text was updated successfully, but these errors were encountered: