Re: [FFmpeg-devel] [PATCH] lavf/mux: do not fail in case of non monotonically increasing DTS values for data packets

2016-02-26 Thread Stefano Sabatini
On date Friday 2016-02-26 01:52:47 +0100, Michael Niedermayer encoded: > On Thu, Feb 25, 2016 at 07:02:31PM +0100, Stefano Sabatini wrote: [...] > > From 0996189555f4a2402b396801da318b4ffcfb1a13 Mon Sep 17 00:00:00 2001 > > From: Stefano Sabatini > > Date: Thu, 17 Dec 2015

Re: [FFmpeg-devel] [PATCH] lavf/mux: do not fail in case of non monotonically increasing DTS values for data packets

2016-02-25 Thread Michael Niedermayer
On Thu, Feb 25, 2016 at 07:02:31PM +0100, Stefano Sabatini wrote: > On date Thursday 2016-02-25 13:41:02 +0100, Michael Niedermayer encoded: > > On Thu, Feb 25, 2016 at 01:11:36PM +0100, Stefano Sabatini wrote: > [...] > > > So, while the check makes sense for audio and video, in the case of > > >

Re: [FFmpeg-devel] [PATCH] lavf/mux: do not fail in case of non monotonically increasing DTS values for data packets

2016-02-25 Thread Stefano Sabatini
On date Thursday 2016-02-25 13:41:02 +0100, Michael Niedermayer encoded: > On Thu, Feb 25, 2016 at 01:11:36PM +0100, Stefano Sabatini wrote: [...] > > So, while the check makes sense for audio and video, in the case of > > subtitles and data we are in the fuzzy area. In principle, I agree > > with

Re: [FFmpeg-devel] [PATCH] lavf/mux: do not fail in case of non monotonically increasing DTS values for data packets

2016-02-25 Thread Michael Niedermayer
On Thu, Feb 25, 2016 at 01:11:36PM +0100, Stefano Sabatini wrote: > On date Tuesday 2016-02-23 20:32:23 +0100, Michael Niedermayer encoded: > > On Tue, Feb 23, 2016 at 07:34:16PM +0100, Stefano Sabatini wrote: > [...] > > > > I have an use case with data packets that have the same PTS (which > > >

Re: [FFmpeg-devel] [PATCH] lavf/mux: do not fail in case of non monotonically increasing DTS values for data packets

2016-02-25 Thread Nicolas George
Le septidi 7 ventôse, an CCXXIV, Stefano Sabatini a écrit : > As for subtitles, I'm not sure we should accept that as well, but at > least in theory I can imagine an use case with multiple packets (and > thus frames) conveying text information pertaining to the same time > and stream.

Re: [FFmpeg-devel] [PATCH] lavf/mux: do not fail in case of non monotonically increasing DTS values for data packets

2016-02-25 Thread Stefano Sabatini
On date Tuesday 2016-02-23 20:32:23 +0100, Michael Niedermayer encoded: > On Tue, Feb 23, 2016 at 07:34:16PM +0100, Stefano Sabatini wrote: [...] > > > I have an use case with data packets that have the same PTS (which > > > makes sense in that specific case). Since I want to fix this issue, > > >

Re: [FFmpeg-devel] [PATCH] lavf/mux: do not fail in case of non monotonically increasing DTS values for data packets

2016-02-23 Thread Michael Niedermayer
On Tue, Feb 23, 2016 at 07:34:16PM +0100, Stefano Sabatini wrote: > On date Saturday 2016-02-13 18:46:55 +0100, Stefano Sabatini encoded: > > On date Friday 2015-05-01 19:10:17 +0200, Stefano Sabatini encoded: > > > On date Thursday 2015-04-30 16:24:08 +0200, Michael Niedermayer encoded: > > > >

Re: [FFmpeg-devel] [PATCH] lavf/mux: do not fail in case of non monotonically increasing DTS values for data packets

2016-02-23 Thread Stefano Sabatini
On date Saturday 2016-02-13 18:46:55 +0100, Stefano Sabatini encoded: > On date Friday 2015-05-01 19:10:17 +0200, Stefano Sabatini encoded: > > On date Thursday 2015-04-30 16:24:08 +0200, Michael Niedermayer encoded: > > > On Thu, Apr 30, 2015 at 02:20:52PM +0200, Stefano Sabatini wrote: > > > >

Re: [FFmpeg-devel] [PATCH] lavf/mux: do not fail in case of non monotonically increasing DTS values for data packets

2016-02-13 Thread Stefano Sabatini
On date Friday 2015-05-01 19:10:17 +0200, Stefano Sabatini encoded: > On date Thursday 2015-04-30 16:24:08 +0200, Michael Niedermayer encoded: > > On Thu, Apr 30, 2015 at 02:20:52PM +0200, Stefano Sabatini wrote: > > > Disable monotonicity test for data packets. Data packets are not supposed > > >

Re: [FFmpeg-devel] [PATCH] lavf/mux: do not fail in case of non monotonically increasing DTS values for data packets

2015-05-01 Thread Stefano Sabatini
On date Thursday 2015-04-30 16:24:08 +0200, Michael Niedermayer encoded: On Thu, Apr 30, 2015 at 02:20:52PM +0200, Stefano Sabatini wrote: Disable monotonicity test for data packets. Data packets are not supposed to be decoded by FFmpeg, and this checks cause conversion failure with some

Re: [FFmpeg-devel] [PATCH] lavf/mux: do not fail in case of non monotonically increasing DTS values for data packets

2015-04-30 Thread Michael Niedermayer
On Thu, Apr 30, 2015 at 02:20:52PM +0200, Stefano Sabatini wrote: Disable monotonicity test for data packets. Data packets are not supposed to be decoded by FFmpeg, and this checks cause conversion failure with some files with non strictly monotonous timestamps. --- libavformat/mux.c | 5