View Single Post
Old 18th June 2022, 04:15   #5  |  Link
perrinpages
Registered User
 
Join Date: Feb 2022
Posts: 9
I've had some issues with h264 or h265 videos not playing on apple devices when they clearly should. I extracted the bitstreams using ffmpeg, remuxed using bento4's mp4 muxer, and then finally remuxed using ffmpeg to add the audio track back in. It's a convoluted process, but it works. I believe it has something to do with metadata/timestamps being stripped when extracting the raw h264 then regenerating the metadata and timestamps using an updated muxer such as bento4. modern ffmpeg versions don't seem to support generating timestamps when remuxing streams no matter what command, so use bento4. I noticed in mediainfo your frame rate is listed as variable and has a wide range, so if its frame rate truly is what's listed in mediainfo and not corrupted timestamps, you will have sync issues. If your source has a constant frame rate, this method should not cause sync issues.
perrinpages is offline   Reply With Quote