Re: [FFmpeg-devel] Allow MPEGTS and KLV metadata remuxing

2016-01-30 Thread Stefano Sabatini
On date Wednesday 2016-01-27 19:30:59 +0100, Stefano Sabatini encoded: > On date Monday 2016-01-18 00:40:52 +0100, Michael Niedermayer encoded: > > On Sun, Jan 17, 2016 at 01:24:29PM +0100, Stefano Sabatini wrote: > > > Hi, > > > > > > the attached patches allow to remux MPEGTS files containing KL

Re: [FFmpeg-devel] Allow MPEGTS and KLV metadata remuxing

2016-01-27 Thread Stefano Sabatini
On date Monday 2016-01-18 00:40:52 +0100, Michael Niedermayer encoded: > On Sun, Jan 17, 2016 at 01:24:29PM +0100, Stefano Sabatini wrote: > > Hi, > > > > the attached patches allow to remux MPEGTS files containing KLV > > metadata. Since there are two kinds of metadata (synchronous and > > asynch

Re: [FFmpeg-devel] Allow MPEGTS and KLV metadata remuxing

2016-01-21 Thread Marton Balint
On Sun, 17 Jan 2016, Stefano Sabatini wrote: [...] diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c index 22874e6..5f5de62 100644 --- a/libavformat/mpegts.c +++ b/libavformat/mpegts.c @@ -862,14 +863,21 @@ static void reset_pes_packet_state(PESContext *pes) av_buffer_unref(&pes->b

Re: [FFmpeg-devel] Allow MPEGTS and KLV metadata remuxing

2016-01-17 Thread Michael Niedermayer
On Sun, Jan 17, 2016 at 01:24:29PM +0100, Stefano Sabatini wrote: > Hi, > > the attached patches allow to remux MPEGTS files containing KLV > metadata. Since there are two kinds of metadata (synchronous and > asynchronous), the first patch creates side data which stores the > stream ID used to dis

[FFmpeg-devel] Allow MPEGTS and KLV metadata remuxing

2016-01-17 Thread Stefano Sabatini
Hi, the attached patches allow to remux MPEGTS files containing KLV metadata. Since there are two kinds of metadata (synchronous and asynchronous), the first patch creates side data which stores the stream ID used to distinguish the two kind of packets, which is otherwise lost. At the moment, I'm