[FFmpeg-devel] [PATCH] lavf/utils: update default wrap-around reference while iterating streams

Carl Eugen Hoyos ceffmpeg at gmail.com
Thu Feb 7 02:22:18 EET 2019


2019-02-07 0:57 GMT+01:00, Jan Ekström <jeebjp at gmail.com>:
> From: Masaki Tanaka <maki.rxrz at gmail.com>
>
> Seems to fix mistaken cases of discontinuity handling in MPEG-TS
> when program structure changes.
>
> Additional changes to patch from its original state by Jan Ekström.
> ---
>
> Had been meaning to post this for comments/discussion for a while, as
> this seems to make timestamps continuously rising in at least one of
> my samples where the program structure changes mid-stream.
>
> The original version of this patch can be found at:
> https://github.com/jeeb/ffmpeg/commit/6117366eaadbaf48bbd88eb2a353dfc852ff3400
>
> The sample for which this helped is available at:
> https://kuroko.fushizen.eu/samples/pid_switch_sample.ts
>
> The difference of timestamps received from libavformat can be seen with:
> https://kuroko.fushizen.eu/screenshots/ffmpeg/blue_vanilla-orange_patched.png

Am I correct that even with this patch, the sample cannot
be decoded / played correctly with FFmpeg / FFplay?

No opinion about the patch, just curious, Carl Eugen


More information about the ffmpeg-devel mailing list