-
-
Notifications
You must be signed in to change notification settings - Fork 207
Description
I was running a few tests with edit-list videos with negative pts and I noticed a mismatch in pts values between mediabunny and ffmpeg.
I checked ffmpeg's source code and here's what I found:
https://github.com/FFmpeg/FFmpeg/blob/master/libavformat/mov.c#L4526-L4538
They normalize the start time to 0, while mediabunny simply applies edit list adjustments.
Would you consider sticking to ffmpeg's behaviour?
This is important for accurate frame seeking in different environments to match timelines, for example: mediabunny and pyav.
Mediabunny would report one pts while pyav would use another. While they would seek just fine in their own timelines, they might output different frames if you use the same pts between them
Video example attached for convenience: favtrip_gas_station.zip