oh god. I thought every social media was breaking my audio when uploaded, but no, they're transcoding my mp4 into a perfectly sync'd mp4.
which firefox/their video player then plays out of sync.
oh god. I thought every social media was breaking my audio when uploaded, but no, they're transcoding my mp4 into a perfectly sync'd mp4.
which firefox/their video player then plays out of sync.
I feel like less shit for making a video that played wrong, I thought I fucked up the sync.
but now I have zero idea how to fix this
ahh, if I convert the video to webm with handbrake, it burns the audio de-sync into the file.
but if I convert it to mp4, I get a mp4 that plays correct in VLC and chrome, but not firefox.
weird.
@foone how did you create the original video? I've seen stuff like this if you try to trim the beginning of a video while using -vcodec copy. You'll often end up with a few broken frames at the beginning because it starts on an i-frame rather than a keyframe.
If so, maybe it's dropping those frames when it transcodes and throwing it out of sync.
@mcgrew @foone not sure if related but: i had an a/v desync problem with ffmpeg-trimmed videos after uploading to instagram stories (yeah i know, still have to be there for reasons) which otherwise played okay in vlc etc.
-force_key_frames "00:00:00.000" seemed to fix that for me, at least with test reuploads of same videos but with this added to the final ffmpeg prompt. hadn't tested in a browser player though.
@foone holy crow I've seen this
didn't care enough to dig but I have seen this. I have a lot of bullshit in my installation (which is, to be clear, a strongly net good, my internet experience is very unlike stock) and I just assumed it was some other damn piece of fallout from all my bullshit but if you're reproing in a really simple case
YEAH okay doesn't matter really BUT I can confirm I've seen this too, so there's that
@foone so that depends on how it's encoded. For ... reasons... mp4 files have like 3 different time sources in the file. So when tumblr "fixes" your sync they might be adjusting one of these out of sync with the others, making it work on some systems and breaking on others depending on exactly how they use the multiple timecodes.
source: tried to play a Disney DVD with my own software, fixed the software to make it work