Re: [FFmpeg-devel] [PATCH] lavf/concatdec: fix timestamp conversion

2014-11-23 Thread Nicolas George
Le nonidi 29 brumaire, an CCXXIII, Stefano Sabatini a écrit : > I agree. At the moment nor the code nor the documentation mentions > this. Ideally the library should complain in case different settings > are detected. The documentation says: "All files must have the same streams (same codecs, same

Re: [FFmpeg-devel] [PATCH] lavf/concatdec: fix timestamp conversion

2014-11-19 Thread Stefano Sabatini
On date Wednesday 2014-11-19 11:47:53 +0100, Nicolas George encoded: > Le nonidi 29 brumaire, an CCXXIII, Stefano Sabatini a écrit : > > I'm concatenating samples with different time bases. Apparently > > concatdec is setting the first stream timebase as the overall > > timebase, and always assumin

Re: [FFmpeg-devel] [PATCH] lavf/concatdec: fix timestamp conversion

2014-11-19 Thread Nicolas George
Le nonidi 29 brumaire, an CCXXIII, Stefano Sabatini a écrit : > I'm concatenating samples with different time bases. Apparently > concatdec is setting the first stream timebase as the overall > timebase, and always assuming the timebase is shared for all the input > files. Concatenating segments w

Re: [FFmpeg-devel] [PATCH] lavf/concatdec: fix timestamp conversion

2014-11-19 Thread Stefano Sabatini
On date Tuesday 2014-11-18 20:30:21 +0100, Nicolas George encoded: > L'octidi 28 brumaire, an CCXXIII, Stefano Sabatini a écrit : > > Use the correct output time base when converting. > > --- > > libavformat/concatdec.c | 21 +++-- > > 1 file changed, 11 insertions(+), 10 deletions

Re: [FFmpeg-devel] [PATCH] lavf/concatdec: fix timestamp conversion

2014-11-18 Thread Nicolas George
L'octidi 28 brumaire, an CCXXIII, Stefano Sabatini a écrit : > Use the correct output time base when converting. > --- > libavformat/concatdec.c | 21 +++-- > 1 file changed, 11 insertions(+), 10 deletions(-) > > diff --git a/libavformat/concatdec.c b/libavformat/concatdec.c > ind