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

Michael Niedermayer michaelni at gmx.at
Sat May 30 05:30:30 CEST 2015


On Sat, May 30, 2015 at 03:54:18AM +0200, Wolfgang Lorenz wrote:
> 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
> @@ -689,6 +689,7 @@ static const StreamType ISO_types[] = {
>      { 0x02, AVMEDIA_TYPE_VIDEO, AV_CODEC_ID_MPEG2VIDEO },
>      { 0x03, AVMEDIA_TYPE_AUDIO, AV_CODEC_ID_MP3        },
>      { 0x04, AVMEDIA_TYPE_AUDIO, AV_CODEC_ID_MP3        },
> +    { 0x06, AVMEDIA_TYPE_DATA,  AV_CODEC_ID_BIN_DATA   },
>      { 0x0f, AVMEDIA_TYPE_AUDIO, AV_CODEC_ID_AAC        },
>      { 0x10, AVMEDIA_TYPE_VIDEO, AV_CODEC_ID_MPEG4      },
>      /* Makito encoder sets stream type 0x11 for AAC,

still breaks fate

--- ./tests/ref/acodec/s302m    2015-05-29 00:02:07.530881596 +0200
+++ tests/data/fate/acodec-s302m        2015-05-30 05:29:38.689115803 +0200
@@ -1,4 +1,2 @@
 2d1494ad78292dca556fd079ec27f28d *tests/data/fate/acodec-s302m.mpegts
 1589164 tests/data/fate/acodec-s302m.mpegts
-f9b6528eee1aea04640ee83400c78689 *tests/data/fate/acodec-s302m.out.wav
-stddev:  986.97 PSNR: 36.44 MAXDIFF:18642 bytes:  1058400/  1056708
Test acodec-s302m failed. Look at tests/data/fate/acodec-s302m.err for details.

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Frequently ignored answer#1 FFmpeg bugs should be sent to our bugtracker. User
questions about the command line tools should be sent to the ffmpeg-user ML.
And questions about how to use libav* should be sent to the libav-user ML.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150530/f8aadca8/attachment.asc>


More information about the ffmpeg-devel mailing list