Open El-Has opened 1 year ago
If I remember correctly this is an issue of the libavformat mp4 demuxer, it doesn't use the duration of each sample but it computes it using the timestamp of the next sample, there isn't any next for the last sample so it doesn't get a duration.
I just opened incident 5732 for similar symptoms. After some time chasing it with GDB, the root of 5732 seems to be in HandBrake, not upstream. I don't know if that applies here or not.
Problem Description
Embedding SRT subtitles used to mean the last caption from the file would be erroneously removed upon embedding. I remember reporting this already, but cannot find the old issue. I also thought the nightly builds from months ago had fixed it, but the issue is back in Version 20221005173115-d026bcf17-master (2022101001) on Mac. I've attached a log file from when this happened in every single language. Once when this happened, I managed to restore it by re-encoding the video with no changes, but usually nothing helps.
Activity Log, Crash Log or any other details
What Operating System are you running?
macOS Catalina 10.15.7
What version of HandBrake are you running?
Version 20221005173115-d026bcf17-master (2022101001)
Where did you download HandBrake from?
GitHub handbrake-snapshots