Re: [FFmpeg-devel] [PATCH] avformat/mpegts: recognizes and export private streams

2015-06-22 Thread Wolfgang Lorenz
One last thing: Am Fri, 12 Jun 2015 22:06:43 +0200 schrieb Wolfgang Lorenz : > Am Fri, 12 Jun 2015 15:53:41 +0200 > schrieb Michael Niedermayer : > > > On Fri, Jun 12, 2015 at 12:38:19PM +0200, Wolfgang Lorenz wrote: > > > Am Fri, 12 Jun 2015 00:12:37 +0200 >

Re: [FFmpeg-devel] [PATCH] avformat/mpegts: recognizes and export private streams

2015-06-12 Thread Wolfgang Lorenz
Am Fri, 12 Jun 2015 15:53:41 +0200 schrieb Michael Niedermayer : > On Fri, Jun 12, 2015 at 12:38:19PM +0200, Wolfgang Lorenz wrote: > > Am Fri, 12 Jun 2015 00:12:37 +0200 > > schrieb Wolfgang Lorenz : > > > > > Am Thu, 11 Jun 2015 23:11:37 +0200 >

Re: [FFmpeg-devel] [PATCH] avformat/mpegts: recognizes and export private streams

2015-06-12 Thread Wolfgang Lorenz
Am Fri, 12 Jun 2015 00:12:37 +0200 schrieb Wolfgang Lorenz : > Am Thu, 11 Jun 2015 23:11:37 +0200 > schrieb Michael Niedermayer : > > > On Thu, Jun 11, 2015 at 10:59:23PM +0200, Wolfgang Lorenz wrote: > > > Hi Micheal, > > > > > > Am Wed, 10 Jun

Re: [FFmpeg-devel] [PATCH] avformat/mpegts: recognizes and export private streams

2015-06-11 Thread Wolfgang Lorenz
Am Thu, 11 Jun 2015 23:11:37 +0200 schrieb Michael Niedermayer : > On Thu, Jun 11, 2015 at 10:59:23PM +0200, Wolfgang Lorenz wrote: > > Hi Micheal, > > > > Am Wed, 10 Jun 2015 23:40:10 +0200 > > schrieb Michael Niedermayer : > > > > > Based on pat

Re: [FFmpeg-devel] [PATCH] avformat/mpegts: recognizes and export private streams

2015-06-11 Thread Wolfgang Lorenz
Hi Micheal, Am Wed, 10 Jun 2015 23:40:10 +0200 schrieb Michael Niedermayer : > Based on patch by Wolfgang Lorenz > Signed-off-by: Michael Niedermayer > --- > libavformat/mpegts.c |7 +++ > 1 file changed, 7 insertions(+) > > diff --git a/libavformat/mpegts.c b

Re: [FFmpeg-devel] [PATCH v3] * mpegts demuxer recognizes private streams on demand

2015-06-11 Thread Wolfgang Lorenz
Am Wed, 10 Jun 2015 23:28:19 +0200 schrieb Michael Niedermayer : > On Wed, Jun 10, 2015 at 10:41:10PM +0200, Wolfgang Lorenz wrote: > > No answers? > > > > Well, I do have a question. > > > > Am Thu, 4 Jun 2015 23:46:21 +0200 > > schrieb Wolfgang Loren

Re: [FFmpeg-devel] [PATCH v3] * mpegts demuxer recognizes private streams on demand

2015-06-10 Thread Wolfgang Lorenz
No answers? Well, I do have a question. Am Thu, 4 Jun 2015 23:46:21 +0200 schrieb Wolfgang Lorenz : > The option went into the MpegTSContext struct and can be addressed via > dictionary: > > AVFormatContext * formatContext = NULL; > > /* enable mpeg-ts private

Re: [FFmpeg-devel] [PATCH] * mpegts demuxer should recognize private streams

2015-06-04 Thread Wolfgang Lorenz
Am Thu, 4 Jun 2015 03:18:20 +0200 schrieb Michael Niedermayer : > On Sun, May 31, 2015 at 06:35:18PM +0200, Wolfgang Lorenz wrote: > > Am Sat, 30 May 2015 12:58:38 +0200 > > schrieb Hendrik Leppkes : > > > > > On Sat, May 30, 2015 at 12:39 PM, Wolfgang Lorenz wrot

Re: [FFmpeg-devel] [PATCH v3] * mpegts demuxer recognizes private streams on demand

2015-06-04 Thread Wolfgang Lorenz
The option went into the MpegTSContext struct and can be addressed via dictionary: AVFormatContext * formatContext = NULL; /* enable mpeg-ts private stream recognition */ AVDictionary * dict = NULL; av_dict_set_int(&dict, "mpegts_recognize_private_streams", 1, 0); /* open fil

Re: [FFmpeg-devel] [PATCH v2] * mpegts demuxer recognizes private streams on demand

2015-06-03 Thread Wolfgang Lorenz
Here is a new version, that doesn't touch the way ffmpeg behaves without further user actions: I added a new flag to AVFormatContext, that activates the check for private streams, when set. It can be used like this: AVFormatContext * formatContext = avformat_alloc_context(); formatContext

Re: [FFmpeg-devel] [PATCH] * mpegts demuxer should recognize private streams

2015-05-31 Thread Wolfgang Lorenz
Am Sat, 30 May 2015 12:58:38 +0200 schrieb Hendrik Leppkes : > On Sat, May 30, 2015 at 12:39 PM, Wolfgang Lorenz wrote: > > Am Sat, 30 May 2015 11:00:18 +0200 > > schrieb Wolfgang Lorenz : > > > > [...] > > > > Okay. Now I get the same errors Michael had, a

Re: [FFmpeg-devel] [PATCH] * mpegts demuxer should recognize private streams

2015-05-30 Thread Wolfgang Lorenz
Am Sat, 30 May 2015 11:00:18 +0200 schrieb Wolfgang Lorenz : > Am Sat, 30 May 2015 06:57:49 + (UTC) > schrieb Carl Eugen Hoyos : > [...] > > $ make SAMPLES=fate-suite fate-rsync > > $ make SAMPLES=fate-suite fate > > I see. Looks like this is going to take a whil

Re: [FFmpeg-devel] [PATCH] * mpegts demuxer should recognize private streams

2015-05-30 Thread Wolfgang Lorenz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am Sat, 30 May 2015 06:57:49 + (UTC) schrieb Carl Eugen Hoyos : > Wolfgang Lorenz gmx.de> writes: > > > Strange. Do you have another configuration? I > > configured ffmpeg via: > > $ ./configure --dis

Re: [FFmpeg-devel] [PATCH] * mpegts demuxer should recognize private streams

2015-05-29 Thread Wolfgang Lorenz
Am Sat, 30 May 2015 05:30:30 +0200 schrieb Michael Niedermayer : [...] > --- ./tests/ref/acodec/s302m2015-05-29 00:02:07.530881596 +0200 > +++ tests/data/fate/acodec-s302m2015-05-30 05:29:38.689115803 +0200 > @@ -1,4 +1,2 @@ > 2d1494ad78292dca556fd079ec27f28d *tests/data/fate/acodec-

Re: [FFmpeg-devel] [PATCH] * mpegts demuxer should recognize private streams

2015-05-29 Thread Wolfgang Lorenz
Indeed, this does work too. And it even doesn't break any fates... At least on my machine. --- libavformat/mpegts.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c index aeb2335..cafcc92 100644 --- a/libavformat/mpegts.c +++ b/libavformat/mpegts.c @@

[FFmpeg-devel] [PATCH] * mpegts demuxer should recognize private streams

2015-05-29 Thread Wolfgang Lorenz
The patch addresses this problem: https://lists.ffmpeg.org/pipermail/libav-user/2014-September/007475.html What it does is this: * Except stream type 0x06 as a private stream. (AVMEDIA_TYPE_DATA, AV_CODEC_ID_NONE) (It was necessary to convince mpegts_set_stream_info(), that AV_CODEC_ID_NONE