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.