@@ -29,13 +29,16 @@ int ff_framehash_write_header(AVFormatContext *s)
for (i = 0; i < s->nb_streams; i++) {
AVStream *st = s->streams[i];
AVCodecParameters *avctx = st->codecpar;
+ char buf[256] = { 0 };
avio_printf(s->pb, "#tb %d: %d/%d\n", i, st->time_base.num, st->time_base.den);
avio_printf(s->pb, "#media_type %d: %s\n", i, av_get_media_type_string(avctx->codec_type));
avio_printf(s->pb, "#codec_id %d: %s\n", i, avcodec_get_name(avctx->codec_id));
switch (avctx->codec_type) {
case AVMEDIA_TYPE_AUDIO:
+ av_get_channel_layout_string(buf, sizeof(buf), avctx->channels, avctx->channel_layout);
avio_printf(s->pb, "#sample_rate %d: %d\n", i,avctx->sample_rate);
avio_printf(s->pb, "#channel_layout %d: %"PRIx64"\n", i,avctx->channel_layout);
+ avio_printf(s->pb, "#channel_layout_name %d: %s\n", i, buf);
break;
case AVMEDIA_TYPE_VIDEO:
avio_printf(s->pb, "#dimensions %d: %dx%d\n", i, avctx->width, avctx->height);
@@ -8,6 +8,7 @@
#codec_id 1: pcm_s16le
#sample_rate 1: 22050
#channel_layout 1: 4
+#channel_layout_name 1: mono
0, 0, 0, 1, 259200, 0x7e91df07
1, 0, 0, 1024, 2048, 0x3d042426
1, 1024, 1024, 1024, 2048, 0x5bcae456
@@ -3,6 +3,7 @@
#codec_id 0: pcm_s16le
#sample_rate 0: 22050
#channel_layout 0: 3
+#channel_layout_name 0: stereo
0, 0, 0, 1472, 5888, 0x9086e310
0, 1476, 1476, 1472, 5888, 0xac8491f5
0, 2952, 2952, 1472, 5888, 0xc9a08b6b
@@ -3,6 +3,7 @@
#codec_id 0: pcm_s16le
#sample_rate 0: 44100
#channel_layout 0: 3
+#channel_layout_name 0: stereo
0, 0, 0, 17920, 71680, 0x52373bc9
0, 17920, 17920, 17920, 71680, 0x1f854b27
0, 35840, 35840, 17920, 71680, 0x3d265a6d
@@ -3,6 +3,7 @@
#codec_id 0: pcm_s16le
#sample_rate 0: 48000
#channel_layout 0: 3
+#channel_layout_name 0: stereo
0, 0, 0, 896, 3584, 0xdae789d5
0, 896, 896, 896, 3584, 0x168ed9b6
0, 1792, 1792, 896, 3584, 0x8920c8d5
@@ -3,6 +3,7 @@
#codec_id 0: pcm_s16le
#sample_rate 0: 22050
#channel_layout 0: 3
+#channel_layout_name 0: stereo
0, 0, 0, 1484, 5936, 0x00000000
0, 1484, 1484, 1456, 5824, 0x00000000
0, 2940, 2940, 1484, 5936, 0x00000000
@@ -3,6 +3,7 @@
#codec_id 0: pcm_s16le
#sample_rate 0: 22050
#channel_layout 0: 3
+#channel_layout_name 0: stereo
0, 0, 0, 1484, 5936, 0xea261a29
0, 1484, 1484, 1456, 5824, 0x253df061
0, 2940, 2940, 1484, 5936, 0x603a5bd7
@@ -3,6 +3,7 @@
#codec_id 0: pcm_s16le
#sample_rate 0: 22050
#channel_layout 0: 3
+#channel_layout_name 0: stereo
0, 0, 0, 28, 112, 0x291d1be4
0, 28, 28, 28, 112, 0xf08d33cc
0, 56, 56, 28, 112, 0x5b1521de
@@ -3,6 +3,7 @@
#codec_id 0: pcm_s16le
#sample_rate 0: 48000
#channel_layout 0: 3
+#channel_layout_name 0: stereo
0, 0, 0, 1624, 6496, 0x00000000
0, 1624, 1624, 1596, 6384, 0x00000000
0, 3220, 3220, 1596, 6384, 0x00000000
@@ -3,6 +3,7 @@
#codec_id 0: pcm_s16le
#sample_rate 0: 22050
#channel_layout 0: 4
+#channel_layout_name 0: mono
0, 0, 0, 1378, 2756, 0x0af35034
0, 1378, 1378, 1378, 2756, 0x8462443f
0, 2756, 2756, 1378, 2756, 0x9f493ba6
@@ -3,6 +3,7 @@
#codec_id 0: pcm_s16le
#sample_rate 0: 22050
#channel_layout 0: 3
+#channel_layout_name 0: stereo
0, 0, 0, 1468, 5872, 0x00000000
0, 1468, 1468, 1468, 5872, 0x00000000
0, 2936, 2936, 1468, 5872, 0x00000000
@@ -3,6 +3,7 @@
#codec_id 0: pcm_s16le
#sample_rate 0: 22050
#channel_layout 0: 3
+#channel_layout_name 0: stereo
0, 0, 0, 736, 2944, 0x00000000
0, 736, 736, 1472, 5888, 0x5ae3c2a4
0, 2208, 2208, 1472, 5888, 0x158fbcb4
@@ -3,6 +3,7 @@
#codec_id 0: pcm_s16le
#sample_rate 0: 22050
#channel_layout 0: 4
+#channel_layout_name 0: mono
0, 0, 0, 512, 1024, 0x00000000
0, 512, 512, 512, 1024, 0x00000000
0, 1024, 1024, 512, 1024, 0xed2d3f6b
@@ -3,6 +3,7 @@
#codec_id 0: pcm_s16le
#sample_rate 0: 22050
#channel_layout 0: 4
+#channel_layout_name 0: mono
0, 0, 0, 11024, 22048, 0x0665d7f4
0, 11024, 11024, 1470, 2940, 0x0f3c64cb
0, 12494, 12494, 1470, 2940, 0xc90b9e78
@@ -3,6 +3,7 @@
#codec_id 0: pcm_s16le
#sample_rate 0: 11025
#channel_layout 0: 4
+#channel_layout_name 0: mono
0, 0, 0, 500, 1000, 0x64cd9403
0, 500, 500, 500, 1000, 0xa4ef8a9d
0, 1000, 1000, 500, 1000, 0x75c19868
@@ -3,6 +3,7 @@
#codec_id 0: pcm_s16le
#sample_rate 0: 32000
#channel_layout 0: 3
+#channel_layout_name 0: stereo
0, 0, 0, 1078, 4312, 0x469714f6
0, 1078, 1078, 1064, 4256, 0x6ca28f25
0, 2142, 2142, 1078, 4312, 0xd466f806
@@ -3,6 +3,7 @@
#codec_id 0: pcm_s16le
#sample_rate 0: 22050
#channel_layout 0: 3
+#channel_layout_name 0: stereo
0, 0, 0, 73500, 294000, 0x37d439ee
0, 73500, 73500, 1470, 5880, 0xe524b177
0, 74970, 74970, 1470, 5880, 0x9e784af1
@@ -3,6 +3,7 @@
#codec_id 0: pcm_s16le
#sample_rate 0: 37800
#channel_layout 0: 3
+#channel_layout_name 0: stereo
0, 0, 0, 2016, 8064, 0xa307ed8c
0, 2016, 2016, 2016, 8064, 0xd2551927
0, 4032, 4032, 2016, 8064, 0x3264a799
@@ -6,6 +6,7 @@ ef8ce3cbd1d86113e7c991a816086068 *tests/data/fate/adtstoasc_ticket3715.mov
#codec_id 0: aac
#sample_rate 0: 44100
#channel_layout 0: 3
+#channel_layout_name 0: stereo
0, 0, 0, 1024, 371, 0x14b11a4f
0, 1024, 1024, 1024, 402, 0x2f00c487
0, 2048, 2048, 1024, 403, 0x1959c0d4
@@ -8,6 +8,7 @@
#codec_id 1: pcm_s16le
#sample_rate 1: 44100
#channel_layout 1: 3
+#channel_layout_name 1: stereo
0, 0, 0, 1, 230400, 0xd133e177
1, 0, 0, 44100, 176400, 0xdd61578c
0, 1, 1, 1, 230400, 0xe3501bb2
@@ -8,6 +8,7 @@
#codec_id 1: pcm_s16le
#sample_rate 1: 11111
#channel_layout 1: 4
+#channel_layout_name 1: mono
0, 0, 0, 1, 192000, 0x00000000
1, 0, 0, 740, 1480, 0x00000000
1, 740, 740, 740, 1480, 0x20a92bd4
@@ -8,6 +8,7 @@
#codec_id 1: pcm_s16le
#sample_rate 1: 11025
#channel_layout 1: 4
+#channel_layout_name 1: mono
0, 0, 0, 1, 134400, 0xc218b00c
1, 0, 0, 8884, 17768, 0x07df135c
0, 1, 1, 1, 134400, 0x114daf7c
@@ -3,6 +3,7 @@
#codec_id 0: pcm_s16le
#sample_rate 0: 22050
#channel_layout 0: 3
+#channel_layout_name 0: stereo
0, 0, 0, 1856, 7424, 0x18540b36
0, 1856, 1856, 1824, 7296, 0x5acd2484
0, 3680, 3680, 1856, 7424, 0xa1bc5c5a
@@ -8,6 +8,7 @@
#codec_id 1: pcm_s8
#sample_rate 1: 11025
#channel_layout 1: 4
+#channel_layout_name 1: mono
0, 0, 0, 1884, 22688, 0xc954a244
1, 0, 0, 1884, 1884, 0x06925e3e
0, 1884, 1884, 1884, 22688, 0x3ee4a304
@@ -10,6 +10,7 @@ d6e3d97b522ce881ed29c5da74cc7e63 *tests/data/fate/copy-trac236.mov
#codec_id 1: pcm_s16le
#sample_rate 1: 48000
#channel_layout 1: 3
+#channel_layout_name 1: stereo
0, 0, 0, 1, 518400, 0x81ab2140
1, 0, 0, 1024, 4096, 0x67dc99a3
1, 1024, 1024, 1024, 4096, 0xf115a681
@@ -10,6 +10,7 @@
#codec_id 1: pcm_s16le
#sample_rate 1: 48000
#channel_layout 1: 3
+#channel_layout_name 1: stereo
0, 0, 0, 1, 259200, 0xf36957da
1, 0, 0, 1602, 6408, 0x1dd7b37c
0, 1, 1, 1, 259200, 0x29a1f586
@@ -10,6 +10,7 @@
#codec_id 1: pcm_s16le
#sample_rate 1: 48000
#channel_layout 1: 3
+#channel_layout_name 1: stereo
1, 0, 0, 1152, 4608, 0xb24f5c9d
1, 1152, 1152, 1152, 4608, 0xe2da5c32
1, 2304, 2304, 1152, 4608, 0xd76023d9
@@ -8,6 +8,7 @@
#codec_id 1: pcm_s16le
#sample_rate 1: 11025
#channel_layout 1: 4
+#channel_layout_name 1: mono
0, 0, 0, 1, 230400, 0x03e25ead
1, 0, 0, 5513, 11026, 0x27ad637c
0, 1, 1, 1, 230400, 0x0a520ffd
@@ -8,6 +8,7 @@
#codec_id 1: pcm_s16le
#sample_rate 1: 22222
#channel_layout 1: 4
+#channel_layout_name 1: mono
0, 0, 0, 1, 188892, 0x9f47a5ec
1, 0, 0, 8186, 16372, 0xfaaab59d
0, 1, 1, 1, 188892, 0xdece0269
@@ -8,6 +8,7 @@
#codec_id 1: pcm_s16le
#sample_rate 1: 16129
#channel_layout 1: 4
+#channel_layout_name 1: mono
0, 0, 0, 1, 184320, 0x8433f0f8
1, 0, 0, 14184, 28368, 0xaacc96a5
0, 1, 1, 1, 184320, 0xd0d480f7
@@ -3,6 +3,7 @@
#codec_id 0: pcm_s24daud
#sample_rate 0: 96000
#channel_layout 0: 60f
+#channel_layout_name 0: 5.1(side)
0, 0, 0, 1875, 36000, 0xd592781d
0, 1875, 1875, 1875, 36000, 0xd592781d
0, 3750, 3750, 1875, 36000, 0xd592781d
@@ -6,6 +6,7 @@
#codec_id 0: pcm_s16le
#sample_rate 0: 192000
#channel_layout 0: 60f
+#channel_layout_name 0: 5.1(side)
#stream#, dts, pts, duration, size, hash
0, 0, 0, 2048, 24576, 91ff0dac5df86e798bfef5e573536b08
0, 2048, 2048, 2048, 24576, 91ff0dac5df86e798bfef5e573536b08
@@ -6,6 +6,7 @@
#codec_id 0: pcm_s16le
#sample_rate 0: 192000
#channel_layout 0: 60f
+#channel_layout_name 0: 5.1(side)
#stream#, dts, pts, duration, size, hash
0, 0, 0, 2048, 24576, 91ff0dac5df86e798bfef5e573536b08
0, 2048, 2048, 2048, 24576, 91ff0dac5df86e798bfef5e573536b08
@@ -6,6 +6,7 @@
#codec_id 0: pcm_s16le
#sample_rate 0: 192000
#channel_layout 0: 60f
+#channel_layout_name 0: 5.1(side)
#stream#, dts, pts, duration, size, hash
0, 0, 0, 2048, 24576, 91ff0dac5df86e798bfef5e573536b08
0, 2048, 2048, 2048, 24576, 91ff0dac5df86e798bfef5e573536b08
@@ -6,6 +6,7 @@
#codec_id 0: pcm_s16le
#sample_rate 0: 192000
#channel_layout 0: 60f
+#channel_layout_name 0: 5.1(side)
#stream#, dts, pts, duration, size, hash
0, 0, 0, 2048, 24576, 91ff0dac5df86e798bfef5e573536b08
0, 2048, 2048, 2048, 24576, 91ff0dac5df86e798bfef5e573536b08
@@ -6,6 +6,7 @@
#codec_id 0: pcm_s16le
#sample_rate 0: 192000
#channel_layout 0: 3
+#channel_layout_name 0: stereo
#stream#, dts, pts, duration, size, hash
0, 0, 0, 2048, 8192, 0829f71740aab1ab98b33eae21dee122
0, 2048, 2048, 2048, 8192, c8ca1cff44674809d464ec39cf1bd1e9
@@ -6,6 +6,7 @@
#codec_id 0: pcm_s16le
#sample_rate 0: 192000
#channel_layout 0: 60f
+#channel_layout_name 0: 5.1(side)
#stream#, dts, pts, duration, size, hash
0, 0, 0, 2048, 24576, 91ff0dac5df86e798bfef5e573536b08
0, 2048, 2048, 2048, 24576, 91ff0dac5df86e798bfef5e573536b08
@@ -6,6 +6,7 @@
#codec_id 0: pcm_s24le
#sample_rate 0: 48000
#channel_layout 0: 60f
+#channel_layout_name 0: 5.1(side)
#stream#, dts, pts, duration, size, hash
0, 0, 0, 512, 9216, 13a95890b5f0947d6f058ca9c30a3e01
0, 512, 512, 512, 9216, 13a95890b5f0947d6f058ca9c30a3e01
@@ -6,6 +6,7 @@
#codec_id 0: pcm_s24le
#sample_rate 0: 48000
#channel_layout 0: 3
+#channel_layout_name 0: stereo
#stream#, dts, pts, duration, size, hash
0, 0, 0, 512, 3072, d2a70550489de356a2cd6bfc40711204
0, 512, 512, 512, 3072, d2a70550489de356a2cd6bfc40711204
@@ -6,6 +6,7 @@
#codec_id 0: pcm_s24le
#sample_rate 0: 48000
#channel_layout 0: 60f
+#channel_layout_name 0: 5.1(side)
#stream#, dts, pts, duration, size, hash
0, 0, 0, 512, 9216, 13a95890b5f0947d6f058ca9c30a3e01
0, 512, 512, 512, 9216, 13a95890b5f0947d6f058ca9c30a3e01
@@ -6,6 +6,7 @@
#codec_id 0: pcm_s24le
#sample_rate 0: 48000
#channel_layout 0: 60f
+#channel_layout_name 0: 5.1(side)
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1024, 18432, f9debe3f07be68533bf0295e3d2ba68a
0, 1024, 1024, 1024, 18432, 6707daa7724fdc552869e522a7936f26
@@ -6,6 +6,7 @@
#codec_id 0: pcm_s24le
#sample_rate 0: 48000
#channel_layout 0: 60f
+#channel_layout_name 0: 5.1(side)
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1024, 18432, f9debe3f07be68533bf0295e3d2ba68a
0, 1024, 1024, 1024, 18432, 6707daa7724fdc552869e522a7936f26
@@ -6,6 +6,7 @@
#codec_id 0: pcm_s24le
#sample_rate 0: 48000
#channel_layout 0: 60f
+#channel_layout_name 0: 5.1(side)
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1024, 18432, f9debe3f07be68533bf0295e3d2ba68a
0, 1024, 1024, 1024, 18432, 6707daa7724fdc552869e522a7936f26
@@ -6,6 +6,7 @@
#codec_id 0: pcm_s24le
#sample_rate 0: 48000
#channel_layout 0: 63f
+#channel_layout_name 0: 7.1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 512, 12288, ca9f8c8eb1b9b311cb79999fa376c7f0
0, 512, 512, 512, 12288, 4072783b8efb99a9e5817067d68f61c6
@@ -6,6 +6,7 @@
#codec_id 0: pcm_s24le
#sample_rate 0: 48000
#channel_layout 0: 60f
+#channel_layout_name 0: 5.1(side)
#stream#, dts, pts, duration, size, hash
0, 0, 0, 512, 9216, a2b724b146069938f0e2cb82490dea54
0, 512, 512, 512, 9216, 13a95890b5f0947d6f058ca9c30a3e01
@@ -6,6 +6,7 @@
#codec_id 0: pcm_s24le
#sample_rate 0: 48000
#channel_layout 0: 60f
+#channel_layout_name 0: 5.1(side)
#stream#, dts, pts, duration, size, hash
0, 0, 0, 512, 9216, a2b724b146069938f0e2cb82490dea54
0, 512, 512, 512, 9216, 13a95890b5f0947d6f058ca9c30a3e01
@@ -6,6 +6,7 @@
#codec_id 0: pcm_s24le
#sample_rate 0: 48000
#channel_layout 0: 63f
+#channel_layout_name 0: 7.1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 512, 12288, ca9f8c8eb1b9b311cb79999fa376c7f0
0, 512, 512, 512, 12288, 4072783b8efb99a9e5817067d68f61c6
@@ -6,6 +6,7 @@
#codec_id 0: pcm_s24le
#sample_rate 0: 48000
#channel_layout 0: 3
+#channel_layout_name 0: stereo
#stream#, dts, pts, duration, size, hash
0, 0, 0, 512, 3072, d2a70550489de356a2cd6bfc40711204
0, 512, 512, 512, 3072, d2a70550489de356a2cd6bfc40711204
@@ -6,6 +6,7 @@
#codec_id 0: pcm_s24le
#sample_rate 0: 48000
#channel_layout 0: 60f
+#channel_layout_name 0: 5.1(side)
#stream#, dts, pts, duration, size, hash
0, 0, 0, 512, 9216, a2b724b146069938f0e2cb82490dea54
0, 512, 512, 512, 9216, 13a95890b5f0947d6f058ca9c30a3e01
@@ -6,6 +6,7 @@
#codec_id 0: pcm_s24le
#sample_rate 0: 96000
#channel_layout 0: 63f
+#channel_layout_name 0: 7.1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1024, 24576, 0b24a527d66f2b0cab97f37e4cd79987
0, 1024, 1024, 1024, 24576, 91ff0dac5df86e798bfef5e573536b08
@@ -6,6 +6,7 @@
#codec_id 0: pcm_s24le
#sample_rate 0: 96000
#channel_layout 0: 60f
+#channel_layout_name 0: 5.1(side)
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1024, 18432, 0a675f172b0e1a171c46dfaa4f1d0f00
0, 1024, 1024, 1024, 18432, f9debe3f07be68533bf0295e3d2ba68a
@@ -6,6 +6,7 @@
#codec_id 0: pcm_s24le
#sample_rate 0: 96000
#channel_layout 0: 60f
+#channel_layout_name 0: 5.1(side)
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1024, 18432, 0a675f172b0e1a171c46dfaa4f1d0f00
0, 1024, 1024, 1024, 18432, f9debe3f07be68533bf0295e3d2ba68a
@@ -6,6 +6,7 @@
#codec_id 0: pcm_s24le
#sample_rate 0: 96000
#channel_layout 0: 60f
+#channel_layout_name 0: 5.1(side)
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1024, 18432, f9debe3f07be68533bf0295e3d2ba68a
0, 1024, 1024, 1024, 18432, f9debe3f07be68533bf0295e3d2ba68a
@@ -6,6 +6,7 @@
#codec_id 0: pcm_s24le
#sample_rate 0: 96000
#channel_layout 0: 60f
+#channel_layout_name 0: 5.1(side)
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1024, 18432, f9debe3f07be68533bf0295e3d2ba68a
0, 1024, 1024, 1024, 18432, f9debe3f07be68533bf0295e3d2ba68a
@@ -6,6 +6,7 @@
#codec_id 0: pcm_s24le
#sample_rate 0: 96000
#channel_layout 0: 60f
+#channel_layout_name 0: 5.1(side)
#stream#, dts, pts, duration, size, hash
0, 0, 0, 1024, 18432, f9debe3f07be68533bf0295e3d2ba68a
0, 1024, 1024, 1024, 18432, f9debe3f07be68533bf0295e3d2ba68a
@@ -6,6 +6,7 @@
#codec_id 0: pcm_s24le
#sample_rate 0: 48000
#channel_layout 0: 70f
+#channel_layout_name 0: 6.1
#stream#, dts, pts, duration, size, hash
0, 0, 0, 512, 10752, c3c5b236c266a9090378def1ad497a21
0, 512, 512, 512, 10752, 36eb6749f8d9ce9f94860dcc447253ac
@@ -6,6 +6,7 @@
#codec_id 0: pcm_s24le
#sample_rate 0: 48000
#channel_layout 0: 60f
+#channel_layout_name 0: 5.1(side)
#stream#, dts, pts, duration, size, hash
0, 0, 0, 512, 9216, 652c4e61f9abe9fba9de792242e2d31d
0, 512, 512, 512, 9216, 13a95890b5f0947d6f058ca9c30a3e01
@@ -6,6 +6,7 @@
#codec_id 0: pcm_s24le
#sample_rate 0: 48000
#channel_layout 0: 60f
+#channel_layout_name 0: 5.1(side)
#stream#, dts, pts, duration, size, hash
0, 0, 0, 512, 9216, 652c4e61f9abe9fba9de792242e2d31d
0, 512, 512, 512, 9216, 13a95890b5f0947d6f058ca9c30a3e01
@@ -6,6 +6,7 @@
#codec_id 0: pcm_s16le
#sample_rate 0: 96000
#channel_layout 0: 60f
+#channel_layout_name 0: 5.1(side)
#stream#, dts, pts, duration, size, hash
0, 0, 0, 341, 4092, 697cddfcd0e21f24782af0705b7048f3
0, 341, 341, 341, 4092, a057b18cd493923fed33c18578f61e0b
@@ -3,6 +3,7 @@
#codec_id 0: pcm_s16le
#sample_rate 0: 22050
#channel_layout 0: 4
+#channel_layout_name 0: mono
0, 0, 0, 88224, 176448, 0x541ddc55
0, 88224, 88224, 1838, 3676, 0xaf455081
0, 90062, 90062, 1838, 3676, 0x27ef4e91
@@ -3,6 +3,7 @@
#codec_id 0: pcm_s16le
#sample_rate 0: 22050
#channel_layout 0: 3
+#channel_layout_name 0: stereo
0, 0, 0, 7456, 29824, 0x77e265b7
0, 7456, 7456, 736, 2944, 0x8dcdf50b
0, 8192, 8192, 736, 2944, 0xb135cd2a
@@ -3,6 +3,7 @@
#codec_id 0: pcm_s16le
#sample_rate 0: 22050
#channel_layout 0: 3
+#channel_layout_name 0: stereo
0, 0, 0, 1462, 5848, 0xea04292b
0, 1462, 1462, 1472, 5888, 0x0e59e942
0, 2934, 2934, 1472, 5888, 0x56d480f6
@@ -3,6 +3,7 @@
#codec_id 0: pcm_s16le
#sample_rate 0: 8000
#channel_layout 0: 4
+#channel_layout_name 0: mono
0, 0, 0, 240, 480, 0xf1107658
0, 240, 240, 240, 480, 0x50dee179
0, 480, 480, 240, 480, 0x40090802
@@ -3,6 +3,7 @@
#codec_id 0: pcm_s16le
#sample_rate 0: 11025
#channel_layout 0: 4
+#channel_layout_name 0: mono
0, 0, 0, 264, 528, 0xa2579e96
0, 264, 264, 264, 528, 0xf9b23172
0, 528, 528, 264, 528, 0x5571a0fe
@@ -8,6 +8,7 @@
#codec_id 1: pcm_s16le
#sample_rate 1: 48000
#channel_layout 1: 3
+#channel_layout_name 1: stereo
0, 0, 0, 1, 622080, 0x4e30accb
1, 0, 0, 1152, 4608, 0x00000000
1, 1152, 1152, 1152, 4608, 0xbca29063
@@ -3,6 +3,7 @@
#codec_id 0: pcm_s16le
#sample_rate 0: 44100
#channel_layout 0: 3
+#channel_layout_name 0: stereo
0, 0, 0, 888, 3552, 0x592ce6cc
0, 888, 888, 1024, 4096, 0x20f6f6a9
0, 1912, 1912, 1024, 4096, 0x3f840122
@@ -3,6 +3,7 @@
#codec_id 0: pcm_s16le
#sample_rate 0: 44100
#channel_layout 0: 3
+#channel_layout_name 0: stereo
0, 0, 0, 1024, 4096, 0x9d7bf760
0, 1024, 1024, 1024, 4096, 0xdf42c46b
0, 2048, 2048, 1024, 4096, 0x2214fd20
@@ -3,6 +3,7 @@
#codec_id 0: pcm_s16le
#sample_rate 0: 44100
#channel_layout 0: 3
+#channel_layout_name 0: stereo
0, 0, 0, 1024, 4096, 0x3019edd5
0, 1024, 1024, 1024, 4096, 0x2df2fe2f
0, 2048, 2048, 1024, 4096, 0xde37ff37
@@ -3,6 +3,7 @@
#codec_id 0: pcm_s16le
#sample_rate 0: 44100
#channel_layout 0: 3
+#channel_layout_name 0: stereo
0, 0, 0, 1024, 4096, 0xb9c5fefd
0, 1024, 1024, 1024, 4096, 0xb2ae0a90
0, 2048, 2048, 1024, 4096, 0x97e6e9f3
@@ -3,6 +3,7 @@
#codec_id 0: pcm_s16le
#sample_rate 0: 44100
#channel_layout 0: 3
+#channel_layout_name 0: stereo
0, 0, 0, 1024, 4096, 0x7b2101ec
0, 1024, 1024, 1024, 4096, 0x5c16fc93
0, 2048, 2048, 1024, 4096, 0x62bdee5d
@@ -3,6 +3,7 @@
#codec_id 0: pcm_s16le
#sample_rate 0: 44100
#channel_layout 0: 3
+#channel_layout_name 0: stereo
0, 0, 0, 1024, 4096, 0x06e0d68a
0, 1024, 1024, 1024, 4096, 0xb325d915
0, 2048, 2048, 1024, 4096, 0xc0a5f1f1
@@ -3,6 +3,7 @@
#codec_id 0: pcm_s16le
#sample_rate 0: 44100
#channel_layout 0: 3
+#channel_layout_name 0: stereo
0, 0, 0, 1024, 4096, 0x00000000
0, 1024, 1024, 1024, 4096, 0x00000000
0, 2048, 2048, 1024, 4096, 0x00000000
@@ -3,6 +3,7 @@
#codec_id 0: pcm_s16le
#sample_rate 0: 44100
#channel_layout 0: 3
+#channel_layout_name 0: stereo
0, 0, 0, 1024, 4096, 0x2042232e
0, 1024, 1024, 1024, 4096, 0x2c073cf7
0, 2048, 2048, 1024, 4096, 0x92fecae5
@@ -3,6 +3,7 @@
#codec_id 0: pcm_s16le
#sample_rate 0: 44100
#channel_layout 0: 3
+#channel_layout_name 0: stereo
0, 0, 0, 1024, 4096, 0x220e908d
0, 1024, 1024, 1024, 4096, 0xdd65002e
0, 2048, 2048, 1024, 4096, 0x8072fb25
@@ -3,6 +3,7 @@
#codec_id 0: pcm_s16le
#sample_rate 0: 44100
#channel_layout 0: 3
+#channel_layout_name 0: stereo
0, 0, 0, 1024, 4096, 0xf01adbd3
0, 1024, 1024, 1024, 4096, 0xbbe10f8e
0, 2048, 2048, 1024, 4096, 0xbf04fccf
@@ -3,6 +3,7 @@
#codec_id 0: pcm_s16le
#sample_rate 0: 44100
#channel_layout 0: 3
+#channel_layout_name 0: stereo
0, 0, 0, 1024, 4096, 0xd977ce0f
0, 1024, 1024, 1024, 4096, 0x9333f5b1
0, 2048, 2048, 1024, 4096, 0xf1a30794
@@ -3,6 +3,7 @@
#codec_id 0: pcm_s16le
#sample_rate 0: 44100
#channel_layout 0: 3
+#channel_layout_name 0: stereo
0, 0, 0, 1024, 4096, 0x1af20090
0, 1024, 1024, 1024, 4096, 0x0b05ef2d
0, 2048, 2048, 1024, 4096, 0x574bf11d
@@ -3,6 +3,7 @@
#codec_id 0: pcm_s16le
#sample_rate 0: 44100
#channel_layout 0: 3
+#channel_layout_name 0: stereo
0, 0, 0, 1024, 4096, 0xd4194af4
0, 1024, 1024, 1024, 4096, 0x686af4ab
0, 2048, 2048, 1024, 4096, 0xe80cee61
@@ -3,6 +3,7 @@
#codec_id 0: pcm_s16le
#sample_rate 0: 44100
#channel_layout 0: 3
+#channel_layout_name 0: stereo
0, 0, 0, 2048, 8192, 0x120efa65
0, 2048, 2048, 2048, 8192, 0x7b3cebf7
0, 4096, 4096, 2048, 8192, 0x0fb8ee01
@@ -3,6 +3,7 @@
#codec_id 0: pcm_s16le
#sample_rate 0: 44100
#channel_layout 0: 3
+#channel_layout_name 0: stereo
0, 0, 0, 1024, 4096, 0x8e1bf8e0
0, 1024, 1024, 1024, 4096, 0xe315f564
0, 2048, 2048, 1024, 4096, 0x3d0efa98
@@ -3,6 +3,7 @@
#codec_id 0: pcm_s16le
#sample_rate 0: 44100
#channel_layout 0: 3
+#channel_layout_name 0: stereo
0, 0, 0, 1024, 4096, 0x29e3eecf
0, 1024, 1024, 1024, 4096, 0x18390b96
0, 2048, 2048, 1024, 4096, 0xc477fa99
@@ -3,6 +3,7 @@
#codec_id 0: pcm_s16le
#sample_rate 0: 44100
#channel_layout 0: 3
+#channel_layout_name 0: stereo
0, 0, 0, 512, 2048, 0xd2dbf701
0, 512, 512, 512, 2048, 0xdb22f7bf
0, 1024, 1024, 512, 2048, 0x82a103be
@@ -3,6 +3,7 @@
#codec_id 0: pcm_s16le
#sample_rate 0: 20000
#channel_layout 0: 3
+#channel_layout_name 0: stereo
0, 0, 0, 1024, 4096, 0x29e3eecf
0, 1024, 1024, 1024, 4096, 0x18390b96
0, 2048, 2048, 1024, 4096, 0xc477fa99
@@ -3,4 +3,5 @@
#codec_id 0: pcm_s16le
#sample_rate 0: 44100
#channel_layout 0: 3
+#channel_layout_name 0: stereo
0, 4410, 4410, 441, 1764, 0x61e374f7
@@ -3,6 +3,7 @@
#codec_id 0: pcm_s16le
#sample_rate 0: 44100
#channel_layout 0: 3
+#channel_layout_name 0: stereo
0, 1025, 1025, 1023, 4092, 0x78560a4c
0, 2048, 2048, 1024, 4096, 0xc477fa99
0, 3072, 3072, 1024, 4096, 0x3bc0f14f
@@ -3,4 +3,5 @@
#codec_id 0: pcm_s16le
#sample_rate 0: 44100
#channel_layout 0: 3
+#channel_layout_name 0: stereo
0, 26, 26, 54, 216, 0x6b376c6c
@@ -3,6 +3,7 @@
#codec_id 0: pcm_s16le
#sample_rate 0: 44100
#channel_layout 0: 3
+#channel_layout_name 0: stereo
0, 4410, 4410, 710, 2840, 0x658982a3
0, 5120, 5120, 1024, 4096, 0xfd6a0070
0, 6144, 6144, 1024, 4096, 0x0b01f4cf
@@ -3,6 +3,7 @@
#codec_id 0: pcm_s16le
#sample_rate 0: 22050
#channel_layout 0: 4
+#channel_layout_name 0: mono
0, 0, 0, 2048, 4096, 0x1fc6f1f1
0, 2048, 2048, 2048, 4096, 0xe5f7f442
0, 4096, 4096, 2048, 4096, 0x4f14ecb9
@@ -3,6 +3,7 @@
#codec_id 0: pcm_s16le
#sample_rate 0: 44100
#channel_layout 0: 3
+#channel_layout_name 0: stereo
0, 0, 0, 1024, 4096, 0xfc10e61b
0, 1024, 1024, 1024, 4096, 0x8801ef13
0, 2048, 2048, 1024, 4096, 0xba55fc17
@@ -8,6 +8,7 @@
#codec_id 1: pcm_s16le
#sample_rate 1: 44100
#channel_layout 1: 4
+#channel_layout_name 1: mono
0, 0, 0, 1, 230400, 0x88c4d19a
1, 0, 0, 1024, 2048, 0xb3f10192
1, 1024, 1024, 1024, 2048, 0xb340fe4e
@@ -3,6 +3,7 @@
#codec_id 0: pcm_s16le
#sample_rate 0: 44100
#channel_layout 0: 3
+#channel_layout_name 0: stereo
0, 0, 0, 1024, 4096, 0x96868842
0, 1024, 1024, 1024, 4096, 0xeff98700
0, 2048, 2048, 1024, 4096, 0x6ea28e1e
@@ -3,6 +3,7 @@
#codec_id 0: pcm_s16le
#sample_rate 0: 44100
#channel_layout 0: 3
+#channel_layout_name 0: stereo
0, 0, 0, 1024, 4096, 0x900af751
0, 1024, 1024, 1024, 4096, 0xad570065
0, 2048, 2048, 1024, 4096, 0x93d5f494
@@ -3,6 +3,7 @@
#codec_id 0: pcm_s16le
#sample_rate 0: 44100
#channel_layout 0: 3
+#channel_layout_name 0: stereo
0, 0, 0, 1024, 4096, 0x29e3eecf
0, 1024, 1024, 1024, 4096, 0x18390b96
0, 2048, 2048, 1024, 4096, 0xc477fa99
@@ -3,6 +3,7 @@
#codec_id 0: pcm_s16le
#sample_rate 0: 44100
#channel_layout 0: 4
+#channel_layout_name 0: mono
0, 0, 0, 1152, 2304, 0x907cb7fa
0, 1152, 1152, 1152, 2304, 0xb8dc7525
0, 2304, 2304, 1152, 2304, 0x3e7d6905
@@ -3,6 +3,7 @@
#codec_id 0: pcm_s16le
#sample_rate 0: 44100
#channel_layout 0: 4
+#channel_layout_name 0: mono
0, 0, 0, 1152, 2304, 0x593ea430
0, 1152, 1152, 1152, 2304, 0xde328304
0, 2304, 2304, 1152, 2304, 0x12f673c9
@@ -8,6 +8,7 @@
#codec_id 1: pcm_s16le
#sample_rate 1: 44100
#channel_layout 1: 4
+#channel_layout_name 1: mono
0, 0, 0, 1, 195840, 0x0602351d
1, 0, 0, 1024, 2048, 0x00000000
1, 1024, 1024, 1024, 2048, 0xe6b00ffc
@@ -8,6 +8,7 @@
#codec_id 1: dts
#sample_rate 1: 48000
#channel_layout 1: 60f
+#channel_layout_name 1: 5.1(side)
0, 0, 0, 1, 518400, 0x6b05d48a
1, 27, 27, 10, 2013, 0x68e7b03a
0, 1, 1, 1, 518400, 0x2c2219cd
@@ -3,6 +3,7 @@
#codec_id 0: pcm_s16le
#sample_rate 0: 192000
#channel_layout 0: 3
+#channel_layout_name 0: stereo
0, 0, 0, 1, 4, 0x00200008
0, 1, 1, 1, 4, 0x00180006
0, 2, 2, 1, 4, 0x001c0007
@@ -3,6 +3,7 @@
#codec_id 0: pcm_s16le
#sample_rate 0: 44100
#channel_layout 0: 3
+#channel_layout_name 0: stereo
0, 0, 0, 1024, 4096, 0x48b6d241
0, 1024, 1024, 1024, 4096, 0xe0c4ca9a
0, 2048, 2048, 1024, 4096, 0x6dd8e26c
@@ -3,6 +3,7 @@
#codec_id 0: pcm_s16le
#sample_rate 0: 44100
#channel_layout 0: 3
+#channel_layout_name 0: stereo
0, 0, 0, 1024, 4096, 0x5d3be907
0, 1024, 1024, 1024, 4096, 0xea151fbe
0, 2048, 2048, 1024, 4096, 0xa5bc19f4
@@ -10,6 +10,7 @@
#codec_id 1: aac
#sample_rate 1: 22050
#channel_layout 1: 3
+#channel_layout_name 1: stereo
0, 0, 0, 33, 135, 0x78b33078, S=1, 39, 0xf8aa0d44
1, 0, 0, 46, 9, 0x07bc01b8, S=1, 2, 0x00b600a3
0, 33, 33, 33, 92, 0x0d891dd0, F=0x0
@@ -6,6 +6,7 @@
#codec_id 0: pcm_s16le
#sample_rate 0: 16000
#channel_layout 0: 4
+#channel_layout_name 0: mono
#stream#, dts, pts, duration, size, hash
0, 0, 0, 8192, 16384, 1dd9c285eb608038f3257d1a8e02eb75
0, 8192, 8192, 8192, 16384, f7459334cbe70c06bc0897edfe64e840
@@ -3,6 +3,7 @@
#codec_id 0: pcm_s16le
#sample_rate 0: 16000
#channel_layout 0: 4
+#channel_layout_name 0: mono
0, 0, 0, 2048, 4096, 0x4f9228b3
0, 2048, 2048, 2048, 4096, 0xfab58157
0, 4096, 4096, 2048, 4096, 0x0b641c78
@@ -3,5 +3,6 @@
#codec_id 0: pcm_s16le
#sample_rate 0: 8000
#channel_layout 0: 4
+#channel_layout_name 0: mono
0, 0, 0, 240, 480, 0x7f6f3970
0, 240, 240, 240, 480, 0x1105a0d3
@@ -3,6 +3,7 @@
#codec_id 0: pcm_s16le
#sample_rate 0: 8000
#channel_layout 0: 4
+#channel_layout_name 0: mono
0, 0, 0, 240, 480, 0x5d9d9091
0, 240, 240, 240, 480, 0x425095b7
0, 480, 480, 240, 480, 0xe7b6a1a7
@@ -3,6 +3,7 @@
#codec_id 0: pcm_s16le
#sample_rate 0: 8000
#channel_layout 0: 4
+#channel_layout_name 0: mono
0, 0, 0, 240, 480, 0xce908869
0, 240, 240, 240, 480, 0xfa63588e
0, 480, 480, 240, 480, 0x11ce850c
@@ -3,6 +3,7 @@
#codec_id 0: pcm_s16le
#sample_rate 0: 8000
#channel_layout 0: 4
+#channel_layout_name 0: mono
0, 0, 0, 240, 480, 0xa697b314
0, 240, 240, 240, 480, 0x43c5dc5a
0, 480, 480, 240, 480, 0xd2438147
@@ -3,6 +3,7 @@
#codec_id 0: pcm_s16le
#sample_rate 0: 8000
#channel_layout 0: 4
+#channel_layout_name 0: mono
0, 0, 0, 240, 480, 0x4dce9773
0, 240, 240, 240, 480, 0xe6367ab8
0, 480, 480, 240, 480, 0xf36a589d
@@ -3,6 +3,7 @@
#codec_id 0: pcm_s16le
#sample_rate 0: 8000
#channel_layout 0: 4
+#channel_layout_name 0: mono
0, 0, 0, 240, 480, 0x4fa1aed9
0, 240, 240, 240, 480, 0x6d7ef391
0, 480, 480, 240, 480, 0xaecaf2c1
@@ -3,6 +3,7 @@
#codec_id 0: pcm_s16le
#sample_rate 0: 8000
#channel_layout 0: 4
+#channel_layout_name 0: mono
0, 0, 0, 240, 480, 0x35e4a1fd
0, 240, 240, 240, 480, 0x2f7bdd60
0, 480, 480, 240, 480, 0x0407e499
@@ -3,6 +3,7 @@
#codec_id 0: pcm_s16le
#sample_rate 0: 8000
#channel_layout 0: 4
+#channel_layout_name 0: mono
0, 0, 0, 240, 480, 0x17930e0f
0, 240, 240, 240, 480, 0x7c7f4247
0, 480, 480, 240, 480, 0xbf3489e5
@@ -6,6 +6,7 @@
#codec_id 0: pcm_s16le
#sample_rate 0: 8000
#channel_layout 0: 4
+#channel_layout_name 0: mono
#stream#, dts, pts, duration, size, hash
0, 0, 0, 16384, 32768, b28b116d2315323aeba6b66b58b7f4ed
0, 16384, 16384, 16384, 32768, e9cfbebe99490bd4987341ee748291c4
@@ -6,6 +6,7 @@
#codec_id 0: pcm_s16le
#sample_rate 0: 8000
#channel_layout 0: 4
+#channel_layout_name 0: mono
#stream#, dts, pts, duration, size, hash
0, 0, 0, 10920, 21840, 517dd6d1ce566b998251f0d215fa69c0
0, 10920, 10920, 10920, 21840, b0268e2bcc67acb524753790123c65fd
@@ -6,6 +6,7 @@
#codec_id 0: pcm_s16le
#sample_rate 0: 8000
#channel_layout 0: 4
+#channel_layout_name 0: mono
#stream#, dts, pts, duration, size, hash
0, 0, 0, 8192, 16384, a0cf3a0953adce1a1032a4fd2da00a52
0, 8192, 8192, 8192, 16384, c750c1b76a203556dd60d73d261529e9
@@ -6,6 +6,7 @@
#codec_id 0: pcm_s16le
#sample_rate 0: 8000
#channel_layout 0: 4
+#channel_layout_name 0: mono
#stream#, dts, pts, duration, size, hash
0, 0, 0, 6552, 13104, 6fe3f75df1262c5f956887de9c32df40
0, 6552, 6552, 6552, 13104, f955518de6f61f94253280d11d64d68b
@@ -1,5 +1,5 @@
-37534a3bcc3ef306e8c5ebfcfedfc41c *tests/data/fate/gapless-mp3.out-1
-c96c3ae7bd3300fd2f4debac222de5b7
-0cd1cdbcfd5cdbf6270cd98219bf31cd *tests/data/fate/gapless-mp3.out-2
-c96c3ae7bd3300fd2f4debac222de5b7
-9d3d8ba8a61b534f2d02ee648d6a8229 *tests/data/fate/gapless-mp3.out-3
+44b42cc3a898b45507d856d0813f4f26 *tests/data/fate/gapless-mp3.out-1
+c96c3ae7bd3300fd2f4debac222de5b7
+ec876434ed65e338e07234e54d136caf *tests/data/fate/gapless-mp3.out-2
+c96c3ae7bd3300fd2f4debac222de5b7
+806fd80eba887b46a1eba1eeff63df28 *tests/data/fate/gapless-mp3.out-3
@@ -3,6 +3,7 @@
#codec_id 0: pcm_s16le
#sample_rate 0: 8000
#channel_layout 0: 4
+#channel_layout_name 0: mono
0, 0, 0, 320, 640, 0xf79c59ee
0, 320, 320, 320, 640, 0x6e6248be
0, 640, 640, 320, 640, 0x2a5b3aed
@@ -3,6 +3,7 @@
#codec_id 0: pcm_s16le
#sample_rate 0: 8000
#channel_layout 0: 4
+#channel_layout_name 0: mono
0, 0, 0, 64, 128, 0x3ef33f6f
0, 64, 64, 160, 320, 0x2052a4e7
0, 224, 224, 160, 320, 0xe9aeafca
@@ -8,6 +8,7 @@
#codec_id 1: pcm_s16le
#sample_rate 1: 48000
#channel_layout 1: 3
+#channel_layout_name 1: stereo
1, 0, 0, 1152, 4608, 0x00000000
1, 1152, 1152, 1152, 4608, 0x00000000
1, 2304, 2304, 1152, 4608, 0x00000000
@@ -8,6 +8,7 @@
#codec_id 1: pcm_s16le
#sample_rate 1: 48000
#channel_layout 1: 3
+#channel_layout_name 1: stereo
1, 0, 0, 1152, 4608, 0x00000000
1, 1152, 1152, 1152, 4608, 0x00000000
1, 2304, 2304, 1152, 4608, 0x00000000
@@ -8,6 +8,7 @@
#codec_id 1: pcm_s16le
#sample_rate 1: 48000
#channel_layout 1: 4
+#channel_layout_name 1: mono
0, 0, 0, 1, 8294400, 0x9a02ecf2
1, 0, 0, 1920, 3840, 0x38074ac8
0, 1, 1, 1, 8294400, 0x626f870a
@@ -8,6 +8,7 @@
#codec_id 1: pcm_s16le
#sample_rate 1: 22050
#channel_layout 1: 3
+#channel_layout_name 1: stereo
0, 0, 0, 1, 230400, 0x00000000
1, 0, 0, 1575, 6300, 0xdd759df8
0, 1, 1, 1, 230400, 0x3a3486b4
@@ -8,6 +8,7 @@
#codec_id 1: pcm_u8
#sample_rate 1: 22050
#channel_layout 1: 4
+#channel_layout_name 1: mono
0, 0, 0, 1, 6, 0x000a0003
1, 0, 0, 131072, 131072, 0x14c664d6
0, 1, 1, 1, 773, 0x11802a51
@@ -9,6 +9,7 @@
#codec_id 1: mp2
#sample_rate 1: 48000
#channel_layout 1: 3
+#channel_layout_name 1: stereo
0, 0, -9223372036854775808, 1, 5951, 0xe9118e0d
1, 0, 0, 2160, 768, 0xaebcbebb
1, 2160, 2160, 2160, 768, 0xaebcbebb
@@ -3,6 +3,7 @@
#codec_id 0: adpcm_ea_maxis_xa
#sample_rate 0: 22050
#channel_layout 0: 3
+#channel_layout_name 0: stereo
0, 0, 0, 28, 30, 0x51750711
0, 28, 28, 28, 30, 0x9ca20c2a
0, 56, 56, 28, 30, 0x7551081f
@@ -10,6 +10,7 @@
#codec_id 1: aac
#sample_rate 1: 48000
#channel_layout 1: 3
+#channel_layout_name 1: stereo
0, -42, 0, 41, 63501, 0x139d4c99
0, 0, 84, 41, 5368, 0xd964b678, F=0x0
1, 8, 8, 21, 528, 0x3c990ddf
@@ -10,6 +10,7 @@
#codec_id 1: aac
#sample_rate 1: 48000
#channel_layout 1: 3
+#channel_layout_name 1: stereo
0, -42, 0, 41, 2969, 0xa7016742
0, 0, 42, 41, 135, 0x33af1a9e, F=0x0
1, 0, 0, 21, 6, 0x027e00e8
@@ -3,6 +3,7 @@
#codec_id 0: mp3
#sample_rate 0: 44100
#channel_layout 0: 3
+#channel_layout_name 0: stereo
0, 0, 0, 1152, 36, 0x8e260589
0, 1152, 1152, 1152, 36, 0x8e260589
0, 2304, 2304, 1152, 36, 0x8e260589
@@ -9,6 +9,7 @@
#codec_id 1: mp3
#sample_rate 1: 44100
#channel_layout 1: 3
+#channel_layout_name 1: stereo
0, 0, 0, 1, 12288, 0xc2258ebc
1, 0, 0, 1152, 417, 0xae1cc66a
1, 1152, 1152, 1152, 418, 0xdc3ec850
@@ -9,6 +9,7 @@
#codec_id 1: pcm_alaw
#sample_rate 1: 8000
#channel_layout 1: 3
+#channel_layout_name 1: stereo
0, 0, -9223372036854775808, 1, 8468, 0xc0855553
1, 0, 0, 16000, 32000, 0x479155e6
0, 1, -9223372036854775808, 1, 3814, 0xa10783b4, F=0x0
@@ -8,6 +8,7 @@
#codec_id 1: mp3
#sample_rate 1: 11025
#channel_layout 1: 4
+#channel_layout_name 1: mono
0, 0, 0, 1, 12, 0x1396035f
0, 1, 1, 1, 24, 0x8ab80ac7, F=0x0
0, 2, 2, 1, 208, 0x1de1603e, F=0x0
@@ -4,6 +4,7 @@
#codec_id 0: opus
#sample_rate 0: 48000
#channel_layout 0: 3
+#channel_layout_name 0: stereo
0, -356, -356, 960, 402, 0x89b1c40f
0, 604, 604, 960, 216, 0x7bf97146
0, 1564, 1564, 960, 215, 0x6cb86d8b
@@ -3,6 +3,7 @@
#codec_id 0: pcm_s16le
#sample_rate 0: 16000
#channel_layout 0: 4
+#channel_layout_name 0: mono
0, 0, 0, 1024, 2048, 0x00000000
0, 1024, 1024, 1024, 2048, 0x96ee1301
0, 2048, 2048, 1024, 2048, 0xe2a81605
@@ -3,6 +3,7 @@
#codec_id 0: pcm_s16le
#sample_rate 0: 22050
#channel_layout 0: 3
+#channel_layout_name 0: stereo
0, 0, 0, 57330, 229320, 0x062508b4
0, 57330, 57330, 57330, 229320, 0x0a966cbf
0, 114660, 114660, 57330, 229320, 0xee9bad45
@@ -8,6 +8,7 @@
#codec_id 1: paf_audio
#sample_rate 1: 22050
#channel_layout 1: 3
+#channel_layout_name 1: stereo
0, 0, 0, 1, 262144, 0x7f9a3c6a
1, 0, 0, 57330, 131072, 0x255a6ac2
0, 1, 1, 1, 260600, 0x0329e6f4, F=0x0
@@ -3,6 +3,7 @@
#codec_id 0: pcm_s16le
#sample_rate 0: 44100
#channel_layout 0: 3
+#channel_layout_name 0: stereo
0, 0, 0, 1471, 5884, 0x00000000
0, 1471, 1471, 1471, 5884, 0x00000000
0, 2942, 2942, 1472, 5888, 0x00000000
@@ -3,6 +3,7 @@
#codec_id 0: pcm_s16le
#sample_rate 0: 48000
#channel_layout 0: 3
+#channel_layout_name 0: stereo
0, 0, 0, 334, 1336, 0x8e3c0abc
0, 400, 400, 334, 1336, 0x99c41108
0, 720, 720, 334, 1336, 0xd65be322
@@ -3,6 +3,7 @@
#codec_id 0: mp3
#sample_rate 0: 44100
#channel_layout 0: 3
+#channel_layout_name 0: stereo
0, 0, 0, 1152, 417, 0xcb873fba
0, 1152, 1152, 1152, 104, 0x6d521c5a
0, 2304, 2304, 1152, 104, 0xb3af1d64
@@ -8,6 +8,7 @@
#codec_id 1: pcm_s16le
#sample_rate 1: 48000
#channel_layout 1: 3
+#channel_layout_name 1: stereo
0, 0, 0, 1, 1658880, 0x43d9c9e2
1, 0, 0, 1024, 4096, 0x6c8a9a18
1, 1024, 1024, 1024, 4096, 0x960dadcf
@@ -8,6 +8,7 @@
#codec_id 1: pcm_s16le
#sample_rate 1: 48000
#channel_layout 1: 3
+#channel_layout_name 1: stereo
0, 0, 0, 1, 16588800, 0x7163b01a
1, 0, 0, 1024, 4096, 0x00000000
1, 1024, 1024, 896, 3584, 0x00000000
@@ -8,6 +8,7 @@
#codec_id 1: pcm_s16le
#sample_rate 1: 48000
#channel_layout 1: 3
+#channel_layout_name 1: stereo
0, 0, 0, 1, 12441600, 0x627d1548
1, 0, 0, 1024, 4096, 0x00000000
1, 1024, 1024, 896, 3584, 0x00000000
@@ -8,6 +8,7 @@
#codec_id 1: adpcm_xa
#sample_rate 1: 37800
#channel_layout 1: 3
+#channel_layout_name 1: stereo
0, 0, 0, 1, 8832, 0x01ad3eeb
1, 0, 0, 1, 2304, 0xf0ad1000
1, 1, 1, 1, 2304, 0x69269ce6
@@ -8,6 +8,7 @@
#codec_id 1: mp2
#sample_rate 1: 48000
#channel_layout 1: 3
+#channel_layout_name 1: stereo
1, 0, 0, 2160, 384, 0x071abcc8
1, 2160, 2160, 2160, 384, 0x31c9aee0
1, 4320, 4320, 2160, 384, 0xa50eaa94
@@ -3,6 +3,7 @@
#codec_id 0: pcm_s16le
#sample_rate 0: 8000
#channel_layout 0: 4
+#channel_layout_name 0: mono
0, 0, 0, 160, 320, 0x00000000
0, 160, 160, 160, 320, 0x4cfd5d74
0, 320, 320, 160, 320, 0xbb60fa3d
@@ -8,6 +8,7 @@
#codec_id 1: pcm_s32be
#sample_rate 1: 48000
#channel_layout 1: 4
+#channel_layout_name 1: mono
0, 0, 0, 10010, 1626280, 0x5768c7d6
1, 0, 0, 18140, 14816, 0xd185e8c7
0, 10010, 10010, 10010, 1626092, 0x070bd882
@@ -3,6 +3,7 @@
#codec_id 0: pcm_s16le
#sample_rate 0: 22050
#channel_layout 0: 4
+#channel_layout_name 0: mono
0, 0, 0, 61740, 123480, 0x3a794c13
0, 61740, 61740, 2205, 4410, 0x109d04e0
0, 63945, 63945, 2205, 4410, 0x224d244f
@@ -8,6 +8,7 @@
#codec_id 1: pcm_u8
#sample_rate 1: 22050
#channel_layout 1: 4
+#channel_layout_name 1: mono
0, 0, 0, 1, 15152, 0x14fc0f1f
1, 0, 0, 22050, 22050, 0xa7d60d27
0, 1, 1, 1, 15344, 0x31614bd7
@@ -3,6 +3,7 @@
#codec_id 0: pcm_s16le
#sample_rate 0: 22050
#channel_layout 0: 4
+#channel_layout_name 0: mono
0, 0, 0, 23620, 47240, 0x9974897c
0, 23620, 23620, 1564, 3128, 0x7e4064b4
0, 25184, 25184, 1564, 3128, 0x80883301
@@ -8,6 +8,7 @@
#codec_id 1: adpcm_ima_smjpeg
#sample_rate 1: 22050
#channel_layout 1: 4
+#channel_layout_name 1: mono
0, 0, 0, 0, 734, 0x5a042c2c
1, 0, 0, 23, 260, 0x00000000
1, 23, 23, 23, 260, 0x00000000
@@ -8,6 +8,7 @@
#codec_id 1: pcm_s16le
#sample_rate 1: 8000
#channel_layout 1: 4
+#channel_layout_name 1: mono
0, 0, 0, 1, 115200, 0x8ebcb7f8
1, 0, 0, 1024, 2048, 0x366ee71c
0, 1, 1, 1, 115200, 0x1fa8e673
@@ -8,6 +8,7 @@
#codec_id 1: pcm_s16le
#sample_rate 1: 22050
#channel_layout 1: 4
+#channel_layout_name 1: mono
1, 0, 0, 882, 1764, 0x00000000
1, 882, 882, 882, 1764, 0x80a253d9
0, 2, 2, 1, 98304, 0x2e5db4a4
@@ -8,6 +8,7 @@
#codec_id 1: pcm_s16le
#sample_rate 1: 22058
#channel_layout 1: 4
+#channel_layout_name 1: mono
0, 0, 0, 1, 192000, 0xc698297a
1, 0, 0, 368, 736, 0xf63db497
0, 1, 1, 1, 192000, 0x8d5bd6be
@@ -9,6 +9,7 @@
#codec_id 1: ac3
#sample_rate 1: 48000
#channel_layout 1: 60f
+#channel_layout_name 1: 5.1(side)
1, 0, 0, 2880, 1536, 0x773ffeea, S=1, 1, 0x00bd00bd
1, 2880, 2880, 2880, 1536, 0x6dc10748
1, 5760, 5760, 2880, 1536, 0xbab5129c
@@ -4,6 +4,7 @@
#codec_id 0: opus
#sample_rate 0: 48000
#channel_layout 0: 63f
+#channel_layout_name 0: 7.1
0, 0, 0, 1800, 744, 0x172b615b, S=1, 1, 0x00bd00bd
0, 1800, 1800, 1800, 743, 0x3f5b673d, S=1, 1, 0x00bd00bd
0, 3600, 3600, 1800, 747, 0xe54e735d, S=1, 1, 0x00bd00bd
@@ -8,6 +8,7 @@
#codec_id 1: pcm_s16le
#sample_rate 1: 11025
#channel_layout 1: 4
+#channel_layout_name 1: mono
0, 0, 0, 1, 657600, 0x50b3a0c2
1, 0, 0, 11025, 22050, 0x1740aaec
0, 1, 1, 1, 657600, 0x50b3a0c2
@@ -1 +1 @@
-643ac05caf7ef16a8837933bf45281d5
+5f4cd9a6a8bea0040db6732a7830e9d7
@@ -3,6 +3,7 @@
#codec_id 0: ac3
#sample_rate 0: 44100
#channel_layout 0: 60f
+#channel_layout_name 0: 5.1(side)
0, 0, 0, 1536, 2786, 0xe2fd0f40
0, 1536, 1536, 1536, 2786, 0x7a6207c2
0, 3072, 3072, 1536, 2786, 0x7a6207c2
@@ -8,6 +8,7 @@
#codec_id 1: pcm_s16le
#sample_rate 1: 22050
#channel_layout 1: 4
+#channel_layout_name 1: mono
0, 0, 0, 1, 158400, 0x25aec781
1, 0, 0, 1470, 2940, 0x92cee2a6
0, 1, 1, 1, 158400, 0xda4dbf70
@@ -3,6 +3,7 @@
#codec_id 0: adpcm_ima_ws
#sample_rate 0: 22050
#channel_layout 0: 4
+#channel_layout_name 0: mono
0, 0, 0, 1024, 512, 0x6694cc55
0, 1024, 1024, 1024, 512, 0xdbc5cb22
0, 2048, 2048, 1024, 512, 0x8e5bcbfd
@@ -10,6 +10,7 @@
#codec_id 1: wmavoice
#sample_rate 1: 22050
#channel_layout 1: 4
+#channel_layout_name 1: mono
0, 0, 0, 0, 282, 0x000d949a
1, 0, 0, 0, 1088, 0x5cd379bb
1, 435, 435, 0, 1088, 0x8dfa1368
@@ -10,6 +10,7 @@
#codec_id 1: mp2
#sample_rate 1: 48000
#channel_layout 1: 3
+#channel_layout_name 1: stereo
1, -2, -2, 240000, 576, 0x9b6e1638
1, 239998, 239998, 240000, 576, 0x0ca91183
1, 479998, 479998, 240000, 576, 0xec6a180f
@@ -9,6 +9,7 @@
#codec_id 1: adpcm_ima_wav
#sample_rate 1: 44100
#channel_layout 1: 3
+#channel_layout_name 1: stereo
0, 0, 0, 0, 1508, 0xefceba48
1, 0, 0, 83, 5976, 0xfa2c2db9
1, 83, 83, 83, 5976, 0x256b935c
This should be more useful for users since numerical values for channel layout can be confusing and unintuitive. Signed-off-by: James Almer <jamrial@gmail.com> --- libavformat/framehash.c | 3 +++ tests/ref/fate/8bps | 1 + tests/ref/fate/adpcm-4xm | 1 + tests/ref/fate/adpcm-afc | 1 + tests/ref/fate/adpcm-dtk | 1 + tests/ref/fate/adpcm-ea-1 | 1 + tests/ref/fate/adpcm-ea-2 | 1 + tests/ref/fate/adpcm-ea-maxis-xa | 1 + tests/ref/fate/adpcm-ea-r1 | 1 + tests/ref/fate/adpcm-ima-amv | 1 + tests/ref/fate/adpcm-ima-ea-eacs | 1 + tests/ref/fate/adpcm-ima-ea-sead | 1 + tests/ref/fate/adpcm-ima-smjpeg | 1 + tests/ref/fate/adpcm-ima-ws | 1 + tests/ref/fate/adpcm-ms-mono | 1 + tests/ref/fate/adpcm-thp | 1 + tests/ref/fate/adpcm-vima | 1 + tests/ref/fate/adpcm-xa | 1 + tests/ref/fate/adtstoasc_ticket3715 | 1 + tests/ref/fate/armovie-escape124 | 1 + tests/ref/fate/bethsoft-vid | 1 + tests/ref/fate/bfi | 1 + tests/ref/fate/bmv-audio | 1 + tests/ref/fate/cdxl-demux | 1 + tests/ref/fate/copy-trac236 | 1 + tests/ref/fate/copy-trac4914 | 1 + tests/ref/fate/copy-trac4914-avi | 1 + tests/ref/fate/corepng | 1 + tests/ref/fate/creatureshock-avs | 1 + tests/ref/fate/cyberia-c93 | 1 + tests/ref/fate/d-cinema-demux | 1 + tests/ref/fate/dca-xll_51_16_192_768_0 | 1 + tests/ref/fate/dca-xll_51_16_192_768_0-dmix_2 | 1 + tests/ref/fate/dca-xll_51_16_192_768_0-dmix_6 | 1 + tests/ref/fate/dca-xll_51_16_192_768_1 | 1 + tests/ref/fate/dca-xll_51_16_192_768_1-dmix_2 | 1 + tests/ref/fate/dca-xll_51_16_192_768_1-dmix_6 | 1 + tests/ref/fate/dca-xll_51_24_48_768 | 1 + tests/ref/fate/dca-xll_51_24_48_768-dmix_2 | 1 + tests/ref/fate/dca-xll_51_24_48_768-dmix_6 | 1 + tests/ref/fate/dca-xll_51_24_48_none | 1 + tests/ref/fate/dca-xll_51_24_48_none-dmix_2 | 1 + tests/ref/fate/dca-xll_51_24_48_none-dmix_6 | 1 + tests/ref/fate/dca-xll_71_24_48_768_0 | 1 + tests/ref/fate/dca-xll_71_24_48_768_0-dmix_2 | 1 + tests/ref/fate/dca-xll_71_24_48_768_0-dmix_6 | 1 + tests/ref/fate/dca-xll_71_24_48_768_1 | 1 + tests/ref/fate/dca-xll_71_24_48_768_1-dmix_2 | 1 + tests/ref/fate/dca-xll_71_24_48_768_1-dmix_6 | 1 + tests/ref/fate/dca-xll_71_24_96_768 | 1 + tests/ref/fate/dca-xll_71_24_96_768-dmix_2 | 1 + tests/ref/fate/dca-xll_71_24_96_768-dmix_6 | 1 + tests/ref/fate/dca-xll_x96_51_24_96_1509 | 1 + tests/ref/fate/dca-xll_x96_51_24_96_1509-dmix_2 | 1 + tests/ref/fate/dca-xll_x96_51_24_96_1509-dmix_6 | 1 + tests/ref/fate/dca-xll_xch_61_24_48_768 | 1 + tests/ref/fate/dca-xll_xch_61_24_48_768-dmix_2 | 1 + tests/ref/fate/dca-xll_xch_61_24_48_768-dmix_6 | 1 + tests/ref/fate/dcinema-encode | 1 + tests/ref/fate/delphine-cin-audio | 1 + tests/ref/fate/dpcm-idroq | 1 + tests/ref/fate/dpcm-interplay | 1 + tests/ref/fate/dss-lp | 1 + tests/ref/fate/dss-sp | 1 + tests/ref/fate/ffmpeg-filter_colorkey | 1 + tests/ref/fate/filter-acrossfade | 1 + tests/ref/fate/filter-adelay | 1 + tests/ref/fate/filter-aecho | 1 + tests/ref/fate/filter-aemphasis-50fm | 1 + tests/ref/fate/filter-aemphasis-75kf | 1 + tests/ref/fate/filter-afade-esin | 1 + tests/ref/fate/filter-afade-exp | 1 + tests/ref/fate/filter-afade-hsin | 1 + tests/ref/fate/filter-afade-iqsin | 1 + tests/ref/fate/filter-afade-log | 1 + tests/ref/fate/filter-afade-qsin | 1 + tests/ref/fate/filter-agate | 1 + tests/ref/fate/filter-alimiter | 1 + tests/ref/fate/filter-amerge | 1 + tests/ref/fate/filter-anequalizer | 1 + tests/ref/fate/filter-apad | 1 + tests/ref/fate/filter-asetnsamples | 1 + tests/ref/fate/filter-asetrate | 1 + tests/ref/fate/filter-atrim-duration | 1 + tests/ref/fate/filter-atrim-mixed | 1 + tests/ref/fate/filter-atrim-samples | 1 + tests/ref/fate/filter-atrim-time | 1 + tests/ref/fate/filter-chorus | 1 + tests/ref/fate/filter-compand | 1 + tests/ref/fate/filter-concat | 1 + tests/ref/fate/filter-dcshift | 1 + tests/ref/fate/filter-earwax | 1 + tests/ref/fate/filter-extrastereo | 1 + tests/ref/fate/filter-hls | 1 + tests/ref/fate/filter-hls-append | 1 + tests/ref/fate/filter-meta-4560-rotate0 | 1 + tests/ref/fate/filter-overlay-dvdsub-2397 | 1 + tests/ref/fate/filter-silenceremove | 1 + tests/ref/fate/filter-stereotools | 1 + tests/ref/fate/filter-tremolo | 1 + tests/ref/fate/flv-demux | 1 + tests/ref/fate/g722-encode | 1 + tests/ref/fate/g722dec-1 | 1 + tests/ref/fate/g723_1-dec-1 | 1 + tests/ref/fate/g723_1-dec-2 | 1 + tests/ref/fate/g723_1-dec-3 | 1 + tests/ref/fate/g723_1-dec-4 | 1 + tests/ref/fate/g723_1-dec-5 | 1 + tests/ref/fate/g723_1-dec-6 | 1 + tests/ref/fate/g723_1-dec-7 | 1 + tests/ref/fate/g723_1-dec-8 | 1 + tests/ref/fate/g726-encode-2bit | 1 + tests/ref/fate/g726-encode-3bit | 1 + tests/ref/fate/g726-encode-4bit | 1 + tests/ref/fate/g726-encode-5bit | 1 + tests/ref/fate/gapless-mp3 | 10 +++++----- tests/ref/fate/gsm-ms | 1 + tests/ref/fate/gsm-toast | 1 + tests/ref/fate/h264-skip-nointra | 1 + tests/ref/fate/h264-skip-nokey | 1 + tests/ref/fate/h264-xavc-4389 | 1 + tests/ref/fate/id-cin-video | 1 + tests/ref/fate/jv-demux | 1 + tests/ref/fate/lmlm4-demux | 1 + tests/ref/fate/maxis-xa | 1 + tests/ref/fate/mkv | 1 + tests/ref/fate/mkv-1242 | 1 + tests/ref/fate/mov-mp3-demux | 1 + tests/ref/fate/mtv | 1 + tests/ref/fate/mxf-demux | 1 + tests/ref/fate/nsv-demux | 1 + tests/ref/fate/oggopus-demux | 1 + tests/ref/fate/on2avc | 1 + tests/ref/fate/paf-audio | 1 + tests/ref/fate/paf-demux | 1 + tests/ref/fate/pcm-planar | 1 + tests/ref/fate/pcm_dvd | 1 + tests/ref/fate/pmp-demux | 1 + tests/ref/fate/prores-gray | 1 + tests/ref/fate/prores-transparency | 1 + tests/ref/fate/prores-transparency_skip | 1 + tests/ref/fate/psx-str-demux | 1 + tests/ref/fate/pva-demux | 1 + tests/ref/fate/ra3-144 | 1 + tests/ref/fate/redcode-demux | 1 + tests/ref/fate/sierra-vmd-audio | 1 + tests/ref/fate/siff-demux | 1 + tests/ref/fate/smacker-audio | 1 + tests/ref/fate/smjpeg-demux | 1 + tests/ref/fate/sp5x | 1 + tests/ref/fate/tiertex-seq | 1 + tests/ref/fate/tmv | 1 + tests/ref/fate/ts-demux | 1 + tests/ref/fate/ts-opus-demux | 1 + tests/ref/fate/tscc-15bit | 1 + tests/ref/fate/vqf-demux | 2 +- tests/ref/fate/wav-ac3 | 1 + tests/ref/fate/wc3movie-xan | 1 + tests/ref/fate/westwood-aud | 1 + tests/ref/fate/wmv8-drm-nodec | 1 + tests/ref/fate/wtv-demux | 1 + tests/ref/fate/xmv-demux | 1 + 162 files changed, 168 insertions(+), 6 deletions(-)