* [FFmpeg-devel] [PATCH 1/6] lavc/codec2utils: Use actual libcodec2 version
@ 2023-12-28 18:43 Tomas Härdin
2023-12-28 18:43 ` [FFmpeg-devel] [PATCH 2/6] lavf/codec2: Compute duration from filesize Tomas Härdin
` (5 more replies)
0 siblings, 6 replies; 15+ messages in thread
From: Tomas Härdin @ 2023-12-28 18:43 UTC (permalink / raw)
To: FFmpeg development discussions and patches
[-- Attachment #1: Type: text/plain, Size: 283 bytes --]
libcodec2 has reached 1.X so it's about time the bindings receive some
attention. This patchset also includes some much-needed tests. Where do
I submit files for inclusion in FATE again? They are very small as is
to be expected from a codec that runs at 700-3200 bit/s
/Tomas
[-- Attachment #2: 0001-lavc-codec2utils-Use-actual-libcodec2-version.patch --]
[-- Type: text/x-patch, Size: 1104 bytes --]
From 7205e741aaadc354b403010c97f9cd803eec612d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Tomas=20H=C3=A4rdin?= <git@haerdin.se>
Date: Wed, 27 Dec 2023 17:32:21 +0100
Subject: [PATCH 1/6] lavc/codec2utils: Use actual libcodec2 version
---
libavcodec/codec2utils.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/libavcodec/codec2utils.h b/libavcodec/codec2utils.h
index 6812ae895c..a03c3c0c5f 100644
--- a/libavcodec/codec2utils.h
+++ b/libavcodec/codec2utils.h
@@ -23,6 +23,7 @@
#define AVCODEC_CODEC2UTILS_H
#include <stdint.h>
+#include <codec2/version.h>
//Highest mode we're willing to use.
//Don't want to let users accidentally produce files that can't be decoded in the future.
@@ -49,9 +50,8 @@
//Used in codec2raw demuxer and libcodec2 encoder
static inline void codec2_make_extradata(uint8_t *ptr, int mode) {
- //version 0.8 as of 2017-12-23 (r3386)
- ptr[0] = 0; //major
- ptr[1] = 8; //minor
+ ptr[0] = CODEC2_VERSION_MAJOR;
+ ptr[1] = CODEC2_VERSION_MINOR;
ptr[2] = mode; //mode
ptr[3] = 0; //flags
}
--
2.39.2
[-- Attachment #3: Type: text/plain, Size: 251 bytes --]
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
^ permalink raw reply [flat|nested] 15+ messages in thread
* [FFmpeg-devel] [PATCH 2/6] lavf/codec2: Compute duration from filesize
2023-12-28 18:43 [FFmpeg-devel] [PATCH 1/6] lavc/codec2utils: Use actual libcodec2 version Tomas Härdin
@ 2023-12-28 18:43 ` Tomas Härdin
2023-12-28 18:44 ` [FFmpeg-devel] [PATCH 3/6] lavf/codec2: Allow versions between 0.8 and 1.X Tomas Härdin
` (4 subsequent siblings)
5 siblings, 0 replies; 15+ messages in thread
From: Tomas Härdin @ 2023-12-28 18:43 UTC (permalink / raw)
To: FFmpeg development discussions and patches
[-- Attachment #1: Type: text/plain, Size: 1 bytes --]
[-- Attachment #2: 0002-lavf-codec2-Compute-duration-from-filesize.patch --]
[-- Type: text/x-patch, Size: 2174 bytes --]
From 1576f9206b51ea9946495e7c5e293403541d49a4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Tomas=20H=C3=A4rdin?= <git@haerdin.se>
Date: Wed, 27 Dec 2023 16:32:49 +0100
Subject: [PATCH 2/6] lavf/codec2: Compute duration from filesize
---
libavformat/codec2.c | 13 ++++++++++---
1 file changed, 10 insertions(+), 3 deletions(-)
diff --git a/libavformat/codec2.c b/libavformat/codec2.c
index 1d6ef2a14a..47fff2a695 100644
--- a/libavformat/codec2.c
+++ b/libavformat/codec2.c
@@ -124,9 +124,10 @@ static int codec2_mode_bit_rate(AVFormatContext *s, int mode)
return 8 * 8000 * block_align / frame_size;
}
-static int codec2_read_header_common(AVFormatContext *s, AVStream *st)
+static int codec2_read_header_common(AVFormatContext *s, AVStream *st, int header)
{
int mode = codec2_mode_from_extradata(st->codecpar->extradata);
+ int64_t sz = avio_size(s->pb);
st->codecpar->codec_type = AVMEDIA_TYPE_AUDIO;
st->codecpar->codec_id = AV_CODEC_ID_CODEC2;
@@ -143,6 +144,12 @@ static int codec2_read_header_common(AVFormatContext *s, AVStream *st)
return AVERROR_INVALIDDATA;
}
+ // compute duration from filesize
+ if (sz >= header) {
+ int64_t frames = (sz - header) / st->codecpar->block_align;
+ if (frames <= INT64_MAX / st->codecpar->frame_size)
+ st->duration = frames * st->codecpar->frame_size;
+ }
avpriv_set_pts_info(st, 64, 1, st->codecpar->sample_rate);
return 0;
@@ -180,7 +187,7 @@ static int codec2_read_header(AVFormatContext *s)
ffformatcontext(s)->data_offset = CODEC2_HEADER_SIZE;
- return codec2_read_header_common(s, st);
+ return codec2_read_header_common(s, st, CODEC2_EXTRADATA_SIZE);
}
static int codec2_read_packet(AVFormatContext *s, AVPacket *pkt)
@@ -258,7 +265,7 @@ static int codec2raw_read_header(AVFormatContext *s)
codec2_make_extradata(st->codecpar->extradata, c2->mode);
- return codec2_read_header_common(s, st);
+ return codec2_read_header_common(s, st, 0);
}
//transcoding report2074.c2 to wav went from 7.391s to 5.322s with -frames_per_packet 1000 compared to default, same sha1sum
--
2.39.2
[-- Attachment #3: Type: text/plain, Size: 251 bytes --]
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
^ permalink raw reply [flat|nested] 15+ messages in thread
* [FFmpeg-devel] [PATCH 3/6] lavf/codec2: Allow versions between 0.8 and 1.X
2023-12-28 18:43 [FFmpeg-devel] [PATCH 1/6] lavc/codec2utils: Use actual libcodec2 version Tomas Härdin
2023-12-28 18:43 ` [FFmpeg-devel] [PATCH 2/6] lavf/codec2: Compute duration from filesize Tomas Härdin
@ 2023-12-28 18:44 ` Tomas Härdin
2023-12-28 18:44 ` [FFmpeg-devel] [PATCH 4/6] lavf/codec2: Multiple of block_align -> not corrupt Tomas Härdin
` (3 subsequent siblings)
5 siblings, 0 replies; 15+ messages in thread
From: Tomas Härdin @ 2023-12-28 18:44 UTC (permalink / raw)
To: FFmpeg development discussions and patches
[-- Attachment #1: Type: text/plain, Size: 57 bytes --]
Coordinated with the Freetel-codec2 mailing list
/Tomas
[-- Attachment #2: 0003-lavf-codec2-Allow-versions-between-0.8-and-1.X.patch --]
[-- Type: text/x-patch, Size: 2634 bytes --]
From 22fb929a449a955155684645c385e2fbd681b3dd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Tomas=20H=C3=A4rdin?= <git@haerdin.se>
Date: Wed, 27 Dec 2023 17:33:18 +0100
Subject: [PATCH 3/6] lavf/codec2: Allow versions between 0.8 and 1.X
---
libavformat/codec2.c | 36 ++++++++++++++++++++++--------------
1 file changed, 22 insertions(+), 14 deletions(-)
diff --git a/libavformat/codec2.c b/libavformat/codec2.c
index 47fff2a695..162b844897 100644
--- a/libavformat/codec2.c
+++ b/libavformat/codec2.c
@@ -37,8 +37,11 @@
//the lowest version we should ever run across is 0.8
//we may run across later versions as the format evolves
-#define EXPECTED_CODEC2_MAJOR_VERSION 0
-#define EXPECTED_CODEC2_MINOR_VERSION 8
+#define MIN_MAJOR_VERSION 0
+#define MIN_MINOR_VERSION 8
+//accept any minor version with major version 1.X
+//as of writing the latest release is 1.2.0
+#define MAX_MAJOR_VERSION 1
typedef struct {
const AVClass *class;
@@ -46,17 +49,20 @@ typedef struct {
int frames_per_packet;
} Codec2Context;
+static int check_version(uint8_t major, uint8_t minor) {
+ //no .c2 files prior to 0.8 or later than 1.X
+ if (major == MIN_MAJOR_VERSION && minor < MIN_MINOR_VERSION)
+ return 1;
+ if (major > MAX_MAJOR_VERSION)
+ return 1;
+ return 0;
+}
+
static int codec2_probe(const AVProbeData *p)
{
//must start wih C0 DE C2
- if (AV_RB24(p->buf) != CODEC2_MAGIC) {
- return 0;
- }
-
- //no .c2 files prior to 0.8
- //be strict about major version while we're at it
- if (p->buf[3] != EXPECTED_CODEC2_MAJOR_VERSION ||
- p->buf[4] < EXPECTED_CODEC2_MINOR_VERSION) {
+ if (AV_RB24(p->buf) != CODEC2_MAGIC ||
+ check_version(p->buf[3], p->buf[4])) {
return 0;
}
@@ -158,7 +164,8 @@ static int codec2_read_header_common(AVFormatContext *s, AVStream *st, int heade
static int codec2_read_header(AVFormatContext *s)
{
AVStream *st = avformat_new_stream(s, NULL);
- int ret, version;
+ int ret;
+ uint8_t major, minor;
if (!st) {
return AVERROR(ENOMEM);
@@ -179,9 +186,10 @@ static int codec2_read_header(AVFormatContext *s)
return ret;
}
- version = AV_RB16(st->codecpar->extradata);
- if ((version >> 8) != EXPECTED_CODEC2_MAJOR_VERSION) {
- avpriv_report_missing_feature(s, "Major version %i", version >> 8);
+ major = st->codecpar->extradata[0];
+ minor = st->codecpar->extradata[1];
+ if (check_version(major, minor)) {
+ avpriv_report_missing_feature(s, "Version %i.%i", major, minor);
return AVERROR_PATCHWELCOME;
}
--
2.39.2
[-- Attachment #3: Type: text/plain, Size: 251 bytes --]
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
^ permalink raw reply [flat|nested] 15+ messages in thread
* [FFmpeg-devel] [PATCH 4/6] lavf/codec2: Multiple of block_align -> not corrupt
2023-12-28 18:43 [FFmpeg-devel] [PATCH 1/6] lavc/codec2utils: Use actual libcodec2 version Tomas Härdin
2023-12-28 18:43 ` [FFmpeg-devel] [PATCH 2/6] lavf/codec2: Compute duration from filesize Tomas Härdin
2023-12-28 18:44 ` [FFmpeg-devel] [PATCH 3/6] lavf/codec2: Allow versions between 0.8 and 1.X Tomas Härdin
@ 2023-12-28 18:44 ` Tomas Härdin
2023-12-28 18:45 ` [FFmpeg-devel] [PATCH 5/6] lavf/codec2: Silence warnings when either muxer/demuxer is disabled Tomas Härdin
` (2 subsequent siblings)
5 siblings, 0 replies; 15+ messages in thread
From: Tomas Härdin @ 2023-12-28 18:44 UTC (permalink / raw)
To: FFmpeg development discussions and patches
[-- Attachment #1: Type: text/plain, Size: 1 bytes --]
[-- Attachment #2: 0004-lavf-codec2-Multiple-of-block_align-not-corrupt.patch --]
[-- Type: text/x-patch, Size: 842 bytes --]
From a79157b3353f4978e25bb1140391c603de9028bd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Tomas=20H=C3=A4rdin?= <git@haerdin.se>
Date: Wed, 27 Dec 2023 22:50:18 +0100
Subject: [PATCH 4/6] lavf/codec2: Multiple of block_align -> not corrupt
---
libavformat/codec2.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/libavformat/codec2.c b/libavformat/codec2.c
index 162b844897..b0c76714bc 100644
--- a/libavformat/codec2.c
+++ b/libavformat/codec2.c
@@ -223,6 +223,11 @@ static int codec2_read_packet(AVFormatContext *s, AVPacket *pkt)
n = ret / block_align;
pkt->duration = n * frame_size;
+ //un-mark packet as corrupt if size is a multiple of block_align
+ //this can happen when frames_per_packet > 1
+ if (ret % block_align == 0)
+ pkt->flags &= ~AV_PKT_FLAG_CORRUPT;
+
return ret;
}
--
2.39.2
[-- Attachment #3: Type: text/plain, Size: 251 bytes --]
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
^ permalink raw reply [flat|nested] 15+ messages in thread
* [FFmpeg-devel] [PATCH 5/6] lavf/codec2: Silence warnings when either muxer/demuxer is disabled
2023-12-28 18:43 [FFmpeg-devel] [PATCH 1/6] lavc/codec2utils: Use actual libcodec2 version Tomas Härdin
` (2 preceding siblings ...)
2023-12-28 18:44 ` [FFmpeg-devel] [PATCH 4/6] lavf/codec2: Multiple of block_align -> not corrupt Tomas Härdin
@ 2023-12-28 18:45 ` Tomas Härdin
2023-12-28 18:48 ` [FFmpeg-devel] [PATCH 6/6] Add FATE tests for codec2, codec2raw and libcodec2 wrapper Tomas Härdin
2023-12-28 20:29 ` [FFmpeg-devel] [PATCH 1/6] lavc/codec2utils: Use actual libcodec2 version Michael Niedermayer
5 siblings, 0 replies; 15+ messages in thread
From: Tomas Härdin @ 2023-12-28 18:45 UTC (permalink / raw)
To: FFmpeg development discussions and patches
[-- Attachment #1: Type: text/plain, Size: 1 bytes --]
[-- Attachment #2: 0005-lavf-codec2-Silence-warnings-when-either-muxer-demux.patch --]
[-- Type: text/x-patch, Size: 4363 bytes --]
From 6fd458b7b9867a92a0876ddd3455ac37b160f08a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Tomas=20H=C3=A4rdin?= <git@haerdin.se>
Date: Wed, 27 Dec 2023 22:52:25 +0100
Subject: [PATCH 5/6] lavf/codec2: Silence warnings when either muxer/demuxer
is disabled
---
libavformat/codec2.c | 76 +++++++++++++++++++++++++-------------------
1 file changed, 43 insertions(+), 33 deletions(-)
diff --git a/libavformat/codec2.c b/libavformat/codec2.c
index b0c76714bc..0cba9bbd6c 100644
--- a/libavformat/codec2.c
+++ b/libavformat/codec2.c
@@ -49,6 +49,7 @@ typedef struct {
int frames_per_packet;
} Codec2Context;
+#if CONFIG_CODEC2_DEMUXER
static int check_version(uint8_t major, uint8_t minor) {
//no .c2 files prior to 0.8 or later than 1.X
if (major == MIN_MAJOR_VERSION && minor < MIN_MINOR_VERSION)
@@ -69,7 +70,9 @@ static int codec2_probe(const AVProbeData *p)
//32 bits of identification -> low score
return AVPROBE_SCORE_EXTENSION + 1;
}
+#endif
+#if CONFIG_CODEC2_DEMUXER || CONFIG_CODEC2RAW_DEMUXER
//Mimics codec2_samples_per_frame()
static int codec2_mode_frame_size(AVFormatContext *s, int mode)
{
@@ -161,6 +164,41 @@ static int codec2_read_header_common(AVFormatContext *s, AVStream *st, int heade
return 0;
}
+static int codec2_read_packet(AVFormatContext *s, AVPacket *pkt)
+{
+ Codec2Context *c2 = s->priv_data;
+ AVStream *st = s->streams[0];
+ int ret, size, n, block_align, frame_size;
+
+ block_align = st->codecpar->block_align;
+ frame_size = st->codecpar->frame_size;
+
+ if (block_align <= 0 || frame_size <= 0 || c2->frames_per_packet <= 0) {
+ return AVERROR(EINVAL);
+ }
+
+ //try to read desired number of frames, compute n from to actual number of bytes read
+ size = c2->frames_per_packet * block_align;
+ ret = av_get_packet(s->pb, pkt, size);
+ if (ret < 0) {
+ return ret;
+ }
+
+ //only set duration - compute_pkt_fields() and ff_pcm_read_seek() takes care of everything else
+ //tested by spamming the seek functionality in ffplay
+ n = ret / block_align;
+ pkt->duration = n * frame_size;
+
+ //un-mark packet as corrupt if size is a multiple of block_align
+ //this can happen when frames_per_packet > 1
+ if (ret % block_align == 0)
+ pkt->flags &= ~AV_PKT_FLAG_CORRUPT;
+
+ return ret;
+}
+#endif
+
+#if CONFIG_CODEC2_DEMUXER
static int codec2_read_header(AVFormatContext *s)
{
AVStream *st = avformat_new_stream(s, NULL);
@@ -197,40 +235,9 @@ static int codec2_read_header(AVFormatContext *s)
return codec2_read_header_common(s, st, CODEC2_EXTRADATA_SIZE);
}
+#endif
-static int codec2_read_packet(AVFormatContext *s, AVPacket *pkt)
-{
- Codec2Context *c2 = s->priv_data;
- AVStream *st = s->streams[0];
- int ret, size, n, block_align, frame_size;
-
- block_align = st->codecpar->block_align;
- frame_size = st->codecpar->frame_size;
-
- if (block_align <= 0 || frame_size <= 0 || c2->frames_per_packet <= 0) {
- return AVERROR(EINVAL);
- }
-
- //try to read desired number of frames, compute n from to actual number of bytes read
- size = c2->frames_per_packet * block_align;
- ret = av_get_packet(s->pb, pkt, size);
- if (ret < 0) {
- return ret;
- }
-
- //only set duration - compute_pkt_fields() and ff_pcm_read_seek() takes care of everything else
- //tested by spamming the seek functionality in ffplay
- n = ret / block_align;
- pkt->duration = n * frame_size;
-
- //un-mark packet as corrupt if size is a multiple of block_align
- //this can happen when frames_per_packet > 1
- if (ret % block_align == 0)
- pkt->flags &= ~AV_PKT_FLAG_CORRUPT;
-
- return ret;
-}
-
+#if CONFIG_CODEC2_MUXER
static int codec2_write_header(AVFormatContext *s)
{
AVStream *st;
@@ -253,7 +260,9 @@ static int codec2_write_header(AVFormatContext *s)
return 0;
}
+#endif
+#if CONFIG_CODEC2RAW_DEMUXER
static int codec2raw_read_header(AVFormatContext *s)
{
Codec2Context *c2 = s->priv_data;
@@ -280,6 +289,7 @@ static int codec2raw_read_header(AVFormatContext *s)
return codec2_read_header_common(s, st, 0);
}
+#endif
//transcoding report2074.c2 to wav went from 7.391s to 5.322s with -frames_per_packet 1000 compared to default, same sha1sum
#define FRAMES_PER_PACKET \
--
2.39.2
[-- Attachment #3: Type: text/plain, Size: 251 bytes --]
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
^ permalink raw reply [flat|nested] 15+ messages in thread
* [FFmpeg-devel] [PATCH 6/6] Add FATE tests for codec2, codec2raw and libcodec2 wrapper
2023-12-28 18:43 [FFmpeg-devel] [PATCH 1/6] lavc/codec2utils: Use actual libcodec2 version Tomas Härdin
` (3 preceding siblings ...)
2023-12-28 18:45 ` [FFmpeg-devel] [PATCH 5/6] lavf/codec2: Silence warnings when either muxer/demuxer is disabled Tomas Härdin
@ 2023-12-28 18:48 ` Tomas Härdin
2023-12-29 10:40 ` Andreas Rheinhardt
2023-12-28 20:29 ` [FFmpeg-devel] [PATCH 1/6] lavc/codec2utils: Use actual libcodec2 version Michael Niedermayer
5 siblings, 1 reply; 15+ messages in thread
From: Tomas Härdin @ 2023-12-28 18:48 UTC (permalink / raw)
To: FFmpeg development discussions and patches
[-- Attachment #1: Type: text/plain, Size: 385 bytes --]
Tests all modes, both demuxers, the muxer, the decoder and the encoder.
Also tests both well-formed files and slightly broken truncated files
The raw files are just the .c2 files with the header stripped.
Therefore the relevant tests reuse the .c2 ref files.
I have attached all FATE files and, the source .wav file and the script
I used to generate all the files.
/Tomas
[-- Attachment #2: 0006-Add-FATE-tests-for-codec2-codec2raw-and-libcodec2-wr.patch --]
[-- Type: text/x-patch, Size: 213663 bytes --]
From 989c43522a1288dd039e5956c0c903e5d5b80708 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Tomas=20H=C3=A4rdin?= <git@haerdin.se>
Date: Wed, 27 Dec 2023 18:35:38 +0100
Subject: [PATCH 6/6] Add FATE tests for codec2, codec2raw and libcodec2
wrapper
---
tests/Makefile | 1 +
tests/fate/codec2.mak | 56 ++++++++
tests/ref/fate/codec2-demux-1200 | 1 +
tests/ref/fate/codec2-demux-1300 | 1 +
tests/ref/fate/codec2-demux-1400 | 1 +
tests/ref/fate/codec2-demux-1600 | 1 +
tests/ref/fate/codec2-demux-2400 | 1 +
tests/ref/fate/codec2-demux-3200 | 1 +
tests/ref/fate/codec2-demux-700C | 1 +
tests/ref/fate/codec2-demux-cut-1200 | 1 +
tests/ref/fate/codec2-demux-cut-1300 | 1 +
tests/ref/fate/codec2-demux-cut-1400 | 1 +
tests/ref/fate/codec2-demux-cut-1600 | 1 +
tests/ref/fate/codec2-demux-cut-2400 | 1 +
tests/ref/fate/codec2-demux-cut-3200 | 1 +
tests/ref/fate/codec2-demux-cut-700C | 1 +
tests/ref/fate/codec2-probe-1200 | 77 +++++++++++
tests/ref/fate/codec2-probe-1300 | 77 +++++++++++
tests/ref/fate/codec2-probe-1400 | 77 +++++++++++
tests/ref/fate/codec2-probe-1600 | 77 +++++++++++
tests/ref/fate/codec2-probe-2400 | 152 +++++++++++++++++++++
tests/ref/fate/codec2-probe-3200 | 152 +++++++++++++++++++++
tests/ref/fate/codec2-probe-700C | 77 +++++++++++
tests/ref/fate/codec2-probe-cut-1200 | 18 +++
tests/ref/fate/codec2-probe-cut-1300 | 16 +++
tests/ref/fate/codec2-probe-cut-1400 | 16 +++
tests/ref/fate/codec2-probe-cut-1600 | 14 ++
tests/ref/fate/codec2-probe-cut-2400 | 18 +++
tests/ref/fate/codec2-probe-cut-3200 | 14 ++
tests/ref/fate/codec2-probe-cut-700C | 26 ++++
tests/ref/fate/codec2-probe-multi-1200 | 10 ++
tests/ref/fate/codec2-probe-multi-1300 | 10 ++
tests/ref/fate/codec2-probe-multi-1400 | 10 ++
tests/ref/fate/codec2-probe-multi-1600 | 10 ++
tests/ref/fate/codec2-probe-multi-2400 | 17 +++
tests/ref/fate/codec2-probe-multi-3200 | 17 +++
tests/ref/fate/codec2-probe-multi-700C | 10 ++
tests/ref/fate/codec2-probe-multi-cut-1200 | 4 +
tests/ref/fate/codec2-probe-multi-cut-1300 | 4 +
tests/ref/fate/codec2-probe-multi-cut-1400 | 4 +
tests/ref/fate/codec2-probe-multi-cut-1600 | 4 +
tests/ref/fate/codec2-probe-multi-cut-2400 | 4 +
tests/ref/fate/codec2-probe-multi-cut-3200 | 4 +
tests/ref/fate/codec2-probe-multi-cut-700C | 5 +
tests/ref/fate/libcodec2-1200 | 12 ++
tests/ref/fate/libcodec2-1300 | 12 ++
tests/ref/fate/libcodec2-1400 | 12 ++
tests/ref/fate/libcodec2-1600 | 12 ++
tests/ref/fate/libcodec2-2400 | 19 +++
tests/ref/fate/libcodec2-3200 | 19 +++
tests/ref/fate/libcodec2-700C | 12 ++
tests/ref/fate/libcodec2-cut-1200 | 6 +
tests/ref/fate/libcodec2-cut-1300 | 6 +
tests/ref/fate/libcodec2-cut-1400 | 6 +
tests/ref/fate/libcodec2-cut-1600 | 6 +
tests/ref/fate/libcodec2-cut-2400 | 6 +
tests/ref/fate/libcodec2-cut-3200 | 6 +
tests/ref/fate/libcodec2-cut-700C | 7 +
58 files changed, 1136 insertions(+)
create mode 100644 tests/fate/codec2.mak
create mode 100644 tests/ref/fate/codec2-demux-1200
create mode 100644 tests/ref/fate/codec2-demux-1300
create mode 100644 tests/ref/fate/codec2-demux-1400
create mode 100644 tests/ref/fate/codec2-demux-1600
create mode 100644 tests/ref/fate/codec2-demux-2400
create mode 100644 tests/ref/fate/codec2-demux-3200
create mode 100644 tests/ref/fate/codec2-demux-700C
create mode 100644 tests/ref/fate/codec2-demux-cut-1200
create mode 100644 tests/ref/fate/codec2-demux-cut-1300
create mode 100644 tests/ref/fate/codec2-demux-cut-1400
create mode 100644 tests/ref/fate/codec2-demux-cut-1600
create mode 100644 tests/ref/fate/codec2-demux-cut-2400
create mode 100644 tests/ref/fate/codec2-demux-cut-3200
create mode 100644 tests/ref/fate/codec2-demux-cut-700C
create mode 100644 tests/ref/fate/codec2-probe-1200
create mode 100644 tests/ref/fate/codec2-probe-1300
create mode 100644 tests/ref/fate/codec2-probe-1400
create mode 100644 tests/ref/fate/codec2-probe-1600
create mode 100644 tests/ref/fate/codec2-probe-2400
create mode 100644 tests/ref/fate/codec2-probe-3200
create mode 100644 tests/ref/fate/codec2-probe-700C
create mode 100644 tests/ref/fate/codec2-probe-cut-1200
create mode 100644 tests/ref/fate/codec2-probe-cut-1300
create mode 100644 tests/ref/fate/codec2-probe-cut-1400
create mode 100644 tests/ref/fate/codec2-probe-cut-1600
create mode 100644 tests/ref/fate/codec2-probe-cut-2400
create mode 100644 tests/ref/fate/codec2-probe-cut-3200
create mode 100644 tests/ref/fate/codec2-probe-cut-700C
create mode 100644 tests/ref/fate/codec2-probe-multi-1200
create mode 100644 tests/ref/fate/codec2-probe-multi-1300
create mode 100644 tests/ref/fate/codec2-probe-multi-1400
create mode 100644 tests/ref/fate/codec2-probe-multi-1600
create mode 100644 tests/ref/fate/codec2-probe-multi-2400
create mode 100644 tests/ref/fate/codec2-probe-multi-3200
create mode 100644 tests/ref/fate/codec2-probe-multi-700C
create mode 100644 tests/ref/fate/codec2-probe-multi-cut-1200
create mode 100644 tests/ref/fate/codec2-probe-multi-cut-1300
create mode 100644 tests/ref/fate/codec2-probe-multi-cut-1400
create mode 100644 tests/ref/fate/codec2-probe-multi-cut-1600
create mode 100644 tests/ref/fate/codec2-probe-multi-cut-2400
create mode 100644 tests/ref/fate/codec2-probe-multi-cut-3200
create mode 100644 tests/ref/fate/codec2-probe-multi-cut-700C
create mode 100644 tests/ref/fate/libcodec2-1200
create mode 100644 tests/ref/fate/libcodec2-1300
create mode 100644 tests/ref/fate/libcodec2-1400
create mode 100644 tests/ref/fate/libcodec2-1600
create mode 100644 tests/ref/fate/libcodec2-2400
create mode 100644 tests/ref/fate/libcodec2-3200
create mode 100644 tests/ref/fate/libcodec2-700C
create mode 100644 tests/ref/fate/libcodec2-cut-1200
create mode 100644 tests/ref/fate/libcodec2-cut-1300
create mode 100644 tests/ref/fate/libcodec2-cut-1400
create mode 100644 tests/ref/fate/libcodec2-cut-1600
create mode 100644 tests/ref/fate/libcodec2-cut-2400
create mode 100644 tests/ref/fate/libcodec2-cut-3200
create mode 100644 tests/ref/fate/libcodec2-cut-700C
diff --git a/tests/Makefile b/tests/Makefile
index 744dbcdfb3..cec8388aec 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -166,6 +166,7 @@ include $(SRC_PATH)/tests/fate/canopus.mak
include $(SRC_PATH)/tests/fate/cbs.mak
include $(SRC_PATH)/tests/fate/cdxl.mak
include $(SRC_PATH)/tests/fate/checkasm.mak
+include $(SRC_PATH)/tests/fate/codec2.mak
# Must be included after lavf-container.mak
include $(SRC_PATH)/tests/fate/concatdec.mak
include $(SRC_PATH)/tests/fate/cover-art.mak
diff --git a/tests/fate/codec2.mak b/tests/fate/codec2.mak
new file mode 100644
index 0000000000..32dd086083
--- /dev/null
+++ b/tests/fate/codec2.mak
@@ -0,0 +1,56 @@
+# Modes 700 and 700B no longer exist
+CODEC2_MODES = 3200 2400 1600 1400 1300 1200 700C
+
+# This exercises both the decode and encode side of the libcodec2 binding for all modes listed above
+FATE_LIBCODEC2-$(call ENCDEC, LIBCODEC2, CODEC2) += $(foreach mode,$(CODEC2_MODES), \
+ fate-libcodec2-$(mode) \
+ fate-libcodec2-cut-$(mode) \
+)
+
+define make-codec2-targets
+ $(foreach mode,$(CODEC2_MODES), \
+ fate-$(1)-probe-$(mode) \
+ fate-$(1)-probe-cut-$(mode) \
+ fate-$(1)-probe-multi-$(mode) \
+ fate-$(1)-probe-multi-cut-$(mode) \
+ fate-$(1)-demux-$(mode) \
+ fate-$(1)-demux-cut-$(mode) \
+ )
+endef
+
+FATE_CODEC2-$(CONFIG_CODEC2_DEMUXER) += $(call make-codec2-targets,codec2)
+FATE_CODEC2RAW-$(CONFIG_CODEC2RAW_DEMUXER) += $(call make-codec2-targets,codec2raw)
+
+define make-codec2-args
+ enc_external $(TARGET_SAMPLES)/codec2/cross-$(2)$(1).c2 codec2 "-mode $(1)" "-frames_per_packet 10 -show_entries stream=codec_name,sample_rate,channels,duration -show_entries frame=pkt_dts -of flat"
+endef
+
+## Transcoding tests
+# Well-formed files
+fate-libcodec2-%: CMD = $(call make-codec2-args,$(@:fate-libcodec2-%=%),)
+# Truncated files
+fate-libcodec2-cut-%: CMD = $(call make-codec2-args,$(@:fate-libcodec2-cut-%=%),cut-)
+
+## Demuxer tests
+# Check packets sizes and flags. Only the truncated files have the C flag set on the last packet
+# Wildcards match both sets of files
+fate-codec2-probe-%: CMD = ffprobe_demux $(TARGET_SAMPLES)/codec2/cross-$(@:fate-codec2-probe-%=%).c2
+fate-codec2-probe-multi-%: CMD = ffprobe_demux $(TARGET_SAMPLES)/codec2/cross-$(@:fate-codec2-probe-multi-%=%).c2 -frames_per_packet 10
+# Reuse refs for codec2raw tests
+fate-codec2raw-probe-%: MODE = $(@:fate-codec2raw-probe-%=%)
+fate-codec2raw-probe-%: REF = tests/ref/fate/codec2-probe-$(MODE)
+fate-codec2raw-probe-%: CMD = ffprobe_demux $(TARGET_SAMPLES)/codec2/cross-$(MODE).c2 -mode $(MODE)
+fate-codec2raw-probe-multi-%: MODE = $(@:fate-codec2raw-probe-multi-%=%)
+fate-codec2raw-probe-multi-%: REF = tests/ref/fate/codec2-probe-multi-$(MODE)
+fate-codec2raw-probe-multi-%: CMD = ffprobe_demux $(TARGET_SAMPLES)/codec2/cross-$(MODE).c2 -frames_per_packet 10 -mode $(MODE)
+# Normal CRC tests
+fate-codec2-demux-%: CMD = crc -i $(TARGET_SAMPLES)/codec2/cross-$(@:fate-codec2-demux-%=%).c2 -c:a copy
+# Reuse refs here too
+fate-codec2raw-demux-%: MODE = $(@:fate-codec2raw-demux-%=%)
+fate-codec2raw-demux-%: REF = tests/ref/fate/codec2-demux-$(MODE)
+fate-codec2raw-demux-%: CMD = crc -i $(TARGET_SAMPLES)/codec2/cross-$(MODE).c2 -mode $(MODE) -c:a copy
+
+FATE_SAMPLES_FFMPEG_FFPROBE += $(FATE_CODEC2-yes) $(FATE_CODEC2RAW-yes) $(FATE_LIBCODEC2-yes)
+fate-codec2: $(FATE_CODEC2-yes)
+fate-codec2raw: $(FATE_CODEC2RAW-yes)
+fate-libcodec2: $(FATE_LIBCODEC2-yes)
diff --git a/tests/ref/fate/codec2-demux-1200 b/tests/ref/fate/codec2-demux-1200
new file mode 100644
index 0000000000..e73da85898
--- /dev/null
+++ b/tests/ref/fate/codec2-demux-1200
@@ -0,0 +1 @@
+CRC=0x585af733
diff --git a/tests/ref/fate/codec2-demux-1300 b/tests/ref/fate/codec2-demux-1300
new file mode 100644
index 0000000000..8a387d0c5c
--- /dev/null
+++ b/tests/ref/fate/codec2-demux-1300
@@ -0,0 +1 @@
+CRC=0x1e44f99a
diff --git a/tests/ref/fate/codec2-demux-1400 b/tests/ref/fate/codec2-demux-1400
new file mode 100644
index 0000000000..8e16ed218f
--- /dev/null
+++ b/tests/ref/fate/codec2-demux-1400
@@ -0,0 +1 @@
+CRC=0xaea43a6b
diff --git a/tests/ref/fate/codec2-demux-1600 b/tests/ref/fate/codec2-demux-1600
new file mode 100644
index 0000000000..cf39a1f33c
--- /dev/null
+++ b/tests/ref/fate/codec2-demux-1600
@@ -0,0 +1 @@
+CRC=0xd30a231f
diff --git a/tests/ref/fate/codec2-demux-2400 b/tests/ref/fate/codec2-demux-2400
new file mode 100644
index 0000000000..3207059686
--- /dev/null
+++ b/tests/ref/fate/codec2-demux-2400
@@ -0,0 +1 @@
+CRC=0x6445f5bd
diff --git a/tests/ref/fate/codec2-demux-3200 b/tests/ref/fate/codec2-demux-3200
new file mode 100644
index 0000000000..a6d1c663df
--- /dev/null
+++ b/tests/ref/fate/codec2-demux-3200
@@ -0,0 +1 @@
+CRC=0x27b3654f
diff --git a/tests/ref/fate/codec2-demux-700C b/tests/ref/fate/codec2-demux-700C
new file mode 100644
index 0000000000..9277e69200
--- /dev/null
+++ b/tests/ref/fate/codec2-demux-700C
@@ -0,0 +1 @@
+CRC=0x7f9493cc
diff --git a/tests/ref/fate/codec2-demux-cut-1200 b/tests/ref/fate/codec2-demux-cut-1200
new file mode 100644
index 0000000000..f3032b0c24
--- /dev/null
+++ b/tests/ref/fate/codec2-demux-cut-1200
@@ -0,0 +1 @@
+CRC=0xc86c3291
diff --git a/tests/ref/fate/codec2-demux-cut-1300 b/tests/ref/fate/codec2-demux-cut-1300
new file mode 100644
index 0000000000..bf4f1b0a75
--- /dev/null
+++ b/tests/ref/fate/codec2-demux-cut-1300
@@ -0,0 +1 @@
+CRC=0x68b92ddf
diff --git a/tests/ref/fate/codec2-demux-cut-1400 b/tests/ref/fate/codec2-demux-cut-1400
new file mode 100644
index 0000000000..83de78745c
--- /dev/null
+++ b/tests/ref/fate/codec2-demux-cut-1400
@@ -0,0 +1 @@
+CRC=0x323239c6
diff --git a/tests/ref/fate/codec2-demux-cut-1600 b/tests/ref/fate/codec2-demux-cut-1600
new file mode 100644
index 0000000000..33f30b9b9c
--- /dev/null
+++ b/tests/ref/fate/codec2-demux-cut-1600
@@ -0,0 +1 @@
+CRC=0x3e10298c
diff --git a/tests/ref/fate/codec2-demux-cut-2400 b/tests/ref/fate/codec2-demux-cut-2400
new file mode 100644
index 0000000000..e364ab19e7
--- /dev/null
+++ b/tests/ref/fate/codec2-demux-cut-2400
@@ -0,0 +1 @@
+CRC=0x190736f0
diff --git a/tests/ref/fate/codec2-demux-cut-3200 b/tests/ref/fate/codec2-demux-cut-3200
new file mode 100644
index 0000000000..f70d1adb56
--- /dev/null
+++ b/tests/ref/fate/codec2-demux-cut-3200
@@ -0,0 +1 @@
+CRC=0xc17c31ae
diff --git a/tests/ref/fate/codec2-demux-cut-700C b/tests/ref/fate/codec2-demux-cut-700C
new file mode 100644
index 0000000000..8cc9cf9e94
--- /dev/null
+++ b/tests/ref/fate/codec2-demux-cut-700C
@@ -0,0 +1 @@
+CRC=0x912a2def
diff --git a/tests/ref/fate/codec2-probe-1200 b/tests/ref/fate/codec2-probe-1200
new file mode 100644
index 0000000000..e199958a91
--- /dev/null
+++ b/tests/ref/fate/codec2-probe-1200
@@ -0,0 +1,77 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=320|duration_time=0.040000|size=6|pos=7|flags=K__|data_hash=CRC32:221d0fc7
+packet|codec_type=audio|stream_index=0|pts=320|pts_time=0.040000|dts=320|dts_time=0.040000|duration=320|duration_time=0.040000|size=6|pos=13|flags=K__|data_hash=CRC32:2bf167b8
+packet|codec_type=audio|stream_index=0|pts=640|pts_time=0.080000|dts=640|dts_time=0.080000|duration=320|duration_time=0.040000|size=6|pos=19|flags=K__|data_hash=CRC32:a7156a29
+packet|codec_type=audio|stream_index=0|pts=960|pts_time=0.120000|dts=960|dts_time=0.120000|duration=320|duration_time=0.040000|size=6|pos=25|flags=K__|data_hash=CRC32:268c4e72
+packet|codec_type=audio|stream_index=0|pts=1280|pts_time=0.160000|dts=1280|dts_time=0.160000|duration=320|duration_time=0.040000|size=6|pos=31|flags=K__|data_hash=CRC32:5a23ffe0
+packet|codec_type=audio|stream_index=0|pts=1600|pts_time=0.200000|dts=1600|dts_time=0.200000|duration=320|duration_time=0.040000|size=6|pos=37|flags=K__|data_hash=CRC32:ed696a9b
+packet|codec_type=audio|stream_index=0|pts=1920|pts_time=0.240000|dts=1920|dts_time=0.240000|duration=320|duration_time=0.040000|size=6|pos=43|flags=K__|data_hash=CRC32:8c2de44f
+packet|codec_type=audio|stream_index=0|pts=2240|pts_time=0.280000|dts=2240|dts_time=0.280000|duration=320|duration_time=0.040000|size=6|pos=49|flags=K__|data_hash=CRC32:46dcc273
+packet|codec_type=audio|stream_index=0|pts=2560|pts_time=0.320000|dts=2560|dts_time=0.320000|duration=320|duration_time=0.040000|size=6|pos=55|flags=K__|data_hash=CRC32:7c6fd6bd
+packet|codec_type=audio|stream_index=0|pts=2880|pts_time=0.360000|dts=2880|dts_time=0.360000|duration=320|duration_time=0.040000|size=6|pos=61|flags=K__|data_hash=CRC32:54794fd6
+packet|codec_type=audio|stream_index=0|pts=3200|pts_time=0.400000|dts=3200|dts_time=0.400000|duration=320|duration_time=0.040000|size=6|pos=67|flags=K__|data_hash=CRC32:f56e65a6
+packet|codec_type=audio|stream_index=0|pts=3520|pts_time=0.440000|dts=3520|dts_time=0.440000|duration=320|duration_time=0.040000|size=6|pos=73|flags=K__|data_hash=CRC32:5a22ccb3
+packet|codec_type=audio|stream_index=0|pts=3840|pts_time=0.480000|dts=3840|dts_time=0.480000|duration=320|duration_time=0.040000|size=6|pos=79|flags=K__|data_hash=CRC32:80096180
+packet|codec_type=audio|stream_index=0|pts=4160|pts_time=0.520000|dts=4160|dts_time=0.520000|duration=320|duration_time=0.040000|size=6|pos=85|flags=K__|data_hash=CRC32:8959f4e8
+packet|codec_type=audio|stream_index=0|pts=4480|pts_time=0.560000|dts=4480|dts_time=0.560000|duration=320|duration_time=0.040000|size=6|pos=91|flags=K__|data_hash=CRC32:cc92a5ce
+packet|codec_type=audio|stream_index=0|pts=4800|pts_time=0.600000|dts=4800|dts_time=0.600000|duration=320|duration_time=0.040000|size=6|pos=97|flags=K__|data_hash=CRC32:6d4ea619
+packet|codec_type=audio|stream_index=0|pts=5120|pts_time=0.640000|dts=5120|dts_time=0.640000|duration=320|duration_time=0.040000|size=6|pos=103|flags=K__|data_hash=CRC32:0d8606b8
+packet|codec_type=audio|stream_index=0|pts=5440|pts_time=0.680000|dts=5440|dts_time=0.680000|duration=320|duration_time=0.040000|size=6|pos=109|flags=K__|data_hash=CRC32:c95cfb1a
+packet|codec_type=audio|stream_index=0|pts=5760|pts_time=0.720000|dts=5760|dts_time=0.720000|duration=320|duration_time=0.040000|size=6|pos=115|flags=K__|data_hash=CRC32:7ff40dc6
+packet|codec_type=audio|stream_index=0|pts=6080|pts_time=0.760000|dts=6080|dts_time=0.760000|duration=320|duration_time=0.040000|size=6|pos=121|flags=K__|data_hash=CRC32:866ff055
+packet|codec_type=audio|stream_index=0|pts=6400|pts_time=0.800000|dts=6400|dts_time=0.800000|duration=320|duration_time=0.040000|size=6|pos=127|flags=K__|data_hash=CRC32:935e0eab
+packet|codec_type=audio|stream_index=0|pts=6720|pts_time=0.840000|dts=6720|dts_time=0.840000|duration=320|duration_time=0.040000|size=6|pos=133|flags=K__|data_hash=CRC32:7a0342ca
+packet|codec_type=audio|stream_index=0|pts=7040|pts_time=0.880000|dts=7040|dts_time=0.880000|duration=320|duration_time=0.040000|size=6|pos=139|flags=K__|data_hash=CRC32:8097ae9a
+packet|codec_type=audio|stream_index=0|pts=7360|pts_time=0.920000|dts=7360|dts_time=0.920000|duration=320|duration_time=0.040000|size=6|pos=145|flags=K__|data_hash=CRC32:7e775861
+packet|codec_type=audio|stream_index=0|pts=7680|pts_time=0.960000|dts=7680|dts_time=0.960000|duration=320|duration_time=0.040000|size=6|pos=151|flags=K__|data_hash=CRC32:bdeb9b36
+packet|codec_type=audio|stream_index=0|pts=8000|pts_time=1.000000|dts=8000|dts_time=1.000000|duration=320|duration_time=0.040000|size=6|pos=157|flags=K__|data_hash=CRC32:3794e84b
+packet|codec_type=audio|stream_index=0|pts=8320|pts_time=1.040000|dts=8320|dts_time=1.040000|duration=320|duration_time=0.040000|size=6|pos=163|flags=K__|data_hash=CRC32:86431715
+packet|codec_type=audio|stream_index=0|pts=8640|pts_time=1.080000|dts=8640|dts_time=1.080000|duration=320|duration_time=0.040000|size=6|pos=169|flags=K__|data_hash=CRC32:d922dfa1
+packet|codec_type=audio|stream_index=0|pts=8960|pts_time=1.120000|dts=8960|dts_time=1.120000|duration=320|duration_time=0.040000|size=6|pos=175|flags=K__|data_hash=CRC32:dfbf9e96
+packet|codec_type=audio|stream_index=0|pts=9280|pts_time=1.160000|dts=9280|dts_time=1.160000|duration=320|duration_time=0.040000|size=6|pos=181|flags=K__|data_hash=CRC32:d3b29b12
+packet|codec_type=audio|stream_index=0|pts=9600|pts_time=1.200000|dts=9600|dts_time=1.200000|duration=320|duration_time=0.040000|size=6|pos=187|flags=K__|data_hash=CRC32:6e0f0822
+packet|codec_type=audio|stream_index=0|pts=9920|pts_time=1.240000|dts=9920|dts_time=1.240000|duration=320|duration_time=0.040000|size=6|pos=193|flags=K__|data_hash=CRC32:a79fff26
+packet|codec_type=audio|stream_index=0|pts=10240|pts_time=1.280000|dts=10240|dts_time=1.280000|duration=320|duration_time=0.040000|size=6|pos=199|flags=K__|data_hash=CRC32:31b1c3b2
+packet|codec_type=audio|stream_index=0|pts=10560|pts_time=1.320000|dts=10560|dts_time=1.320000|duration=320|duration_time=0.040000|size=6|pos=205|flags=K__|data_hash=CRC32:be077bea
+packet|codec_type=audio|stream_index=0|pts=10880|pts_time=1.360000|dts=10880|dts_time=1.360000|duration=320|duration_time=0.040000|size=6|pos=211|flags=K__|data_hash=CRC32:f81e55e2
+packet|codec_type=audio|stream_index=0|pts=11200|pts_time=1.400000|dts=11200|dts_time=1.400000|duration=320|duration_time=0.040000|size=6|pos=217|flags=K__|data_hash=CRC32:ac3f6f73
+packet|codec_type=audio|stream_index=0|pts=11520|pts_time=1.440000|dts=11520|dts_time=1.440000|duration=320|duration_time=0.040000|size=6|pos=223|flags=K__|data_hash=CRC32:8729d498
+packet|codec_type=audio|stream_index=0|pts=11840|pts_time=1.480000|dts=11840|dts_time=1.480000|duration=320|duration_time=0.040000|size=6|pos=229|flags=K__|data_hash=CRC32:66f3e351
+packet|codec_type=audio|stream_index=0|pts=12160|pts_time=1.520000|dts=12160|dts_time=1.520000|duration=320|duration_time=0.040000|size=6|pos=235|flags=K__|data_hash=CRC32:33664141
+packet|codec_type=audio|stream_index=0|pts=12480|pts_time=1.560000|dts=12480|dts_time=1.560000|duration=320|duration_time=0.040000|size=6|pos=241|flags=K__|data_hash=CRC32:a47da932
+packet|codec_type=audio|stream_index=0|pts=12800|pts_time=1.600000|dts=12800|dts_time=1.600000|duration=320|duration_time=0.040000|size=6|pos=247|flags=K__|data_hash=CRC32:25ba973c
+packet|codec_type=audio|stream_index=0|pts=13120|pts_time=1.640000|dts=13120|dts_time=1.640000|duration=320|duration_time=0.040000|size=6|pos=253|flags=K__|data_hash=CRC32:48416905
+packet|codec_type=audio|stream_index=0|pts=13440|pts_time=1.680000|dts=13440|dts_time=1.680000|duration=320|duration_time=0.040000|size=6|pos=259|flags=K__|data_hash=CRC32:d4389bf2
+packet|codec_type=audio|stream_index=0|pts=13760|pts_time=1.720000|dts=13760|dts_time=1.720000|duration=320|duration_time=0.040000|size=6|pos=265|flags=K__|data_hash=CRC32:80beba6e
+packet|codec_type=audio|stream_index=0|pts=14080|pts_time=1.760000|dts=14080|dts_time=1.760000|duration=320|duration_time=0.040000|size=6|pos=271|flags=K__|data_hash=CRC32:87a45a57
+packet|codec_type=audio|stream_index=0|pts=14400|pts_time=1.800000|dts=14400|dts_time=1.800000|duration=320|duration_time=0.040000|size=6|pos=277|flags=K__|data_hash=CRC32:f942adf5
+packet|codec_type=audio|stream_index=0|pts=14720|pts_time=1.840000|dts=14720|dts_time=1.840000|duration=320|duration_time=0.040000|size=6|pos=283|flags=K__|data_hash=CRC32:e8d81c23
+packet|codec_type=audio|stream_index=0|pts=15040|pts_time=1.880000|dts=15040|dts_time=1.880000|duration=320|duration_time=0.040000|size=6|pos=289|flags=K__|data_hash=CRC32:0366c5b1
+packet|codec_type=audio|stream_index=0|pts=15360|pts_time=1.920000|dts=15360|dts_time=1.920000|duration=320|duration_time=0.040000|size=6|pos=295|flags=K__|data_hash=CRC32:4a5f7c10
+packet|codec_type=audio|stream_index=0|pts=15680|pts_time=1.960000|dts=15680|dts_time=1.960000|duration=320|duration_time=0.040000|size=6|pos=301|flags=K__|data_hash=CRC32:f88879e6
+packet|codec_type=audio|stream_index=0|pts=16000|pts_time=2.000000|dts=16000|dts_time=2.000000|duration=320|duration_time=0.040000|size=6|pos=307|flags=K__|data_hash=CRC32:0c1bd8f8
+packet|codec_type=audio|stream_index=0|pts=16320|pts_time=2.040000|dts=16320|dts_time=2.040000|duration=320|duration_time=0.040000|size=6|pos=313|flags=K__|data_hash=CRC32:c3a3fe7b
+packet|codec_type=audio|stream_index=0|pts=16640|pts_time=2.080000|dts=16640|dts_time=2.080000|duration=320|duration_time=0.040000|size=6|pos=319|flags=K__|data_hash=CRC32:2f51770a
+packet|codec_type=audio|stream_index=0|pts=16960|pts_time=2.120000|dts=16960|dts_time=2.120000|duration=320|duration_time=0.040000|size=6|pos=325|flags=K__|data_hash=CRC32:112e75a2
+packet|codec_type=audio|stream_index=0|pts=17280|pts_time=2.160000|dts=17280|dts_time=2.160000|duration=320|duration_time=0.040000|size=6|pos=331|flags=K__|data_hash=CRC32:a88f3e44
+packet|codec_type=audio|stream_index=0|pts=17600|pts_time=2.200000|dts=17600|dts_time=2.200000|duration=320|duration_time=0.040000|size=6|pos=337|flags=K__|data_hash=CRC32:b5a038d5
+packet|codec_type=audio|stream_index=0|pts=17920|pts_time=2.240000|dts=17920|dts_time=2.240000|duration=320|duration_time=0.040000|size=6|pos=343|flags=K__|data_hash=CRC32:a081bf18
+packet|codec_type=audio|stream_index=0|pts=18240|pts_time=2.280000|dts=18240|dts_time=2.280000|duration=320|duration_time=0.040000|size=6|pos=349|flags=K__|data_hash=CRC32:e735914e
+packet|codec_type=audio|stream_index=0|pts=18560|pts_time=2.320000|dts=18560|dts_time=2.320000|duration=320|duration_time=0.040000|size=6|pos=355|flags=K__|data_hash=CRC32:9e1a7144
+packet|codec_type=audio|stream_index=0|pts=18880|pts_time=2.360000|dts=18880|dts_time=2.360000|duration=320|duration_time=0.040000|size=6|pos=361|flags=K__|data_hash=CRC32:868f522c
+packet|codec_type=audio|stream_index=0|pts=19200|pts_time=2.400000|dts=19200|dts_time=2.400000|duration=320|duration_time=0.040000|size=6|pos=367|flags=K__|data_hash=CRC32:d212c855
+packet|codec_type=audio|stream_index=0|pts=19520|pts_time=2.440000|dts=19520|dts_time=2.440000|duration=320|duration_time=0.040000|size=6|pos=373|flags=K__|data_hash=CRC32:bca14856
+packet|codec_type=audio|stream_index=0|pts=19840|pts_time=2.480000|dts=19840|dts_time=2.480000|duration=320|duration_time=0.040000|size=6|pos=379|flags=K__|data_hash=CRC32:53b4fc98
+packet|codec_type=audio|stream_index=0|pts=20160|pts_time=2.520000|dts=20160|dts_time=2.520000|duration=320|duration_time=0.040000|size=6|pos=385|flags=K__|data_hash=CRC32:7df44774
+packet|codec_type=audio|stream_index=0|pts=20480|pts_time=2.560000|dts=20480|dts_time=2.560000|duration=320|duration_time=0.040000|size=6|pos=391|flags=K__|data_hash=CRC32:59760848
+packet|codec_type=audio|stream_index=0|pts=20800|pts_time=2.600000|dts=20800|dts_time=2.600000|duration=320|duration_time=0.040000|size=6|pos=397|flags=K__|data_hash=CRC32:6c4e5c92
+packet|codec_type=audio|stream_index=0|pts=21120|pts_time=2.640000|dts=21120|dts_time=2.640000|duration=320|duration_time=0.040000|size=6|pos=403|flags=K__|data_hash=CRC32:73629588
+packet|codec_type=audio|stream_index=0|pts=21440|pts_time=2.680000|dts=21440|dts_time=2.680000|duration=320|duration_time=0.040000|size=6|pos=409|flags=K__|data_hash=CRC32:e0b588c1
+packet|codec_type=audio|stream_index=0|pts=21760|pts_time=2.720000|dts=21760|dts_time=2.720000|duration=320|duration_time=0.040000|size=6|pos=415|flags=K__|data_hash=CRC32:227d2375
+packet|codec_type=audio|stream_index=0|pts=22080|pts_time=2.760000|dts=22080|dts_time=2.760000|duration=320|duration_time=0.040000|size=6|pos=421|flags=K__|data_hash=CRC32:fd70ce6f
+packet|codec_type=audio|stream_index=0|pts=22400|pts_time=2.800000|dts=22400|dts_time=2.800000|duration=320|duration_time=0.040000|size=6|pos=427|flags=K__|data_hash=CRC32:e923fe4c
+packet|codec_type=audio|stream_index=0|pts=22720|pts_time=2.840000|dts=22720|dts_time=2.840000|duration=320|duration_time=0.040000|size=6|pos=433|flags=K__|data_hash=CRC32:52cecd8a
+packet|codec_type=audio|stream_index=0|pts=23040|pts_time=2.880000|dts=23040|dts_time=2.880000|duration=320|duration_time=0.040000|size=6|pos=439|flags=K__|data_hash=CRC32:32d67e82
+packet|codec_type=audio|stream_index=0|pts=23360|pts_time=2.920000|dts=23360|dts_time=2.920000|duration=320|duration_time=0.040000|size=6|pos=445|flags=K__|data_hash=CRC32:1baa02d6
+packet|codec_type=audio|stream_index=0|pts=23680|pts_time=2.960000|dts=23680|dts_time=2.960000|duration=320|duration_time=0.040000|size=6|pos=451|flags=K__|data_hash=CRC32:d5df290e
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=24000|duration=3.000000|bit_rate=1200|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=75|extradata_size=4|extradata_hash=CRC32:e70b9852|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-1200.c2|nb_streams=1|nb_programs=0|format_name=codec2|start_time=N/A|duration=3.000000|size=457|bit_rate=1218|probe_score=51
diff --git a/tests/ref/fate/codec2-probe-1300 b/tests/ref/fate/codec2-probe-1300
new file mode 100644
index 0000000000..cb466e5b9f
--- /dev/null
+++ b/tests/ref/fate/codec2-probe-1300
@@ -0,0 +1,77 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=320|duration_time=0.040000|size=7|pos=7|flags=K__|data_hash=CRC32:e1c986d9
+packet|codec_type=audio|stream_index=0|pts=320|pts_time=0.040000|dts=320|dts_time=0.040000|duration=320|duration_time=0.040000|size=7|pos=14|flags=K__|data_hash=CRC32:d19871aa
+packet|codec_type=audio|stream_index=0|pts=640|pts_time=0.080000|dts=640|dts_time=0.080000|duration=320|duration_time=0.040000|size=7|pos=21|flags=K__|data_hash=CRC32:720c8431
+packet|codec_type=audio|stream_index=0|pts=960|pts_time=0.120000|dts=960|dts_time=0.120000|duration=320|duration_time=0.040000|size=7|pos=28|flags=K__|data_hash=CRC32:5e0cab28
+packet|codec_type=audio|stream_index=0|pts=1280|pts_time=0.160000|dts=1280|dts_time=0.160000|duration=320|duration_time=0.040000|size=7|pos=35|flags=K__|data_hash=CRC32:431d4805
+packet|codec_type=audio|stream_index=0|pts=1600|pts_time=0.200000|dts=1600|dts_time=0.200000|duration=320|duration_time=0.040000|size=7|pos=42|flags=K__|data_hash=CRC32:e506c285
+packet|codec_type=audio|stream_index=0|pts=1920|pts_time=0.240000|dts=1920|dts_time=0.240000|duration=320|duration_time=0.040000|size=7|pos=49|flags=K__|data_hash=CRC32:b0ca6019
+packet|codec_type=audio|stream_index=0|pts=2240|pts_time=0.280000|dts=2240|dts_time=0.280000|duration=320|duration_time=0.040000|size=7|pos=56|flags=K__|data_hash=CRC32:25ef5865
+packet|codec_type=audio|stream_index=0|pts=2560|pts_time=0.320000|dts=2560|dts_time=0.320000|duration=320|duration_time=0.040000|size=7|pos=63|flags=K__|data_hash=CRC32:230d8966
+packet|codec_type=audio|stream_index=0|pts=2880|pts_time=0.360000|dts=2880|dts_time=0.360000|duration=320|duration_time=0.040000|size=7|pos=70|flags=K__|data_hash=CRC32:f552d25c
+packet|codec_type=audio|stream_index=0|pts=3200|pts_time=0.400000|dts=3200|dts_time=0.400000|duration=320|duration_time=0.040000|size=7|pos=77|flags=K__|data_hash=CRC32:9a0c149d
+packet|codec_type=audio|stream_index=0|pts=3520|pts_time=0.440000|dts=3520|dts_time=0.440000|duration=320|duration_time=0.040000|size=7|pos=84|flags=K__|data_hash=CRC32:c0332732
+packet|codec_type=audio|stream_index=0|pts=3840|pts_time=0.480000|dts=3840|dts_time=0.480000|duration=320|duration_time=0.040000|size=7|pos=91|flags=K__|data_hash=CRC32:7500143a
+packet|codec_type=audio|stream_index=0|pts=4160|pts_time=0.520000|dts=4160|dts_time=0.520000|duration=320|duration_time=0.040000|size=7|pos=98|flags=K__|data_hash=CRC32:18995637
+packet|codec_type=audio|stream_index=0|pts=4480|pts_time=0.560000|dts=4480|dts_time=0.560000|duration=320|duration_time=0.040000|size=7|pos=105|flags=K__|data_hash=CRC32:6dbc7758
+packet|codec_type=audio|stream_index=0|pts=4800|pts_time=0.600000|dts=4800|dts_time=0.600000|duration=320|duration_time=0.040000|size=7|pos=112|flags=K__|data_hash=CRC32:660dc59a
+packet|codec_type=audio|stream_index=0|pts=5120|pts_time=0.640000|dts=5120|dts_time=0.640000|duration=320|duration_time=0.040000|size=7|pos=119|flags=K__|data_hash=CRC32:c017b895
+packet|codec_type=audio|stream_index=0|pts=5440|pts_time=0.680000|dts=5440|dts_time=0.680000|duration=320|duration_time=0.040000|size=7|pos=126|flags=K__|data_hash=CRC32:0caa37a8
+packet|codec_type=audio|stream_index=0|pts=5760|pts_time=0.720000|dts=5760|dts_time=0.720000|duration=320|duration_time=0.040000|size=7|pos=133|flags=K__|data_hash=CRC32:4b119869
+packet|codec_type=audio|stream_index=0|pts=6080|pts_time=0.760000|dts=6080|dts_time=0.760000|duration=320|duration_time=0.040000|size=7|pos=140|flags=K__|data_hash=CRC32:ab9a64ff
+packet|codec_type=audio|stream_index=0|pts=6400|pts_time=0.800000|dts=6400|dts_time=0.800000|duration=320|duration_time=0.040000|size=7|pos=147|flags=K__|data_hash=CRC32:0f810c26
+packet|codec_type=audio|stream_index=0|pts=6720|pts_time=0.840000|dts=6720|dts_time=0.840000|duration=320|duration_time=0.040000|size=7|pos=154|flags=K__|data_hash=CRC32:d70a38ae
+packet|codec_type=audio|stream_index=0|pts=7040|pts_time=0.880000|dts=7040|dts_time=0.880000|duration=320|duration_time=0.040000|size=7|pos=161|flags=K__|data_hash=CRC32:7bf8e78c
+packet|codec_type=audio|stream_index=0|pts=7360|pts_time=0.920000|dts=7360|dts_time=0.920000|duration=320|duration_time=0.040000|size=7|pos=168|flags=K__|data_hash=CRC32:427523e8
+packet|codec_type=audio|stream_index=0|pts=7680|pts_time=0.960000|dts=7680|dts_time=0.960000|duration=320|duration_time=0.040000|size=7|pos=175|flags=K__|data_hash=CRC32:e2252aac
+packet|codec_type=audio|stream_index=0|pts=8000|pts_time=1.000000|dts=8000|dts_time=1.000000|duration=320|duration_time=0.040000|size=7|pos=182|flags=K__|data_hash=CRC32:3e1a854a
+packet|codec_type=audio|stream_index=0|pts=8320|pts_time=1.040000|dts=8320|dts_time=1.040000|duration=320|duration_time=0.040000|size=7|pos=189|flags=K__|data_hash=CRC32:4713a92d
+packet|codec_type=audio|stream_index=0|pts=8640|pts_time=1.080000|dts=8640|dts_time=1.080000|duration=320|duration_time=0.040000|size=7|pos=196|flags=K__|data_hash=CRC32:960e5b90
+packet|codec_type=audio|stream_index=0|pts=8960|pts_time=1.120000|dts=8960|dts_time=1.120000|duration=320|duration_time=0.040000|size=7|pos=203|flags=K__|data_hash=CRC32:2e9e2162
+packet|codec_type=audio|stream_index=0|pts=9280|pts_time=1.160000|dts=9280|dts_time=1.160000|duration=320|duration_time=0.040000|size=7|pos=210|flags=K__|data_hash=CRC32:ad34d068
+packet|codec_type=audio|stream_index=0|pts=9600|pts_time=1.200000|dts=9600|dts_time=1.200000|duration=320|duration_time=0.040000|size=7|pos=217|flags=K__|data_hash=CRC32:1856a76b
+packet|codec_type=audio|stream_index=0|pts=9920|pts_time=1.240000|dts=9920|dts_time=1.240000|duration=320|duration_time=0.040000|size=7|pos=224|flags=K__|data_hash=CRC32:0485b25e
+packet|codec_type=audio|stream_index=0|pts=10240|pts_time=1.280000|dts=10240|dts_time=1.280000|duration=320|duration_time=0.040000|size=7|pos=231|flags=K__|data_hash=CRC32:64af8bd3
+packet|codec_type=audio|stream_index=0|pts=10560|pts_time=1.320000|dts=10560|dts_time=1.320000|duration=320|duration_time=0.040000|size=7|pos=238|flags=K__|data_hash=CRC32:96ac0e38
+packet|codec_type=audio|stream_index=0|pts=10880|pts_time=1.360000|dts=10880|dts_time=1.360000|duration=320|duration_time=0.040000|size=7|pos=245|flags=K__|data_hash=CRC32:7bbfa18d
+packet|codec_type=audio|stream_index=0|pts=11200|pts_time=1.400000|dts=11200|dts_time=1.400000|duration=320|duration_time=0.040000|size=7|pos=252|flags=K__|data_hash=CRC32:4f86117c
+packet|codec_type=audio|stream_index=0|pts=11520|pts_time=1.440000|dts=11520|dts_time=1.440000|duration=320|duration_time=0.040000|size=7|pos=259|flags=K__|data_hash=CRC32:2fd11b3b
+packet|codec_type=audio|stream_index=0|pts=11840|pts_time=1.480000|dts=11840|dts_time=1.480000|duration=320|duration_time=0.040000|size=7|pos=266|flags=K__|data_hash=CRC32:9a76d5be
+packet|codec_type=audio|stream_index=0|pts=12160|pts_time=1.520000|dts=12160|dts_time=1.520000|duration=320|duration_time=0.040000|size=7|pos=273|flags=K__|data_hash=CRC32:dd58ca6e
+packet|codec_type=audio|stream_index=0|pts=12480|pts_time=1.560000|dts=12480|dts_time=1.560000|duration=320|duration_time=0.040000|size=7|pos=280|flags=K__|data_hash=CRC32:57722d71
+packet|codec_type=audio|stream_index=0|pts=12800|pts_time=1.600000|dts=12800|dts_time=1.600000|duration=320|duration_time=0.040000|size=7|pos=287|flags=K__|data_hash=CRC32:256b90be
+packet|codec_type=audio|stream_index=0|pts=13120|pts_time=1.640000|dts=13120|dts_time=1.640000|duration=320|duration_time=0.040000|size=7|pos=294|flags=K__|data_hash=CRC32:c80df4af
+packet|codec_type=audio|stream_index=0|pts=13440|pts_time=1.680000|dts=13440|dts_time=1.680000|duration=320|duration_time=0.040000|size=7|pos=301|flags=K__|data_hash=CRC32:63d22090
+packet|codec_type=audio|stream_index=0|pts=13760|pts_time=1.720000|dts=13760|dts_time=1.720000|duration=320|duration_time=0.040000|size=7|pos=308|flags=K__|data_hash=CRC32:59355513
+packet|codec_type=audio|stream_index=0|pts=14080|pts_time=1.760000|dts=14080|dts_time=1.760000|duration=320|duration_time=0.040000|size=7|pos=315|flags=K__|data_hash=CRC32:4fa2449b
+packet|codec_type=audio|stream_index=0|pts=14400|pts_time=1.800000|dts=14400|dts_time=1.800000|duration=320|duration_time=0.040000|size=7|pos=322|flags=K__|data_hash=CRC32:19b717bf
+packet|codec_type=audio|stream_index=0|pts=14720|pts_time=1.840000|dts=14720|dts_time=1.840000|duration=320|duration_time=0.040000|size=7|pos=329|flags=K__|data_hash=CRC32:9e9b2064
+packet|codec_type=audio|stream_index=0|pts=15040|pts_time=1.880000|dts=15040|dts_time=1.880000|duration=320|duration_time=0.040000|size=7|pos=336|flags=K__|data_hash=CRC32:8ccf6e4c
+packet|codec_type=audio|stream_index=0|pts=15360|pts_time=1.920000|dts=15360|dts_time=1.920000|duration=320|duration_time=0.040000|size=7|pos=343|flags=K__|data_hash=CRC32:63e90a7a
+packet|codec_type=audio|stream_index=0|pts=15680|pts_time=1.960000|dts=15680|dts_time=1.960000|duration=320|duration_time=0.040000|size=7|pos=350|flags=K__|data_hash=CRC32:5ebaf71f
+packet|codec_type=audio|stream_index=0|pts=16000|pts_time=2.000000|dts=16000|dts_time=2.000000|duration=320|duration_time=0.040000|size=7|pos=357|flags=K__|data_hash=CRC32:664d87e3
+packet|codec_type=audio|stream_index=0|pts=16320|pts_time=2.040000|dts=16320|dts_time=2.040000|duration=320|duration_time=0.040000|size=7|pos=364|flags=K__|data_hash=CRC32:2ba4f36d
+packet|codec_type=audio|stream_index=0|pts=16640|pts_time=2.080000|dts=16640|dts_time=2.080000|duration=320|duration_time=0.040000|size=7|pos=371|flags=K__|data_hash=CRC32:905d3a66
+packet|codec_type=audio|stream_index=0|pts=16960|pts_time=2.120000|dts=16960|dts_time=2.120000|duration=320|duration_time=0.040000|size=7|pos=378|flags=K__|data_hash=CRC32:7531b467
+packet|codec_type=audio|stream_index=0|pts=17280|pts_time=2.160000|dts=17280|dts_time=2.160000|duration=320|duration_time=0.040000|size=7|pos=385|flags=K__|data_hash=CRC32:c6b57380
+packet|codec_type=audio|stream_index=0|pts=17600|pts_time=2.200000|dts=17600|dts_time=2.200000|duration=320|duration_time=0.040000|size=7|pos=392|flags=K__|data_hash=CRC32:04e359d8
+packet|codec_type=audio|stream_index=0|pts=17920|pts_time=2.240000|dts=17920|dts_time=2.240000|duration=320|duration_time=0.040000|size=7|pos=399|flags=K__|data_hash=CRC32:c13c3444
+packet|codec_type=audio|stream_index=0|pts=18240|pts_time=2.280000|dts=18240|dts_time=2.280000|duration=320|duration_time=0.040000|size=7|pos=406|flags=K__|data_hash=CRC32:40d7078a
+packet|codec_type=audio|stream_index=0|pts=18560|pts_time=2.320000|dts=18560|dts_time=2.320000|duration=320|duration_time=0.040000|size=7|pos=413|flags=K__|data_hash=CRC32:0462f263
+packet|codec_type=audio|stream_index=0|pts=18880|pts_time=2.360000|dts=18880|dts_time=2.360000|duration=320|duration_time=0.040000|size=7|pos=420|flags=K__|data_hash=CRC32:726503cc
+packet|codec_type=audio|stream_index=0|pts=19200|pts_time=2.400000|dts=19200|dts_time=2.400000|duration=320|duration_time=0.040000|size=7|pos=427|flags=K__|data_hash=CRC32:e2b95cd5
+packet|codec_type=audio|stream_index=0|pts=19520|pts_time=2.440000|dts=19520|dts_time=2.440000|duration=320|duration_time=0.040000|size=7|pos=434|flags=K__|data_hash=CRC32:f430dec4
+packet|codec_type=audio|stream_index=0|pts=19840|pts_time=2.480000|dts=19840|dts_time=2.480000|duration=320|duration_time=0.040000|size=7|pos=441|flags=K__|data_hash=CRC32:1f2cf671
+packet|codec_type=audio|stream_index=0|pts=20160|pts_time=2.520000|dts=20160|dts_time=2.520000|duration=320|duration_time=0.040000|size=7|pos=448|flags=K__|data_hash=CRC32:ca210722
+packet|codec_type=audio|stream_index=0|pts=20480|pts_time=2.560000|dts=20480|dts_time=2.560000|duration=320|duration_time=0.040000|size=7|pos=455|flags=K__|data_hash=CRC32:8148366b
+packet|codec_type=audio|stream_index=0|pts=20800|pts_time=2.600000|dts=20800|dts_time=2.600000|duration=320|duration_time=0.040000|size=7|pos=462|flags=K__|data_hash=CRC32:93d893d9
+packet|codec_type=audio|stream_index=0|pts=21120|pts_time=2.640000|dts=21120|dts_time=2.640000|duration=320|duration_time=0.040000|size=7|pos=469|flags=K__|data_hash=CRC32:46f43603
+packet|codec_type=audio|stream_index=0|pts=21440|pts_time=2.680000|dts=21440|dts_time=2.680000|duration=320|duration_time=0.040000|size=7|pos=476|flags=K__|data_hash=CRC32:3a8f189a
+packet|codec_type=audio|stream_index=0|pts=21760|pts_time=2.720000|dts=21760|dts_time=2.720000|duration=320|duration_time=0.040000|size=7|pos=483|flags=K__|data_hash=CRC32:d0997cfa
+packet|codec_type=audio|stream_index=0|pts=22080|pts_time=2.760000|dts=22080|dts_time=2.760000|duration=320|duration_time=0.040000|size=7|pos=490|flags=K__|data_hash=CRC32:16948018
+packet|codec_type=audio|stream_index=0|pts=22400|pts_time=2.800000|dts=22400|dts_time=2.800000|duration=320|duration_time=0.040000|size=7|pos=497|flags=K__|data_hash=CRC32:5765c933
+packet|codec_type=audio|stream_index=0|pts=22720|pts_time=2.840000|dts=22720|dts_time=2.840000|duration=320|duration_time=0.040000|size=7|pos=504|flags=K__|data_hash=CRC32:8b1fb92e
+packet|codec_type=audio|stream_index=0|pts=23040|pts_time=2.880000|dts=23040|dts_time=2.880000|duration=320|duration_time=0.040000|size=7|pos=511|flags=K__|data_hash=CRC32:46ec5af7
+packet|codec_type=audio|stream_index=0|pts=23360|pts_time=2.920000|dts=23360|dts_time=2.920000|duration=320|duration_time=0.040000|size=7|pos=518|flags=K__|data_hash=CRC32:b070915d
+packet|codec_type=audio|stream_index=0|pts=23680|pts_time=2.960000|dts=23680|dts_time=2.960000|duration=320|duration_time=0.040000|size=7|pos=525|flags=K__|data_hash=CRC32:482e7f51
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=24000|duration=3.000000|bit_rate=1400|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=75|extradata_size=4|extradata_hash=CRC32:fe10a913|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-1300.c2|nb_streams=1|nb_programs=0|format_name=codec2|start_time=N/A|duration=3.000000|size=532|bit_rate=1418|probe_score=51
diff --git a/tests/ref/fate/codec2-probe-1400 b/tests/ref/fate/codec2-probe-1400
new file mode 100644
index 0000000000..2eddc0f0f7
--- /dev/null
+++ b/tests/ref/fate/codec2-probe-1400
@@ -0,0 +1,77 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=320|duration_time=0.040000|size=7|pos=7|flags=K__|data_hash=CRC32:d9be5755
+packet|codec_type=audio|stream_index=0|pts=320|pts_time=0.040000|dts=320|dts_time=0.040000|duration=320|duration_time=0.040000|size=7|pos=14|flags=K__|data_hash=CRC32:472ceccd
+packet|codec_type=audio|stream_index=0|pts=640|pts_time=0.080000|dts=640|dts_time=0.080000|duration=320|duration_time=0.040000|size=7|pos=21|flags=K__|data_hash=CRC32:303b21b6
+packet|codec_type=audio|stream_index=0|pts=960|pts_time=0.120000|dts=960|dts_time=0.120000|duration=320|duration_time=0.040000|size=7|pos=28|flags=K__|data_hash=CRC32:dc2b4dd6
+packet|codec_type=audio|stream_index=0|pts=1280|pts_time=0.160000|dts=1280|dts_time=0.160000|duration=320|duration_time=0.040000|size=7|pos=35|flags=K__|data_hash=CRC32:e8888eb2
+packet|codec_type=audio|stream_index=0|pts=1600|pts_time=0.200000|dts=1600|dts_time=0.200000|duration=320|duration_time=0.040000|size=7|pos=42|flags=K__|data_hash=CRC32:fa3d0618
+packet|codec_type=audio|stream_index=0|pts=1920|pts_time=0.240000|dts=1920|dts_time=0.240000|duration=320|duration_time=0.040000|size=7|pos=49|flags=K__|data_hash=CRC32:68478d05
+packet|codec_type=audio|stream_index=0|pts=2240|pts_time=0.280000|dts=2240|dts_time=0.280000|duration=320|duration_time=0.040000|size=7|pos=56|flags=K__|data_hash=CRC32:5801bcd3
+packet|codec_type=audio|stream_index=0|pts=2560|pts_time=0.320000|dts=2560|dts_time=0.320000|duration=320|duration_time=0.040000|size=7|pos=63|flags=K__|data_hash=CRC32:35119a8e
+packet|codec_type=audio|stream_index=0|pts=2880|pts_time=0.360000|dts=2880|dts_time=0.360000|duration=320|duration_time=0.040000|size=7|pos=70|flags=K__|data_hash=CRC32:7b36b9fd
+packet|codec_type=audio|stream_index=0|pts=3200|pts_time=0.400000|dts=3200|dts_time=0.400000|duration=320|duration_time=0.040000|size=7|pos=77|flags=K__|data_hash=CRC32:efa8ba25
+packet|codec_type=audio|stream_index=0|pts=3520|pts_time=0.440000|dts=3520|dts_time=0.440000|duration=320|duration_time=0.040000|size=7|pos=84|flags=K__|data_hash=CRC32:775b298f
+packet|codec_type=audio|stream_index=0|pts=3840|pts_time=0.480000|dts=3840|dts_time=0.480000|duration=320|duration_time=0.040000|size=7|pos=91|flags=K__|data_hash=CRC32:04a24aad
+packet|codec_type=audio|stream_index=0|pts=4160|pts_time=0.520000|dts=4160|dts_time=0.520000|duration=320|duration_time=0.040000|size=7|pos=98|flags=K__|data_hash=CRC32:a258e371
+packet|codec_type=audio|stream_index=0|pts=4480|pts_time=0.560000|dts=4480|dts_time=0.560000|duration=320|duration_time=0.040000|size=7|pos=105|flags=K__|data_hash=CRC32:0f7e2ff3
+packet|codec_type=audio|stream_index=0|pts=4800|pts_time=0.600000|dts=4800|dts_time=0.600000|duration=320|duration_time=0.040000|size=7|pos=112|flags=K__|data_hash=CRC32:161ebe16
+packet|codec_type=audio|stream_index=0|pts=5120|pts_time=0.640000|dts=5120|dts_time=0.640000|duration=320|duration_time=0.040000|size=7|pos=119|flags=K__|data_hash=CRC32:5bd34080
+packet|codec_type=audio|stream_index=0|pts=5440|pts_time=0.680000|dts=5440|dts_time=0.680000|duration=320|duration_time=0.040000|size=7|pos=126|flags=K__|data_hash=CRC32:de117321
+packet|codec_type=audio|stream_index=0|pts=5760|pts_time=0.720000|dts=5760|dts_time=0.720000|duration=320|duration_time=0.040000|size=7|pos=133|flags=K__|data_hash=CRC32:159ecd57
+packet|codec_type=audio|stream_index=0|pts=6080|pts_time=0.760000|dts=6080|dts_time=0.760000|duration=320|duration_time=0.040000|size=7|pos=140|flags=K__|data_hash=CRC32:d82dcfe8
+packet|codec_type=audio|stream_index=0|pts=6400|pts_time=0.800000|dts=6400|dts_time=0.800000|duration=320|duration_time=0.040000|size=7|pos=147|flags=K__|data_hash=CRC32:76485e5a
+packet|codec_type=audio|stream_index=0|pts=6720|pts_time=0.840000|dts=6720|dts_time=0.840000|duration=320|duration_time=0.040000|size=7|pos=154|flags=K__|data_hash=CRC32:75c2dbdf
+packet|codec_type=audio|stream_index=0|pts=7040|pts_time=0.880000|dts=7040|dts_time=0.880000|duration=320|duration_time=0.040000|size=7|pos=161|flags=K__|data_hash=CRC32:a2d1ff3d
+packet|codec_type=audio|stream_index=0|pts=7360|pts_time=0.920000|dts=7360|dts_time=0.920000|duration=320|duration_time=0.040000|size=7|pos=168|flags=K__|data_hash=CRC32:098c210e
+packet|codec_type=audio|stream_index=0|pts=7680|pts_time=0.960000|dts=7680|dts_time=0.960000|duration=320|duration_time=0.040000|size=7|pos=175|flags=K__|data_hash=CRC32:4fcefaed
+packet|codec_type=audio|stream_index=0|pts=8000|pts_time=1.000000|dts=8000|dts_time=1.000000|duration=320|duration_time=0.040000|size=7|pos=182|flags=K__|data_hash=CRC32:f381c04b
+packet|codec_type=audio|stream_index=0|pts=8320|pts_time=1.040000|dts=8320|dts_time=1.040000|duration=320|duration_time=0.040000|size=7|pos=189|flags=K__|data_hash=CRC32:8fc0de5d
+packet|codec_type=audio|stream_index=0|pts=8640|pts_time=1.080000|dts=8640|dts_time=1.080000|duration=320|duration_time=0.040000|size=7|pos=196|flags=K__|data_hash=CRC32:aa70458b
+packet|codec_type=audio|stream_index=0|pts=8960|pts_time=1.120000|dts=8960|dts_time=1.120000|duration=320|duration_time=0.040000|size=7|pos=203|flags=K__|data_hash=CRC32:972ef8a3
+packet|codec_type=audio|stream_index=0|pts=9280|pts_time=1.160000|dts=9280|dts_time=1.160000|duration=320|duration_time=0.040000|size=7|pos=210|flags=K__|data_hash=CRC32:3810e83b
+packet|codec_type=audio|stream_index=0|pts=9600|pts_time=1.200000|dts=9600|dts_time=1.200000|duration=320|duration_time=0.040000|size=7|pos=217|flags=K__|data_hash=CRC32:5662fe6d
+packet|codec_type=audio|stream_index=0|pts=9920|pts_time=1.240000|dts=9920|dts_time=1.240000|duration=320|duration_time=0.040000|size=7|pos=224|flags=K__|data_hash=CRC32:c5f12521
+packet|codec_type=audio|stream_index=0|pts=10240|pts_time=1.280000|dts=10240|dts_time=1.280000|duration=320|duration_time=0.040000|size=7|pos=231|flags=K__|data_hash=CRC32:3e48352a
+packet|codec_type=audio|stream_index=0|pts=10560|pts_time=1.320000|dts=10560|dts_time=1.320000|duration=320|duration_time=0.040000|size=7|pos=238|flags=K__|data_hash=CRC32:98734d7d
+packet|codec_type=audio|stream_index=0|pts=10880|pts_time=1.360000|dts=10880|dts_time=1.360000|duration=320|duration_time=0.040000|size=7|pos=245|flags=K__|data_hash=CRC32:ac3c7179
+packet|codec_type=audio|stream_index=0|pts=11200|pts_time=1.400000|dts=11200|dts_time=1.400000|duration=320|duration_time=0.040000|size=7|pos=252|flags=K__|data_hash=CRC32:eec579b0
+packet|codec_type=audio|stream_index=0|pts=11520|pts_time=1.440000|dts=11520|dts_time=1.440000|duration=320|duration_time=0.040000|size=7|pos=259|flags=K__|data_hash=CRC32:d510fdfc
+packet|codec_type=audio|stream_index=0|pts=11840|pts_time=1.480000|dts=11840|dts_time=1.480000|duration=320|duration_time=0.040000|size=7|pos=266|flags=K__|data_hash=CRC32:eb508488
+packet|codec_type=audio|stream_index=0|pts=12160|pts_time=1.520000|dts=12160|dts_time=1.520000|duration=320|duration_time=0.040000|size=7|pos=273|flags=K__|data_hash=CRC32:22cd882f
+packet|codec_type=audio|stream_index=0|pts=12480|pts_time=1.560000|dts=12480|dts_time=1.560000|duration=320|duration_time=0.040000|size=7|pos=280|flags=K__|data_hash=CRC32:10224a43
+packet|codec_type=audio|stream_index=0|pts=12800|pts_time=1.600000|dts=12800|dts_time=1.600000|duration=320|duration_time=0.040000|size=7|pos=287|flags=K__|data_hash=CRC32:f76a89a1
+packet|codec_type=audio|stream_index=0|pts=13120|pts_time=1.640000|dts=13120|dts_time=1.640000|duration=320|duration_time=0.040000|size=7|pos=294|flags=K__|data_hash=CRC32:1f797d63
+packet|codec_type=audio|stream_index=0|pts=13440|pts_time=1.680000|dts=13440|dts_time=1.680000|duration=320|duration_time=0.040000|size=7|pos=301|flags=K__|data_hash=CRC32:7d4e0867
+packet|codec_type=audio|stream_index=0|pts=13760|pts_time=1.720000|dts=13760|dts_time=1.720000|duration=320|duration_time=0.040000|size=7|pos=308|flags=K__|data_hash=CRC32:b13935b9
+packet|codec_type=audio|stream_index=0|pts=14080|pts_time=1.760000|dts=14080|dts_time=1.760000|duration=320|duration_time=0.040000|size=7|pos=315|flags=K__|data_hash=CRC32:42c4514a
+packet|codec_type=audio|stream_index=0|pts=14400|pts_time=1.800000|dts=14400|dts_time=1.800000|duration=320|duration_time=0.040000|size=7|pos=322|flags=K__|data_hash=CRC32:b400b03c
+packet|codec_type=audio|stream_index=0|pts=14720|pts_time=1.840000|dts=14720|dts_time=1.840000|duration=320|duration_time=0.040000|size=7|pos=329|flags=K__|data_hash=CRC32:0ef28876
+packet|codec_type=audio|stream_index=0|pts=15040|pts_time=1.880000|dts=15040|dts_time=1.880000|duration=320|duration_time=0.040000|size=7|pos=336|flags=K__|data_hash=CRC32:d352c764
+packet|codec_type=audio|stream_index=0|pts=15360|pts_time=1.920000|dts=15360|dts_time=1.920000|duration=320|duration_time=0.040000|size=7|pos=343|flags=K__|data_hash=CRC32:04675798
+packet|codec_type=audio|stream_index=0|pts=15680|pts_time=1.960000|dts=15680|dts_time=1.960000|duration=320|duration_time=0.040000|size=7|pos=350|flags=K__|data_hash=CRC32:2fdcc251
+packet|codec_type=audio|stream_index=0|pts=16000|pts_time=2.000000|dts=16000|dts_time=2.000000|duration=320|duration_time=0.040000|size=7|pos=357|flags=K__|data_hash=CRC32:3cf23ace
+packet|codec_type=audio|stream_index=0|pts=16320|pts_time=2.040000|dts=16320|dts_time=2.040000|duration=320|duration_time=0.040000|size=7|pos=364|flags=K__|data_hash=CRC32:646ec910
+packet|codec_type=audio|stream_index=0|pts=16640|pts_time=2.080000|dts=16640|dts_time=2.080000|duration=320|duration_time=0.040000|size=7|pos=371|flags=K__|data_hash=CRC32:ab718053
+packet|codec_type=audio|stream_index=0|pts=16960|pts_time=2.120000|dts=16960|dts_time=2.120000|duration=320|duration_time=0.040000|size=7|pos=378|flags=K__|data_hash=CRC32:fb932a4a
+packet|codec_type=audio|stream_index=0|pts=17280|pts_time=2.160000|dts=17280|dts_time=2.160000|duration=320|duration_time=0.040000|size=7|pos=385|flags=K__|data_hash=CRC32:252f0a1d
+packet|codec_type=audio|stream_index=0|pts=17600|pts_time=2.200000|dts=17600|dts_time=2.200000|duration=320|duration_time=0.040000|size=7|pos=392|flags=K__|data_hash=CRC32:17f60429
+packet|codec_type=audio|stream_index=0|pts=17920|pts_time=2.240000|dts=17920|dts_time=2.240000|duration=320|duration_time=0.040000|size=7|pos=399|flags=K__|data_hash=CRC32:027bdb7c
+packet|codec_type=audio|stream_index=0|pts=18240|pts_time=2.280000|dts=18240|dts_time=2.280000|duration=320|duration_time=0.040000|size=7|pos=406|flags=K__|data_hash=CRC32:e1cc43e5
+packet|codec_type=audio|stream_index=0|pts=18560|pts_time=2.320000|dts=18560|dts_time=2.320000|duration=320|duration_time=0.040000|size=7|pos=413|flags=K__|data_hash=CRC32:fa19cae9
+packet|codec_type=audio|stream_index=0|pts=18880|pts_time=2.360000|dts=18880|dts_time=2.360000|duration=320|duration_time=0.040000|size=7|pos=420|flags=K__|data_hash=CRC32:956865aa
+packet|codec_type=audio|stream_index=0|pts=19200|pts_time=2.400000|dts=19200|dts_time=2.400000|duration=320|duration_time=0.040000|size=7|pos=427|flags=K__|data_hash=CRC32:72700499
+packet|codec_type=audio|stream_index=0|pts=19520|pts_time=2.440000|dts=19520|dts_time=2.440000|duration=320|duration_time=0.040000|size=7|pos=434|flags=K__|data_hash=CRC32:f1a705a6
+packet|codec_type=audio|stream_index=0|pts=19840|pts_time=2.480000|dts=19840|dts_time=2.480000|duration=320|duration_time=0.040000|size=7|pos=441|flags=K__|data_hash=CRC32:5afc0537
+packet|codec_type=audio|stream_index=0|pts=20160|pts_time=2.520000|dts=20160|dts_time=2.520000|duration=320|duration_time=0.040000|size=7|pos=448|flags=K__|data_hash=CRC32:339a433c
+packet|codec_type=audio|stream_index=0|pts=20480|pts_time=2.560000|dts=20480|dts_time=2.560000|duration=320|duration_time=0.040000|size=7|pos=455|flags=K__|data_hash=CRC32:24d56b77
+packet|codec_type=audio|stream_index=0|pts=20800|pts_time=2.600000|dts=20800|dts_time=2.600000|duration=320|duration_time=0.040000|size=7|pos=462|flags=K__|data_hash=CRC32:5179f52b
+packet|codec_type=audio|stream_index=0|pts=21120|pts_time=2.640000|dts=21120|dts_time=2.640000|duration=320|duration_time=0.040000|size=7|pos=469|flags=K__|data_hash=CRC32:16950147
+packet|codec_type=audio|stream_index=0|pts=21440|pts_time=2.680000|dts=21440|dts_time=2.680000|duration=320|duration_time=0.040000|size=7|pos=476|flags=K__|data_hash=CRC32:3986102f
+packet|codec_type=audio|stream_index=0|pts=21760|pts_time=2.720000|dts=21760|dts_time=2.720000|duration=320|duration_time=0.040000|size=7|pos=483|flags=K__|data_hash=CRC32:c7936962
+packet|codec_type=audio|stream_index=0|pts=22080|pts_time=2.760000|dts=22080|dts_time=2.760000|duration=320|duration_time=0.040000|size=7|pos=490|flags=K__|data_hash=CRC32:c75c6477
+packet|codec_type=audio|stream_index=0|pts=22400|pts_time=2.800000|dts=22400|dts_time=2.800000|duration=320|duration_time=0.040000|size=7|pos=497|flags=K__|data_hash=CRC32:1f2173e9
+packet|codec_type=audio|stream_index=0|pts=22720|pts_time=2.840000|dts=22720|dts_time=2.840000|duration=320|duration_time=0.040000|size=7|pos=504|flags=K__|data_hash=CRC32:60be28ad
+packet|codec_type=audio|stream_index=0|pts=23040|pts_time=2.880000|dts=23040|dts_time=2.880000|duration=320|duration_time=0.040000|size=7|pos=511|flags=K__|data_hash=CRC32:f8b99b5c
+packet|codec_type=audio|stream_index=0|pts=23360|pts_time=2.920000|dts=23360|dts_time=2.920000|duration=320|duration_time=0.040000|size=7|pos=518|flags=K__|data_hash=CRC32:e0d00937
+packet|codec_type=audio|stream_index=0|pts=23680|pts_time=2.960000|dts=23680|dts_time=2.960000|duration=320|duration_time=0.040000|size=7|pos=525|flags=K__|data_hash=CRC32:a34e44ad
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=24000|duration=3.000000|bit_rate=1400|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=75|extradata_size=4|extradata_hash=CRC32:b1513fd4|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-1400.c2|nb_streams=1|nb_programs=0|format_name=codec2|start_time=N/A|duration=3.000000|size=532|bit_rate=1418|probe_score=51
diff --git a/tests/ref/fate/codec2-probe-1600 b/tests/ref/fate/codec2-probe-1600
new file mode 100644
index 0000000000..9a82d24f94
--- /dev/null
+++ b/tests/ref/fate/codec2-probe-1600
@@ -0,0 +1,77 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=320|duration_time=0.040000|size=8|pos=7|flags=K__|data_hash=CRC32:5ee6636d
+packet|codec_type=audio|stream_index=0|pts=320|pts_time=0.040000|dts=320|dts_time=0.040000|duration=320|duration_time=0.040000|size=8|pos=15|flags=K__|data_hash=CRC32:be3e8ff8
+packet|codec_type=audio|stream_index=0|pts=640|pts_time=0.080000|dts=640|dts_time=0.080000|duration=320|duration_time=0.040000|size=8|pos=23|flags=K__|data_hash=CRC32:026dbc9a
+packet|codec_type=audio|stream_index=0|pts=960|pts_time=0.120000|dts=960|dts_time=0.120000|duration=320|duration_time=0.040000|size=8|pos=31|flags=K__|data_hash=CRC32:975599a2
+packet|codec_type=audio|stream_index=0|pts=1280|pts_time=0.160000|dts=1280|dts_time=0.160000|duration=320|duration_time=0.040000|size=8|pos=39|flags=K__|data_hash=CRC32:c55f65e7
+packet|codec_type=audio|stream_index=0|pts=1600|pts_time=0.200000|dts=1600|dts_time=0.200000|duration=320|duration_time=0.040000|size=8|pos=47|flags=K__|data_hash=CRC32:3731f5b3
+packet|codec_type=audio|stream_index=0|pts=1920|pts_time=0.240000|dts=1920|dts_time=0.240000|duration=320|duration_time=0.040000|size=8|pos=55|flags=K__|data_hash=CRC32:ac397199
+packet|codec_type=audio|stream_index=0|pts=2240|pts_time=0.280000|dts=2240|dts_time=0.280000|duration=320|duration_time=0.040000|size=8|pos=63|flags=K__|data_hash=CRC32:f4291bb5
+packet|codec_type=audio|stream_index=0|pts=2560|pts_time=0.320000|dts=2560|dts_time=0.320000|duration=320|duration_time=0.040000|size=8|pos=71|flags=K__|data_hash=CRC32:91d5ea5c
+packet|codec_type=audio|stream_index=0|pts=2880|pts_time=0.360000|dts=2880|dts_time=0.360000|duration=320|duration_time=0.040000|size=8|pos=79|flags=K__|data_hash=CRC32:a33f36db
+packet|codec_type=audio|stream_index=0|pts=3200|pts_time=0.400000|dts=3200|dts_time=0.400000|duration=320|duration_time=0.040000|size=8|pos=87|flags=K__|data_hash=CRC32:022e9118
+packet|codec_type=audio|stream_index=0|pts=3520|pts_time=0.440000|dts=3520|dts_time=0.440000|duration=320|duration_time=0.040000|size=8|pos=95|flags=K__|data_hash=CRC32:89470375
+packet|codec_type=audio|stream_index=0|pts=3840|pts_time=0.480000|dts=3840|dts_time=0.480000|duration=320|duration_time=0.040000|size=8|pos=103|flags=K__|data_hash=CRC32:9e9ce12c
+packet|codec_type=audio|stream_index=0|pts=4160|pts_time=0.520000|dts=4160|dts_time=0.520000|duration=320|duration_time=0.040000|size=8|pos=111|flags=K__|data_hash=CRC32:81049310
+packet|codec_type=audio|stream_index=0|pts=4480|pts_time=0.560000|dts=4480|dts_time=0.560000|duration=320|duration_time=0.040000|size=8|pos=119|flags=K__|data_hash=CRC32:f20d84a8
+packet|codec_type=audio|stream_index=0|pts=4800|pts_time=0.600000|dts=4800|dts_time=0.600000|duration=320|duration_time=0.040000|size=8|pos=127|flags=K__|data_hash=CRC32:b714b7e0
+packet|codec_type=audio|stream_index=0|pts=5120|pts_time=0.640000|dts=5120|dts_time=0.640000|duration=320|duration_time=0.040000|size=8|pos=135|flags=K__|data_hash=CRC32:22c2cdb8
+packet|codec_type=audio|stream_index=0|pts=5440|pts_time=0.680000|dts=5440|dts_time=0.680000|duration=320|duration_time=0.040000|size=8|pos=143|flags=K__|data_hash=CRC32:a2a3f33f
+packet|codec_type=audio|stream_index=0|pts=5760|pts_time=0.720000|dts=5760|dts_time=0.720000|duration=320|duration_time=0.040000|size=8|pos=151|flags=K__|data_hash=CRC32:e36b4816
+packet|codec_type=audio|stream_index=0|pts=6080|pts_time=0.760000|dts=6080|dts_time=0.760000|duration=320|duration_time=0.040000|size=8|pos=159|flags=K__|data_hash=CRC32:53903508
+packet|codec_type=audio|stream_index=0|pts=6400|pts_time=0.800000|dts=6400|dts_time=0.800000|duration=320|duration_time=0.040000|size=8|pos=167|flags=K__|data_hash=CRC32:a739c921
+packet|codec_type=audio|stream_index=0|pts=6720|pts_time=0.840000|dts=6720|dts_time=0.840000|duration=320|duration_time=0.040000|size=8|pos=175|flags=K__|data_hash=CRC32:c1cefb41
+packet|codec_type=audio|stream_index=0|pts=7040|pts_time=0.880000|dts=7040|dts_time=0.880000|duration=320|duration_time=0.040000|size=8|pos=183|flags=K__|data_hash=CRC32:544839bd
+packet|codec_type=audio|stream_index=0|pts=7360|pts_time=0.920000|dts=7360|dts_time=0.920000|duration=320|duration_time=0.040000|size=8|pos=191|flags=K__|data_hash=CRC32:9d72b84b
+packet|codec_type=audio|stream_index=0|pts=7680|pts_time=0.960000|dts=7680|dts_time=0.960000|duration=320|duration_time=0.040000|size=8|pos=199|flags=K__|data_hash=CRC32:e92e686b
+packet|codec_type=audio|stream_index=0|pts=8000|pts_time=1.000000|dts=8000|dts_time=1.000000|duration=320|duration_time=0.040000|size=8|pos=207|flags=K__|data_hash=CRC32:e8690e8e
+packet|codec_type=audio|stream_index=0|pts=8320|pts_time=1.040000|dts=8320|dts_time=1.040000|duration=320|duration_time=0.040000|size=8|pos=215|flags=K__|data_hash=CRC32:46906378
+packet|codec_type=audio|stream_index=0|pts=8640|pts_time=1.080000|dts=8640|dts_time=1.080000|duration=320|duration_time=0.040000|size=8|pos=223|flags=K__|data_hash=CRC32:20e26bd0
+packet|codec_type=audio|stream_index=0|pts=8960|pts_time=1.120000|dts=8960|dts_time=1.120000|duration=320|duration_time=0.040000|size=8|pos=231|flags=K__|data_hash=CRC32:a22670f2
+packet|codec_type=audio|stream_index=0|pts=9280|pts_time=1.160000|dts=9280|dts_time=1.160000|duration=320|duration_time=0.040000|size=8|pos=239|flags=K__|data_hash=CRC32:e017fbe1
+packet|codec_type=audio|stream_index=0|pts=9600|pts_time=1.200000|dts=9600|dts_time=1.200000|duration=320|duration_time=0.040000|size=8|pos=247|flags=K__|data_hash=CRC32:9a569bd0
+packet|codec_type=audio|stream_index=0|pts=9920|pts_time=1.240000|dts=9920|dts_time=1.240000|duration=320|duration_time=0.040000|size=8|pos=255|flags=K__|data_hash=CRC32:dc5e9ca1
+packet|codec_type=audio|stream_index=0|pts=10240|pts_time=1.280000|dts=10240|dts_time=1.280000|duration=320|duration_time=0.040000|size=8|pos=263|flags=K__|data_hash=CRC32:7e54c415
+packet|codec_type=audio|stream_index=0|pts=10560|pts_time=1.320000|dts=10560|dts_time=1.320000|duration=320|duration_time=0.040000|size=8|pos=271|flags=K__|data_hash=CRC32:ceff8d83
+packet|codec_type=audio|stream_index=0|pts=10880|pts_time=1.360000|dts=10880|dts_time=1.360000|duration=320|duration_time=0.040000|size=8|pos=279|flags=K__|data_hash=CRC32:93b9733c
+packet|codec_type=audio|stream_index=0|pts=11200|pts_time=1.400000|dts=11200|dts_time=1.400000|duration=320|duration_time=0.040000|size=8|pos=287|flags=K__|data_hash=CRC32:f325edd1
+packet|codec_type=audio|stream_index=0|pts=11520|pts_time=1.440000|dts=11520|dts_time=1.440000|duration=320|duration_time=0.040000|size=8|pos=295|flags=K__|data_hash=CRC32:064fa392
+packet|codec_type=audio|stream_index=0|pts=11840|pts_time=1.480000|dts=11840|dts_time=1.480000|duration=320|duration_time=0.040000|size=8|pos=303|flags=K__|data_hash=CRC32:489addc0
+packet|codec_type=audio|stream_index=0|pts=12160|pts_time=1.520000|dts=12160|dts_time=1.520000|duration=320|duration_time=0.040000|size=8|pos=311|flags=K__|data_hash=CRC32:62984863
+packet|codec_type=audio|stream_index=0|pts=12480|pts_time=1.560000|dts=12480|dts_time=1.560000|duration=320|duration_time=0.040000|size=8|pos=319|flags=K__|data_hash=CRC32:e6df3399
+packet|codec_type=audio|stream_index=0|pts=12800|pts_time=1.600000|dts=12800|dts_time=1.600000|duration=320|duration_time=0.040000|size=8|pos=327|flags=K__|data_hash=CRC32:884f30c5
+packet|codec_type=audio|stream_index=0|pts=13120|pts_time=1.640000|dts=13120|dts_time=1.640000|duration=320|duration_time=0.040000|size=8|pos=335|flags=K__|data_hash=CRC32:57ce7bce
+packet|codec_type=audio|stream_index=0|pts=13440|pts_time=1.680000|dts=13440|dts_time=1.680000|duration=320|duration_time=0.040000|size=8|pos=343|flags=K__|data_hash=CRC32:3f74ffe1
+packet|codec_type=audio|stream_index=0|pts=13760|pts_time=1.720000|dts=13760|dts_time=1.720000|duration=320|duration_time=0.040000|size=8|pos=351|flags=K__|data_hash=CRC32:421d5b56
+packet|codec_type=audio|stream_index=0|pts=14080|pts_time=1.760000|dts=14080|dts_time=1.760000|duration=320|duration_time=0.040000|size=8|pos=359|flags=K__|data_hash=CRC32:fa43a557
+packet|codec_type=audio|stream_index=0|pts=14400|pts_time=1.800000|dts=14400|dts_time=1.800000|duration=320|duration_time=0.040000|size=8|pos=367|flags=K__|data_hash=CRC32:a31e5662
+packet|codec_type=audio|stream_index=0|pts=14720|pts_time=1.840000|dts=14720|dts_time=1.840000|duration=320|duration_time=0.040000|size=8|pos=375|flags=K__|data_hash=CRC32:1d6c2d82
+packet|codec_type=audio|stream_index=0|pts=15040|pts_time=1.880000|dts=15040|dts_time=1.880000|duration=320|duration_time=0.040000|size=8|pos=383|flags=K__|data_hash=CRC32:d41c7355
+packet|codec_type=audio|stream_index=0|pts=15360|pts_time=1.920000|dts=15360|dts_time=1.920000|duration=320|duration_time=0.040000|size=8|pos=391|flags=K__|data_hash=CRC32:fd509a9f
+packet|codec_type=audio|stream_index=0|pts=15680|pts_time=1.960000|dts=15680|dts_time=1.960000|duration=320|duration_time=0.040000|size=8|pos=399|flags=K__|data_hash=CRC32:c4949fb0
+packet|codec_type=audio|stream_index=0|pts=16000|pts_time=2.000000|dts=16000|dts_time=2.000000|duration=320|duration_time=0.040000|size=8|pos=407|flags=K__|data_hash=CRC32:ea85ae46
+packet|codec_type=audio|stream_index=0|pts=16320|pts_time=2.040000|dts=16320|dts_time=2.040000|duration=320|duration_time=0.040000|size=8|pos=415|flags=K__|data_hash=CRC32:92011136
+packet|codec_type=audio|stream_index=0|pts=16640|pts_time=2.080000|dts=16640|dts_time=2.080000|duration=320|duration_time=0.040000|size=8|pos=423|flags=K__|data_hash=CRC32:1cecb7ed
+packet|codec_type=audio|stream_index=0|pts=16960|pts_time=2.120000|dts=16960|dts_time=2.120000|duration=320|duration_time=0.040000|size=8|pos=431|flags=K__|data_hash=CRC32:1965192e
+packet|codec_type=audio|stream_index=0|pts=17280|pts_time=2.160000|dts=17280|dts_time=2.160000|duration=320|duration_time=0.040000|size=8|pos=439|flags=K__|data_hash=CRC32:d9c6bd27
+packet|codec_type=audio|stream_index=0|pts=17600|pts_time=2.200000|dts=17600|dts_time=2.200000|duration=320|duration_time=0.040000|size=8|pos=447|flags=K__|data_hash=CRC32:919ca88a
+packet|codec_type=audio|stream_index=0|pts=17920|pts_time=2.240000|dts=17920|dts_time=2.240000|duration=320|duration_time=0.040000|size=8|pos=455|flags=K__|data_hash=CRC32:ca412c89
+packet|codec_type=audio|stream_index=0|pts=18240|pts_time=2.280000|dts=18240|dts_time=2.280000|duration=320|duration_time=0.040000|size=8|pos=463|flags=K__|data_hash=CRC32:eedd8de4
+packet|codec_type=audio|stream_index=0|pts=18560|pts_time=2.320000|dts=18560|dts_time=2.320000|duration=320|duration_time=0.040000|size=8|pos=471|flags=K__|data_hash=CRC32:3e2f328e
+packet|codec_type=audio|stream_index=0|pts=18880|pts_time=2.360000|dts=18880|dts_time=2.360000|duration=320|duration_time=0.040000|size=8|pos=479|flags=K__|data_hash=CRC32:fc6ab619
+packet|codec_type=audio|stream_index=0|pts=19200|pts_time=2.400000|dts=19200|dts_time=2.400000|duration=320|duration_time=0.040000|size=8|pos=487|flags=K__|data_hash=CRC32:2f181440
+packet|codec_type=audio|stream_index=0|pts=19520|pts_time=2.440000|dts=19520|dts_time=2.440000|duration=320|duration_time=0.040000|size=8|pos=495|flags=K__|data_hash=CRC32:b74ee980
+packet|codec_type=audio|stream_index=0|pts=19840|pts_time=2.480000|dts=19840|dts_time=2.480000|duration=320|duration_time=0.040000|size=8|pos=503|flags=K__|data_hash=CRC32:19093147
+packet|codec_type=audio|stream_index=0|pts=20160|pts_time=2.520000|dts=20160|dts_time=2.520000|duration=320|duration_time=0.040000|size=8|pos=511|flags=K__|data_hash=CRC32:0ce62839
+packet|codec_type=audio|stream_index=0|pts=20480|pts_time=2.560000|dts=20480|dts_time=2.560000|duration=320|duration_time=0.040000|size=8|pos=519|flags=K__|data_hash=CRC32:900b4646
+packet|codec_type=audio|stream_index=0|pts=20800|pts_time=2.600000|dts=20800|dts_time=2.600000|duration=320|duration_time=0.040000|size=8|pos=527|flags=K__|data_hash=CRC32:58fef2e8
+packet|codec_type=audio|stream_index=0|pts=21120|pts_time=2.640000|dts=21120|dts_time=2.640000|duration=320|duration_time=0.040000|size=8|pos=535|flags=K__|data_hash=CRC32:6a57260e
+packet|codec_type=audio|stream_index=0|pts=21440|pts_time=2.680000|dts=21440|dts_time=2.680000|duration=320|duration_time=0.040000|size=8|pos=543|flags=K__|data_hash=CRC32:cc96ecd8
+packet|codec_type=audio|stream_index=0|pts=21760|pts_time=2.720000|dts=21760|dts_time=2.720000|duration=320|duration_time=0.040000|size=8|pos=551|flags=K__|data_hash=CRC32:e1dda1d2
+packet|codec_type=audio|stream_index=0|pts=22080|pts_time=2.760000|dts=22080|dts_time=2.760000|duration=320|duration_time=0.040000|size=8|pos=559|flags=K__|data_hash=CRC32:0050e4b1
+packet|codec_type=audio|stream_index=0|pts=22400|pts_time=2.800000|dts=22400|dts_time=2.800000|duration=320|duration_time=0.040000|size=8|pos=567|flags=K__|data_hash=CRC32:160e5103
+packet|codec_type=audio|stream_index=0|pts=22720|pts_time=2.840000|dts=22720|dts_time=2.840000|duration=320|duration_time=0.040000|size=8|pos=575|flags=K__|data_hash=CRC32:08cf7f7c
+packet|codec_type=audio|stream_index=0|pts=23040|pts_time=2.880000|dts=23040|dts_time=2.880000|duration=320|duration_time=0.040000|size=8|pos=583|flags=K__|data_hash=CRC32:598eb897
+packet|codec_type=audio|stream_index=0|pts=23360|pts_time=2.920000|dts=23360|dts_time=2.920000|duration=320|duration_time=0.040000|size=8|pos=591|flags=K__|data_hash=CRC32:d9d702ff
+packet|codec_type=audio|stream_index=0|pts=23680|pts_time=2.960000|dts=23680|dts_time=2.960000|duration=320|duration_time=0.040000|size=8|pos=599|flags=K__|data_hash=CRC32:85f0fca4
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=24000|duration=3.000000|bit_rate=1600|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=75|extradata_size=4|extradata_hash=CRC32:a84a0e95|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-1600.c2|nb_streams=1|nb_programs=0|format_name=codec2|start_time=N/A|duration=3.000000|size=607|bit_rate=1618|probe_score=51
diff --git a/tests/ref/fate/codec2-probe-2400 b/tests/ref/fate/codec2-probe-2400
new file mode 100644
index 0000000000..072de7ae34
--- /dev/null
+++ b/tests/ref/fate/codec2-probe-2400
@@ -0,0 +1,152 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=160|duration_time=0.020000|size=6|pos=7|flags=K__|data_hash=CRC32:402e2751
+packet|codec_type=audio|stream_index=0|pts=160|pts_time=0.020000|dts=160|dts_time=0.020000|duration=160|duration_time=0.020000|size=6|pos=13|flags=K__|data_hash=CRC32:8be241bf
+packet|codec_type=audio|stream_index=0|pts=320|pts_time=0.040000|dts=320|dts_time=0.040000|duration=160|duration_time=0.020000|size=6|pos=19|flags=K__|data_hash=CRC32:affee1a4
+packet|codec_type=audio|stream_index=0|pts=480|pts_time=0.060000|dts=480|dts_time=0.060000|duration=160|duration_time=0.020000|size=6|pos=25|flags=K__|data_hash=CRC32:af3a2722
+packet|codec_type=audio|stream_index=0|pts=640|pts_time=0.080000|dts=640|dts_time=0.080000|duration=160|duration_time=0.020000|size=6|pos=31|flags=K__|data_hash=CRC32:ccde12cd
+packet|codec_type=audio|stream_index=0|pts=800|pts_time=0.100000|dts=800|dts_time=0.100000|duration=160|duration_time=0.020000|size=6|pos=37|flags=K__|data_hash=CRC32:53fa8852
+packet|codec_type=audio|stream_index=0|pts=960|pts_time=0.120000|dts=960|dts_time=0.120000|duration=160|duration_time=0.020000|size=6|pos=43|flags=K__|data_hash=CRC32:8a2715c3
+packet|codec_type=audio|stream_index=0|pts=1120|pts_time=0.140000|dts=1120|dts_time=0.140000|duration=160|duration_time=0.020000|size=6|pos=49|flags=K__|data_hash=CRC32:f5338fbe
+packet|codec_type=audio|stream_index=0|pts=1280|pts_time=0.160000|dts=1280|dts_time=0.160000|duration=160|duration_time=0.020000|size=6|pos=55|flags=K__|data_hash=CRC32:8c4f9b10
+packet|codec_type=audio|stream_index=0|pts=1440|pts_time=0.180000|dts=1440|dts_time=0.180000|duration=160|duration_time=0.020000|size=6|pos=61|flags=K__|data_hash=CRC32:d17ddf33
+packet|codec_type=audio|stream_index=0|pts=1600|pts_time=0.200000|dts=1600|dts_time=0.200000|duration=160|duration_time=0.020000|size=6|pos=67|flags=K__|data_hash=CRC32:1839685d
+packet|codec_type=audio|stream_index=0|pts=1760|pts_time=0.220000|dts=1760|dts_time=0.220000|duration=160|duration_time=0.020000|size=6|pos=73|flags=K__|data_hash=CRC32:fbd1489c
+packet|codec_type=audio|stream_index=0|pts=1920|pts_time=0.240000|dts=1920|dts_time=0.240000|duration=160|duration_time=0.020000|size=6|pos=79|flags=K__|data_hash=CRC32:55174066
+packet|codec_type=audio|stream_index=0|pts=2080|pts_time=0.260000|dts=2080|dts_time=0.260000|duration=160|duration_time=0.020000|size=6|pos=85|flags=K__|data_hash=CRC32:4931a27d
+packet|codec_type=audio|stream_index=0|pts=2240|pts_time=0.280000|dts=2240|dts_time=0.280000|duration=160|duration_time=0.020000|size=6|pos=91|flags=K__|data_hash=CRC32:87ef4f97
+packet|codec_type=audio|stream_index=0|pts=2400|pts_time=0.300000|dts=2400|dts_time=0.300000|duration=160|duration_time=0.020000|size=6|pos=97|flags=K__|data_hash=CRC32:2880b122
+packet|codec_type=audio|stream_index=0|pts=2560|pts_time=0.320000|dts=2560|dts_time=0.320000|duration=160|duration_time=0.020000|size=6|pos=103|flags=K__|data_hash=CRC32:b81f12ab
+packet|codec_type=audio|stream_index=0|pts=2720|pts_time=0.340000|dts=2720|dts_time=0.340000|duration=160|duration_time=0.020000|size=6|pos=109|flags=K__|data_hash=CRC32:88c6fbce
+packet|codec_type=audio|stream_index=0|pts=2880|pts_time=0.360000|dts=2880|dts_time=0.360000|duration=160|duration_time=0.020000|size=6|pos=115|flags=K__|data_hash=CRC32:18dd8acf
+packet|codec_type=audio|stream_index=0|pts=3040|pts_time=0.380000|dts=3040|dts_time=0.380000|duration=160|duration_time=0.020000|size=6|pos=121|flags=K__|data_hash=CRC32:1120be56
+packet|codec_type=audio|stream_index=0|pts=3200|pts_time=0.400000|dts=3200|dts_time=0.400000|duration=160|duration_time=0.020000|size=6|pos=127|flags=K__|data_hash=CRC32:a108d459
+packet|codec_type=audio|stream_index=0|pts=3360|pts_time=0.420000|dts=3360|dts_time=0.420000|duration=160|duration_time=0.020000|size=6|pos=133|flags=K__|data_hash=CRC32:faea488b
+packet|codec_type=audio|stream_index=0|pts=3520|pts_time=0.440000|dts=3520|dts_time=0.440000|duration=160|duration_time=0.020000|size=6|pos=139|flags=K__|data_hash=CRC32:ae3bda85
+packet|codec_type=audio|stream_index=0|pts=3680|pts_time=0.460000|dts=3680|dts_time=0.460000|duration=160|duration_time=0.020000|size=6|pos=145|flags=K__|data_hash=CRC32:27d2edc2
+packet|codec_type=audio|stream_index=0|pts=3840|pts_time=0.480000|dts=3840|dts_time=0.480000|duration=160|duration_time=0.020000|size=6|pos=151|flags=K__|data_hash=CRC32:03f15116
+packet|codec_type=audio|stream_index=0|pts=4000|pts_time=0.500000|dts=4000|dts_time=0.500000|duration=160|duration_time=0.020000|size=6|pos=157|flags=K__|data_hash=CRC32:98655fdb
+packet|codec_type=audio|stream_index=0|pts=4160|pts_time=0.520000|dts=4160|dts_time=0.520000|duration=160|duration_time=0.020000|size=6|pos=163|flags=K__|data_hash=CRC32:71b9a620
+packet|codec_type=audio|stream_index=0|pts=4320|pts_time=0.540000|dts=4320|dts_time=0.540000|duration=160|duration_time=0.020000|size=6|pos=169|flags=K__|data_hash=CRC32:6da8182b
+packet|codec_type=audio|stream_index=0|pts=4480|pts_time=0.560000|dts=4480|dts_time=0.560000|duration=160|duration_time=0.020000|size=6|pos=175|flags=K__|data_hash=CRC32:ccc47dcf
+packet|codec_type=audio|stream_index=0|pts=4640|pts_time=0.580000|dts=4640|dts_time=0.580000|duration=160|duration_time=0.020000|size=6|pos=181|flags=K__|data_hash=CRC32:40ce9cd8
+packet|codec_type=audio|stream_index=0|pts=4800|pts_time=0.600000|dts=4800|dts_time=0.600000|duration=160|duration_time=0.020000|size=6|pos=187|flags=K__|data_hash=CRC32:1935f03f
+packet|codec_type=audio|stream_index=0|pts=4960|pts_time=0.620000|dts=4960|dts_time=0.620000|duration=160|duration_time=0.020000|size=6|pos=193|flags=K__|data_hash=CRC32:3d858910
+packet|codec_type=audio|stream_index=0|pts=5120|pts_time=0.640000|dts=5120|dts_time=0.640000|duration=160|duration_time=0.020000|size=6|pos=199|flags=K__|data_hash=CRC32:fd5d8dcb
+packet|codec_type=audio|stream_index=0|pts=5280|pts_time=0.660000|dts=5280|dts_time=0.660000|duration=160|duration_time=0.020000|size=6|pos=205|flags=K__|data_hash=CRC32:e88808a0
+packet|codec_type=audio|stream_index=0|pts=5440|pts_time=0.680000|dts=5440|dts_time=0.680000|duration=160|duration_time=0.020000|size=6|pos=211|flags=K__|data_hash=CRC32:8dcaa27f
+packet|codec_type=audio|stream_index=0|pts=5600|pts_time=0.700000|dts=5600|dts_time=0.700000|duration=160|duration_time=0.020000|size=6|pos=217|flags=K__|data_hash=CRC32:ba604862
+packet|codec_type=audio|stream_index=0|pts=5760|pts_time=0.720000|dts=5760|dts_time=0.720000|duration=160|duration_time=0.020000|size=6|pos=223|flags=K__|data_hash=CRC32:f219dd08
+packet|codec_type=audio|stream_index=0|pts=5920|pts_time=0.740000|dts=5920|dts_time=0.740000|duration=160|duration_time=0.020000|size=6|pos=229|flags=K__|data_hash=CRC32:bddbe8c2
+packet|codec_type=audio|stream_index=0|pts=6080|pts_time=0.760000|dts=6080|dts_time=0.760000|duration=160|duration_time=0.020000|size=6|pos=235|flags=K__|data_hash=CRC32:77c2aa65
+packet|codec_type=audio|stream_index=0|pts=6240|pts_time=0.780000|dts=6240|dts_time=0.780000|duration=160|duration_time=0.020000|size=6|pos=241|flags=K__|data_hash=CRC32:4f2236ba
+packet|codec_type=audio|stream_index=0|pts=6400|pts_time=0.800000|dts=6400|dts_time=0.800000|duration=160|duration_time=0.020000|size=6|pos=247|flags=K__|data_hash=CRC32:19b740b5
+packet|codec_type=audio|stream_index=0|pts=6560|pts_time=0.820000|dts=6560|dts_time=0.820000|duration=160|duration_time=0.020000|size=6|pos=253|flags=K__|data_hash=CRC32:2d3d7b8b
+packet|codec_type=audio|stream_index=0|pts=6720|pts_time=0.840000|dts=6720|dts_time=0.840000|duration=160|duration_time=0.020000|size=6|pos=259|flags=K__|data_hash=CRC32:c8e01fca
+packet|codec_type=audio|stream_index=0|pts=6880|pts_time=0.860000|dts=6880|dts_time=0.860000|duration=160|duration_time=0.020000|size=6|pos=265|flags=K__|data_hash=CRC32:2d8e6d0c
+packet|codec_type=audio|stream_index=0|pts=7040|pts_time=0.880000|dts=7040|dts_time=0.880000|duration=160|duration_time=0.020000|size=6|pos=271|flags=K__|data_hash=CRC32:0fb7e084
+packet|codec_type=audio|stream_index=0|pts=7200|pts_time=0.900000|dts=7200|dts_time=0.900000|duration=160|duration_time=0.020000|size=6|pos=277|flags=K__|data_hash=CRC32:d55c3592
+packet|codec_type=audio|stream_index=0|pts=7360|pts_time=0.920000|dts=7360|dts_time=0.920000|duration=160|duration_time=0.020000|size=6|pos=283|flags=K__|data_hash=CRC32:bec93fa0
+packet|codec_type=audio|stream_index=0|pts=7520|pts_time=0.940000|dts=7520|dts_time=0.940000|duration=160|duration_time=0.020000|size=6|pos=289|flags=K__|data_hash=CRC32:eeb119cd
+packet|codec_type=audio|stream_index=0|pts=7680|pts_time=0.960000|dts=7680|dts_time=0.960000|duration=160|duration_time=0.020000|size=6|pos=295|flags=K__|data_hash=CRC32:8e91c0b0
+packet|codec_type=audio|stream_index=0|pts=7840|pts_time=0.980000|dts=7840|dts_time=0.980000|duration=160|duration_time=0.020000|size=6|pos=301|flags=K__|data_hash=CRC32:9f2b2447
+packet|codec_type=audio|stream_index=0|pts=8000|pts_time=1.000000|dts=8000|dts_time=1.000000|duration=160|duration_time=0.020000|size=6|pos=307|flags=K__|data_hash=CRC32:be48b6f6
+packet|codec_type=audio|stream_index=0|pts=8160|pts_time=1.020000|dts=8160|dts_time=1.020000|duration=160|duration_time=0.020000|size=6|pos=313|flags=K__|data_hash=CRC32:da6f4d59
+packet|codec_type=audio|stream_index=0|pts=8320|pts_time=1.040000|dts=8320|dts_time=1.040000|duration=160|duration_time=0.020000|size=6|pos=319|flags=K__|data_hash=CRC32:0b631241
+packet|codec_type=audio|stream_index=0|pts=8480|pts_time=1.060000|dts=8480|dts_time=1.060000|duration=160|duration_time=0.020000|size=6|pos=325|flags=K__|data_hash=CRC32:224860b9
+packet|codec_type=audio|stream_index=0|pts=8640|pts_time=1.080000|dts=8640|dts_time=1.080000|duration=160|duration_time=0.020000|size=6|pos=331|flags=K__|data_hash=CRC32:92165903
+packet|codec_type=audio|stream_index=0|pts=8800|pts_time=1.100000|dts=8800|dts_time=1.100000|duration=160|duration_time=0.020000|size=6|pos=337|flags=K__|data_hash=CRC32:de74d412
+packet|codec_type=audio|stream_index=0|pts=8960|pts_time=1.120000|dts=8960|dts_time=1.120000|duration=160|duration_time=0.020000|size=6|pos=343|flags=K__|data_hash=CRC32:eaf448b6
+packet|codec_type=audio|stream_index=0|pts=9120|pts_time=1.140000|dts=9120|dts_time=1.140000|duration=160|duration_time=0.020000|size=6|pos=349|flags=K__|data_hash=CRC32:65813b3f
+packet|codec_type=audio|stream_index=0|pts=9280|pts_time=1.160000|dts=9280|dts_time=1.160000|duration=160|duration_time=0.020000|size=6|pos=355|flags=K__|data_hash=CRC32:ea0b437c
+packet|codec_type=audio|stream_index=0|pts=9440|pts_time=1.180000|dts=9440|dts_time=1.180000|duration=160|duration_time=0.020000|size=6|pos=361|flags=K__|data_hash=CRC32:f1f24a3e
+packet|codec_type=audio|stream_index=0|pts=9600|pts_time=1.200000|dts=9600|dts_time=1.200000|duration=160|duration_time=0.020000|size=6|pos=367|flags=K__|data_hash=CRC32:fb104a8d
+packet|codec_type=audio|stream_index=0|pts=9760|pts_time=1.220000|dts=9760|dts_time=1.220000|duration=160|duration_time=0.020000|size=6|pos=373|flags=K__|data_hash=CRC32:baf7e25b
+packet|codec_type=audio|stream_index=0|pts=9920|pts_time=1.240000|dts=9920|dts_time=1.240000|duration=160|duration_time=0.020000|size=6|pos=379|flags=K__|data_hash=CRC32:e89acf40
+packet|codec_type=audio|stream_index=0|pts=10080|pts_time=1.260000|dts=10080|dts_time=1.260000|duration=160|duration_time=0.020000|size=6|pos=385|flags=K__|data_hash=CRC32:8d0a484c
+packet|codec_type=audio|stream_index=0|pts=10240|pts_time=1.280000|dts=10240|dts_time=1.280000|duration=160|duration_time=0.020000|size=6|pos=391|flags=K__|data_hash=CRC32:f4959014
+packet|codec_type=audio|stream_index=0|pts=10400|pts_time=1.300000|dts=10400|dts_time=1.300000|duration=160|duration_time=0.020000|size=6|pos=397|flags=K__|data_hash=CRC32:493e45dc
+packet|codec_type=audio|stream_index=0|pts=10560|pts_time=1.320000|dts=10560|dts_time=1.320000|duration=160|duration_time=0.020000|size=6|pos=403|flags=K__|data_hash=CRC32:8b3632d4
+packet|codec_type=audio|stream_index=0|pts=10720|pts_time=1.340000|dts=10720|dts_time=1.340000|duration=160|duration_time=0.020000|size=6|pos=409|flags=K__|data_hash=CRC32:b5b01e3c
+packet|codec_type=audio|stream_index=0|pts=10880|pts_time=1.360000|dts=10880|dts_time=1.360000|duration=160|duration_time=0.020000|size=6|pos=415|flags=K__|data_hash=CRC32:9df6603e
+packet|codec_type=audio|stream_index=0|pts=11040|pts_time=1.380000|dts=11040|dts_time=1.380000|duration=160|duration_time=0.020000|size=6|pos=421|flags=K__|data_hash=CRC32:d6b3c0b9
+packet|codec_type=audio|stream_index=0|pts=11200|pts_time=1.400000|dts=11200|dts_time=1.400000|duration=160|duration_time=0.020000|size=6|pos=427|flags=K__|data_hash=CRC32:70a5f8c6
+packet|codec_type=audio|stream_index=0|pts=11360|pts_time=1.420000|dts=11360|dts_time=1.420000|duration=160|duration_time=0.020000|size=6|pos=433|flags=K__|data_hash=CRC32:af88203d
+packet|codec_type=audio|stream_index=0|pts=11520|pts_time=1.440000|dts=11520|dts_time=1.440000|duration=160|duration_time=0.020000|size=6|pos=439|flags=K__|data_hash=CRC32:6c32cfdc
+packet|codec_type=audio|stream_index=0|pts=11680|pts_time=1.460000|dts=11680|dts_time=1.460000|duration=160|duration_time=0.020000|size=6|pos=445|flags=K__|data_hash=CRC32:9cf90956
+packet|codec_type=audio|stream_index=0|pts=11840|pts_time=1.480000|dts=11840|dts_time=1.480000|duration=160|duration_time=0.020000|size=6|pos=451|flags=K__|data_hash=CRC32:f5645f77
+packet|codec_type=audio|stream_index=0|pts=12000|pts_time=1.500000|dts=12000|dts_time=1.500000|duration=160|duration_time=0.020000|size=6|pos=457|flags=K__|data_hash=CRC32:f8fdf925
+packet|codec_type=audio|stream_index=0|pts=12160|pts_time=1.520000|dts=12160|dts_time=1.520000|duration=160|duration_time=0.020000|size=6|pos=463|flags=K__|data_hash=CRC32:ae74e340
+packet|codec_type=audio|stream_index=0|pts=12320|pts_time=1.540000|dts=12320|dts_time=1.540000|duration=160|duration_time=0.020000|size=6|pos=469|flags=K__|data_hash=CRC32:3c5a1592
+packet|codec_type=audio|stream_index=0|pts=12480|pts_time=1.560000|dts=12480|dts_time=1.560000|duration=160|duration_time=0.020000|size=6|pos=475|flags=K__|data_hash=CRC32:a75b0622
+packet|codec_type=audio|stream_index=0|pts=12640|pts_time=1.580000|dts=12640|dts_time=1.580000|duration=160|duration_time=0.020000|size=6|pos=481|flags=K__|data_hash=CRC32:2d9f7c6d
+packet|codec_type=audio|stream_index=0|pts=12800|pts_time=1.600000|dts=12800|dts_time=1.600000|duration=160|duration_time=0.020000|size=6|pos=487|flags=K__|data_hash=CRC32:320584d5
+packet|codec_type=audio|stream_index=0|pts=12960|pts_time=1.620000|dts=12960|dts_time=1.620000|duration=160|duration_time=0.020000|size=6|pos=493|flags=K__|data_hash=CRC32:4a739c01
+packet|codec_type=audio|stream_index=0|pts=13120|pts_time=1.640000|dts=13120|dts_time=1.640000|duration=160|duration_time=0.020000|size=6|pos=499|flags=K__|data_hash=CRC32:711dbcc9
+packet|codec_type=audio|stream_index=0|pts=13280|pts_time=1.660000|dts=13280|dts_time=1.660000|duration=160|duration_time=0.020000|size=6|pos=505|flags=K__|data_hash=CRC32:3ca47af5
+packet|codec_type=audio|stream_index=0|pts=13440|pts_time=1.680000|dts=13440|dts_time=1.680000|duration=160|duration_time=0.020000|size=6|pos=511|flags=K__|data_hash=CRC32:82de5ff5
+packet|codec_type=audio|stream_index=0|pts=13600|pts_time=1.700000|dts=13600|dts_time=1.700000|duration=160|duration_time=0.020000|size=6|pos=517|flags=K__|data_hash=CRC32:81e92684
+packet|codec_type=audio|stream_index=0|pts=13760|pts_time=1.720000|dts=13760|dts_time=1.720000|duration=160|duration_time=0.020000|size=6|pos=523|flags=K__|data_hash=CRC32:95e2cebb
+packet|codec_type=audio|stream_index=0|pts=13920|pts_time=1.740000|dts=13920|dts_time=1.740000|duration=160|duration_time=0.020000|size=6|pos=529|flags=K__|data_hash=CRC32:cbe74bb7
+packet|codec_type=audio|stream_index=0|pts=14080|pts_time=1.760000|dts=14080|dts_time=1.760000|duration=160|duration_time=0.020000|size=6|pos=535|flags=K__|data_hash=CRC32:b64ae6df
+packet|codec_type=audio|stream_index=0|pts=14240|pts_time=1.780000|dts=14240|dts_time=1.780000|duration=160|duration_time=0.020000|size=6|pos=541|flags=K__|data_hash=CRC32:63fc0221
+packet|codec_type=audio|stream_index=0|pts=14400|pts_time=1.800000|dts=14400|dts_time=1.800000|duration=160|duration_time=0.020000|size=6|pos=547|flags=K__|data_hash=CRC32:ec9e9576
+packet|codec_type=audio|stream_index=0|pts=14560|pts_time=1.820000|dts=14560|dts_time=1.820000|duration=160|duration_time=0.020000|size=6|pos=553|flags=K__|data_hash=CRC32:1e372cab
+packet|codec_type=audio|stream_index=0|pts=14720|pts_time=1.840000|dts=14720|dts_time=1.840000|duration=160|duration_time=0.020000|size=6|pos=559|flags=K__|data_hash=CRC32:7c4325b8
+packet|codec_type=audio|stream_index=0|pts=14880|pts_time=1.860000|dts=14880|dts_time=1.860000|duration=160|duration_time=0.020000|size=6|pos=565|flags=K__|data_hash=CRC32:300f6212
+packet|codec_type=audio|stream_index=0|pts=15040|pts_time=1.880000|dts=15040|dts_time=1.880000|duration=160|duration_time=0.020000|size=6|pos=571|flags=K__|data_hash=CRC32:58d56136
+packet|codec_type=audio|stream_index=0|pts=15200|pts_time=1.900000|dts=15200|dts_time=1.900000|duration=160|duration_time=0.020000|size=6|pos=577|flags=K__|data_hash=CRC32:be139dae
+packet|codec_type=audio|stream_index=0|pts=15360|pts_time=1.920000|dts=15360|dts_time=1.920000|duration=160|duration_time=0.020000|size=6|pos=583|flags=K__|data_hash=CRC32:c3193f37
+packet|codec_type=audio|stream_index=0|pts=15520|pts_time=1.940000|dts=15520|dts_time=1.940000|duration=160|duration_time=0.020000|size=6|pos=589|flags=K__|data_hash=CRC32:35a68936
+packet|codec_type=audio|stream_index=0|pts=15680|pts_time=1.960000|dts=15680|dts_time=1.960000|duration=160|duration_time=0.020000|size=6|pos=595|flags=K__|data_hash=CRC32:bbcf2d22
+packet|codec_type=audio|stream_index=0|pts=15840|pts_time=1.980000|dts=15840|dts_time=1.980000|duration=160|duration_time=0.020000|size=6|pos=601|flags=K__|data_hash=CRC32:05ffc3e6
+packet|codec_type=audio|stream_index=0|pts=16000|pts_time=2.000000|dts=16000|dts_time=2.000000|duration=160|duration_time=0.020000|size=6|pos=607|flags=K__|data_hash=CRC32:2eeb54dd
+packet|codec_type=audio|stream_index=0|pts=16160|pts_time=2.020000|dts=16160|dts_time=2.020000|duration=160|duration_time=0.020000|size=6|pos=613|flags=K__|data_hash=CRC32:aa82f7d9
+packet|codec_type=audio|stream_index=0|pts=16320|pts_time=2.040000|dts=16320|dts_time=2.040000|duration=160|duration_time=0.020000|size=6|pos=619|flags=K__|data_hash=CRC32:51a5a874
+packet|codec_type=audio|stream_index=0|pts=16480|pts_time=2.060000|dts=16480|dts_time=2.060000|duration=160|duration_time=0.020000|size=6|pos=625|flags=K__|data_hash=CRC32:f97d718b
+packet|codec_type=audio|stream_index=0|pts=16640|pts_time=2.080000|dts=16640|dts_time=2.080000|duration=160|duration_time=0.020000|size=6|pos=631|flags=K__|data_hash=CRC32:d0aded65
+packet|codec_type=audio|stream_index=0|pts=16800|pts_time=2.100000|dts=16800|dts_time=2.100000|duration=160|duration_time=0.020000|size=6|pos=637|flags=K__|data_hash=CRC32:cce5f343
+packet|codec_type=audio|stream_index=0|pts=16960|pts_time=2.120000|dts=16960|dts_time=2.120000|duration=160|duration_time=0.020000|size=6|pos=643|flags=K__|data_hash=CRC32:6dbbff59
+packet|codec_type=audio|stream_index=0|pts=17120|pts_time=2.140000|dts=17120|dts_time=2.140000|duration=160|duration_time=0.020000|size=6|pos=649|flags=K__|data_hash=CRC32:b89fea6b
+packet|codec_type=audio|stream_index=0|pts=17280|pts_time=2.160000|dts=17280|dts_time=2.160000|duration=160|duration_time=0.020000|size=6|pos=655|flags=K__|data_hash=CRC32:f53b6be6
+packet|codec_type=audio|stream_index=0|pts=17440|pts_time=2.180000|dts=17440|dts_time=2.180000|duration=160|duration_time=0.020000|size=6|pos=661|flags=K__|data_hash=CRC32:e62ac29e
+packet|codec_type=audio|stream_index=0|pts=17600|pts_time=2.200000|dts=17600|dts_time=2.200000|duration=160|duration_time=0.020000|size=6|pos=667|flags=K__|data_hash=CRC32:a58e3724
+packet|codec_type=audio|stream_index=0|pts=17760|pts_time=2.220000|dts=17760|dts_time=2.220000|duration=160|duration_time=0.020000|size=6|pos=673|flags=K__|data_hash=CRC32:cfaca7e0
+packet|codec_type=audio|stream_index=0|pts=17920|pts_time=2.240000|dts=17920|dts_time=2.240000|duration=160|duration_time=0.020000|size=6|pos=679|flags=K__|data_hash=CRC32:2aa80162
+packet|codec_type=audio|stream_index=0|pts=18080|pts_time=2.260000|dts=18080|dts_time=2.260000|duration=160|duration_time=0.020000|size=6|pos=685|flags=K__|data_hash=CRC32:d6194b5d
+packet|codec_type=audio|stream_index=0|pts=18240|pts_time=2.280000|dts=18240|dts_time=2.280000|duration=160|duration_time=0.020000|size=6|pos=691|flags=K__|data_hash=CRC32:a64477ad
+packet|codec_type=audio|stream_index=0|pts=18400|pts_time=2.300000|dts=18400|dts_time=2.300000|duration=160|duration_time=0.020000|size=6|pos=697|flags=K__|data_hash=CRC32:bc62d7fa
+packet|codec_type=audio|stream_index=0|pts=18560|pts_time=2.320000|dts=18560|dts_time=2.320000|duration=160|duration_time=0.020000|size=6|pos=703|flags=K__|data_hash=CRC32:074a6bba
+packet|codec_type=audio|stream_index=0|pts=18720|pts_time=2.340000|dts=18720|dts_time=2.340000|duration=160|duration_time=0.020000|size=6|pos=709|flags=K__|data_hash=CRC32:95682acc
+packet|codec_type=audio|stream_index=0|pts=18880|pts_time=2.360000|dts=18880|dts_time=2.360000|duration=160|duration_time=0.020000|size=6|pos=715|flags=K__|data_hash=CRC32:34fc937e
+packet|codec_type=audio|stream_index=0|pts=19040|pts_time=2.380000|dts=19040|dts_time=2.380000|duration=160|duration_time=0.020000|size=6|pos=721|flags=K__|data_hash=CRC32:38b52a3c
+packet|codec_type=audio|stream_index=0|pts=19200|pts_time=2.400000|dts=19200|dts_time=2.400000|duration=160|duration_time=0.020000|size=6|pos=727|flags=K__|data_hash=CRC32:1e72a60e
+packet|codec_type=audio|stream_index=0|pts=19360|pts_time=2.420000|dts=19360|dts_time=2.420000|duration=160|duration_time=0.020000|size=6|pos=733|flags=K__|data_hash=CRC32:c3009208
+packet|codec_type=audio|stream_index=0|pts=19520|pts_time=2.440000|dts=19520|dts_time=2.440000|duration=160|duration_time=0.020000|size=6|pos=739|flags=K__|data_hash=CRC32:7601ee4f
+packet|codec_type=audio|stream_index=0|pts=19680|pts_time=2.460000|dts=19680|dts_time=2.460000|duration=160|duration_time=0.020000|size=6|pos=745|flags=K__|data_hash=CRC32:b90922aa
+packet|codec_type=audio|stream_index=0|pts=19840|pts_time=2.480000|dts=19840|dts_time=2.480000|duration=160|duration_time=0.020000|size=6|pos=751|flags=K__|data_hash=CRC32:f0bea16a
+packet|codec_type=audio|stream_index=0|pts=20000|pts_time=2.500000|dts=20000|dts_time=2.500000|duration=160|duration_time=0.020000|size=6|pos=757|flags=K__|data_hash=CRC32:4f2609e9
+packet|codec_type=audio|stream_index=0|pts=20160|pts_time=2.520000|dts=20160|dts_time=2.520000|duration=160|duration_time=0.020000|size=6|pos=763|flags=K__|data_hash=CRC32:6972b21f
+packet|codec_type=audio|stream_index=0|pts=20320|pts_time=2.540000|dts=20320|dts_time=2.540000|duration=160|duration_time=0.020000|size=6|pos=769|flags=K__|data_hash=CRC32:3e761c95
+packet|codec_type=audio|stream_index=0|pts=20480|pts_time=2.560000|dts=20480|dts_time=2.560000|duration=160|duration_time=0.020000|size=6|pos=775|flags=K__|data_hash=CRC32:a2af0e16
+packet|codec_type=audio|stream_index=0|pts=20640|pts_time=2.580000|dts=20640|dts_time=2.580000|duration=160|duration_time=0.020000|size=6|pos=781|flags=K__|data_hash=CRC32:3ba2d588
+packet|codec_type=audio|stream_index=0|pts=20800|pts_time=2.600000|dts=20800|dts_time=2.600000|duration=160|duration_time=0.020000|size=6|pos=787|flags=K__|data_hash=CRC32:8ff827fa
+packet|codec_type=audio|stream_index=0|pts=20960|pts_time=2.620000|dts=20960|dts_time=2.620000|duration=160|duration_time=0.020000|size=6|pos=793|flags=K__|data_hash=CRC32:5c9d083c
+packet|codec_type=audio|stream_index=0|pts=21120|pts_time=2.640000|dts=21120|dts_time=2.640000|duration=160|duration_time=0.020000|size=6|pos=799|flags=K__|data_hash=CRC32:d160672b
+packet|codec_type=audio|stream_index=0|pts=21280|pts_time=2.660000|dts=21280|dts_time=2.660000|duration=160|duration_time=0.020000|size=6|pos=805|flags=K__|data_hash=CRC32:ad193206
+packet|codec_type=audio|stream_index=0|pts=21440|pts_time=2.680000|dts=21440|dts_time=2.680000|duration=160|duration_time=0.020000|size=6|pos=811|flags=K__|data_hash=CRC32:50b36f13
+packet|codec_type=audio|stream_index=0|pts=21600|pts_time=2.700000|dts=21600|dts_time=2.700000|duration=160|duration_time=0.020000|size=6|pos=817|flags=K__|data_hash=CRC32:3b976099
+packet|codec_type=audio|stream_index=0|pts=21760|pts_time=2.720000|dts=21760|dts_time=2.720000|duration=160|duration_time=0.020000|size=6|pos=823|flags=K__|data_hash=CRC32:29fed307
+packet|codec_type=audio|stream_index=0|pts=21920|pts_time=2.740000|dts=21920|dts_time=2.740000|duration=160|duration_time=0.020000|size=6|pos=829|flags=K__|data_hash=CRC32:a66ae1af
+packet|codec_type=audio|stream_index=0|pts=22080|pts_time=2.760000|dts=22080|dts_time=2.760000|duration=160|duration_time=0.020000|size=6|pos=835|flags=K__|data_hash=CRC32:3cc95c4b
+packet|codec_type=audio|stream_index=0|pts=22240|pts_time=2.780000|dts=22240|dts_time=2.780000|duration=160|duration_time=0.020000|size=6|pos=841|flags=K__|data_hash=CRC32:b72733f8
+packet|codec_type=audio|stream_index=0|pts=22400|pts_time=2.800000|dts=22400|dts_time=2.800000|duration=160|duration_time=0.020000|size=6|pos=847|flags=K__|data_hash=CRC32:0becac56
+packet|codec_type=audio|stream_index=0|pts=22560|pts_time=2.820000|dts=22560|dts_time=2.820000|duration=160|duration_time=0.020000|size=6|pos=853|flags=K__|data_hash=CRC32:353d07e3
+packet|codec_type=audio|stream_index=0|pts=22720|pts_time=2.840000|dts=22720|dts_time=2.840000|duration=160|duration_time=0.020000|size=6|pos=859|flags=K__|data_hash=CRC32:1d2448ea
+packet|codec_type=audio|stream_index=0|pts=22880|pts_time=2.860000|dts=22880|dts_time=2.860000|duration=160|duration_time=0.020000|size=6|pos=865|flags=K__|data_hash=CRC32:0e7b72ca
+packet|codec_type=audio|stream_index=0|pts=23040|pts_time=2.880000|dts=23040|dts_time=2.880000|duration=160|duration_time=0.020000|size=6|pos=871|flags=K__|data_hash=CRC32:2837dcb1
+packet|codec_type=audio|stream_index=0|pts=23200|pts_time=2.900000|dts=23200|dts_time=2.900000|duration=160|duration_time=0.020000|size=6|pos=877|flags=K__|data_hash=CRC32:9db710af
+packet|codec_type=audio|stream_index=0|pts=23360|pts_time=2.920000|dts=23360|dts_time=2.920000|duration=160|duration_time=0.020000|size=6|pos=883|flags=K__|data_hash=CRC32:a2ff0694
+packet|codec_type=audio|stream_index=0|pts=23520|pts_time=2.940000|dts=23520|dts_time=2.940000|duration=160|duration_time=0.020000|size=6|pos=889|flags=K__|data_hash=CRC32:6377f1b0
+packet|codec_type=audio|stream_index=0|pts=23680|pts_time=2.960000|dts=23680|dts_time=2.960000|duration=160|duration_time=0.020000|size=6|pos=895|flags=K__|data_hash=CRC32:7496f393
+packet|codec_type=audio|stream_index=0|pts=23840|pts_time=2.980000|dts=23840|dts_time=2.980000|duration=160|duration_time=0.020000|size=6|pos=901|flags=K__|data_hash=CRC32:2f84dbe8
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=24000|duration=3.000000|bit_rate=2400|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=150|extradata_size=4|extradata_hash=CRC32:83675d56|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-2400.c2|nb_streams=1|nb_programs=0|format_name=codec2|start_time=N/A|duration=3.000000|size=907|bit_rate=2418|probe_score=51
diff --git a/tests/ref/fate/codec2-probe-3200 b/tests/ref/fate/codec2-probe-3200
new file mode 100644
index 0000000000..9304fa4ec2
--- /dev/null
+++ b/tests/ref/fate/codec2-probe-3200
@@ -0,0 +1,152 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=160|duration_time=0.020000|size=8|pos=7|flags=K__|data_hash=CRC32:47b54c75
+packet|codec_type=audio|stream_index=0|pts=160|pts_time=0.020000|dts=160|dts_time=0.020000|duration=160|duration_time=0.020000|size=8|pos=15|flags=K__|data_hash=CRC32:7664d67c
+packet|codec_type=audio|stream_index=0|pts=320|pts_time=0.040000|dts=320|dts_time=0.040000|duration=160|duration_time=0.020000|size=8|pos=23|flags=K__|data_hash=CRC32:8661cfcf
+packet|codec_type=audio|stream_index=0|pts=480|pts_time=0.060000|dts=480|dts_time=0.060000|duration=160|duration_time=0.020000|size=8|pos=31|flags=K__|data_hash=CRC32:7058a9c8
+packet|codec_type=audio|stream_index=0|pts=640|pts_time=0.080000|dts=640|dts_time=0.080000|duration=160|duration_time=0.020000|size=8|pos=39|flags=K__|data_hash=CRC32:0ba5d0e8
+packet|codec_type=audio|stream_index=0|pts=800|pts_time=0.100000|dts=800|dts_time=0.100000|duration=160|duration_time=0.020000|size=8|pos=47|flags=K__|data_hash=CRC32:ca1b9e09
+packet|codec_type=audio|stream_index=0|pts=960|pts_time=0.120000|dts=960|dts_time=0.120000|duration=160|duration_time=0.020000|size=8|pos=55|flags=K__|data_hash=CRC32:cc6efcdb
+packet|codec_type=audio|stream_index=0|pts=1120|pts_time=0.140000|dts=1120|dts_time=0.140000|duration=160|duration_time=0.020000|size=8|pos=63|flags=K__|data_hash=CRC32:d38a7221
+packet|codec_type=audio|stream_index=0|pts=1280|pts_time=0.160000|dts=1280|dts_time=0.160000|duration=160|duration_time=0.020000|size=8|pos=71|flags=K__|data_hash=CRC32:c2890544
+packet|codec_type=audio|stream_index=0|pts=1440|pts_time=0.180000|dts=1440|dts_time=0.180000|duration=160|duration_time=0.020000|size=8|pos=79|flags=K__|data_hash=CRC32:ef6b161c
+packet|codec_type=audio|stream_index=0|pts=1600|pts_time=0.200000|dts=1600|dts_time=0.200000|duration=160|duration_time=0.020000|size=8|pos=87|flags=K__|data_hash=CRC32:0a8424a9
+packet|codec_type=audio|stream_index=0|pts=1760|pts_time=0.220000|dts=1760|dts_time=0.220000|duration=160|duration_time=0.020000|size=8|pos=95|flags=K__|data_hash=CRC32:e2fcc803
+packet|codec_type=audio|stream_index=0|pts=1920|pts_time=0.240000|dts=1920|dts_time=0.240000|duration=160|duration_time=0.020000|size=8|pos=103|flags=K__|data_hash=CRC32:93fba530
+packet|codec_type=audio|stream_index=0|pts=2080|pts_time=0.260000|dts=2080|dts_time=0.260000|duration=160|duration_time=0.020000|size=8|pos=111|flags=K__|data_hash=CRC32:51551839
+packet|codec_type=audio|stream_index=0|pts=2240|pts_time=0.280000|dts=2240|dts_time=0.280000|duration=160|duration_time=0.020000|size=8|pos=119|flags=K__|data_hash=CRC32:fff36795
+packet|codec_type=audio|stream_index=0|pts=2400|pts_time=0.300000|dts=2400|dts_time=0.300000|duration=160|duration_time=0.020000|size=8|pos=127|flags=K__|data_hash=CRC32:0e5c63bb
+packet|codec_type=audio|stream_index=0|pts=2560|pts_time=0.320000|dts=2560|dts_time=0.320000|duration=160|duration_time=0.020000|size=8|pos=135|flags=K__|data_hash=CRC32:d769159b
+packet|codec_type=audio|stream_index=0|pts=2720|pts_time=0.340000|dts=2720|dts_time=0.340000|duration=160|duration_time=0.020000|size=8|pos=143|flags=K__|data_hash=CRC32:11343ea9
+packet|codec_type=audio|stream_index=0|pts=2880|pts_time=0.360000|dts=2880|dts_time=0.360000|duration=160|duration_time=0.020000|size=8|pos=151|flags=K__|data_hash=CRC32:b4a85c0c
+packet|codec_type=audio|stream_index=0|pts=3040|pts_time=0.380000|dts=3040|dts_time=0.380000|duration=160|duration_time=0.020000|size=8|pos=159|flags=K__|data_hash=CRC32:3f5e482a
+packet|codec_type=audio|stream_index=0|pts=3200|pts_time=0.400000|dts=3200|dts_time=0.400000|duration=160|duration_time=0.020000|size=8|pos=167|flags=K__|data_hash=CRC32:d7ccac19
+packet|codec_type=audio|stream_index=0|pts=3360|pts_time=0.420000|dts=3360|dts_time=0.420000|duration=160|duration_time=0.020000|size=8|pos=175|flags=K__|data_hash=CRC32:bac75596
+packet|codec_type=audio|stream_index=0|pts=3520|pts_time=0.440000|dts=3520|dts_time=0.440000|duration=160|duration_time=0.020000|size=8|pos=183|flags=K__|data_hash=CRC32:c15a01e7
+packet|codec_type=audio|stream_index=0|pts=3680|pts_time=0.460000|dts=3680|dts_time=0.460000|duration=160|duration_time=0.020000|size=8|pos=191|flags=K__|data_hash=CRC32:e055d60e
+packet|codec_type=audio|stream_index=0|pts=3840|pts_time=0.480000|dts=3840|dts_time=0.480000|duration=160|duration_time=0.020000|size=8|pos=199|flags=K__|data_hash=CRC32:b8ad40fd
+packet|codec_type=audio|stream_index=0|pts=4000|pts_time=0.500000|dts=4000|dts_time=0.500000|duration=160|duration_time=0.020000|size=8|pos=207|flags=K__|data_hash=CRC32:5ca3022c
+packet|codec_type=audio|stream_index=0|pts=4160|pts_time=0.520000|dts=4160|dts_time=0.520000|duration=160|duration_time=0.020000|size=8|pos=215|flags=K__|data_hash=CRC32:cffb0ec4
+packet|codec_type=audio|stream_index=0|pts=4320|pts_time=0.540000|dts=4320|dts_time=0.540000|duration=160|duration_time=0.020000|size=8|pos=223|flags=K__|data_hash=CRC32:af8ee69f
+packet|codec_type=audio|stream_index=0|pts=4480|pts_time=0.560000|dts=4480|dts_time=0.560000|duration=160|duration_time=0.020000|size=8|pos=231|flags=K__|data_hash=CRC32:801bd028
+packet|codec_type=audio|stream_index=0|pts=4640|pts_time=0.580000|dts=4640|dts_time=0.580000|duration=160|duration_time=0.020000|size=8|pos=239|flags=K__|data_hash=CRC32:b341a2dc
+packet|codec_type=audio|stream_index=0|pts=4800|pts_time=0.600000|dts=4800|dts_time=0.600000|duration=160|duration_time=0.020000|size=8|pos=247|flags=K__|data_hash=CRC32:2efe16db
+packet|codec_type=audio|stream_index=0|pts=4960|pts_time=0.620000|dts=4960|dts_time=0.620000|duration=160|duration_time=0.020000|size=8|pos=255|flags=K__|data_hash=CRC32:56e06065
+packet|codec_type=audio|stream_index=0|pts=5120|pts_time=0.640000|dts=5120|dts_time=0.640000|duration=160|duration_time=0.020000|size=8|pos=263|flags=K__|data_hash=CRC32:d67395f0
+packet|codec_type=audio|stream_index=0|pts=5280|pts_time=0.660000|dts=5280|dts_time=0.660000|duration=160|duration_time=0.020000|size=8|pos=271|flags=K__|data_hash=CRC32:ea630299
+packet|codec_type=audio|stream_index=0|pts=5440|pts_time=0.680000|dts=5440|dts_time=0.680000|duration=160|duration_time=0.020000|size=8|pos=279|flags=K__|data_hash=CRC32:ad26cf3e
+packet|codec_type=audio|stream_index=0|pts=5600|pts_time=0.700000|dts=5600|dts_time=0.700000|duration=160|duration_time=0.020000|size=8|pos=287|flags=K__|data_hash=CRC32:0bce57d3
+packet|codec_type=audio|stream_index=0|pts=5760|pts_time=0.720000|dts=5760|dts_time=0.720000|duration=160|duration_time=0.020000|size=8|pos=295|flags=K__|data_hash=CRC32:91e4488f
+packet|codec_type=audio|stream_index=0|pts=5920|pts_time=0.740000|dts=5920|dts_time=0.740000|duration=160|duration_time=0.020000|size=8|pos=303|flags=K__|data_hash=CRC32:f959df52
+packet|codec_type=audio|stream_index=0|pts=6080|pts_time=0.760000|dts=6080|dts_time=0.760000|duration=160|duration_time=0.020000|size=8|pos=311|flags=K__|data_hash=CRC32:f65c4d6d
+packet|codec_type=audio|stream_index=0|pts=6240|pts_time=0.780000|dts=6240|dts_time=0.780000|duration=160|duration_time=0.020000|size=8|pos=319|flags=K__|data_hash=CRC32:bf19e990
+packet|codec_type=audio|stream_index=0|pts=6400|pts_time=0.800000|dts=6400|dts_time=0.800000|duration=160|duration_time=0.020000|size=8|pos=327|flags=K__|data_hash=CRC32:fbfe411c
+packet|codec_type=audio|stream_index=0|pts=6560|pts_time=0.820000|dts=6560|dts_time=0.820000|duration=160|duration_time=0.020000|size=8|pos=335|flags=K__|data_hash=CRC32:a11d6f6a
+packet|codec_type=audio|stream_index=0|pts=6720|pts_time=0.840000|dts=6720|dts_time=0.840000|duration=160|duration_time=0.020000|size=8|pos=343|flags=K__|data_hash=CRC32:194e2ca8
+packet|codec_type=audio|stream_index=0|pts=6880|pts_time=0.860000|dts=6880|dts_time=0.860000|duration=160|duration_time=0.020000|size=8|pos=351|flags=K__|data_hash=CRC32:aeeb8970
+packet|codec_type=audio|stream_index=0|pts=7040|pts_time=0.880000|dts=7040|dts_time=0.880000|duration=160|duration_time=0.020000|size=8|pos=359|flags=K__|data_hash=CRC32:b5c2835f
+packet|codec_type=audio|stream_index=0|pts=7200|pts_time=0.900000|dts=7200|dts_time=0.900000|duration=160|duration_time=0.020000|size=8|pos=367|flags=K__|data_hash=CRC32:53911676
+packet|codec_type=audio|stream_index=0|pts=7360|pts_time=0.920000|dts=7360|dts_time=0.920000|duration=160|duration_time=0.020000|size=8|pos=375|flags=K__|data_hash=CRC32:a65b4b7f
+packet|codec_type=audio|stream_index=0|pts=7520|pts_time=0.940000|dts=7520|dts_time=0.940000|duration=160|duration_time=0.020000|size=8|pos=383|flags=K__|data_hash=CRC32:7d137108
+packet|codec_type=audio|stream_index=0|pts=7680|pts_time=0.960000|dts=7680|dts_time=0.960000|duration=160|duration_time=0.020000|size=8|pos=391|flags=K__|data_hash=CRC32:d791c7e1
+packet|codec_type=audio|stream_index=0|pts=7840|pts_time=0.980000|dts=7840|dts_time=0.980000|duration=160|duration_time=0.020000|size=8|pos=399|flags=K__|data_hash=CRC32:8e83f20c
+packet|codec_type=audio|stream_index=0|pts=8000|pts_time=1.000000|dts=8000|dts_time=1.000000|duration=160|duration_time=0.020000|size=8|pos=407|flags=K__|data_hash=CRC32:fc0a40f8
+packet|codec_type=audio|stream_index=0|pts=8160|pts_time=1.020000|dts=8160|dts_time=1.020000|duration=160|duration_time=0.020000|size=8|pos=415|flags=K__|data_hash=CRC32:9e815f10
+packet|codec_type=audio|stream_index=0|pts=8320|pts_time=1.040000|dts=8320|dts_time=1.040000|duration=160|duration_time=0.020000|size=8|pos=423|flags=K__|data_hash=CRC32:88257108
+packet|codec_type=audio|stream_index=0|pts=8480|pts_time=1.060000|dts=8480|dts_time=1.060000|duration=160|duration_time=0.020000|size=8|pos=431|flags=K__|data_hash=CRC32:a3d5806d
+packet|codec_type=audio|stream_index=0|pts=8640|pts_time=1.080000|dts=8640|dts_time=1.080000|duration=160|duration_time=0.020000|size=8|pos=439|flags=K__|data_hash=CRC32:cd2a6050
+packet|codec_type=audio|stream_index=0|pts=8800|pts_time=1.100000|dts=8800|dts_time=1.100000|duration=160|duration_time=0.020000|size=8|pos=447|flags=K__|data_hash=CRC32:2039c87c
+packet|codec_type=audio|stream_index=0|pts=8960|pts_time=1.120000|dts=8960|dts_time=1.120000|duration=160|duration_time=0.020000|size=8|pos=455|flags=K__|data_hash=CRC32:680ce279
+packet|codec_type=audio|stream_index=0|pts=9120|pts_time=1.140000|dts=9120|dts_time=1.140000|duration=160|duration_time=0.020000|size=8|pos=463|flags=K__|data_hash=CRC32:9f59d8e3
+packet|codec_type=audio|stream_index=0|pts=9280|pts_time=1.160000|dts=9280|dts_time=1.160000|duration=160|duration_time=0.020000|size=8|pos=471|flags=K__|data_hash=CRC32:80e38773
+packet|codec_type=audio|stream_index=0|pts=9440|pts_time=1.180000|dts=9440|dts_time=1.180000|duration=160|duration_time=0.020000|size=8|pos=479|flags=K__|data_hash=CRC32:be7ee487
+packet|codec_type=audio|stream_index=0|pts=9600|pts_time=1.200000|dts=9600|dts_time=1.200000|duration=160|duration_time=0.020000|size=8|pos=487|flags=K__|data_hash=CRC32:20cde7e5
+packet|codec_type=audio|stream_index=0|pts=9760|pts_time=1.220000|dts=9760|dts_time=1.220000|duration=160|duration_time=0.020000|size=8|pos=495|flags=K__|data_hash=CRC32:be2a5d03
+packet|codec_type=audio|stream_index=0|pts=9920|pts_time=1.240000|dts=9920|dts_time=1.240000|duration=160|duration_time=0.020000|size=8|pos=503|flags=K__|data_hash=CRC32:bdf71e68
+packet|codec_type=audio|stream_index=0|pts=10080|pts_time=1.260000|dts=10080|dts_time=1.260000|duration=160|duration_time=0.020000|size=8|pos=511|flags=K__|data_hash=CRC32:789c59d4
+packet|codec_type=audio|stream_index=0|pts=10240|pts_time=1.280000|dts=10240|dts_time=1.280000|duration=160|duration_time=0.020000|size=8|pos=519|flags=K__|data_hash=CRC32:370d29cb
+packet|codec_type=audio|stream_index=0|pts=10400|pts_time=1.300000|dts=10400|dts_time=1.300000|duration=160|duration_time=0.020000|size=8|pos=527|flags=K__|data_hash=CRC32:6277e2b0
+packet|codec_type=audio|stream_index=0|pts=10560|pts_time=1.320000|dts=10560|dts_time=1.320000|duration=160|duration_time=0.020000|size=8|pos=535|flags=K__|data_hash=CRC32:40d368d8
+packet|codec_type=audio|stream_index=0|pts=10720|pts_time=1.340000|dts=10720|dts_time=1.340000|duration=160|duration_time=0.020000|size=8|pos=543|flags=K__|data_hash=CRC32:fc896dc9
+packet|codec_type=audio|stream_index=0|pts=10880|pts_time=1.360000|dts=10880|dts_time=1.360000|duration=160|duration_time=0.020000|size=8|pos=551|flags=K__|data_hash=CRC32:44664ab4
+packet|codec_type=audio|stream_index=0|pts=11040|pts_time=1.380000|dts=11040|dts_time=1.380000|duration=160|duration_time=0.020000|size=8|pos=559|flags=K__|data_hash=CRC32:7b74748f
+packet|codec_type=audio|stream_index=0|pts=11200|pts_time=1.400000|dts=11200|dts_time=1.400000|duration=160|duration_time=0.020000|size=8|pos=567|flags=K__|data_hash=CRC32:859edfa6
+packet|codec_type=audio|stream_index=0|pts=11360|pts_time=1.420000|dts=11360|dts_time=1.420000|duration=160|duration_time=0.020000|size=8|pos=575|flags=K__|data_hash=CRC32:cefdc5f3
+packet|codec_type=audio|stream_index=0|pts=11520|pts_time=1.440000|dts=11520|dts_time=1.440000|duration=160|duration_time=0.020000|size=8|pos=583|flags=K__|data_hash=CRC32:2a9a705c
+packet|codec_type=audio|stream_index=0|pts=11680|pts_time=1.460000|dts=11680|dts_time=1.460000|duration=160|duration_time=0.020000|size=8|pos=591|flags=K__|data_hash=CRC32:fa30bf2f
+packet|codec_type=audio|stream_index=0|pts=11840|pts_time=1.480000|dts=11840|dts_time=1.480000|duration=160|duration_time=0.020000|size=8|pos=599|flags=K__|data_hash=CRC32:a107bd55
+packet|codec_type=audio|stream_index=0|pts=12000|pts_time=1.500000|dts=12000|dts_time=1.500000|duration=160|duration_time=0.020000|size=8|pos=607|flags=K__|data_hash=CRC32:b419e854
+packet|codec_type=audio|stream_index=0|pts=12160|pts_time=1.520000|dts=12160|dts_time=1.520000|duration=160|duration_time=0.020000|size=8|pos=615|flags=K__|data_hash=CRC32:8282f45a
+packet|codec_type=audio|stream_index=0|pts=12320|pts_time=1.540000|dts=12320|dts_time=1.540000|duration=160|duration_time=0.020000|size=8|pos=623|flags=K__|data_hash=CRC32:88b8a885
+packet|codec_type=audio|stream_index=0|pts=12480|pts_time=1.560000|dts=12480|dts_time=1.560000|duration=160|duration_time=0.020000|size=8|pos=631|flags=K__|data_hash=CRC32:2b40fc69
+packet|codec_type=audio|stream_index=0|pts=12640|pts_time=1.580000|dts=12640|dts_time=1.580000|duration=160|duration_time=0.020000|size=8|pos=639|flags=K__|data_hash=CRC32:ecf3fa63
+packet|codec_type=audio|stream_index=0|pts=12800|pts_time=1.600000|dts=12800|dts_time=1.600000|duration=160|duration_time=0.020000|size=8|pos=647|flags=K__|data_hash=CRC32:fed084af
+packet|codec_type=audio|stream_index=0|pts=12960|pts_time=1.620000|dts=12960|dts_time=1.620000|duration=160|duration_time=0.020000|size=8|pos=655|flags=K__|data_hash=CRC32:34db7605
+packet|codec_type=audio|stream_index=0|pts=13120|pts_time=1.640000|dts=13120|dts_time=1.640000|duration=160|duration_time=0.020000|size=8|pos=663|flags=K__|data_hash=CRC32:98b02867
+packet|codec_type=audio|stream_index=0|pts=13280|pts_time=1.660000|dts=13280|dts_time=1.660000|duration=160|duration_time=0.020000|size=8|pos=671|flags=K__|data_hash=CRC32:dc1ba7d8
+packet|codec_type=audio|stream_index=0|pts=13440|pts_time=1.680000|dts=13440|dts_time=1.680000|duration=160|duration_time=0.020000|size=8|pos=679|flags=K__|data_hash=CRC32:c6d4f493
+packet|codec_type=audio|stream_index=0|pts=13600|pts_time=1.700000|dts=13600|dts_time=1.700000|duration=160|duration_time=0.020000|size=8|pos=687|flags=K__|data_hash=CRC32:893fef83
+packet|codec_type=audio|stream_index=0|pts=13760|pts_time=1.720000|dts=13760|dts_time=1.720000|duration=160|duration_time=0.020000|size=8|pos=695|flags=K__|data_hash=CRC32:363fad22
+packet|codec_type=audio|stream_index=0|pts=13920|pts_time=1.740000|dts=13920|dts_time=1.740000|duration=160|duration_time=0.020000|size=8|pos=703|flags=K__|data_hash=CRC32:68c171c3
+packet|codec_type=audio|stream_index=0|pts=14080|pts_time=1.760000|dts=14080|dts_time=1.760000|duration=160|duration_time=0.020000|size=8|pos=711|flags=K__|data_hash=CRC32:ef518c17
+packet|codec_type=audio|stream_index=0|pts=14240|pts_time=1.780000|dts=14240|dts_time=1.780000|duration=160|duration_time=0.020000|size=8|pos=719|flags=K__|data_hash=CRC32:aabef5df
+packet|codec_type=audio|stream_index=0|pts=14400|pts_time=1.800000|dts=14400|dts_time=1.800000|duration=160|duration_time=0.020000|size=8|pos=727|flags=K__|data_hash=CRC32:1e68fa09
+packet|codec_type=audio|stream_index=0|pts=14560|pts_time=1.820000|dts=14560|dts_time=1.820000|duration=160|duration_time=0.020000|size=8|pos=735|flags=K__|data_hash=CRC32:1b656207
+packet|codec_type=audio|stream_index=0|pts=14720|pts_time=1.840000|dts=14720|dts_time=1.840000|duration=160|duration_time=0.020000|size=8|pos=743|flags=K__|data_hash=CRC32:e62ca880
+packet|codec_type=audio|stream_index=0|pts=14880|pts_time=1.860000|dts=14880|dts_time=1.860000|duration=160|duration_time=0.020000|size=8|pos=751|flags=K__|data_hash=CRC32:35fc5ccc
+packet|codec_type=audio|stream_index=0|pts=15040|pts_time=1.880000|dts=15040|dts_time=1.880000|duration=160|duration_time=0.020000|size=8|pos=759|flags=K__|data_hash=CRC32:4c0a7559
+packet|codec_type=audio|stream_index=0|pts=15200|pts_time=1.900000|dts=15200|dts_time=1.900000|duration=160|duration_time=0.020000|size=8|pos=767|flags=K__|data_hash=CRC32:407332b8
+packet|codec_type=audio|stream_index=0|pts=15360|pts_time=1.920000|dts=15360|dts_time=1.920000|duration=160|duration_time=0.020000|size=8|pos=775|flags=K__|data_hash=CRC32:ee72d7be
+packet|codec_type=audio|stream_index=0|pts=15520|pts_time=1.940000|dts=15520|dts_time=1.940000|duration=160|duration_time=0.020000|size=8|pos=783|flags=K__|data_hash=CRC32:99e5ba29
+packet|codec_type=audio|stream_index=0|pts=15680|pts_time=1.960000|dts=15680|dts_time=1.960000|duration=160|duration_time=0.020000|size=8|pos=791|flags=K__|data_hash=CRC32:b46c2182
+packet|codec_type=audio|stream_index=0|pts=15840|pts_time=1.980000|dts=15840|dts_time=1.980000|duration=160|duration_time=0.020000|size=8|pos=799|flags=K__|data_hash=CRC32:7bc0ff30
+packet|codec_type=audio|stream_index=0|pts=16000|pts_time=2.000000|dts=16000|dts_time=2.000000|duration=160|duration_time=0.020000|size=8|pos=807|flags=K__|data_hash=CRC32:2a250506
+packet|codec_type=audio|stream_index=0|pts=16160|pts_time=2.020000|dts=16160|dts_time=2.020000|duration=160|duration_time=0.020000|size=8|pos=815|flags=K__|data_hash=CRC32:692cb5c1
+packet|codec_type=audio|stream_index=0|pts=16320|pts_time=2.040000|dts=16320|dts_time=2.040000|duration=160|duration_time=0.020000|size=8|pos=823|flags=K__|data_hash=CRC32:e96d9f46
+packet|codec_type=audio|stream_index=0|pts=16480|pts_time=2.060000|dts=16480|dts_time=2.060000|duration=160|duration_time=0.020000|size=8|pos=831|flags=K__|data_hash=CRC32:cf89302f
+packet|codec_type=audio|stream_index=0|pts=16640|pts_time=2.080000|dts=16640|dts_time=2.080000|duration=160|duration_time=0.020000|size=8|pos=839|flags=K__|data_hash=CRC32:9ce949ff
+packet|codec_type=audio|stream_index=0|pts=16800|pts_time=2.100000|dts=16800|dts_time=2.100000|duration=160|duration_time=0.020000|size=8|pos=847|flags=K__|data_hash=CRC32:2fbd2ad7
+packet|codec_type=audio|stream_index=0|pts=16960|pts_time=2.120000|dts=16960|dts_time=2.120000|duration=160|duration_time=0.020000|size=8|pos=855|flags=K__|data_hash=CRC32:5cdb3473
+packet|codec_type=audio|stream_index=0|pts=17120|pts_time=2.140000|dts=17120|dts_time=2.140000|duration=160|duration_time=0.020000|size=8|pos=863|flags=K__|data_hash=CRC32:7e2da2aa
+packet|codec_type=audio|stream_index=0|pts=17280|pts_time=2.160000|dts=17280|dts_time=2.160000|duration=160|duration_time=0.020000|size=8|pos=871|flags=K__|data_hash=CRC32:de4f030f
+packet|codec_type=audio|stream_index=0|pts=17440|pts_time=2.180000|dts=17440|dts_time=2.180000|duration=160|duration_time=0.020000|size=8|pos=879|flags=K__|data_hash=CRC32:dd087894
+packet|codec_type=audio|stream_index=0|pts=17600|pts_time=2.200000|dts=17600|dts_time=2.200000|duration=160|duration_time=0.020000|size=8|pos=887|flags=K__|data_hash=CRC32:45353c9d
+packet|codec_type=audio|stream_index=0|pts=17760|pts_time=2.220000|dts=17760|dts_time=2.220000|duration=160|duration_time=0.020000|size=8|pos=895|flags=K__|data_hash=CRC32:bc1edba8
+packet|codec_type=audio|stream_index=0|pts=17920|pts_time=2.240000|dts=17920|dts_time=2.240000|duration=160|duration_time=0.020000|size=8|pos=903|flags=K__|data_hash=CRC32:b2a3abca
+packet|codec_type=audio|stream_index=0|pts=18080|pts_time=2.260000|dts=18080|dts_time=2.260000|duration=160|duration_time=0.020000|size=8|pos=911|flags=K__|data_hash=CRC32:30e293f8
+packet|codec_type=audio|stream_index=0|pts=18240|pts_time=2.280000|dts=18240|dts_time=2.280000|duration=160|duration_time=0.020000|size=8|pos=919|flags=K__|data_hash=CRC32:14c3a2ab
+packet|codec_type=audio|stream_index=0|pts=18400|pts_time=2.300000|dts=18400|dts_time=2.300000|duration=160|duration_time=0.020000|size=8|pos=927|flags=K__|data_hash=CRC32:8db10f4e
+packet|codec_type=audio|stream_index=0|pts=18560|pts_time=2.320000|dts=18560|dts_time=2.320000|duration=160|duration_time=0.020000|size=8|pos=935|flags=K__|data_hash=CRC32:1d254096
+packet|codec_type=audio|stream_index=0|pts=18720|pts_time=2.340000|dts=18720|dts_time=2.340000|duration=160|duration_time=0.020000|size=8|pos=943|flags=K__|data_hash=CRC32:49e8c884
+packet|codec_type=audio|stream_index=0|pts=18880|pts_time=2.360000|dts=18880|dts_time=2.360000|duration=160|duration_time=0.020000|size=8|pos=951|flags=K__|data_hash=CRC32:d36923e0
+packet|codec_type=audio|stream_index=0|pts=19040|pts_time=2.380000|dts=19040|dts_time=2.380000|duration=160|duration_time=0.020000|size=8|pos=959|flags=K__|data_hash=CRC32:d893b966
+packet|codec_type=audio|stream_index=0|pts=19200|pts_time=2.400000|dts=19200|dts_time=2.400000|duration=160|duration_time=0.020000|size=8|pos=967|flags=K__|data_hash=CRC32:0e121744
+packet|codec_type=audio|stream_index=0|pts=19360|pts_time=2.420000|dts=19360|dts_time=2.420000|duration=160|duration_time=0.020000|size=8|pos=975|flags=K__|data_hash=CRC32:683ac084
+packet|codec_type=audio|stream_index=0|pts=19520|pts_time=2.440000|dts=19520|dts_time=2.440000|duration=160|duration_time=0.020000|size=8|pos=983|flags=K__|data_hash=CRC32:693c530f
+packet|codec_type=audio|stream_index=0|pts=19680|pts_time=2.460000|dts=19680|dts_time=2.460000|duration=160|duration_time=0.020000|size=8|pos=991|flags=K__|data_hash=CRC32:419bda2b
+packet|codec_type=audio|stream_index=0|pts=19840|pts_time=2.480000|dts=19840|dts_time=2.480000|duration=160|duration_time=0.020000|size=8|pos=999|flags=K__|data_hash=CRC32:31e5fdb6
+packet|codec_type=audio|stream_index=0|pts=20000|pts_time=2.500000|dts=20000|dts_time=2.500000|duration=160|duration_time=0.020000|size=8|pos=1007|flags=K__|data_hash=CRC32:246a56c7
+packet|codec_type=audio|stream_index=0|pts=20160|pts_time=2.520000|dts=20160|dts_time=2.520000|duration=160|duration_time=0.020000|size=8|pos=1015|flags=K__|data_hash=CRC32:d08cd880
+packet|codec_type=audio|stream_index=0|pts=20320|pts_time=2.540000|dts=20320|dts_time=2.540000|duration=160|duration_time=0.020000|size=8|pos=1023|flags=K__|data_hash=CRC32:7ace8362
+packet|codec_type=audio|stream_index=0|pts=20480|pts_time=2.560000|dts=20480|dts_time=2.560000|duration=160|duration_time=0.020000|size=8|pos=1031|flags=K__|data_hash=CRC32:57f5b70f
+packet|codec_type=audio|stream_index=0|pts=20640|pts_time=2.580000|dts=20640|dts_time=2.580000|duration=160|duration_time=0.020000|size=8|pos=1039|flags=K__|data_hash=CRC32:09a45a11
+packet|codec_type=audio|stream_index=0|pts=20800|pts_time=2.600000|dts=20800|dts_time=2.600000|duration=160|duration_time=0.020000|size=8|pos=1047|flags=K__|data_hash=CRC32:9a4f6bc7
+packet|codec_type=audio|stream_index=0|pts=20960|pts_time=2.620000|dts=20960|dts_time=2.620000|duration=160|duration_time=0.020000|size=8|pos=1055|flags=K__|data_hash=CRC32:2f5e9c55
+packet|codec_type=audio|stream_index=0|pts=21120|pts_time=2.640000|dts=21120|dts_time=2.640000|duration=160|duration_time=0.020000|size=8|pos=1063|flags=K__|data_hash=CRC32:773a038d
+packet|codec_type=audio|stream_index=0|pts=21280|pts_time=2.660000|dts=21280|dts_time=2.660000|duration=160|duration_time=0.020000|size=8|pos=1071|flags=K__|data_hash=CRC32:cfe79cc6
+packet|codec_type=audio|stream_index=0|pts=21440|pts_time=2.680000|dts=21440|dts_time=2.680000|duration=160|duration_time=0.020000|size=8|pos=1079|flags=K__|data_hash=CRC32:1282d3cd
+packet|codec_type=audio|stream_index=0|pts=21600|pts_time=2.700000|dts=21600|dts_time=2.700000|duration=160|duration_time=0.020000|size=8|pos=1087|flags=K__|data_hash=CRC32:5bc49731
+packet|codec_type=audio|stream_index=0|pts=21760|pts_time=2.720000|dts=21760|dts_time=2.720000|duration=160|duration_time=0.020000|size=8|pos=1095|flags=K__|data_hash=CRC32:b4868685
+packet|codec_type=audio|stream_index=0|pts=21920|pts_time=2.740000|dts=21920|dts_time=2.740000|duration=160|duration_time=0.020000|size=8|pos=1103|flags=K__|data_hash=CRC32:a3dde91a
+packet|codec_type=audio|stream_index=0|pts=22080|pts_time=2.760000|dts=22080|dts_time=2.760000|duration=160|duration_time=0.020000|size=8|pos=1111|flags=K__|data_hash=CRC32:0208e0a0
+packet|codec_type=audio|stream_index=0|pts=22240|pts_time=2.780000|dts=22240|dts_time=2.780000|duration=160|duration_time=0.020000|size=8|pos=1119|flags=K__|data_hash=CRC32:6331af71
+packet|codec_type=audio|stream_index=0|pts=22400|pts_time=2.800000|dts=22400|dts_time=2.800000|duration=160|duration_time=0.020000|size=8|pos=1127|flags=K__|data_hash=CRC32:f7fcfab5
+packet|codec_type=audio|stream_index=0|pts=22560|pts_time=2.820000|dts=22560|dts_time=2.820000|duration=160|duration_time=0.020000|size=8|pos=1135|flags=K__|data_hash=CRC32:92885203
+packet|codec_type=audio|stream_index=0|pts=22720|pts_time=2.840000|dts=22720|dts_time=2.840000|duration=160|duration_time=0.020000|size=8|pos=1143|flags=K__|data_hash=CRC32:a445f2e5
+packet|codec_type=audio|stream_index=0|pts=22880|pts_time=2.860000|dts=22880|dts_time=2.860000|duration=160|duration_time=0.020000|size=8|pos=1151|flags=K__|data_hash=CRC32:b50e5ec5
+packet|codec_type=audio|stream_index=0|pts=23040|pts_time=2.880000|dts=23040|dts_time=2.880000|duration=160|duration_time=0.020000|size=8|pos=1159|flags=K__|data_hash=CRC32:e81acb12
+packet|codec_type=audio|stream_index=0|pts=23200|pts_time=2.900000|dts=23200|dts_time=2.900000|duration=160|duration_time=0.020000|size=8|pos=1167|flags=K__|data_hash=CRC32:ff613b12
+packet|codec_type=audio|stream_index=0|pts=23360|pts_time=2.920000|dts=23360|dts_time=2.920000|duration=160|duration_time=0.020000|size=8|pos=1175|flags=K__|data_hash=CRC32:f0c1139c
+packet|codec_type=audio|stream_index=0|pts=23520|pts_time=2.940000|dts=23520|dts_time=2.940000|duration=160|duration_time=0.020000|size=8|pos=1183|flags=K__|data_hash=CRC32:cab01701
+packet|codec_type=audio|stream_index=0|pts=23680|pts_time=2.960000|dts=23680|dts_time=2.960000|duration=160|duration_time=0.020000|size=8|pos=1191|flags=K__|data_hash=CRC32:2c29e78a
+packet|codec_type=audio|stream_index=0|pts=23840|pts_time=2.980000|dts=23840|dts_time=2.980000|duration=160|duration_time=0.020000|size=8|pos=1199|flags=K__|data_hash=CRC32:9f0dc252
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=24000|duration=3.000000|bit_rate=3200|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=150|extradata_size=4|extradata_hash=CRC32:9a7c6c17|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-3200.c2|nb_streams=1|nb_programs=0|format_name=codec2|start_time=N/A|duration=3.000000|size=1207|bit_rate=3218|probe_score=51
diff --git a/tests/ref/fate/codec2-probe-700C b/tests/ref/fate/codec2-probe-700C
new file mode 100644
index 0000000000..5455705dcd
--- /dev/null
+++ b/tests/ref/fate/codec2-probe-700C
@@ -0,0 +1,77 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=320|duration_time=0.040000|size=4|pos=7|flags=K__|data_hash=CRC32:ba74a8a8
+packet|codec_type=audio|stream_index=0|pts=320|pts_time=0.040000|dts=320|dts_time=0.040000|duration=320|duration_time=0.040000|size=4|pos=11|flags=K__|data_hash=CRC32:88da7b69
+packet|codec_type=audio|stream_index=0|pts=640|pts_time=0.080000|dts=640|dts_time=0.080000|duration=320|duration_time=0.040000|size=4|pos=15|flags=K__|data_hash=CRC32:e051f29c
+packet|codec_type=audio|stream_index=0|pts=960|pts_time=0.120000|dts=960|dts_time=0.120000|duration=320|duration_time=0.040000|size=4|pos=19|flags=K__|data_hash=CRC32:7a67dfb3
+packet|codec_type=audio|stream_index=0|pts=1280|pts_time=0.160000|dts=1280|dts_time=0.160000|duration=320|duration_time=0.040000|size=4|pos=23|flags=K__|data_hash=CRC32:6a5e99e7
+packet|codec_type=audio|stream_index=0|pts=1600|pts_time=0.200000|dts=1600|dts_time=0.200000|duration=320|duration_time=0.040000|size=4|pos=27|flags=K__|data_hash=CRC32:2eeae614
+packet|codec_type=audio|stream_index=0|pts=1920|pts_time=0.240000|dts=1920|dts_time=0.240000|duration=320|duration_time=0.040000|size=4|pos=31|flags=K__|data_hash=CRC32:1f05af30
+packet|codec_type=audio|stream_index=0|pts=2240|pts_time=0.280000|dts=2240|dts_time=0.280000|duration=320|duration_time=0.040000|size=4|pos=35|flags=K__|data_hash=CRC32:82db6a54
+packet|codec_type=audio|stream_index=0|pts=2560|pts_time=0.320000|dts=2560|dts_time=0.320000|duration=320|duration_time=0.040000|size=4|pos=39|flags=K__|data_hash=CRC32:618586f0
+packet|codec_type=audio|stream_index=0|pts=2880|pts_time=0.360000|dts=2880|dts_time=0.360000|duration=320|duration_time=0.040000|size=4|pos=43|flags=K__|data_hash=CRC32:2d71324f
+packet|codec_type=audio|stream_index=0|pts=3200|pts_time=0.400000|dts=3200|dts_time=0.400000|duration=320|duration_time=0.040000|size=4|pos=47|flags=K__|data_hash=CRC32:2507f5d3
+packet|codec_type=audio|stream_index=0|pts=3520|pts_time=0.440000|dts=3520|dts_time=0.440000|duration=320|duration_time=0.040000|size=4|pos=51|flags=K__|data_hash=CRC32:b813d1ef
+packet|codec_type=audio|stream_index=0|pts=3840|pts_time=0.480000|dts=3840|dts_time=0.480000|duration=320|duration_time=0.040000|size=4|pos=55|flags=K__|data_hash=CRC32:0850d097
+packet|codec_type=audio|stream_index=0|pts=4160|pts_time=0.520000|dts=4160|dts_time=0.520000|duration=320|duration_time=0.040000|size=4|pos=59|flags=K__|data_hash=CRC32:1271a7df
+packet|codec_type=audio|stream_index=0|pts=4480|pts_time=0.560000|dts=4480|dts_time=0.560000|duration=320|duration_time=0.040000|size=4|pos=63|flags=K__|data_hash=CRC32:bd28b85d
+packet|codec_type=audio|stream_index=0|pts=4800|pts_time=0.600000|dts=4800|dts_time=0.600000|duration=320|duration_time=0.040000|size=4|pos=67|flags=K__|data_hash=CRC32:41126e67
+packet|codec_type=audio|stream_index=0|pts=5120|pts_time=0.640000|dts=5120|dts_time=0.640000|duration=320|duration_time=0.040000|size=4|pos=71|flags=K__|data_hash=CRC32:5e4ac580
+packet|codec_type=audio|stream_index=0|pts=5440|pts_time=0.680000|dts=5440|dts_time=0.680000|duration=320|duration_time=0.040000|size=4|pos=75|flags=K__|data_hash=CRC32:8a072bbe
+packet|codec_type=audio|stream_index=0|pts=5760|pts_time=0.720000|dts=5760|dts_time=0.720000|duration=320|duration_time=0.040000|size=4|pos=79|flags=K__|data_hash=CRC32:2844a6ee
+packet|codec_type=audio|stream_index=0|pts=6080|pts_time=0.760000|dts=6080|dts_time=0.760000|duration=320|duration_time=0.040000|size=4|pos=83|flags=K__|data_hash=CRC32:22f21815
+packet|codec_type=audio|stream_index=0|pts=6400|pts_time=0.800000|dts=6400|dts_time=0.800000|duration=320|duration_time=0.040000|size=4|pos=87|flags=K__|data_hash=CRC32:d6ad2b7f
+packet|codec_type=audio|stream_index=0|pts=6720|pts_time=0.840000|dts=6720|dts_time=0.840000|duration=320|duration_time=0.040000|size=4|pos=91|flags=K__|data_hash=CRC32:cd952e76
+packet|codec_type=audio|stream_index=0|pts=7040|pts_time=0.880000|dts=7040|dts_time=0.880000|duration=320|duration_time=0.040000|size=4|pos=95|flags=K__|data_hash=CRC32:b3b92f90
+packet|codec_type=audio|stream_index=0|pts=7360|pts_time=0.920000|dts=7360|dts_time=0.920000|duration=320|duration_time=0.040000|size=4|pos=99|flags=K__|data_hash=CRC32:a65f7a4b
+packet|codec_type=audio|stream_index=0|pts=7680|pts_time=0.960000|dts=7680|dts_time=0.960000|duration=320|duration_time=0.040000|size=4|pos=103|flags=K__|data_hash=CRC32:ff5cb26d
+packet|codec_type=audio|stream_index=0|pts=8000|pts_time=1.000000|dts=8000|dts_time=1.000000|duration=320|duration_time=0.040000|size=4|pos=107|flags=K__|data_hash=CRC32:bc77c2a5
+packet|codec_type=audio|stream_index=0|pts=8320|pts_time=1.040000|dts=8320|dts_time=1.040000|duration=320|duration_time=0.040000|size=4|pos=111|flags=K__|data_hash=CRC32:b26f7c9b
+packet|codec_type=audio|stream_index=0|pts=8640|pts_time=1.080000|dts=8640|dts_time=1.080000|duration=320|duration_time=0.040000|size=4|pos=115|flags=K__|data_hash=CRC32:808f786a
+packet|codec_type=audio|stream_index=0|pts=8960|pts_time=1.120000|dts=8960|dts_time=1.120000|duration=320|duration_time=0.040000|size=4|pos=119|flags=K__|data_hash=CRC32:718a0796
+packet|codec_type=audio|stream_index=0|pts=9280|pts_time=1.160000|dts=9280|dts_time=1.160000|duration=320|duration_time=0.040000|size=4|pos=123|flags=K__|data_hash=CRC32:57486574
+packet|codec_type=audio|stream_index=0|pts=9600|pts_time=1.200000|dts=9600|dts_time=1.200000|duration=320|duration_time=0.040000|size=4|pos=127|flags=K__|data_hash=CRC32:3fcc8689
+packet|codec_type=audio|stream_index=0|pts=9920|pts_time=1.240000|dts=9920|dts_time=1.240000|duration=320|duration_time=0.040000|size=4|pos=131|flags=K__|data_hash=CRC32:867b2a72
+packet|codec_type=audio|stream_index=0|pts=10240|pts_time=1.280000|dts=10240|dts_time=1.280000|duration=320|duration_time=0.040000|size=4|pos=135|flags=K__|data_hash=CRC32:4ad0edb1
+packet|codec_type=audio|stream_index=0|pts=10560|pts_time=1.320000|dts=10560|dts_time=1.320000|duration=320|duration_time=0.040000|size=4|pos=139|flags=K__|data_hash=CRC32:a8997530
+packet|codec_type=audio|stream_index=0|pts=10880|pts_time=1.360000|dts=10880|dts_time=1.360000|duration=320|duration_time=0.040000|size=4|pos=143|flags=K__|data_hash=CRC32:629bd7ea
+packet|codec_type=audio|stream_index=0|pts=11200|pts_time=1.400000|dts=11200|dts_time=1.400000|duration=320|duration_time=0.040000|size=4|pos=147|flags=K__|data_hash=CRC32:d6f6b5b7
+packet|codec_type=audio|stream_index=0|pts=11520|pts_time=1.440000|dts=11520|dts_time=1.440000|duration=320|duration_time=0.040000|size=4|pos=151|flags=K__|data_hash=CRC32:c7f2297f
+packet|codec_type=audio|stream_index=0|pts=11840|pts_time=1.480000|dts=11840|dts_time=1.480000|duration=320|duration_time=0.040000|size=4|pos=155|flags=K__|data_hash=CRC32:0ae4c6b2
+packet|codec_type=audio|stream_index=0|pts=12160|pts_time=1.520000|dts=12160|dts_time=1.520000|duration=320|duration_time=0.040000|size=4|pos=159|flags=K__|data_hash=CRC32:b9afc05e
+packet|codec_type=audio|stream_index=0|pts=12480|pts_time=1.560000|dts=12480|dts_time=1.560000|duration=320|duration_time=0.040000|size=4|pos=163|flags=K__|data_hash=CRC32:450020be
+packet|codec_type=audio|stream_index=0|pts=12800|pts_time=1.600000|dts=12800|dts_time=1.600000|duration=320|duration_time=0.040000|size=4|pos=167|flags=K__|data_hash=CRC32:c05b5fa8
+packet|codec_type=audio|stream_index=0|pts=13120|pts_time=1.640000|dts=13120|dts_time=1.640000|duration=320|duration_time=0.040000|size=4|pos=171|flags=K__|data_hash=CRC32:3c550858
+packet|codec_type=audio|stream_index=0|pts=13440|pts_time=1.680000|dts=13440|dts_time=1.680000|duration=320|duration_time=0.040000|size=4|pos=175|flags=K__|data_hash=CRC32:53873576
+packet|codec_type=audio|stream_index=0|pts=13760|pts_time=1.720000|dts=13760|dts_time=1.720000|duration=320|duration_time=0.040000|size=4|pos=179|flags=K__|data_hash=CRC32:7eb457ad
+packet|codec_type=audio|stream_index=0|pts=14080|pts_time=1.760000|dts=14080|dts_time=1.760000|duration=320|duration_time=0.040000|size=4|pos=183|flags=K__|data_hash=CRC32:f8cf8ea0
+packet|codec_type=audio|stream_index=0|pts=14400|pts_time=1.800000|dts=14400|dts_time=1.800000|duration=320|duration_time=0.040000|size=4|pos=187|flags=K__|data_hash=CRC32:4c45d460
+packet|codec_type=audio|stream_index=0|pts=14720|pts_time=1.840000|dts=14720|dts_time=1.840000|duration=320|duration_time=0.040000|size=4|pos=191|flags=K__|data_hash=CRC32:bdcda527
+packet|codec_type=audio|stream_index=0|pts=15040|pts_time=1.880000|dts=15040|dts_time=1.880000|duration=320|duration_time=0.040000|size=4|pos=195|flags=K__|data_hash=CRC32:971c41b6
+packet|codec_type=audio|stream_index=0|pts=15360|pts_time=1.920000|dts=15360|dts_time=1.920000|duration=320|duration_time=0.040000|size=4|pos=199|flags=K__|data_hash=CRC32:091db650
+packet|codec_type=audio|stream_index=0|pts=15680|pts_time=1.960000|dts=15680|dts_time=1.960000|duration=320|duration_time=0.040000|size=4|pos=203|flags=K__|data_hash=CRC32:3e214057
+packet|codec_type=audio|stream_index=0|pts=16000|pts_time=2.000000|dts=16000|dts_time=2.000000|duration=320|duration_time=0.040000|size=4|pos=207|flags=K__|data_hash=CRC32:af7b7f6f
+packet|codec_type=audio|stream_index=0|pts=16320|pts_time=2.040000|dts=16320|dts_time=2.040000|duration=320|duration_time=0.040000|size=4|pos=211|flags=K__|data_hash=CRC32:5091da7b
+packet|codec_type=audio|stream_index=0|pts=16640|pts_time=2.080000|dts=16640|dts_time=2.080000|duration=320|duration_time=0.040000|size=4|pos=215|flags=K__|data_hash=CRC32:5ec88106
+packet|codec_type=audio|stream_index=0|pts=16960|pts_time=2.120000|dts=16960|dts_time=2.120000|duration=320|duration_time=0.040000|size=4|pos=219|flags=K__|data_hash=CRC32:d8561d0a
+packet|codec_type=audio|stream_index=0|pts=17280|pts_time=2.160000|dts=17280|dts_time=2.160000|duration=320|duration_time=0.040000|size=4|pos=223|flags=K__|data_hash=CRC32:1730a3fc
+packet|codec_type=audio|stream_index=0|pts=17600|pts_time=2.200000|dts=17600|dts_time=2.200000|duration=320|duration_time=0.040000|size=4|pos=227|flags=K__|data_hash=CRC32:53da58ed
+packet|codec_type=audio|stream_index=0|pts=17920|pts_time=2.240000|dts=17920|dts_time=2.240000|duration=320|duration_time=0.040000|size=4|pos=231|flags=K__|data_hash=CRC32:bcc878a7
+packet|codec_type=audio|stream_index=0|pts=18240|pts_time=2.280000|dts=18240|dts_time=2.280000|duration=320|duration_time=0.040000|size=4|pos=235|flags=K__|data_hash=CRC32:92ff45b1
+packet|codec_type=audio|stream_index=0|pts=18560|pts_time=2.320000|dts=18560|dts_time=2.320000|duration=320|duration_time=0.040000|size=4|pos=239|flags=K__|data_hash=CRC32:6cdf51c9
+packet|codec_type=audio|stream_index=0|pts=18880|pts_time=2.360000|dts=18880|dts_time=2.360000|duration=320|duration_time=0.040000|size=4|pos=243|flags=K__|data_hash=CRC32:87bffa67
+packet|codec_type=audio|stream_index=0|pts=19200|pts_time=2.400000|dts=19200|dts_time=2.400000|duration=320|duration_time=0.040000|size=4|pos=247|flags=K__|data_hash=CRC32:49926f0b
+packet|codec_type=audio|stream_index=0|pts=19520|pts_time=2.440000|dts=19520|dts_time=2.440000|duration=320|duration_time=0.040000|size=4|pos=251|flags=K__|data_hash=CRC32:746efec4
+packet|codec_type=audio|stream_index=0|pts=19840|pts_time=2.480000|dts=19840|dts_time=2.480000|duration=320|duration_time=0.040000|size=4|pos=255|flags=K__|data_hash=CRC32:6f5b85a7
+packet|codec_type=audio|stream_index=0|pts=20160|pts_time=2.520000|dts=20160|dts_time=2.520000|duration=320|duration_time=0.040000|size=4|pos=259|flags=K__|data_hash=CRC32:cf14d485
+packet|codec_type=audio|stream_index=0|pts=20480|pts_time=2.560000|dts=20480|dts_time=2.560000|duration=320|duration_time=0.040000|size=4|pos=263|flags=K__|data_hash=CRC32:97df5c93
+packet|codec_type=audio|stream_index=0|pts=20800|pts_time=2.600000|dts=20800|dts_time=2.600000|duration=320|duration_time=0.040000|size=4|pos=267|flags=K__|data_hash=CRC32:ccd5b3b1
+packet|codec_type=audio|stream_index=0|pts=21120|pts_time=2.640000|dts=21120|dts_time=2.640000|duration=320|duration_time=0.040000|size=4|pos=271|flags=K__|data_hash=CRC32:c1cfda7e
+packet|codec_type=audio|stream_index=0|pts=21440|pts_time=2.680000|dts=21440|dts_time=2.680000|duration=320|duration_time=0.040000|size=4|pos=275|flags=K__|data_hash=CRC32:5ca3640c
+packet|codec_type=audio|stream_index=0|pts=21760|pts_time=2.720000|dts=21760|dts_time=2.720000|duration=320|duration_time=0.040000|size=4|pos=279|flags=K__|data_hash=CRC32:86898adb
+packet|codec_type=audio|stream_index=0|pts=22080|pts_time=2.760000|dts=22080|dts_time=2.760000|duration=320|duration_time=0.040000|size=4|pos=283|flags=K__|data_hash=CRC32:12b10cb1
+packet|codec_type=audio|stream_index=0|pts=22400|pts_time=2.800000|dts=22400|dts_time=2.800000|duration=320|duration_time=0.040000|size=4|pos=287|flags=K__|data_hash=CRC32:bad3ec5b
+packet|codec_type=audio|stream_index=0|pts=22720|pts_time=2.840000|dts=22720|dts_time=2.840000|duration=320|duration_time=0.040000|size=4|pos=291|flags=K__|data_hash=CRC32:a0224b4f
+packet|codec_type=audio|stream_index=0|pts=23040|pts_time=2.880000|dts=23040|dts_time=2.880000|duration=320|duration_time=0.040000|size=4|pos=295|flags=K__|data_hash=CRC32:acd584da
+packet|codec_type=audio|stream_index=0|pts=23360|pts_time=2.920000|dts=23360|dts_time=2.920000|duration=320|duration_time=0.040000|size=4|pos=299|flags=K__|data_hash=CRC32:aba0df88
+packet|codec_type=audio|stream_index=0|pts=23680|pts_time=2.960000|dts=23680|dts_time=2.960000|duration=320|duration_time=0.040000|size=4|pos=303|flags=K__|data_hash=CRC32:69992e4e
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=24000|duration=3.000000|bit_rate=800|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=75|extradata_size=4|extradata_hash=CRC32:52a5e61f|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-700C.c2|nb_streams=1|nb_programs=0|format_name=codec2|start_time=N/A|duration=3.000000|size=307|bit_rate=818|probe_score=51
diff --git a/tests/ref/fate/codec2-probe-cut-1200 b/tests/ref/fate/codec2-probe-cut-1200
new file mode 100644
index 0000000000..cc2fb35ff6
--- /dev/null
+++ b/tests/ref/fate/codec2-probe-cut-1200
@@ -0,0 +1,18 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=320|duration_time=0.040000|size=6|pos=7|flags=K__|data_hash=CRC32:221d0fc7
+packet|codec_type=audio|stream_index=0|pts=320|pts_time=0.040000|dts=320|dts_time=0.040000|duration=320|duration_time=0.040000|size=6|pos=13|flags=K__|data_hash=CRC32:2bf167b8
+packet|codec_type=audio|stream_index=0|pts=640|pts_time=0.080000|dts=640|dts_time=0.080000|duration=320|duration_time=0.040000|size=6|pos=19|flags=K__|data_hash=CRC32:a7156a29
+packet|codec_type=audio|stream_index=0|pts=960|pts_time=0.120000|dts=960|dts_time=0.120000|duration=320|duration_time=0.040000|size=6|pos=25|flags=K__|data_hash=CRC32:268c4e72
+packet|codec_type=audio|stream_index=0|pts=1280|pts_time=0.160000|dts=1280|dts_time=0.160000|duration=320|duration_time=0.040000|size=6|pos=31|flags=K__|data_hash=CRC32:5a23ffe0
+packet|codec_type=audio|stream_index=0|pts=1600|pts_time=0.200000|dts=1600|dts_time=0.200000|duration=320|duration_time=0.040000|size=6|pos=37|flags=K__|data_hash=CRC32:ed696a9b
+packet|codec_type=audio|stream_index=0|pts=1920|pts_time=0.240000|dts=1920|dts_time=0.240000|duration=320|duration_time=0.040000|size=6|pos=43|flags=K__|data_hash=CRC32:8c2de44f
+packet|codec_type=audio|stream_index=0|pts=2240|pts_time=0.280000|dts=2240|dts_time=0.280000|duration=320|duration_time=0.040000|size=6|pos=49|flags=K__|data_hash=CRC32:46dcc273
+packet|codec_type=audio|stream_index=0|pts=2560|pts_time=0.320000|dts=2560|dts_time=0.320000|duration=320|duration_time=0.040000|size=6|pos=55|flags=K__|data_hash=CRC32:7c6fd6bd
+packet|codec_type=audio|stream_index=0|pts=2880|pts_time=0.360000|dts=2880|dts_time=0.360000|duration=320|duration_time=0.040000|size=6|pos=61|flags=K__|data_hash=CRC32:54794fd6
+packet|codec_type=audio|stream_index=0|pts=3200|pts_time=0.400000|dts=3200|dts_time=0.400000|duration=320|duration_time=0.040000|size=6|pos=67|flags=K__|data_hash=CRC32:f56e65a6
+packet|codec_type=audio|stream_index=0|pts=3520|pts_time=0.440000|dts=3520|dts_time=0.440000|duration=320|duration_time=0.040000|size=6|pos=73|flags=K__|data_hash=CRC32:5a22ccb3
+packet|codec_type=audio|stream_index=0|pts=3840|pts_time=0.480000|dts=3840|dts_time=0.480000|duration=320|duration_time=0.040000|size=6|pos=79|flags=K__|data_hash=CRC32:80096180
+packet|codec_type=audio|stream_index=0|pts=4160|pts_time=0.520000|dts=4160|dts_time=0.520000|duration=320|duration_time=0.040000|size=6|pos=85|flags=K__|data_hash=CRC32:8959f4e8
+packet|codec_type=audio|stream_index=0|pts=4480|pts_time=0.560000|dts=4480|dts_time=0.560000|duration=320|duration_time=0.040000|size=6|pos=91|flags=K__|data_hash=CRC32:cc92a5ce
+packet|codec_type=audio|stream_index=0|pts=4800|pts_time=0.600000|dts=4800|dts_time=0.600000|duration=320|duration_time=0.040000|size=3|pos=97|flags=K_C|data_hash=CRC32:5575a889
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=5120|duration=0.640000|bit_rate=1200|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=16|extradata_size=4|extradata_hash=CRC32:e70b9852|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-cut-1200.c2|nb_streams=1|nb_programs=0|format_name=codec2|start_time=N/A|duration=0.640000|size=100|bit_rate=1250|probe_score=51
diff --git a/tests/ref/fate/codec2-probe-cut-1300 b/tests/ref/fate/codec2-probe-cut-1300
new file mode 100644
index 0000000000..a27143bf6c
--- /dev/null
+++ b/tests/ref/fate/codec2-probe-cut-1300
@@ -0,0 +1,16 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=320|duration_time=0.040000|size=7|pos=7|flags=K__|data_hash=CRC32:e1c986d9
+packet|codec_type=audio|stream_index=0|pts=320|pts_time=0.040000|dts=320|dts_time=0.040000|duration=320|duration_time=0.040000|size=7|pos=14|flags=K__|data_hash=CRC32:d19871aa
+packet|codec_type=audio|stream_index=0|pts=640|pts_time=0.080000|dts=640|dts_time=0.080000|duration=320|duration_time=0.040000|size=7|pos=21|flags=K__|data_hash=CRC32:720c8431
+packet|codec_type=audio|stream_index=0|pts=960|pts_time=0.120000|dts=960|dts_time=0.120000|duration=320|duration_time=0.040000|size=7|pos=28|flags=K__|data_hash=CRC32:5e0cab28
+packet|codec_type=audio|stream_index=0|pts=1280|pts_time=0.160000|dts=1280|dts_time=0.160000|duration=320|duration_time=0.040000|size=7|pos=35|flags=K__|data_hash=CRC32:431d4805
+packet|codec_type=audio|stream_index=0|pts=1600|pts_time=0.200000|dts=1600|dts_time=0.200000|duration=320|duration_time=0.040000|size=7|pos=42|flags=K__|data_hash=CRC32:e506c285
+packet|codec_type=audio|stream_index=0|pts=1920|pts_time=0.240000|dts=1920|dts_time=0.240000|duration=320|duration_time=0.040000|size=7|pos=49|flags=K__|data_hash=CRC32:b0ca6019
+packet|codec_type=audio|stream_index=0|pts=2240|pts_time=0.280000|dts=2240|dts_time=0.280000|duration=320|duration_time=0.040000|size=7|pos=56|flags=K__|data_hash=CRC32:25ef5865
+packet|codec_type=audio|stream_index=0|pts=2560|pts_time=0.320000|dts=2560|dts_time=0.320000|duration=320|duration_time=0.040000|size=7|pos=63|flags=K__|data_hash=CRC32:230d8966
+packet|codec_type=audio|stream_index=0|pts=2880|pts_time=0.360000|dts=2880|dts_time=0.360000|duration=320|duration_time=0.040000|size=7|pos=70|flags=K__|data_hash=CRC32:f552d25c
+packet|codec_type=audio|stream_index=0|pts=3200|pts_time=0.400000|dts=3200|dts_time=0.400000|duration=320|duration_time=0.040000|size=7|pos=77|flags=K__|data_hash=CRC32:9a0c149d
+packet|codec_type=audio|stream_index=0|pts=3520|pts_time=0.440000|dts=3520|dts_time=0.440000|duration=320|duration_time=0.040000|size=7|pos=84|flags=K__|data_hash=CRC32:c0332732
+packet|codec_type=audio|stream_index=0|pts=3840|pts_time=0.480000|dts=3840|dts_time=0.480000|duration=320|duration_time=0.040000|size=7|pos=91|flags=K__|data_hash=CRC32:7500143a
+packet|codec_type=audio|stream_index=0|pts=4160|pts_time=0.520000|dts=4160|dts_time=0.520000|duration=320|duration_time=0.040000|size=2|pos=98|flags=K_C|data_hash=CRC32:bc065677
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=4160|duration=0.520000|bit_rate=1400|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=14|extradata_size=4|extradata_hash=CRC32:fe10a913|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-cut-1300.c2|nb_streams=1|nb_programs=0|format_name=codec2|start_time=N/A|duration=0.520000|size=100|bit_rate=1538|probe_score=51
diff --git a/tests/ref/fate/codec2-probe-cut-1400 b/tests/ref/fate/codec2-probe-cut-1400
new file mode 100644
index 0000000000..0034271441
--- /dev/null
+++ b/tests/ref/fate/codec2-probe-cut-1400
@@ -0,0 +1,16 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=320|duration_time=0.040000|size=7|pos=7|flags=K__|data_hash=CRC32:d9be5755
+packet|codec_type=audio|stream_index=0|pts=320|pts_time=0.040000|dts=320|dts_time=0.040000|duration=320|duration_time=0.040000|size=7|pos=14|flags=K__|data_hash=CRC32:472ceccd
+packet|codec_type=audio|stream_index=0|pts=640|pts_time=0.080000|dts=640|dts_time=0.080000|duration=320|duration_time=0.040000|size=7|pos=21|flags=K__|data_hash=CRC32:303b21b6
+packet|codec_type=audio|stream_index=0|pts=960|pts_time=0.120000|dts=960|dts_time=0.120000|duration=320|duration_time=0.040000|size=7|pos=28|flags=K__|data_hash=CRC32:dc2b4dd6
+packet|codec_type=audio|stream_index=0|pts=1280|pts_time=0.160000|dts=1280|dts_time=0.160000|duration=320|duration_time=0.040000|size=7|pos=35|flags=K__|data_hash=CRC32:e8888eb2
+packet|codec_type=audio|stream_index=0|pts=1600|pts_time=0.200000|dts=1600|dts_time=0.200000|duration=320|duration_time=0.040000|size=7|pos=42|flags=K__|data_hash=CRC32:fa3d0618
+packet|codec_type=audio|stream_index=0|pts=1920|pts_time=0.240000|dts=1920|dts_time=0.240000|duration=320|duration_time=0.040000|size=7|pos=49|flags=K__|data_hash=CRC32:68478d05
+packet|codec_type=audio|stream_index=0|pts=2240|pts_time=0.280000|dts=2240|dts_time=0.280000|duration=320|duration_time=0.040000|size=7|pos=56|flags=K__|data_hash=CRC32:5801bcd3
+packet|codec_type=audio|stream_index=0|pts=2560|pts_time=0.320000|dts=2560|dts_time=0.320000|duration=320|duration_time=0.040000|size=7|pos=63|flags=K__|data_hash=CRC32:35119a8e
+packet|codec_type=audio|stream_index=0|pts=2880|pts_time=0.360000|dts=2880|dts_time=0.360000|duration=320|duration_time=0.040000|size=7|pos=70|flags=K__|data_hash=CRC32:7b36b9fd
+packet|codec_type=audio|stream_index=0|pts=3200|pts_time=0.400000|dts=3200|dts_time=0.400000|duration=320|duration_time=0.040000|size=7|pos=77|flags=K__|data_hash=CRC32:efa8ba25
+packet|codec_type=audio|stream_index=0|pts=3520|pts_time=0.440000|dts=3520|dts_time=0.440000|duration=320|duration_time=0.040000|size=7|pos=84|flags=K__|data_hash=CRC32:775b298f
+packet|codec_type=audio|stream_index=0|pts=3840|pts_time=0.480000|dts=3840|dts_time=0.480000|duration=320|duration_time=0.040000|size=7|pos=91|flags=K__|data_hash=CRC32:04a24aad
+packet|codec_type=audio|stream_index=0|pts=4160|pts_time=0.520000|dts=4160|dts_time=0.520000|duration=320|duration_time=0.040000|size=2|pos=98|flags=K_C|data_hash=CRC32:511cb226
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=4160|duration=0.520000|bit_rate=1400|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=14|extradata_size=4|extradata_hash=CRC32:b1513fd4|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-cut-1400.c2|nb_streams=1|nb_programs=0|format_name=codec2|start_time=N/A|duration=0.520000|size=100|bit_rate=1538|probe_score=51
diff --git a/tests/ref/fate/codec2-probe-cut-1600 b/tests/ref/fate/codec2-probe-cut-1600
new file mode 100644
index 0000000000..ed35b9c443
--- /dev/null
+++ b/tests/ref/fate/codec2-probe-cut-1600
@@ -0,0 +1,14 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=320|duration_time=0.040000|size=8|pos=7|flags=K__|data_hash=CRC32:5ee6636d
+packet|codec_type=audio|stream_index=0|pts=320|pts_time=0.040000|dts=320|dts_time=0.040000|duration=320|duration_time=0.040000|size=8|pos=15|flags=K__|data_hash=CRC32:be3e8ff8
+packet|codec_type=audio|stream_index=0|pts=640|pts_time=0.080000|dts=640|dts_time=0.080000|duration=320|duration_time=0.040000|size=8|pos=23|flags=K__|data_hash=CRC32:026dbc9a
+packet|codec_type=audio|stream_index=0|pts=960|pts_time=0.120000|dts=960|dts_time=0.120000|duration=320|duration_time=0.040000|size=8|pos=31|flags=K__|data_hash=CRC32:975599a2
+packet|codec_type=audio|stream_index=0|pts=1280|pts_time=0.160000|dts=1280|dts_time=0.160000|duration=320|duration_time=0.040000|size=8|pos=39|flags=K__|data_hash=CRC32:c55f65e7
+packet|codec_type=audio|stream_index=0|pts=1600|pts_time=0.200000|dts=1600|dts_time=0.200000|duration=320|duration_time=0.040000|size=8|pos=47|flags=K__|data_hash=CRC32:3731f5b3
+packet|codec_type=audio|stream_index=0|pts=1920|pts_time=0.240000|dts=1920|dts_time=0.240000|duration=320|duration_time=0.040000|size=8|pos=55|flags=K__|data_hash=CRC32:ac397199
+packet|codec_type=audio|stream_index=0|pts=2240|pts_time=0.280000|dts=2240|dts_time=0.280000|duration=320|duration_time=0.040000|size=8|pos=63|flags=K__|data_hash=CRC32:f4291bb5
+packet|codec_type=audio|stream_index=0|pts=2560|pts_time=0.320000|dts=2560|dts_time=0.320000|duration=320|duration_time=0.040000|size=8|pos=71|flags=K__|data_hash=CRC32:91d5ea5c
+packet|codec_type=audio|stream_index=0|pts=2880|pts_time=0.360000|dts=2880|dts_time=0.360000|duration=320|duration_time=0.040000|size=8|pos=79|flags=K__|data_hash=CRC32:a33f36db
+packet|codec_type=audio|stream_index=0|pts=3200|pts_time=0.400000|dts=3200|dts_time=0.400000|duration=320|duration_time=0.040000|size=8|pos=87|flags=K__|data_hash=CRC32:022e9118
+packet|codec_type=audio|stream_index=0|pts=3520|pts_time=0.440000|dts=3520|dts_time=0.440000|duration=320|duration_time=0.040000|size=5|pos=95|flags=K_C|data_hash=CRC32:9b0ed102
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=3840|duration=0.480000|bit_rate=1600|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=12|extradata_size=4|extradata_hash=CRC32:a84a0e95|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-cut-1600.c2|nb_streams=1|nb_programs=0|format_name=codec2|start_time=N/A|duration=0.480000|size=100|bit_rate=1666|probe_score=51
diff --git a/tests/ref/fate/codec2-probe-cut-2400 b/tests/ref/fate/codec2-probe-cut-2400
new file mode 100644
index 0000000000..6bb39b0abe
--- /dev/null
+++ b/tests/ref/fate/codec2-probe-cut-2400
@@ -0,0 +1,18 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=160|duration_time=0.020000|size=6|pos=7|flags=K__|data_hash=CRC32:402e2751
+packet|codec_type=audio|stream_index=0|pts=160|pts_time=0.020000|dts=160|dts_time=0.020000|duration=160|duration_time=0.020000|size=6|pos=13|flags=K__|data_hash=CRC32:8be241bf
+packet|codec_type=audio|stream_index=0|pts=320|pts_time=0.040000|dts=320|dts_time=0.040000|duration=160|duration_time=0.020000|size=6|pos=19|flags=K__|data_hash=CRC32:affee1a4
+packet|codec_type=audio|stream_index=0|pts=480|pts_time=0.060000|dts=480|dts_time=0.060000|duration=160|duration_time=0.020000|size=6|pos=25|flags=K__|data_hash=CRC32:af3a2722
+packet|codec_type=audio|stream_index=0|pts=640|pts_time=0.080000|dts=640|dts_time=0.080000|duration=160|duration_time=0.020000|size=6|pos=31|flags=K__|data_hash=CRC32:ccde12cd
+packet|codec_type=audio|stream_index=0|pts=800|pts_time=0.100000|dts=800|dts_time=0.100000|duration=160|duration_time=0.020000|size=6|pos=37|flags=K__|data_hash=CRC32:53fa8852
+packet|codec_type=audio|stream_index=0|pts=960|pts_time=0.120000|dts=960|dts_time=0.120000|duration=160|duration_time=0.020000|size=6|pos=43|flags=K__|data_hash=CRC32:8a2715c3
+packet|codec_type=audio|stream_index=0|pts=1120|pts_time=0.140000|dts=1120|dts_time=0.140000|duration=160|duration_time=0.020000|size=6|pos=49|flags=K__|data_hash=CRC32:f5338fbe
+packet|codec_type=audio|stream_index=0|pts=1280|pts_time=0.160000|dts=1280|dts_time=0.160000|duration=160|duration_time=0.020000|size=6|pos=55|flags=K__|data_hash=CRC32:8c4f9b10
+packet|codec_type=audio|stream_index=0|pts=1440|pts_time=0.180000|dts=1440|dts_time=0.180000|duration=160|duration_time=0.020000|size=6|pos=61|flags=K__|data_hash=CRC32:d17ddf33
+packet|codec_type=audio|stream_index=0|pts=1600|pts_time=0.200000|dts=1600|dts_time=0.200000|duration=160|duration_time=0.020000|size=6|pos=67|flags=K__|data_hash=CRC32:1839685d
+packet|codec_type=audio|stream_index=0|pts=1760|pts_time=0.220000|dts=1760|dts_time=0.220000|duration=160|duration_time=0.020000|size=6|pos=73|flags=K__|data_hash=CRC32:fbd1489c
+packet|codec_type=audio|stream_index=0|pts=1920|pts_time=0.240000|dts=1920|dts_time=0.240000|duration=160|duration_time=0.020000|size=6|pos=79|flags=K__|data_hash=CRC32:55174066
+packet|codec_type=audio|stream_index=0|pts=2080|pts_time=0.260000|dts=2080|dts_time=0.260000|duration=160|duration_time=0.020000|size=6|pos=85|flags=K__|data_hash=CRC32:4931a27d
+packet|codec_type=audio|stream_index=0|pts=2240|pts_time=0.280000|dts=2240|dts_time=0.280000|duration=160|duration_time=0.020000|size=6|pos=91|flags=K__|data_hash=CRC32:87ef4f97
+packet|codec_type=audio|stream_index=0|pts=2400|pts_time=0.300000|dts=2400|dts_time=0.300000|duration=160|duration_time=0.020000|size=3|pos=97|flags=K_C|data_hash=CRC32:cf91772c
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=2560|duration=0.320000|bit_rate=2400|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=16|extradata_size=4|extradata_hash=CRC32:83675d56|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-cut-2400.c2|nb_streams=1|nb_programs=0|format_name=codec2|start_time=N/A|duration=0.320000|size=100|bit_rate=2500|probe_score=51
diff --git a/tests/ref/fate/codec2-probe-cut-3200 b/tests/ref/fate/codec2-probe-cut-3200
new file mode 100644
index 0000000000..18a35e4a52
--- /dev/null
+++ b/tests/ref/fate/codec2-probe-cut-3200
@@ -0,0 +1,14 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=160|duration_time=0.020000|size=8|pos=7|flags=K__|data_hash=CRC32:47b54c75
+packet|codec_type=audio|stream_index=0|pts=160|pts_time=0.020000|dts=160|dts_time=0.020000|duration=160|duration_time=0.020000|size=8|pos=15|flags=K__|data_hash=CRC32:7664d67c
+packet|codec_type=audio|stream_index=0|pts=320|pts_time=0.040000|dts=320|dts_time=0.040000|duration=160|duration_time=0.020000|size=8|pos=23|flags=K__|data_hash=CRC32:8661cfcf
+packet|codec_type=audio|stream_index=0|pts=480|pts_time=0.060000|dts=480|dts_time=0.060000|duration=160|duration_time=0.020000|size=8|pos=31|flags=K__|data_hash=CRC32:7058a9c8
+packet|codec_type=audio|stream_index=0|pts=640|pts_time=0.080000|dts=640|dts_time=0.080000|duration=160|duration_time=0.020000|size=8|pos=39|flags=K__|data_hash=CRC32:0ba5d0e8
+packet|codec_type=audio|stream_index=0|pts=800|pts_time=0.100000|dts=800|dts_time=0.100000|duration=160|duration_time=0.020000|size=8|pos=47|flags=K__|data_hash=CRC32:ca1b9e09
+packet|codec_type=audio|stream_index=0|pts=960|pts_time=0.120000|dts=960|dts_time=0.120000|duration=160|duration_time=0.020000|size=8|pos=55|flags=K__|data_hash=CRC32:cc6efcdb
+packet|codec_type=audio|stream_index=0|pts=1120|pts_time=0.140000|dts=1120|dts_time=0.140000|duration=160|duration_time=0.020000|size=8|pos=63|flags=K__|data_hash=CRC32:d38a7221
+packet|codec_type=audio|stream_index=0|pts=1280|pts_time=0.160000|dts=1280|dts_time=0.160000|duration=160|duration_time=0.020000|size=8|pos=71|flags=K__|data_hash=CRC32:c2890544
+packet|codec_type=audio|stream_index=0|pts=1440|pts_time=0.180000|dts=1440|dts_time=0.180000|duration=160|duration_time=0.020000|size=8|pos=79|flags=K__|data_hash=CRC32:ef6b161c
+packet|codec_type=audio|stream_index=0|pts=1600|pts_time=0.200000|dts=1600|dts_time=0.200000|duration=160|duration_time=0.020000|size=8|pos=87|flags=K__|data_hash=CRC32:0a8424a9
+packet|codec_type=audio|stream_index=0|pts=1760|pts_time=0.220000|dts=1760|dts_time=0.220000|duration=160|duration_time=0.020000|size=5|pos=95|flags=K_C|data_hash=CRC32:004d2db4
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=1920|duration=0.240000|bit_rate=3200|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=12|extradata_size=4|extradata_hash=CRC32:9a7c6c17|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-cut-3200.c2|nb_streams=1|nb_programs=0|format_name=codec2|start_time=N/A|duration=0.240000|size=100|bit_rate=3333|probe_score=51
diff --git a/tests/ref/fate/codec2-probe-cut-700C b/tests/ref/fate/codec2-probe-cut-700C
new file mode 100644
index 0000000000..116271f40c
--- /dev/null
+++ b/tests/ref/fate/codec2-probe-cut-700C
@@ -0,0 +1,26 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=320|duration_time=0.040000|size=4|pos=7|flags=K__|data_hash=CRC32:ba74a8a8
+packet|codec_type=audio|stream_index=0|pts=320|pts_time=0.040000|dts=320|dts_time=0.040000|duration=320|duration_time=0.040000|size=4|pos=11|flags=K__|data_hash=CRC32:88da7b69
+packet|codec_type=audio|stream_index=0|pts=640|pts_time=0.080000|dts=640|dts_time=0.080000|duration=320|duration_time=0.040000|size=4|pos=15|flags=K__|data_hash=CRC32:e051f29c
+packet|codec_type=audio|stream_index=0|pts=960|pts_time=0.120000|dts=960|dts_time=0.120000|duration=320|duration_time=0.040000|size=4|pos=19|flags=K__|data_hash=CRC32:7a67dfb3
+packet|codec_type=audio|stream_index=0|pts=1280|pts_time=0.160000|dts=1280|dts_time=0.160000|duration=320|duration_time=0.040000|size=4|pos=23|flags=K__|data_hash=CRC32:6a5e99e7
+packet|codec_type=audio|stream_index=0|pts=1600|pts_time=0.200000|dts=1600|dts_time=0.200000|duration=320|duration_time=0.040000|size=4|pos=27|flags=K__|data_hash=CRC32:2eeae614
+packet|codec_type=audio|stream_index=0|pts=1920|pts_time=0.240000|dts=1920|dts_time=0.240000|duration=320|duration_time=0.040000|size=4|pos=31|flags=K__|data_hash=CRC32:1f05af30
+packet|codec_type=audio|stream_index=0|pts=2240|pts_time=0.280000|dts=2240|dts_time=0.280000|duration=320|duration_time=0.040000|size=4|pos=35|flags=K__|data_hash=CRC32:82db6a54
+packet|codec_type=audio|stream_index=0|pts=2560|pts_time=0.320000|dts=2560|dts_time=0.320000|duration=320|duration_time=0.040000|size=4|pos=39|flags=K__|data_hash=CRC32:618586f0
+packet|codec_type=audio|stream_index=0|pts=2880|pts_time=0.360000|dts=2880|dts_time=0.360000|duration=320|duration_time=0.040000|size=4|pos=43|flags=K__|data_hash=CRC32:2d71324f
+packet|codec_type=audio|stream_index=0|pts=3200|pts_time=0.400000|dts=3200|dts_time=0.400000|duration=320|duration_time=0.040000|size=4|pos=47|flags=K__|data_hash=CRC32:2507f5d3
+packet|codec_type=audio|stream_index=0|pts=3520|pts_time=0.440000|dts=3520|dts_time=0.440000|duration=320|duration_time=0.040000|size=4|pos=51|flags=K__|data_hash=CRC32:b813d1ef
+packet|codec_type=audio|stream_index=0|pts=3840|pts_time=0.480000|dts=3840|dts_time=0.480000|duration=320|duration_time=0.040000|size=4|pos=55|flags=K__|data_hash=CRC32:0850d097
+packet|codec_type=audio|stream_index=0|pts=4160|pts_time=0.520000|dts=4160|dts_time=0.520000|duration=320|duration_time=0.040000|size=4|pos=59|flags=K__|data_hash=CRC32:1271a7df
+packet|codec_type=audio|stream_index=0|pts=4480|pts_time=0.560000|dts=4480|dts_time=0.560000|duration=320|duration_time=0.040000|size=4|pos=63|flags=K__|data_hash=CRC32:bd28b85d
+packet|codec_type=audio|stream_index=0|pts=4800|pts_time=0.600000|dts=4800|dts_time=0.600000|duration=320|duration_time=0.040000|size=4|pos=67|flags=K__|data_hash=CRC32:41126e67
+packet|codec_type=audio|stream_index=0|pts=5120|pts_time=0.640000|dts=5120|dts_time=0.640000|duration=320|duration_time=0.040000|size=4|pos=71|flags=K__|data_hash=CRC32:5e4ac580
+packet|codec_type=audio|stream_index=0|pts=5440|pts_time=0.680000|dts=5440|dts_time=0.680000|duration=320|duration_time=0.040000|size=4|pos=75|flags=K__|data_hash=CRC32:8a072bbe
+packet|codec_type=audio|stream_index=0|pts=5760|pts_time=0.720000|dts=5760|dts_time=0.720000|duration=320|duration_time=0.040000|size=4|pos=79|flags=K__|data_hash=CRC32:2844a6ee
+packet|codec_type=audio|stream_index=0|pts=6080|pts_time=0.760000|dts=6080|dts_time=0.760000|duration=320|duration_time=0.040000|size=4|pos=83|flags=K__|data_hash=CRC32:22f21815
+packet|codec_type=audio|stream_index=0|pts=6400|pts_time=0.800000|dts=6400|dts_time=0.800000|duration=320|duration_time=0.040000|size=4|pos=87|flags=K__|data_hash=CRC32:d6ad2b7f
+packet|codec_type=audio|stream_index=0|pts=6720|pts_time=0.840000|dts=6720|dts_time=0.840000|duration=320|duration_time=0.040000|size=4|pos=91|flags=K__|data_hash=CRC32:cd952e76
+packet|codec_type=audio|stream_index=0|pts=7040|pts_time=0.880000|dts=7040|dts_time=0.880000|duration=320|duration_time=0.040000|size=4|pos=95|flags=K__|data_hash=CRC32:b3b92f90
+packet|codec_type=audio|stream_index=0|pts=7360|pts_time=0.920000|dts=7360|dts_time=0.920000|duration=320|duration_time=0.040000|size=1|pos=99|flags=K_C|data_hash=CRC32:7f6567cb
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=7680|duration=0.960000|bit_rate=800|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=24|extradata_size=4|extradata_hash=CRC32:52a5e61f|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-cut-700C.c2|nb_streams=1|nb_programs=0|format_name=codec2|start_time=N/A|duration=0.960000|size=100|bit_rate=833|probe_score=51
diff --git a/tests/ref/fate/codec2-probe-multi-1200 b/tests/ref/fate/codec2-probe-multi-1200
new file mode 100644
index 0000000000..eac20970e7
--- /dev/null
+++ b/tests/ref/fate/codec2-probe-multi-1200
@@ -0,0 +1,10 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=3200|duration_time=0.400000|size=60|pos=7|flags=K__|data_hash=CRC32:97712e59
+packet|codec_type=audio|stream_index=0|pts=3200|pts_time=0.400000|dts=3200|dts_time=0.400000|duration=3200|duration_time=0.400000|size=60|pos=67|flags=K__|data_hash=CRC32:ead75c0d
+packet|codec_type=audio|stream_index=0|pts=6400|pts_time=0.800000|dts=6400|dts_time=0.800000|duration=3200|duration_time=0.400000|size=60|pos=127|flags=K__|data_hash=CRC32:1fc51feb
+packet|codec_type=audio|stream_index=0|pts=9600|pts_time=1.200000|dts=9600|dts_time=1.200000|duration=3200|duration_time=0.400000|size=60|pos=187|flags=K__|data_hash=CRC32:9f97ee6b
+packet|codec_type=audio|stream_index=0|pts=12800|pts_time=1.600000|dts=12800|dts_time=1.600000|duration=3200|duration_time=0.400000|size=60|pos=247|flags=K__|data_hash=CRC32:3705d086
+packet|codec_type=audio|stream_index=0|pts=16000|pts_time=2.000000|dts=16000|dts_time=2.000000|duration=3200|duration_time=0.400000|size=60|pos=307|flags=K__|data_hash=CRC32:4ad7b6d0
+packet|codec_type=audio|stream_index=0|pts=19200|pts_time=2.400000|dts=19200|dts_time=2.400000|duration=3200|duration_time=0.400000|size=60|pos=367|flags=K__|data_hash=CRC32:20338c8c
+packet|codec_type=audio|stream_index=0|pts=22400|pts_time=2.800000|dts=22400|dts_time=2.800000|duration=1600|duration_time=0.200000|size=30|pos=427|flags=K__|data_hash=CRC32:3101b117
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=24000|duration=3.000000|bit_rate=1200|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=8|extradata_size=4|extradata_hash=CRC32:e70b9852|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-1200.c2|nb_streams=1|nb_programs=0|format_name=codec2|start_time=N/A|duration=3.000000|size=457|bit_rate=1218|probe_score=51
diff --git a/tests/ref/fate/codec2-probe-multi-1300 b/tests/ref/fate/codec2-probe-multi-1300
new file mode 100644
index 0000000000..40be0a24bf
--- /dev/null
+++ b/tests/ref/fate/codec2-probe-multi-1300
@@ -0,0 +1,10 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=3200|duration_time=0.400000|size=70|pos=7|flags=K__|data_hash=CRC32:5e784ba8
+packet|codec_type=audio|stream_index=0|pts=3200|pts_time=0.400000|dts=3200|dts_time=0.400000|duration=3200|duration_time=0.400000|size=70|pos=77|flags=K__|data_hash=CRC32:bc4c87ee
+packet|codec_type=audio|stream_index=0|pts=6400|pts_time=0.800000|dts=6400|dts_time=0.800000|duration=3200|duration_time=0.400000|size=70|pos=147|flags=K__|data_hash=CRC32:0424e8e4
+packet|codec_type=audio|stream_index=0|pts=9600|pts_time=1.200000|dts=9600|dts_time=1.200000|duration=3200|duration_time=0.400000|size=70|pos=217|flags=K__|data_hash=CRC32:c96f3946
+packet|codec_type=audio|stream_index=0|pts=12800|pts_time=1.600000|dts=12800|dts_time=1.600000|duration=3200|duration_time=0.400000|size=70|pos=287|flags=K__|data_hash=CRC32:ddc45481
+packet|codec_type=audio|stream_index=0|pts=16000|pts_time=2.000000|dts=16000|dts_time=2.000000|duration=3200|duration_time=0.400000|size=70|pos=357|flags=K__|data_hash=CRC32:972e3eb2
+packet|codec_type=audio|stream_index=0|pts=19200|pts_time=2.400000|dts=19200|dts_time=2.400000|duration=3200|duration_time=0.400000|size=70|pos=427|flags=K__|data_hash=CRC32:6c36af24
+packet|codec_type=audio|stream_index=0|pts=22400|pts_time=2.800000|dts=22400|dts_time=2.800000|duration=1600|duration_time=0.200000|size=35|pos=497|flags=K__|data_hash=CRC32:4e8805d3
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=24000|duration=3.000000|bit_rate=1400|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=8|extradata_size=4|extradata_hash=CRC32:fe10a913|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-1300.c2|nb_streams=1|nb_programs=0|format_name=codec2|start_time=N/A|duration=3.000000|size=532|bit_rate=1418|probe_score=51
diff --git a/tests/ref/fate/codec2-probe-multi-1400 b/tests/ref/fate/codec2-probe-multi-1400
new file mode 100644
index 0000000000..044d3ee1a9
--- /dev/null
+++ b/tests/ref/fate/codec2-probe-multi-1400
@@ -0,0 +1,10 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=3200|duration_time=0.400000|size=70|pos=7|flags=K__|data_hash=CRC32:de42f68f
+packet|codec_type=audio|stream_index=0|pts=3200|pts_time=0.400000|dts=3200|dts_time=0.400000|duration=3200|duration_time=0.400000|size=70|pos=77|flags=K__|data_hash=CRC32:c283c3cb
+packet|codec_type=audio|stream_index=0|pts=6400|pts_time=0.800000|dts=6400|dts_time=0.800000|duration=3200|duration_time=0.400000|size=70|pos=147|flags=K__|data_hash=CRC32:84fe588d
+packet|codec_type=audio|stream_index=0|pts=9600|pts_time=1.200000|dts=9600|dts_time=1.200000|duration=3200|duration_time=0.400000|size=70|pos=217|flags=K__|data_hash=CRC32:efe4a245
+packet|codec_type=audio|stream_index=0|pts=12800|pts_time=1.600000|dts=12800|dts_time=1.600000|duration=3200|duration_time=0.400000|size=70|pos=287|flags=K__|data_hash=CRC32:c31f9770
+packet|codec_type=audio|stream_index=0|pts=16000|pts_time=2.000000|dts=16000|dts_time=2.000000|duration=3200|duration_time=0.400000|size=70|pos=357|flags=K__|data_hash=CRC32:151692a9
+packet|codec_type=audio|stream_index=0|pts=19200|pts_time=2.400000|dts=19200|dts_time=2.400000|duration=3200|duration_time=0.400000|size=70|pos=427|flags=K__|data_hash=CRC32:eec5b59a
+packet|codec_type=audio|stream_index=0|pts=22400|pts_time=2.800000|dts=22400|dts_time=2.800000|duration=1600|duration_time=0.200000|size=35|pos=497|flags=K__|data_hash=CRC32:68f492a8
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=24000|duration=3.000000|bit_rate=1400|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=8|extradata_size=4|extradata_hash=CRC32:b1513fd4|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-1400.c2|nb_streams=1|nb_programs=0|format_name=codec2|start_time=N/A|duration=3.000000|size=532|bit_rate=1418|probe_score=51
diff --git a/tests/ref/fate/codec2-probe-multi-1600 b/tests/ref/fate/codec2-probe-multi-1600
new file mode 100644
index 0000000000..11a3e645c1
--- /dev/null
+++ b/tests/ref/fate/codec2-probe-multi-1600
@@ -0,0 +1,10 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=3200|duration_time=0.400000|size=80|pos=7|flags=K__|data_hash=CRC32:74196300
+packet|codec_type=audio|stream_index=0|pts=3200|pts_time=0.400000|dts=3200|dts_time=0.400000|duration=3200|duration_time=0.400000|size=80|pos=87|flags=K__|data_hash=CRC32:13fdb6e5
+packet|codec_type=audio|stream_index=0|pts=6400|pts_time=0.800000|dts=6400|dts_time=0.800000|duration=3200|duration_time=0.400000|size=80|pos=167|flags=K__|data_hash=CRC32:8b1c3219
+packet|codec_type=audio|stream_index=0|pts=9600|pts_time=1.200000|dts=9600|dts_time=1.200000|duration=3200|duration_time=0.400000|size=80|pos=247|flags=K__|data_hash=CRC32:c2639e6e
+packet|codec_type=audio|stream_index=0|pts=12800|pts_time=1.600000|dts=12800|dts_time=1.600000|duration=3200|duration_time=0.400000|size=80|pos=327|flags=K__|data_hash=CRC32:e37eabc6
+packet|codec_type=audio|stream_index=0|pts=16000|pts_time=2.000000|dts=16000|dts_time=2.000000|duration=3200|duration_time=0.400000|size=80|pos=407|flags=K__|data_hash=CRC32:ade0886c
+packet|codec_type=audio|stream_index=0|pts=19200|pts_time=2.400000|dts=19200|dts_time=2.400000|duration=3200|duration_time=0.400000|size=80|pos=487|flags=K__|data_hash=CRC32:2ab5600a
+packet|codec_type=audio|stream_index=0|pts=22400|pts_time=2.800000|dts=22400|dts_time=2.800000|duration=1600|duration_time=0.200000|size=40|pos=567|flags=K__|data_hash=CRC32:e378558d
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=24000|duration=3.000000|bit_rate=1600|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=8|extradata_size=4|extradata_hash=CRC32:a84a0e95|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-1600.c2|nb_streams=1|nb_programs=0|format_name=codec2|start_time=N/A|duration=3.000000|size=607|bit_rate=1618|probe_score=51
diff --git a/tests/ref/fate/codec2-probe-multi-2400 b/tests/ref/fate/codec2-probe-multi-2400
new file mode 100644
index 0000000000..4651de463c
--- /dev/null
+++ b/tests/ref/fate/codec2-probe-multi-2400
@@ -0,0 +1,17 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=1600|duration_time=0.200000|size=60|pos=7|flags=K__|data_hash=CRC32:7283101b
+packet|codec_type=audio|stream_index=0|pts=1600|pts_time=0.200000|dts=1600|dts_time=0.200000|duration=1600|duration_time=0.200000|size=60|pos=67|flags=K__|data_hash=CRC32:b60d32b9
+packet|codec_type=audio|stream_index=0|pts=3200|pts_time=0.400000|dts=3200|dts_time=0.400000|duration=1600|duration_time=0.200000|size=60|pos=127|flags=K__|data_hash=CRC32:23321384
+packet|codec_type=audio|stream_index=0|pts=4800|pts_time=0.600000|dts=4800|dts_time=0.600000|duration=1600|duration_time=0.200000|size=60|pos=187|flags=K__|data_hash=CRC32:05a4af80
+packet|codec_type=audio|stream_index=0|pts=6400|pts_time=0.800000|dts=6400|dts_time=0.800000|duration=1600|duration_time=0.200000|size=60|pos=247|flags=K__|data_hash=CRC32:d012a0f0
+packet|codec_type=audio|stream_index=0|pts=8000|pts_time=1.000000|dts=8000|dts_time=1.000000|duration=1600|duration_time=0.200000|size=60|pos=307|flags=K__|data_hash=CRC32:b0cffe2a
+packet|codec_type=audio|stream_index=0|pts=9600|pts_time=1.200000|dts=9600|dts_time=1.200000|duration=1600|duration_time=0.200000|size=60|pos=367|flags=K__|data_hash=CRC32:4750fd61
+packet|codec_type=audio|stream_index=0|pts=11200|pts_time=1.400000|dts=11200|dts_time=1.400000|duration=1600|duration_time=0.200000|size=60|pos=427|flags=K__|data_hash=CRC32:d901d843
+packet|codec_type=audio|stream_index=0|pts=12800|pts_time=1.600000|dts=12800|dts_time=1.600000|duration=1600|duration_time=0.200000|size=60|pos=487|flags=K__|data_hash=CRC32:db968789
+packet|codec_type=audio|stream_index=0|pts=14400|pts_time=1.800000|dts=14400|dts_time=1.800000|duration=1600|duration_time=0.200000|size=60|pos=547|flags=K__|data_hash=CRC32:a4ef5efc
+packet|codec_type=audio|stream_index=0|pts=16000|pts_time=2.000000|dts=16000|dts_time=2.000000|duration=1600|duration_time=0.200000|size=60|pos=607|flags=K__|data_hash=CRC32:3062461d
+packet|codec_type=audio|stream_index=0|pts=17600|pts_time=2.200000|dts=17600|dts_time=2.200000|duration=1600|duration_time=0.200000|size=60|pos=667|flags=K__|data_hash=CRC32:8232537a
+packet|codec_type=audio|stream_index=0|pts=19200|pts_time=2.400000|dts=19200|dts_time=2.400000|duration=1600|duration_time=0.200000|size=60|pos=727|flags=K__|data_hash=CRC32:fb52665c
+packet|codec_type=audio|stream_index=0|pts=20800|pts_time=2.600000|dts=20800|dts_time=2.600000|duration=1600|duration_time=0.200000|size=60|pos=787|flags=K__|data_hash=CRC32:14e8d636
+packet|codec_type=audio|stream_index=0|pts=22400|pts_time=2.800000|dts=22400|dts_time=2.800000|duration=1600|duration_time=0.200000|size=60|pos=847|flags=K__|data_hash=CRC32:416fffb7
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=24000|duration=3.000000|bit_rate=2400|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=15|extradata_size=4|extradata_hash=CRC32:83675d56|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-2400.c2|nb_streams=1|nb_programs=0|format_name=codec2|start_time=N/A|duration=3.000000|size=907|bit_rate=2418|probe_score=51
diff --git a/tests/ref/fate/codec2-probe-multi-3200 b/tests/ref/fate/codec2-probe-multi-3200
new file mode 100644
index 0000000000..a32aaa2212
--- /dev/null
+++ b/tests/ref/fate/codec2-probe-multi-3200
@@ -0,0 +1,17 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=1600|duration_time=0.200000|size=80|pos=7|flags=K__|data_hash=CRC32:5f0b44d5
+packet|codec_type=audio|stream_index=0|pts=1600|pts_time=0.200000|dts=1600|dts_time=0.200000|duration=1600|duration_time=0.200000|size=80|pos=87|flags=K__|data_hash=CRC32:746132c5
+packet|codec_type=audio|stream_index=0|pts=3200|pts_time=0.400000|dts=3200|dts_time=0.400000|duration=1600|duration_time=0.200000|size=80|pos=167|flags=K__|data_hash=CRC32:cbe22ba3
+packet|codec_type=audio|stream_index=0|pts=4800|pts_time=0.600000|dts=4800|dts_time=0.600000|duration=1600|duration_time=0.200000|size=80|pos=247|flags=K__|data_hash=CRC32:2803be77
+packet|codec_type=audio|stream_index=0|pts=6400|pts_time=0.800000|dts=6400|dts_time=0.800000|duration=1600|duration_time=0.200000|size=80|pos=327|flags=K__|data_hash=CRC32:37dcc107
+packet|codec_type=audio|stream_index=0|pts=8000|pts_time=1.000000|dts=8000|dts_time=1.000000|duration=1600|duration_time=0.200000|size=80|pos=407|flags=K__|data_hash=CRC32:9137ae4f
+packet|codec_type=audio|stream_index=0|pts=9600|pts_time=1.200000|dts=9600|dts_time=1.200000|duration=1600|duration_time=0.200000|size=80|pos=487|flags=K__|data_hash=CRC32:f7595349
+packet|codec_type=audio|stream_index=0|pts=11200|pts_time=1.400000|dts=11200|dts_time=1.400000|duration=1600|duration_time=0.200000|size=80|pos=567|flags=K__|data_hash=CRC32:dfca2c27
+packet|codec_type=audio|stream_index=0|pts=12800|pts_time=1.600000|dts=12800|dts_time=1.600000|duration=1600|duration_time=0.200000|size=80|pos=647|flags=K__|data_hash=CRC32:05123c92
+packet|codec_type=audio|stream_index=0|pts=14400|pts_time=1.800000|dts=14400|dts_time=1.800000|duration=1600|duration_time=0.200000|size=80|pos=727|flags=K__|data_hash=CRC32:51061a8f
+packet|codec_type=audio|stream_index=0|pts=16000|pts_time=2.000000|dts=16000|dts_time=2.000000|duration=1600|duration_time=0.200000|size=80|pos=807|flags=K__|data_hash=CRC32:6ded78d0
+packet|codec_type=audio|stream_index=0|pts=17600|pts_time=2.200000|dts=17600|dts_time=2.200000|duration=1600|duration_time=0.200000|size=80|pos=887|flags=K__|data_hash=CRC32:223d4a63
+packet|codec_type=audio|stream_index=0|pts=19200|pts_time=2.400000|dts=19200|dts_time=2.400000|duration=1600|duration_time=0.200000|size=80|pos=967|flags=K__|data_hash=CRC32:991f4258
+packet|codec_type=audio|stream_index=0|pts=20800|pts_time=2.600000|dts=20800|dts_time=2.600000|duration=1600|duration_time=0.200000|size=80|pos=1047|flags=K__|data_hash=CRC32:8122bc3d
+packet|codec_type=audio|stream_index=0|pts=22400|pts_time=2.800000|dts=22400|dts_time=2.800000|duration=1600|duration_time=0.200000|size=80|pos=1127|flags=K__|data_hash=CRC32:bfaf16ca
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=24000|duration=3.000000|bit_rate=3200|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=15|extradata_size=4|extradata_hash=CRC32:9a7c6c17|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-3200.c2|nb_streams=1|nb_programs=0|format_name=codec2|start_time=N/A|duration=3.000000|size=1207|bit_rate=3218|probe_score=51
diff --git a/tests/ref/fate/codec2-probe-multi-700C b/tests/ref/fate/codec2-probe-multi-700C
new file mode 100644
index 0000000000..79d1f4ab9c
--- /dev/null
+++ b/tests/ref/fate/codec2-probe-multi-700C
@@ -0,0 +1,10 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=3200|duration_time=0.400000|size=40|pos=7|flags=K__|data_hash=CRC32:810ddca5
+packet|codec_type=audio|stream_index=0|pts=3200|pts_time=0.400000|dts=3200|dts_time=0.400000|duration=3200|duration_time=0.400000|size=40|pos=47|flags=K__|data_hash=CRC32:4d955a6f
+packet|codec_type=audio|stream_index=0|pts=6400|pts_time=0.800000|dts=6400|dts_time=0.800000|duration=3200|duration_time=0.400000|size=40|pos=87|flags=K__|data_hash=CRC32:86f6efa9
+packet|codec_type=audio|stream_index=0|pts=9600|pts_time=1.200000|dts=9600|dts_time=1.200000|duration=3200|duration_time=0.400000|size=40|pos=127|flags=K__|data_hash=CRC32:134dcdcf
+packet|codec_type=audio|stream_index=0|pts=12800|pts_time=1.600000|dts=12800|dts_time=1.600000|duration=3200|duration_time=0.400000|size=40|pos=167|flags=K__|data_hash=CRC32:697284ab
+packet|codec_type=audio|stream_index=0|pts=16000|pts_time=2.000000|dts=16000|dts_time=2.000000|duration=3200|duration_time=0.400000|size=40|pos=207|flags=K__|data_hash=CRC32:19e9ecbb
+packet|codec_type=audio|stream_index=0|pts=19200|pts_time=2.400000|dts=19200|dts_time=2.400000|duration=3200|duration_time=0.400000|size=40|pos=247|flags=K__|data_hash=CRC32:047bbaf1
+packet|codec_type=audio|stream_index=0|pts=22400|pts_time=2.800000|dts=22400|dts_time=2.800000|duration=1600|duration_time=0.200000|size=20|pos=287|flags=K__|data_hash=CRC32:b20be8d4
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=24000|duration=3.000000|bit_rate=800|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=8|extradata_size=4|extradata_hash=CRC32:52a5e61f|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-700C.c2|nb_streams=1|nb_programs=0|format_name=codec2|start_time=N/A|duration=3.000000|size=307|bit_rate=818|probe_score=51
diff --git a/tests/ref/fate/codec2-probe-multi-cut-1200 b/tests/ref/fate/codec2-probe-multi-cut-1200
new file mode 100644
index 0000000000..58a8709718
--- /dev/null
+++ b/tests/ref/fate/codec2-probe-multi-cut-1200
@@ -0,0 +1,4 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=3200|duration_time=0.400000|size=60|pos=7|flags=K__|data_hash=CRC32:97712e59
+packet|codec_type=audio|stream_index=0|pts=3200|pts_time=0.400000|dts=3200|dts_time=0.400000|duration=1600|duration_time=0.200000|size=33|pos=67|flags=K_C|data_hash=CRC32:54020dae
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=5120|duration=0.640000|bit_rate=1200|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=2|extradata_size=4|extradata_hash=CRC32:e70b9852|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-cut-1200.c2|nb_streams=1|nb_programs=0|format_name=codec2|start_time=N/A|duration=0.640000|size=100|bit_rate=1250|probe_score=51
diff --git a/tests/ref/fate/codec2-probe-multi-cut-1300 b/tests/ref/fate/codec2-probe-multi-cut-1300
new file mode 100644
index 0000000000..b571a2f082
--- /dev/null
+++ b/tests/ref/fate/codec2-probe-multi-cut-1300
@@ -0,0 +1,4 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=3200|duration_time=0.400000|size=70|pos=7|flags=K__|data_hash=CRC32:5e784ba8
+packet|codec_type=audio|stream_index=0|pts=3200|pts_time=0.400000|dts=3200|dts_time=0.400000|duration=960|duration_time=0.120000|size=23|pos=77|flags=K_C|data_hash=CRC32:812b14ca
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=4160|duration=0.520000|bit_rate=1400|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=2|extradata_size=4|extradata_hash=CRC32:fe10a913|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-cut-1300.c2|nb_streams=1|nb_programs=0|format_name=codec2|start_time=N/A|duration=0.520000|size=100|bit_rate=1538|probe_score=51
diff --git a/tests/ref/fate/codec2-probe-multi-cut-1400 b/tests/ref/fate/codec2-probe-multi-cut-1400
new file mode 100644
index 0000000000..d69d9c5a11
--- /dev/null
+++ b/tests/ref/fate/codec2-probe-multi-cut-1400
@@ -0,0 +1,4 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=3200|duration_time=0.400000|size=70|pos=7|flags=K__|data_hash=CRC32:de42f68f
+packet|codec_type=audio|stream_index=0|pts=3200|pts_time=0.400000|dts=3200|dts_time=0.400000|duration=960|duration_time=0.120000|size=23|pos=77|flags=K_C|data_hash=CRC32:c872c31e
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=4160|duration=0.520000|bit_rate=1400|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=2|extradata_size=4|extradata_hash=CRC32:b1513fd4|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-cut-1400.c2|nb_streams=1|nb_programs=0|format_name=codec2|start_time=N/A|duration=0.520000|size=100|bit_rate=1538|probe_score=51
diff --git a/tests/ref/fate/codec2-probe-multi-cut-1600 b/tests/ref/fate/codec2-probe-multi-cut-1600
new file mode 100644
index 0000000000..9134c1ea6b
--- /dev/null
+++ b/tests/ref/fate/codec2-probe-multi-cut-1600
@@ -0,0 +1,4 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=3200|duration_time=0.400000|size=80|pos=7|flags=K__|data_hash=CRC32:74196300
+packet|codec_type=audio|stream_index=0|pts=3200|pts_time=0.400000|dts=3200|dts_time=0.400000|duration=320|duration_time=0.040000|size=13|pos=87|flags=K_C|data_hash=CRC32:ce8782e8
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=3840|duration=0.480000|bit_rate=1600|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=2|extradata_size=4|extradata_hash=CRC32:a84a0e95|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-cut-1600.c2|nb_streams=1|nb_programs=0|format_name=codec2|start_time=N/A|duration=0.480000|size=100|bit_rate=1666|probe_score=51
diff --git a/tests/ref/fate/codec2-probe-multi-cut-2400 b/tests/ref/fate/codec2-probe-multi-cut-2400
new file mode 100644
index 0000000000..5a4a17a516
--- /dev/null
+++ b/tests/ref/fate/codec2-probe-multi-cut-2400
@@ -0,0 +1,4 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=1600|duration_time=0.200000|size=60|pos=7|flags=K__|data_hash=CRC32:7283101b
+packet|codec_type=audio|stream_index=0|pts=1600|pts_time=0.200000|dts=1600|dts_time=0.200000|duration=800|duration_time=0.100000|size=33|pos=67|flags=K_C|data_hash=CRC32:7ffca071
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=2560|duration=0.320000|bit_rate=2400|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=2|extradata_size=4|extradata_hash=CRC32:83675d56|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-cut-2400.c2|nb_streams=1|nb_programs=0|format_name=codec2|start_time=N/A|duration=0.320000|size=100|bit_rate=2500|probe_score=51
diff --git a/tests/ref/fate/codec2-probe-multi-cut-3200 b/tests/ref/fate/codec2-probe-multi-cut-3200
new file mode 100644
index 0000000000..a038f6173e
--- /dev/null
+++ b/tests/ref/fate/codec2-probe-multi-cut-3200
@@ -0,0 +1,4 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=1600|duration_time=0.200000|size=80|pos=7|flags=K__|data_hash=CRC32:5f0b44d5
+packet|codec_type=audio|stream_index=0|pts=1600|pts_time=0.200000|dts=1600|dts_time=0.200000|duration=160|duration_time=0.020000|size=13|pos=87|flags=K_C|data_hash=CRC32:4ef9b3ec
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=1920|duration=0.240000|bit_rate=3200|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=2|extradata_size=4|extradata_hash=CRC32:9a7c6c17|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-cut-3200.c2|nb_streams=1|nb_programs=0|format_name=codec2|start_time=N/A|duration=0.240000|size=100|bit_rate=3333|probe_score=51
diff --git a/tests/ref/fate/codec2-probe-multi-cut-700C b/tests/ref/fate/codec2-probe-multi-cut-700C
new file mode 100644
index 0000000000..90bb367568
--- /dev/null
+++ b/tests/ref/fate/codec2-probe-multi-cut-700C
@@ -0,0 +1,5 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=3200|duration_time=0.400000|size=40|pos=7|flags=K__|data_hash=CRC32:810ddca5
+packet|codec_type=audio|stream_index=0|pts=3200|pts_time=0.400000|dts=3200|dts_time=0.400000|duration=3200|duration_time=0.400000|size=40|pos=47|flags=K__|data_hash=CRC32:4d955a6f
+packet|codec_type=audio|stream_index=0|pts=6400|pts_time=0.800000|dts=6400|dts_time=0.800000|duration=960|duration_time=0.120000|size=13|pos=87|flags=K_C|data_hash=CRC32:55376c42
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=7680|duration=0.960000|bit_rate=800|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=3|extradata_size=4|extradata_hash=CRC32:52a5e61f|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-cut-700C.c2|nb_streams=1|nb_programs=0|format_name=codec2|start_time=N/A|duration=0.960000|size=100|bit_rate=833|probe_score=51
diff --git a/tests/ref/fate/libcodec2-1200 b/tests/ref/fate/libcodec2-1200
new file mode 100644
index 0000000000..975035985c
--- /dev/null
+++ b/tests/ref/fate/libcodec2-1200
@@ -0,0 +1,12 @@
+frames.frame.0.pkt_dts=0
+frames.frame.1.pkt_dts=3200
+frames.frame.2.pkt_dts=6400
+frames.frame.3.pkt_dts=9600
+frames.frame.4.pkt_dts=12800
+frames.frame.5.pkt_dts=16000
+frames.frame.6.pkt_dts=19200
+frames.frame.7.pkt_dts=22400
+streams.stream.0.codec_name="codec2"
+streams.stream.0.sample_rate="8000"
+streams.stream.0.channels=1
+streams.stream.0.duration="3.000000"
diff --git a/tests/ref/fate/libcodec2-1300 b/tests/ref/fate/libcodec2-1300
new file mode 100644
index 0000000000..975035985c
--- /dev/null
+++ b/tests/ref/fate/libcodec2-1300
@@ -0,0 +1,12 @@
+frames.frame.0.pkt_dts=0
+frames.frame.1.pkt_dts=3200
+frames.frame.2.pkt_dts=6400
+frames.frame.3.pkt_dts=9600
+frames.frame.4.pkt_dts=12800
+frames.frame.5.pkt_dts=16000
+frames.frame.6.pkt_dts=19200
+frames.frame.7.pkt_dts=22400
+streams.stream.0.codec_name="codec2"
+streams.stream.0.sample_rate="8000"
+streams.stream.0.channels=1
+streams.stream.0.duration="3.000000"
diff --git a/tests/ref/fate/libcodec2-1400 b/tests/ref/fate/libcodec2-1400
new file mode 100644
index 0000000000..975035985c
--- /dev/null
+++ b/tests/ref/fate/libcodec2-1400
@@ -0,0 +1,12 @@
+frames.frame.0.pkt_dts=0
+frames.frame.1.pkt_dts=3200
+frames.frame.2.pkt_dts=6400
+frames.frame.3.pkt_dts=9600
+frames.frame.4.pkt_dts=12800
+frames.frame.5.pkt_dts=16000
+frames.frame.6.pkt_dts=19200
+frames.frame.7.pkt_dts=22400
+streams.stream.0.codec_name="codec2"
+streams.stream.0.sample_rate="8000"
+streams.stream.0.channels=1
+streams.stream.0.duration="3.000000"
diff --git a/tests/ref/fate/libcodec2-1600 b/tests/ref/fate/libcodec2-1600
new file mode 100644
index 0000000000..975035985c
--- /dev/null
+++ b/tests/ref/fate/libcodec2-1600
@@ -0,0 +1,12 @@
+frames.frame.0.pkt_dts=0
+frames.frame.1.pkt_dts=3200
+frames.frame.2.pkt_dts=6400
+frames.frame.3.pkt_dts=9600
+frames.frame.4.pkt_dts=12800
+frames.frame.5.pkt_dts=16000
+frames.frame.6.pkt_dts=19200
+frames.frame.7.pkt_dts=22400
+streams.stream.0.codec_name="codec2"
+streams.stream.0.sample_rate="8000"
+streams.stream.0.channels=1
+streams.stream.0.duration="3.000000"
diff --git a/tests/ref/fate/libcodec2-2400 b/tests/ref/fate/libcodec2-2400
new file mode 100644
index 0000000000..54164aef8b
--- /dev/null
+++ b/tests/ref/fate/libcodec2-2400
@@ -0,0 +1,19 @@
+frames.frame.0.pkt_dts=0
+frames.frame.1.pkt_dts=1600
+frames.frame.2.pkt_dts=3200
+frames.frame.3.pkt_dts=4800
+frames.frame.4.pkt_dts=6400
+frames.frame.5.pkt_dts=8000
+frames.frame.6.pkt_dts=9600
+frames.frame.7.pkt_dts=11200
+frames.frame.8.pkt_dts=12800
+frames.frame.9.pkt_dts=14400
+frames.frame.10.pkt_dts=16000
+frames.frame.11.pkt_dts=17600
+frames.frame.12.pkt_dts=19200
+frames.frame.13.pkt_dts=20800
+frames.frame.14.pkt_dts=22400
+streams.stream.0.codec_name="codec2"
+streams.stream.0.sample_rate="8000"
+streams.stream.0.channels=1
+streams.stream.0.duration="3.000000"
diff --git a/tests/ref/fate/libcodec2-3200 b/tests/ref/fate/libcodec2-3200
new file mode 100644
index 0000000000..54164aef8b
--- /dev/null
+++ b/tests/ref/fate/libcodec2-3200
@@ -0,0 +1,19 @@
+frames.frame.0.pkt_dts=0
+frames.frame.1.pkt_dts=1600
+frames.frame.2.pkt_dts=3200
+frames.frame.3.pkt_dts=4800
+frames.frame.4.pkt_dts=6400
+frames.frame.5.pkt_dts=8000
+frames.frame.6.pkt_dts=9600
+frames.frame.7.pkt_dts=11200
+frames.frame.8.pkt_dts=12800
+frames.frame.9.pkt_dts=14400
+frames.frame.10.pkt_dts=16000
+frames.frame.11.pkt_dts=17600
+frames.frame.12.pkt_dts=19200
+frames.frame.13.pkt_dts=20800
+frames.frame.14.pkt_dts=22400
+streams.stream.0.codec_name="codec2"
+streams.stream.0.sample_rate="8000"
+streams.stream.0.channels=1
+streams.stream.0.duration="3.000000"
diff --git a/tests/ref/fate/libcodec2-700C b/tests/ref/fate/libcodec2-700C
new file mode 100644
index 0000000000..975035985c
--- /dev/null
+++ b/tests/ref/fate/libcodec2-700C
@@ -0,0 +1,12 @@
+frames.frame.0.pkt_dts=0
+frames.frame.1.pkt_dts=3200
+frames.frame.2.pkt_dts=6400
+frames.frame.3.pkt_dts=9600
+frames.frame.4.pkt_dts=12800
+frames.frame.5.pkt_dts=16000
+frames.frame.6.pkt_dts=19200
+frames.frame.7.pkt_dts=22400
+streams.stream.0.codec_name="codec2"
+streams.stream.0.sample_rate="8000"
+streams.stream.0.channels=1
+streams.stream.0.duration="3.000000"
diff --git a/tests/ref/fate/libcodec2-cut-1200 b/tests/ref/fate/libcodec2-cut-1200
new file mode 100644
index 0000000000..ca7b841943
--- /dev/null
+++ b/tests/ref/fate/libcodec2-cut-1200
@@ -0,0 +1,6 @@
+frames.frame.0.pkt_dts=0
+frames.frame.1.pkt_dts=3200
+streams.stream.0.codec_name="codec2"
+streams.stream.0.sample_rate="8000"
+streams.stream.0.channels=1
+streams.stream.0.duration="0.600000"
diff --git a/tests/ref/fate/libcodec2-cut-1300 b/tests/ref/fate/libcodec2-cut-1300
new file mode 100644
index 0000000000..96ed128cab
--- /dev/null
+++ b/tests/ref/fate/libcodec2-cut-1300
@@ -0,0 +1,6 @@
+frames.frame.0.pkt_dts=0
+frames.frame.1.pkt_dts=3200
+streams.stream.0.codec_name="codec2"
+streams.stream.0.sample_rate="8000"
+streams.stream.0.channels=1
+streams.stream.0.duration="0.520000"
diff --git a/tests/ref/fate/libcodec2-cut-1400 b/tests/ref/fate/libcodec2-cut-1400
new file mode 100644
index 0000000000..96ed128cab
--- /dev/null
+++ b/tests/ref/fate/libcodec2-cut-1400
@@ -0,0 +1,6 @@
+frames.frame.0.pkt_dts=0
+frames.frame.1.pkt_dts=3200
+streams.stream.0.codec_name="codec2"
+streams.stream.0.sample_rate="8000"
+streams.stream.0.channels=1
+streams.stream.0.duration="0.520000"
diff --git a/tests/ref/fate/libcodec2-cut-1600 b/tests/ref/fate/libcodec2-cut-1600
new file mode 100644
index 0000000000..556d2be87d
--- /dev/null
+++ b/tests/ref/fate/libcodec2-cut-1600
@@ -0,0 +1,6 @@
+frames.frame.0.pkt_dts=0
+frames.frame.1.pkt_dts=3200
+streams.stream.0.codec_name="codec2"
+streams.stream.0.sample_rate="8000"
+streams.stream.0.channels=1
+streams.stream.0.duration="0.440000"
diff --git a/tests/ref/fate/libcodec2-cut-2400 b/tests/ref/fate/libcodec2-cut-2400
new file mode 100644
index 0000000000..84133a8224
--- /dev/null
+++ b/tests/ref/fate/libcodec2-cut-2400
@@ -0,0 +1,6 @@
+frames.frame.0.pkt_dts=0
+frames.frame.1.pkt_dts=1600
+streams.stream.0.codec_name="codec2"
+streams.stream.0.sample_rate="8000"
+streams.stream.0.channels=1
+streams.stream.0.duration="0.300000"
diff --git a/tests/ref/fate/libcodec2-cut-3200 b/tests/ref/fate/libcodec2-cut-3200
new file mode 100644
index 0000000000..db93abdb36
--- /dev/null
+++ b/tests/ref/fate/libcodec2-cut-3200
@@ -0,0 +1,6 @@
+frames.frame.0.pkt_dts=0
+frames.frame.1.pkt_dts=1600
+streams.stream.0.codec_name="codec2"
+streams.stream.0.sample_rate="8000"
+streams.stream.0.channels=1
+streams.stream.0.duration="0.220000"
diff --git a/tests/ref/fate/libcodec2-cut-700C b/tests/ref/fate/libcodec2-cut-700C
new file mode 100644
index 0000000000..61a5cf9b66
--- /dev/null
+++ b/tests/ref/fate/libcodec2-cut-700C
@@ -0,0 +1,7 @@
+frames.frame.0.pkt_dts=0
+frames.frame.1.pkt_dts=3200
+frames.frame.2.pkt_dts=6400
+streams.stream.0.codec_name="codec2"
+streams.stream.0.sample_rate="8000"
+streams.stream.0.channels=1
+streams.stream.0.duration="0.920000"
--
2.39.2
[-- Attachment #3: generate.sh --]
[-- Type: application/x-shellscript, Size: 566 bytes --]
[-- Attachment #4: cross-cut-3200.raw --]
[-- Type: image/x-panasonic-rw, Size: 93 bytes --]
[-- Attachment #5: cross-cut-3200.c2 --]
[-- Type: application/octet-stream, Size: 100 bytes --]
[-- Attachment #6: cross-cut-2400.raw --]
[-- Type: image/x-panasonic-rw, Size: 93 bytes --]
[-- Attachment #7: cross-cut-2400.c2 --]
[-- Type: application/octet-stream, Size: 100 bytes --]
[-- Attachment #8: cross-cut-1600.raw --]
[-- Type: image/x-panasonic-rw, Size: 93 bytes --]
[-- Attachment #9: cross-cut-1600.c2 --]
[-- Type: application/octet-stream, Size: 100 bytes --]
[-- Attachment #10: cross-cut-1400.raw --]
[-- Type: image/x-panasonic-rw, Size: 93 bytes --]
[-- Attachment #11: cross-cut-1400.c2 --]
[-- Type: application/octet-stream, Size: 100 bytes --]
[-- Attachment #12: cross-cut-1300.raw --]
[-- Type: image/x-panasonic-rw, Size: 93 bytes --]
[-- Attachment #13: cross-cut-1300.c2 --]
[-- Type: application/octet-stream, Size: 100 bytes --]
[-- Attachment #14: cross-cut-1200.raw --]
[-- Type: image/x-panasonic-rw, Size: 93 bytes --]
[-- Attachment #15: cross-cut-1200.c2 --]
[-- Type: application/octet-stream, Size: 100 bytes --]
[-- Attachment #16: cross-cut-700C.raw --]
[-- Type: image/x-panasonic-rw, Size: 93 bytes --]
[-- Attachment #17: cross-cut-700C.c2 --]
[-- Type: application/octet-stream, Size: 100 bytes --]
[-- Attachment #18: cross-3200.raw --]
[-- Type: image/x-panasonic-rw, Size: 1200 bytes --]
[-- Attachment #19: cross-3200.c2 --]
[-- Type: application/octet-stream, Size: 1207 bytes --]
[-- Attachment #20: cross-2400.raw --]
[-- Type: image/x-panasonic-rw, Size: 900 bytes --]
[-- Attachment #21: cross-2400.c2 --]
[-- Type: application/octet-stream, Size: 907 bytes --]
[-- Attachment #22: cross-1600.raw --]
[-- Type: image/x-panasonic-rw, Size: 600 bytes --]
[-- Attachment #23: cross-1600.c2 --]
[-- Type: application/octet-stream, Size: 607 bytes --]
[-- Attachment #24: cross-1400.raw --]
[-- Type: image/x-panasonic-rw, Size: 525 bytes --]
[-- Attachment #25: cross-1400.c2 --]
[-- Type: application/octet-stream, Size: 532 bytes --]
[-- Attachment #26: cross-1300.raw --]
[-- Type: image/x-panasonic-rw, Size: 525 bytes --]
[-- Attachment #27: cross-1300.c2 --]
[-- Type: application/octet-stream, Size: 532 bytes --]
[-- Attachment #28: cross-1200.raw --]
[-- Type: image/x-panasonic-rw, Size: 450 bytes --]
[-- Attachment #29: cross-1200.c2 --]
[-- Type: application/octet-stream, Size: 457 bytes --]
[-- Attachment #30: cross-700C.raw --]
[-- Type: image/x-panasonic-rw, Size: 300 bytes --]
[-- Attachment #31: cross-700C.c2 --]
[-- Type: application/octet-stream, Size: 307 bytes --]
[-- Attachment #32: cross.wav --]
[-- Type: audio/x-wav, Size: 24058 bytes --]
[-- Attachment #33: Type: text/plain, Size: 251 bytes --]
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [FFmpeg-devel] [PATCH 1/6] lavc/codec2utils: Use actual libcodec2 version
2023-12-28 18:43 [FFmpeg-devel] [PATCH 1/6] lavc/codec2utils: Use actual libcodec2 version Tomas Härdin
` (4 preceding siblings ...)
2023-12-28 18:48 ` [FFmpeg-devel] [PATCH 6/6] Add FATE tests for codec2, codec2raw and libcodec2 wrapper Tomas Härdin
@ 2023-12-28 20:29 ` Michael Niedermayer
2023-12-28 21:21 ` Tomas Härdin
5 siblings, 1 reply; 15+ messages in thread
From: Michael Niedermayer @ 2023-12-28 20:29 UTC (permalink / raw)
To: FFmpeg development discussions and patches
[-- Attachment #1.1: Type: text/plain, Size: 1479 bytes --]
On Thu, Dec 28, 2023 at 07:43:09PM +0100, Tomas Härdin wrote:
> libcodec2 has reached 1.X so it's about time the bindings receive some
> attention. This patchset also includes some much-needed tests. Where do
> I submit files for inclusion in FATE again? They are very small as is
> to be expected from a codec that runs at 700-3200 bit/s
>
> /Tomas
> codec2utils.h | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
> a79a98f8ffc27ca6d79c9d373957fa0bdc985ef2 0001-lavc-codec2utils-Use-actual-libcodec2-version.patch
> From 7205e741aaadc354b403010c97f9cd803eec612d Mon Sep 17 00:00:00 2001
> From: =?UTF-8?q?Tomas=20H=C3=A4rdin?= <git@haerdin.se>
> Date: Wed, 27 Dec 2023 17:32:21 +0100
> Subject: [PATCH 1/6] lavc/codec2utils: Use actual libcodec2 version
This breaks build here
CC libavformat/codec2.o
In file included from libavformat/codec2.c:24:0:
./libavcodec/codec2utils.h:26:10: fatal error: codec2/version.h: No such file or directory
#include <codec2/version.h>
^~~~~~~~~~~~~~~~~~
compilation terminated.
ffbuild/common.mak:81: recipe for target 'libavformat/codec2.o' failed
make: *** [libavformat/codec2.o] Error 1
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Many that live deserve death. And some that die deserve life. Can you give
it to them? Then do not be too eager to deal out death in judgement. For
even the very wise cannot see all ends. -- Gandalf
[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]
[-- Attachment #2: Type: text/plain, Size: 251 bytes --]
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [FFmpeg-devel] [PATCH 1/6] lavc/codec2utils: Use actual libcodec2 version
2023-12-28 20:29 ` [FFmpeg-devel] [PATCH 1/6] lavc/codec2utils: Use actual libcodec2 version Michael Niedermayer
@ 2023-12-28 21:21 ` Tomas Härdin
2023-12-28 23:30 ` Michael Niedermayer
0 siblings, 1 reply; 15+ messages in thread
From: Tomas Härdin @ 2023-12-28 21:21 UTC (permalink / raw)
To: FFmpeg development discussions and patches
tor 2023-12-28 klockan 21:29 +0100 skrev Michael Niedermayer:
> On Thu, Dec 28, 2023 at 07:43:09PM +0100, Tomas Härdin wrote:
> > libcodec2 has reached 1.X so it's about time the bindings receive
> > some
> > attention. This patchset also includes some much-needed tests.
> > Where do
> > I submit files for inclusion in FATE again? They are very small as
> > is
> > to be expected from a codec that runs at 700-3200 bit/s
> >
> > /Tomas
>
> > codec2utils.h | 6 +++---
> > 1 file changed, 3 insertions(+), 3 deletions(-)
> > a79a98f8ffc27ca6d79c9d373957fa0bdc985ef2 0001-lavc-codec2utils-
> > Use-actual-libcodec2-version.patch
> > From 7205e741aaadc354b403010c97f9cd803eec612d Mon Sep 17 00:00:00
> > 2001
> > From: =?UTF-8?q?Tomas=20H=C3=A4rdin?= <git@haerdin.se>
> > Date: Wed, 27 Dec 2023 17:32:21 +0100
> > Subject: [PATCH 1/6] lavc/codec2utils: Use actual libcodec2 version
>
> This breaks build here
>
> CC libavformat/codec2.o
> In file included from libavformat/codec2.c:24:0:
> ./libavcodec/codec2utils.h:26:10: fatal error: codec2/version.h: No
> such file or directory
> #include <codec2/version.h>
> ^~~~~~~~~~~~~~~~~~
What version of libcodec2 are you using? I don't think we can rely on
versions that don't expose version information, which only comes about
because I explicitly told them to please expose it in a header. I don't
think we can even probe version at configure time otherwise.
libcodec2-dev on Debian bookworm works for me
/Tomas
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [FFmpeg-devel] [PATCH 1/6] lavc/codec2utils: Use actual libcodec2 version
2023-12-28 21:21 ` Tomas Härdin
@ 2023-12-28 23:30 ` Michael Niedermayer
2023-12-29 12:43 ` Tomas Härdin
2023-12-30 16:00 ` Tomas Härdin
0 siblings, 2 replies; 15+ messages in thread
From: Michael Niedermayer @ 2023-12-28 23:30 UTC (permalink / raw)
To: FFmpeg development discussions and patches
[-- Attachment #1.1: Type: text/plain, Size: 2054 bytes --]
On Thu, Dec 28, 2023 at 10:21:23PM +0100, Tomas Härdin wrote:
> tor 2023-12-28 klockan 21:29 +0100 skrev Michael Niedermayer:
> > On Thu, Dec 28, 2023 at 07:43:09PM +0100, Tomas Härdin wrote:
> > > libcodec2 has reached 1.X so it's about time the bindings receive
> > > some
> > > attention. This patchset also includes some much-needed tests.
> > > Where do
> > > I submit files for inclusion in FATE again? They are very small as
> > > is
> > > to be expected from a codec that runs at 700-3200 bit/s
> > >
> > > /Tomas
> >
> > > codec2utils.h | 6 +++---
> > > 1 file changed, 3 insertions(+), 3 deletions(-)
> > > a79a98f8ffc27ca6d79c9d373957fa0bdc985ef2 0001-lavc-codec2utils-
> > > Use-actual-libcodec2-version.patch
> > > From 7205e741aaadc354b403010c97f9cd803eec612d Mon Sep 17 00:00:00
> > > 2001
> > > From: =?UTF-8?q?Tomas=20H=C3=A4rdin?= <git@haerdin.se>
> > > Date: Wed, 27 Dec 2023 17:32:21 +0100
> > > Subject: [PATCH 1/6] lavc/codec2utils: Use actual libcodec2 version
> >
> > This breaks build here
> >
> > CC libavformat/codec2.o
> > In file included from libavformat/codec2.c:24:0:
> > ./libavcodec/codec2utils.h:26:10: fatal error: codec2/version.h: No
> > such file or directory
> > #include <codec2/version.h>
> > ^~~~~~~~~~~~~~~~~~
>
> What version of libcodec2 are you using? I don't think we can rely on
> versions that don't expose version information, which only comes about
> because I explicitly told them to please expose it in a header. I don't
> think we can even probe version at configure time otherwise.
>
> libcodec2-dev on Debian bookworm works for me
i think theres no libcodec2* on the box and this header is used outside
checks for libcodec2* ...
thx
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Many that live deserve death. And some that die deserve life. Can you give
it to them? Then do not be too eager to deal out death in judgement. For
even the very wise cannot see all ends. -- Gandalf
[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]
[-- Attachment #2: Type: text/plain, Size: 251 bytes --]
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [FFmpeg-devel] [PATCH 6/6] Add FATE tests for codec2, codec2raw and libcodec2 wrapper
2023-12-28 18:48 ` [FFmpeg-devel] [PATCH 6/6] Add FATE tests for codec2, codec2raw and libcodec2 wrapper Tomas Härdin
@ 2023-12-29 10:40 ` Andreas Rheinhardt
2023-12-29 12:40 ` Tomas Härdin
2023-12-30 16:02 ` Tomas Härdin
0 siblings, 2 replies; 15+ messages in thread
From: Andreas Rheinhardt @ 2023-12-29 10:40 UTC (permalink / raw)
To: ffmpeg-devel
Tomas Härdin:
> Tests all modes, both demuxers, the muxer, the decoder and the encoder.
> Also tests both well-formed files and slightly broken truncated files
>
> The raw files are just the .c2 files with the header stripped.
> Therefore the relevant tests reuse the .c2 ref files.
>
If they are the same, then can't you reuse the c2 files with the subfile
protocol for the raw tests? (This might necessitate some changes to
fate-run.sh, but it would provide coverage for the subfile protocol.)
- Andreas
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [FFmpeg-devel] [PATCH 6/6] Add FATE tests for codec2, codec2raw and libcodec2 wrapper
2023-12-29 10:40 ` Andreas Rheinhardt
@ 2023-12-29 12:40 ` Tomas Härdin
2023-12-30 16:02 ` Tomas Härdin
1 sibling, 0 replies; 15+ messages in thread
From: Tomas Härdin @ 2023-12-29 12:40 UTC (permalink / raw)
To: FFmpeg development discussions and patches
fre 2023-12-29 klockan 11:40 +0100 skrev Andreas Rheinhardt:
> Tomas Härdin:
> > Tests all modes, both demuxers, the muxer, the decoder and the
> > encoder.
> > Also tests both well-formed files and slightly broken truncated
> > files
> >
> > The raw files are just the .c2 files with the header stripped.
> > Therefore the relevant tests reuse the .c2 ref files.
> >
>
> If they are the same, then can't you reuse the c2 files with the
> subfile
> protocol for the raw tests? (This might necessitate some changes to
> fate-run.sh, but it would provide coverage for the subfile protocol.)
I didn't know about the subfile protocol. But yeah seems like that
should be possible. I'll have a look
/Tomas
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [FFmpeg-devel] [PATCH 1/6] lavc/codec2utils: Use actual libcodec2 version
2023-12-28 23:30 ` Michael Niedermayer
@ 2023-12-29 12:43 ` Tomas Härdin
2023-12-30 16:00 ` Tomas Härdin
1 sibling, 0 replies; 15+ messages in thread
From: Tomas Härdin @ 2023-12-29 12:43 UTC (permalink / raw)
To: FFmpeg development discussions and patches
fre 2023-12-29 klockan 00:30 +0100 skrev Michael Niedermayer:
> On Thu, Dec 28, 2023 at 10:21:23PM +0100, Tomas Härdin wrote:
> > tor 2023-12-28 klockan 21:29 +0100 skrev Michael Niedermayer:
> > > On Thu, Dec 28, 2023 at 07:43:09PM +0100, Tomas Härdin wrote:
> > > > libcodec2 has reached 1.X so it's about time the bindings
> > > > receive
> > > > some
> > > > attention. This patchset also includes some much-needed tests.
> > > > Where do
> > > > I submit files for inclusion in FATE again? They are very small
> > > > as
> > > > is
> > > > to be expected from a codec that runs at 700-3200 bit/s
> > > >
> > > > /Tomas
> > >
> > > > codec2utils.h | 6 +++---
> > > > 1 file changed, 3 insertions(+), 3 deletions(-)
> > > > a79a98f8ffc27ca6d79c9d373957fa0bdc985ef2 0001-lavc-
> > > > codec2utils-
> > > > Use-actual-libcodec2-version.patch
> > > > From 7205e741aaadc354b403010c97f9cd803eec612d Mon Sep 17
> > > > 00:00:00
> > > > 2001
> > > > From: =?UTF-8?q?Tomas=20H=C3=A4rdin?= <git@haerdin.se>
> > > > Date: Wed, 27 Dec 2023 17:32:21 +0100
> > > > Subject: [PATCH 1/6] lavc/codec2utils: Use actual libcodec2
> > > > version
> > >
> > > This breaks build here
> > >
> > > CC libavformat/codec2.o
> > > In file included from libavformat/codec2.c:24:0:
> > > ./libavcodec/codec2utils.h:26:10: fatal error: codec2/version.h:
> > > No
> > > such file or directory
> > > #include <codec2/version.h>
> > > ^~~~~~~~~~~~~~~~~~
> >
> > What version of libcodec2 are you using? I don't think we can rely
> > on
> > versions that don't expose version information, which only comes
> > about
> > because I explicitly told them to please expose it in a header. I
> > don't
> > think we can even probe version at configure time otherwise.
> >
> > libcodec2-dev on Debian bookworm works for me
>
> i think theres no libcodec2* on the box and this header is used
> outside
> checks for libcodec2* ...
Right, the demuxers and muxer can be used without having the library
installed. An #if CONFIG_LIBCODEC2 with a fallback to a fake version
should work. Given that 1.2.0 is the latest release that seems a
reasonable version to signal, indicating "1.2.0 was the last time we
checked that we're compatible with libcodec2"..
/Tomas
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [FFmpeg-devel] [PATCH 1/6] lavc/codec2utils: Use actual libcodec2 version
2023-12-28 23:30 ` Michael Niedermayer
2023-12-29 12:43 ` Tomas Härdin
@ 2023-12-30 16:00 ` Tomas Härdin
1 sibling, 0 replies; 15+ messages in thread
From: Tomas Härdin @ 2023-12-30 16:00 UTC (permalink / raw)
To: FFmpeg development discussions and patches
[-- Attachment #1: Type: text/plain, Size: 2032 bytes --]
fre 2023-12-29 klockan 00:30 +0100 skrev Michael Niedermayer:
> On Thu, Dec 28, 2023 at 10:21:23PM +0100, Tomas Härdin wrote:
> > tor 2023-12-28 klockan 21:29 +0100 skrev Michael Niedermayer:
> > > On Thu, Dec 28, 2023 at 07:43:09PM +0100, Tomas Härdin wrote:
> > > > libcodec2 has reached 1.X so it's about time the bindings
> > > > receive
> > > > some
> > > > attention. This patchset also includes some much-needed tests.
> > > > Where do
> > > > I submit files for inclusion in FATE again? They are very small
> > > > as
> > > > is
> > > > to be expected from a codec that runs at 700-3200 bit/s
> > > >
> > > > /Tomas
> > >
> > > > codec2utils.h | 6 +++---
> > > > 1 file changed, 3 insertions(+), 3 deletions(-)
> > > > a79a98f8ffc27ca6d79c9d373957fa0bdc985ef2 0001-lavc-
> > > > codec2utils-
> > > > Use-actual-libcodec2-version.patch
> > > > From 7205e741aaadc354b403010c97f9cd803eec612d Mon Sep 17
> > > > 00:00:00
> > > > 2001
> > > > From: =?UTF-8?q?Tomas=20H=C3=A4rdin?= <git@haerdin.se>
> > > > Date: Wed, 27 Dec 2023 17:32:21 +0100
> > > > Subject: [PATCH 1/6] lavc/codec2utils: Use actual libcodec2
> > > > version
> > >
> > > This breaks build here
> > >
> > > CC libavformat/codec2.o
> > > In file included from libavformat/codec2.c:24:0:
> > > ./libavcodec/codec2utils.h:26:10: fatal error: codec2/version.h:
> > > No
> > > such file or directory
> > > #include <codec2/version.h>
> > > ^~~~~~~~~~~~~~~~~~
> >
> > What version of libcodec2 are you using? I don't think we can rely
> > on
> > versions that don't expose version information, which only comes
> > about
> > because I explicitly told them to please expose it in a header. I
> > don't
> > think we can even probe version at configure time otherwise.
> >
> > libcodec2-dev on Debian bookworm works for me
>
> i think theres no libcodec2* on the box and this header is used
> outside
> checks for libcodec2* ...
Updated patch attached
/Tomas
[-- Attachment #2: 0001-lavc-codec2utils-Use-actual-libcodec2-version.patch --]
[-- Type: text/x-patch, Size: 1517 bytes --]
From 098a3b7e78dc0b1bbdfce051de21526f0a886b4d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Tomas=20H=C3=A4rdin?= <git@haerdin.se>
Date: Wed, 27 Dec 2023 17:32:21 +0100
Subject: [PATCH 1/7] lavc/codec2utils: Use actual libcodec2 version
---
libavcodec/codec2utils.h | 17 ++++++++++++++---
1 file changed, 14 insertions(+), 3 deletions(-)
diff --git a/libavcodec/codec2utils.h b/libavcodec/codec2utils.h
index 6812ae895c..e1314b05b6 100644
--- a/libavcodec/codec2utils.h
+++ b/libavcodec/codec2utils.h
@@ -23,6 +23,10 @@
#define AVCODEC_CODEC2UTILS_H
#include <stdint.h>
+#include "config.h"
+#if CONFIG_LIBCODEC2
+#include <codec2/version.h>
+#endif
//Highest mode we're willing to use.
//Don't want to let users accidentally produce files that can't be decoded in the future.
@@ -49,9 +53,16 @@
//Used in codec2raw demuxer and libcodec2 encoder
static inline void codec2_make_extradata(uint8_t *ptr, int mode) {
- //version 0.8 as of 2017-12-23 (r3386)
- ptr[0] = 0; //major
- ptr[1] = 8; //minor
+#if CONFIG_LIBCODEC2
+ ptr[0] = CODEC2_VERSION_MAJOR;
+ ptr[1] = CODEC2_VERSION_MINOR;
+#else
+ // this codepath is only hit when demuxing raw codec2 with libcodec2 disabled,
+ // and only relevant when remuxing from raw codec2 to .c2,
+ // because version information is ignored except when writing the .c2 header
+ ptr[0] = 1; // version 1.2.0 is the latest we know of
+ ptr[1] = 2;
+#endif
ptr[2] = mode; //mode
ptr[3] = 0; //flags
}
--
2.39.2
[-- Attachment #3: Type: text/plain, Size: 251 bytes --]
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [FFmpeg-devel] [PATCH 6/6] Add FATE tests for codec2, codec2raw and libcodec2 wrapper
2023-12-29 10:40 ` Andreas Rheinhardt
2023-12-29 12:40 ` Tomas Härdin
@ 2023-12-30 16:02 ` Tomas Härdin
2023-12-30 16:55 ` Tomas Härdin
1 sibling, 1 reply; 15+ messages in thread
From: Tomas Härdin @ 2023-12-30 16:02 UTC (permalink / raw)
To: FFmpeg development discussions and patches
[-- Attachment #1: Type: text/plain, Size: 808 bytes --]
fre 2023-12-29 klockan 11:40 +0100 skrev Andreas Rheinhardt:
> Tomas Härdin:
> > Tests all modes, both demuxers, the muxer, the decoder and the
> > encoder.
> > Also tests both well-formed files and slightly broken truncated
> > files
> >
> > The raw files are just the .c2 files with the header stripped.
> > Therefore the relevant tests reuse the .c2 ref files.
> >
>
> If they are the same, then can't you reuse the c2 files with the
> subfile
> protocol for the raw tests? (This might necessitate some changes to
> fate-run.sh, but it would provide coverage for the subfile protocol.)
Updated patch attached. I also discovered some bugs in the previous
version
I'm thinking maybe not writing positions to the ref files. That way a
bunch of tests can share refs again
/Tomas
[-- Attachment #2: 0007-Add-FATE-tests-for-codec2-codec2raw-and-libcodec2-wr.patch --]
[-- Type: text/x-patch, Size: 412597 bytes --]
From fc1411ec44e7361b9e196e206c1ef84f87262131 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Tomas=20H=C3=A4rdin?= <git@haerdin.se>
Date: Wed, 27 Dec 2023 18:35:38 +0100
Subject: [PATCH 7/7] Add FATE tests for codec2, codec2raw and libcodec2
wrapper
---
tests/Makefile | 1 +
tests/fate-run.sh | 19 ++-
tests/fate/codec2.mak | 76 +++++++++
tests/ref/fate/codec2-demux-1200 | 1 +
tests/ref/fate/codec2-demux-1300 | 1 +
tests/ref/fate/codec2-demux-1400 | 1 +
tests/ref/fate/codec2-demux-1600 | 1 +
tests/ref/fate/codec2-demux-2400 | 1 +
tests/ref/fate/codec2-demux-3200 | 1 +
tests/ref/fate/codec2-demux-700C | 1 +
tests/ref/fate/codec2-demux-cut-1200 | 1 +
tests/ref/fate/codec2-demux-cut-1300 | 1 +
tests/ref/fate/codec2-demux-cut-1400 | 1 +
tests/ref/fate/codec2-demux-cut-1600 | 1 +
tests/ref/fate/codec2-demux-cut-2400 | 1 +
tests/ref/fate/codec2-demux-cut-3200 | 1 +
tests/ref/fate/codec2-demux-cut-700C | 1 +
tests/ref/fate/codec2-probe-1200 | 77 +++++++++
tests/ref/fate/codec2-probe-1300 | 77 +++++++++
tests/ref/fate/codec2-probe-1400 | 77 +++++++++
tests/ref/fate/codec2-probe-1600 | 77 +++++++++
tests/ref/fate/codec2-probe-2400 | 152 ++++++++++++++++++
tests/ref/fate/codec2-probe-3200 | 152 ++++++++++++++++++
tests/ref/fate/codec2-probe-700C | 77 +++++++++
tests/ref/fate/codec2-probe-cut-1200 | 18 +++
tests/ref/fate/codec2-probe-cut-1300 | 16 ++
tests/ref/fate/codec2-probe-cut-1400 | 16 ++
tests/ref/fate/codec2-probe-cut-1600 | 14 ++
tests/ref/fate/codec2-probe-cut-2400 | 18 +++
tests/ref/fate/codec2-probe-cut-3200 | 14 ++
tests/ref/fate/codec2-probe-cut-700C | 26 +++
tests/ref/fate/codec2-probe-multi-1200 | 10 ++
tests/ref/fate/codec2-probe-multi-1300 | 10 ++
tests/ref/fate/codec2-probe-multi-1400 | 10 ++
tests/ref/fate/codec2-probe-multi-1600 | 10 ++
tests/ref/fate/codec2-probe-multi-2400 | 17 ++
tests/ref/fate/codec2-probe-multi-3200 | 17 ++
tests/ref/fate/codec2-probe-multi-700C | 10 ++
tests/ref/fate/codec2-probe-multi-cut-1200 | 4 +
tests/ref/fate/codec2-probe-multi-cut-1300 | 4 +
tests/ref/fate/codec2-probe-multi-cut-1400 | 4 +
tests/ref/fate/codec2-probe-multi-cut-1600 | 4 +
tests/ref/fate/codec2-probe-multi-cut-2400 | 4 +
tests/ref/fate/codec2-probe-multi-cut-3200 | 4 +
tests/ref/fate/codec2-probe-multi-cut-700C | 5 +
tests/ref/fate/codec2raw-probe-1200 | 77 +++++++++
tests/ref/fate/codec2raw-probe-1300 | 77 +++++++++
tests/ref/fate/codec2raw-probe-1400 | 77 +++++++++
tests/ref/fate/codec2raw-probe-1600 | 77 +++++++++
tests/ref/fate/codec2raw-probe-2400 | 152 ++++++++++++++++++
tests/ref/fate/codec2raw-probe-3200 | 152 ++++++++++++++++++
tests/ref/fate/codec2raw-probe-700C | 77 +++++++++
tests/ref/fate/codec2raw-probe-cut-1200 | 18 +++
tests/ref/fate/codec2raw-probe-cut-1300 | 16 ++
tests/ref/fate/codec2raw-probe-cut-1400 | 16 ++
tests/ref/fate/codec2raw-probe-cut-1600 | 14 ++
tests/ref/fate/codec2raw-probe-cut-2400 | 18 +++
tests/ref/fate/codec2raw-probe-cut-3200 | 14 ++
tests/ref/fate/codec2raw-probe-cut-700C | 26 +++
tests/ref/fate/codec2raw-probe-multi-1200 | 10 ++
tests/ref/fate/codec2raw-probe-multi-1300 | 10 ++
tests/ref/fate/codec2raw-probe-multi-1400 | 10 ++
tests/ref/fate/codec2raw-probe-multi-1600 | 10 ++
tests/ref/fate/codec2raw-probe-multi-2400 | 17 ++
tests/ref/fate/codec2raw-probe-multi-3200 | 17 ++
tests/ref/fate/codec2raw-probe-multi-700C | 10 ++
tests/ref/fate/codec2raw-probe-multi-cut-1200 | 4 +
tests/ref/fate/codec2raw-probe-multi-cut-1300 | 4 +
tests/ref/fate/codec2raw-probe-multi-cut-1400 | 4 +
tests/ref/fate/codec2raw-probe-multi-cut-1600 | 4 +
tests/ref/fate/codec2raw-probe-multi-cut-2400 | 4 +
tests/ref/fate/codec2raw-probe-multi-cut-3200 | 4 +
tests/ref/fate/codec2raw-probe-multi-cut-700C | 5 +
tests/ref/fate/libcodec2-1200 | 12 ++
tests/ref/fate/libcodec2-1300 | 12 ++
tests/ref/fate/libcodec2-1400 | 12 ++
tests/ref/fate/libcodec2-1600 | 12 ++
tests/ref/fate/libcodec2-2400 | 19 +++
tests/ref/fate/libcodec2-3200 | 19 +++
tests/ref/fate/libcodec2-700C | 12 ++
tests/ref/fate/libcodec2-cut-1200 | 6 +
tests/ref/fate/libcodec2-cut-1300 | 6 +
tests/ref/fate/libcodec2-cut-1400 | 6 +
tests/ref/fate/libcodec2-cut-1600 | 6 +
tests/ref/fate/libcodec2-cut-2400 | 6 +
tests/ref/fate/libcodec2-cut-3200 | 6 +
tests/ref/fate/libcodec2-cut-700C | 7 +
87 files changed, 2093 insertions(+), 6 deletions(-)
create mode 100644 tests/fate/codec2.mak
create mode 100644 tests/ref/fate/codec2-demux-1200
create mode 100644 tests/ref/fate/codec2-demux-1300
create mode 100644 tests/ref/fate/codec2-demux-1400
create mode 100644 tests/ref/fate/codec2-demux-1600
create mode 100644 tests/ref/fate/codec2-demux-2400
create mode 100644 tests/ref/fate/codec2-demux-3200
create mode 100644 tests/ref/fate/codec2-demux-700C
create mode 100644 tests/ref/fate/codec2-demux-cut-1200
create mode 100644 tests/ref/fate/codec2-demux-cut-1300
create mode 100644 tests/ref/fate/codec2-demux-cut-1400
create mode 100644 tests/ref/fate/codec2-demux-cut-1600
create mode 100644 tests/ref/fate/codec2-demux-cut-2400
create mode 100644 tests/ref/fate/codec2-demux-cut-3200
create mode 100644 tests/ref/fate/codec2-demux-cut-700C
create mode 100644 tests/ref/fate/codec2-probe-1200
create mode 100644 tests/ref/fate/codec2-probe-1300
create mode 100644 tests/ref/fate/codec2-probe-1400
create mode 100644 tests/ref/fate/codec2-probe-1600
create mode 100644 tests/ref/fate/codec2-probe-2400
create mode 100644 tests/ref/fate/codec2-probe-3200
create mode 100644 tests/ref/fate/codec2-probe-700C
create mode 100644 tests/ref/fate/codec2-probe-cut-1200
create mode 100644 tests/ref/fate/codec2-probe-cut-1300
create mode 100644 tests/ref/fate/codec2-probe-cut-1400
create mode 100644 tests/ref/fate/codec2-probe-cut-1600
create mode 100644 tests/ref/fate/codec2-probe-cut-2400
create mode 100644 tests/ref/fate/codec2-probe-cut-3200
create mode 100644 tests/ref/fate/codec2-probe-cut-700C
create mode 100644 tests/ref/fate/codec2-probe-multi-1200
create mode 100644 tests/ref/fate/codec2-probe-multi-1300
create mode 100644 tests/ref/fate/codec2-probe-multi-1400
create mode 100644 tests/ref/fate/codec2-probe-multi-1600
create mode 100644 tests/ref/fate/codec2-probe-multi-2400
create mode 100644 tests/ref/fate/codec2-probe-multi-3200
create mode 100644 tests/ref/fate/codec2-probe-multi-700C
create mode 100644 tests/ref/fate/codec2-probe-multi-cut-1200
create mode 100644 tests/ref/fate/codec2-probe-multi-cut-1300
create mode 100644 tests/ref/fate/codec2-probe-multi-cut-1400
create mode 100644 tests/ref/fate/codec2-probe-multi-cut-1600
create mode 100644 tests/ref/fate/codec2-probe-multi-cut-2400
create mode 100644 tests/ref/fate/codec2-probe-multi-cut-3200
create mode 100644 tests/ref/fate/codec2-probe-multi-cut-700C
create mode 100644 tests/ref/fate/codec2raw-probe-1200
create mode 100644 tests/ref/fate/codec2raw-probe-1300
create mode 100644 tests/ref/fate/codec2raw-probe-1400
create mode 100644 tests/ref/fate/codec2raw-probe-1600
create mode 100644 tests/ref/fate/codec2raw-probe-2400
create mode 100644 tests/ref/fate/codec2raw-probe-3200
create mode 100644 tests/ref/fate/codec2raw-probe-700C
create mode 100644 tests/ref/fate/codec2raw-probe-cut-1200
create mode 100644 tests/ref/fate/codec2raw-probe-cut-1300
create mode 100644 tests/ref/fate/codec2raw-probe-cut-1400
create mode 100644 tests/ref/fate/codec2raw-probe-cut-1600
create mode 100644 tests/ref/fate/codec2raw-probe-cut-2400
create mode 100644 tests/ref/fate/codec2raw-probe-cut-3200
create mode 100644 tests/ref/fate/codec2raw-probe-cut-700C
create mode 100644 tests/ref/fate/codec2raw-probe-multi-1200
create mode 100644 tests/ref/fate/codec2raw-probe-multi-1300
create mode 100644 tests/ref/fate/codec2raw-probe-multi-1400
create mode 100644 tests/ref/fate/codec2raw-probe-multi-1600
create mode 100644 tests/ref/fate/codec2raw-probe-multi-2400
create mode 100644 tests/ref/fate/codec2raw-probe-multi-3200
create mode 100644 tests/ref/fate/codec2raw-probe-multi-700C
create mode 100644 tests/ref/fate/codec2raw-probe-multi-cut-1200
create mode 100644 tests/ref/fate/codec2raw-probe-multi-cut-1300
create mode 100644 tests/ref/fate/codec2raw-probe-multi-cut-1400
create mode 100644 tests/ref/fate/codec2raw-probe-multi-cut-1600
create mode 100644 tests/ref/fate/codec2raw-probe-multi-cut-2400
create mode 100644 tests/ref/fate/codec2raw-probe-multi-cut-3200
create mode 100644 tests/ref/fate/codec2raw-probe-multi-cut-700C
create mode 100644 tests/ref/fate/libcodec2-1200
create mode 100644 tests/ref/fate/libcodec2-1300
create mode 100644 tests/ref/fate/libcodec2-1400
create mode 100644 tests/ref/fate/libcodec2-1600
create mode 100644 tests/ref/fate/libcodec2-2400
create mode 100644 tests/ref/fate/libcodec2-3200
create mode 100644 tests/ref/fate/libcodec2-700C
create mode 100644 tests/ref/fate/libcodec2-cut-1200
create mode 100644 tests/ref/fate/libcodec2-cut-1300
create mode 100644 tests/ref/fate/libcodec2-cut-1400
create mode 100644 tests/ref/fate/libcodec2-cut-1600
create mode 100644 tests/ref/fate/libcodec2-cut-2400
create mode 100644 tests/ref/fate/libcodec2-cut-3200
create mode 100644 tests/ref/fate/libcodec2-cut-700C
diff --git a/tests/Makefile b/tests/Makefile
index 744dbcdfb3..cec8388aec 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -166,6 +166,7 @@ include $(SRC_PATH)/tests/fate/canopus.mak
include $(SRC_PATH)/tests/fate/cbs.mak
include $(SRC_PATH)/tests/fate/cdxl.mak
include $(SRC_PATH)/tests/fate/checkasm.mak
+include $(SRC_PATH)/tests/fate/codec2.mak
# Must be included after lavf-container.mak
include $(SRC_PATH)/tests/fate/concatdec.mak
include $(SRC_PATH)/tests/fate/cover-art.mak
diff --git a/tests/fate-run.sh b/tests/fate-run.sh
index 8efb1586b8..7326363975 100755
--- a/tests/fate-run.sh
+++ b/tests/fate-run.sh
@@ -295,19 +295,26 @@ stream_remux(){
# this function is for testing external encoders,
# where the precise output is not controlled by us
# we can still test e.g. that the output can be decoded correctly
-enc_external(){
- srcfile=$1
- enc_fmt=$2
- enc_opt=$3
- probe_opt=$4
+enc_external_subfile(){
+ start=$1
+ end=$2
+ srcfile=$3
+ enc_fmt=$4
+ enc_opt=$5
+ probe_opt=$6
srcfile=$(target_path $srcfile)
encfile=$(target_path "${outdir}/${test}.${enc_fmt}")
- ffmpeg -i $srcfile $enc_opt -f $enc_fmt -y $encfile || return
+ ffmpeg -i "subfile,,start,$start,end,$end,,:$srcfile" $enc_opt -f $enc_fmt -y $encfile || return
run ffprobe${PROGSUF}${EXECSUF} -bitexact $probe_opt $encfile || return
}
+enc_external(){
+ enc_external_subfile 0 0 "$@"
+}
+
+
# FIXME: There is a certain duplication between the avconv-related helper
# functions above and below that should be refactored.
ffmpeg2="$target_exec ${target_path}/ffmpeg${PROGSUF}${EXECSUF}"
diff --git a/tests/fate/codec2.mak b/tests/fate/codec2.mak
new file mode 100644
index 0000000000..875a43b0ba
--- /dev/null
+++ b/tests/fate/codec2.mak
@@ -0,0 +1,76 @@
+# Modes 700 and 700B no longer exist
+CODEC2_MODES = 3200 2400 1600 1400 1300 1200 700C
+
+# This exercises both the decode and encode side of the libcodec2 binding for all modes listed above
+FATE_LIBCODEC2-$(call ENCDEC, LIBCODEC2, CODEC2) += $(foreach mode,$(CODEC2_MODES), \
+ fate-libcodec2-$(mode) \
+ fate-libcodec2-cut-$(mode) \
+)
+
+define make-codec2-targets
+ $(foreach mode,$(CODEC2_MODES), \
+ fate-$(1)-probe-$(mode) \
+ fate-$(1)-probe-cut-$(mode) \
+ fate-$(1)-probe-multi-$(mode) \
+ fate-$(1)-probe-multi-cut-$(mode) \
+ fate-$(1)-demux-$(mode) \
+ fate-$(1)-demux-cut-$(mode) \
+ )
+endef
+
+FATE_CODEC2-$(CONFIG_CODEC2_DEMUXER) += $(call make-codec2-targets,codec2)
+FATE_CODEC2RAW-$(CONFIG_CODEC2RAW_DEMUXER) += $(call make-codec2-targets,codec2raw)
+
+define make-codec2-args
+ enc_external_subfile 0 $(2) $(TARGET_SAMPLES)/codec2/cross-$(1).c2 codec2 "-mode $(1)" "-frames_per_packet 10 -show_entries stream=codec_name,sample_rate,channels,duration -show_entries frame=pkt_dts -of flat"
+endef
+
+## Transcoding tests
+# Well-formed files
+fate-libcodec2-%: CMD = $(call make-codec2-args,$(@:fate-libcodec2-%=%),0)
+# Truncated files
+fate-libcodec2-cut-%: MODE = $(@:fate-libcodec2-cut-%=%)
+fate-libcodec2-cut-%: CMD = $(call make-codec2-args,$(@:fate-libcodec2-cut-%=%),100)
+
+## Demuxer tests
+fate-codec2-probe-%: END = 0
+fate-codec2-probe-%: FPP = 1
+fate-codec2-probe-%: FMT = codec2
+fate-codec2-probe-%: MODE = $(@:fate-codec2-probe-%=%)
+fate-codec2-probe-%: CMD = ffprobe_demux subfile,,start,0,end,$(END),,:$(TARGET_SAMPLES)/codec2/cross-$(MODE).c2 -frames_per_packet $(FPP) -mode $(MODE)
+fate-codec2-probe-cut-%: MODE = $(@:fate-codec2-probe-cut-%=%)
+fate-codec2-probe-cut-%: END = 100
+fate-codec2-probe-multi-%: MODE = $(@:fate-codec2-probe-multi-%=%)
+fate-codec2-probe-multi-%: FPP = 10
+fate-codec2-probe-multi-cut-%: MODE = $(@:fate-codec2-probe-multi-cut-%=%)
+fate-codec2-probe-multi-cut-%: END = 100
+# Similar to above but with start=7
+fate-codec2raw-probe-%: END = 0
+fate-codec2raw-probe-%: FPP = 1
+fate-codec2raw-probe-%: MODE = $(@:fate-codec2raw-probe-%=%)
+fate-codec2raw-probe-%: CMD = ffprobe_demux subfile,,start,7,end,$(END),,:$(TARGET_SAMPLES)/codec2/cross-$(MODE).c2 -frames_per_packet $(FPP) -mode $(MODE) -f codec2raw
+fate-codec2raw-probe-cut-%: MODE = $(@:fate-codec2raw-probe-cut-%=%)
+fate-codec2raw-probe-cut-%: END = 100
+fate-codec2raw-probe-multi-%: MODE = $(@:fate-codec2raw-probe-multi-%=%)
+fate-codec2raw-probe-multi-%: FPP = 10
+fate-codec2raw-probe-multi-cut-%: MODE = $(@:fate-codec2raw-probe-multi-cut-%=%)
+fate-codec2raw-probe-multi-cut-%: END = 100
+# Normal CRC tests
+fate-codec2-demux-%: MODE = $(@:fate-codec2-demux-%=%)
+fate-codec2-demux-%: END = 0
+fate-codec2-demux-%: CMD = crc -i subfile,,start,0,end,$(END),,:$(TARGET_SAMPLES)/codec2/cross-$(MODE).c2 -c:a copy
+fate-codec2-demux-cut-%: MODE = $(@:fate-codec2-demux-cut-%=%)
+fate-codec2-demux-cut-%: END = 100
+# Reuse refs
+fate-codec2raw-demux-%: MODE = $(@:fate-codec2raw-demux-%=%)
+fate-codec2raw-demux-%: REF = tests/ref/fate/codec2-demux-$(MODE)
+fate-codec2raw-demux-%: END = 0
+fate-codec2raw-demux-%: CMD = crc -f codec2raw -mode $(MODE) -i subfile,,start,7,end,$(END),,:$(TARGET_SAMPLES)/codec2/cross-$(MODE).c2 -c:a copy
+fate-codec2raw-demux-cut-%: MODE = $(@:fate-codec2raw-demux-cut-%=%)
+fate-codec2raw-demux-cut-%: REF = tests/ref/fate/codec2-demux-cut-$(MODE)
+fate-codec2raw-demux-cut-%: END = 100
+
+FATE_SAMPLES_FFMPEG_FFPROBE += $(FATE_CODEC2-yes) $(FATE_CODEC2RAW-yes) $(FATE_LIBCODEC2-yes)
+fate-codec2: $(FATE_CODEC2-yes)
+fate-codec2raw: $(FATE_CODEC2RAW-yes)
+fate-libcodec2: $(FATE_LIBCODEC2-yes)
diff --git a/tests/ref/fate/codec2-demux-1200 b/tests/ref/fate/codec2-demux-1200
new file mode 100644
index 0000000000..e73da85898
--- /dev/null
+++ b/tests/ref/fate/codec2-demux-1200
@@ -0,0 +1 @@
+CRC=0x585af733
diff --git a/tests/ref/fate/codec2-demux-1300 b/tests/ref/fate/codec2-demux-1300
new file mode 100644
index 0000000000..8a387d0c5c
--- /dev/null
+++ b/tests/ref/fate/codec2-demux-1300
@@ -0,0 +1 @@
+CRC=0x1e44f99a
diff --git a/tests/ref/fate/codec2-demux-1400 b/tests/ref/fate/codec2-demux-1400
new file mode 100644
index 0000000000..8e16ed218f
--- /dev/null
+++ b/tests/ref/fate/codec2-demux-1400
@@ -0,0 +1 @@
+CRC=0xaea43a6b
diff --git a/tests/ref/fate/codec2-demux-1600 b/tests/ref/fate/codec2-demux-1600
new file mode 100644
index 0000000000..cf39a1f33c
--- /dev/null
+++ b/tests/ref/fate/codec2-demux-1600
@@ -0,0 +1 @@
+CRC=0xd30a231f
diff --git a/tests/ref/fate/codec2-demux-2400 b/tests/ref/fate/codec2-demux-2400
new file mode 100644
index 0000000000..3207059686
--- /dev/null
+++ b/tests/ref/fate/codec2-demux-2400
@@ -0,0 +1 @@
+CRC=0x6445f5bd
diff --git a/tests/ref/fate/codec2-demux-3200 b/tests/ref/fate/codec2-demux-3200
new file mode 100644
index 0000000000..a6d1c663df
--- /dev/null
+++ b/tests/ref/fate/codec2-demux-3200
@@ -0,0 +1 @@
+CRC=0x27b3654f
diff --git a/tests/ref/fate/codec2-demux-700C b/tests/ref/fate/codec2-demux-700C
new file mode 100644
index 0000000000..9277e69200
--- /dev/null
+++ b/tests/ref/fate/codec2-demux-700C
@@ -0,0 +1 @@
+CRC=0x7f9493cc
diff --git a/tests/ref/fate/codec2-demux-cut-1200 b/tests/ref/fate/codec2-demux-cut-1200
new file mode 100644
index 0000000000..f3032b0c24
--- /dev/null
+++ b/tests/ref/fate/codec2-demux-cut-1200
@@ -0,0 +1 @@
+CRC=0xc86c3291
diff --git a/tests/ref/fate/codec2-demux-cut-1300 b/tests/ref/fate/codec2-demux-cut-1300
new file mode 100644
index 0000000000..bf4f1b0a75
--- /dev/null
+++ b/tests/ref/fate/codec2-demux-cut-1300
@@ -0,0 +1 @@
+CRC=0x68b92ddf
diff --git a/tests/ref/fate/codec2-demux-cut-1400 b/tests/ref/fate/codec2-demux-cut-1400
new file mode 100644
index 0000000000..83de78745c
--- /dev/null
+++ b/tests/ref/fate/codec2-demux-cut-1400
@@ -0,0 +1 @@
+CRC=0x323239c6
diff --git a/tests/ref/fate/codec2-demux-cut-1600 b/tests/ref/fate/codec2-demux-cut-1600
new file mode 100644
index 0000000000..33f30b9b9c
--- /dev/null
+++ b/tests/ref/fate/codec2-demux-cut-1600
@@ -0,0 +1 @@
+CRC=0x3e10298c
diff --git a/tests/ref/fate/codec2-demux-cut-2400 b/tests/ref/fate/codec2-demux-cut-2400
new file mode 100644
index 0000000000..e364ab19e7
--- /dev/null
+++ b/tests/ref/fate/codec2-demux-cut-2400
@@ -0,0 +1 @@
+CRC=0x190736f0
diff --git a/tests/ref/fate/codec2-demux-cut-3200 b/tests/ref/fate/codec2-demux-cut-3200
new file mode 100644
index 0000000000..f70d1adb56
--- /dev/null
+++ b/tests/ref/fate/codec2-demux-cut-3200
@@ -0,0 +1 @@
+CRC=0xc17c31ae
diff --git a/tests/ref/fate/codec2-demux-cut-700C b/tests/ref/fate/codec2-demux-cut-700C
new file mode 100644
index 0000000000..8cc9cf9e94
--- /dev/null
+++ b/tests/ref/fate/codec2-demux-cut-700C
@@ -0,0 +1 @@
+CRC=0x912a2def
diff --git a/tests/ref/fate/codec2-probe-1200 b/tests/ref/fate/codec2-probe-1200
new file mode 100644
index 0000000000..e199958a91
--- /dev/null
+++ b/tests/ref/fate/codec2-probe-1200
@@ -0,0 +1,77 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=320|duration_time=0.040000|size=6|pos=7|flags=K__|data_hash=CRC32:221d0fc7
+packet|codec_type=audio|stream_index=0|pts=320|pts_time=0.040000|dts=320|dts_time=0.040000|duration=320|duration_time=0.040000|size=6|pos=13|flags=K__|data_hash=CRC32:2bf167b8
+packet|codec_type=audio|stream_index=0|pts=640|pts_time=0.080000|dts=640|dts_time=0.080000|duration=320|duration_time=0.040000|size=6|pos=19|flags=K__|data_hash=CRC32:a7156a29
+packet|codec_type=audio|stream_index=0|pts=960|pts_time=0.120000|dts=960|dts_time=0.120000|duration=320|duration_time=0.040000|size=6|pos=25|flags=K__|data_hash=CRC32:268c4e72
+packet|codec_type=audio|stream_index=0|pts=1280|pts_time=0.160000|dts=1280|dts_time=0.160000|duration=320|duration_time=0.040000|size=6|pos=31|flags=K__|data_hash=CRC32:5a23ffe0
+packet|codec_type=audio|stream_index=0|pts=1600|pts_time=0.200000|dts=1600|dts_time=0.200000|duration=320|duration_time=0.040000|size=6|pos=37|flags=K__|data_hash=CRC32:ed696a9b
+packet|codec_type=audio|stream_index=0|pts=1920|pts_time=0.240000|dts=1920|dts_time=0.240000|duration=320|duration_time=0.040000|size=6|pos=43|flags=K__|data_hash=CRC32:8c2de44f
+packet|codec_type=audio|stream_index=0|pts=2240|pts_time=0.280000|dts=2240|dts_time=0.280000|duration=320|duration_time=0.040000|size=6|pos=49|flags=K__|data_hash=CRC32:46dcc273
+packet|codec_type=audio|stream_index=0|pts=2560|pts_time=0.320000|dts=2560|dts_time=0.320000|duration=320|duration_time=0.040000|size=6|pos=55|flags=K__|data_hash=CRC32:7c6fd6bd
+packet|codec_type=audio|stream_index=0|pts=2880|pts_time=0.360000|dts=2880|dts_time=0.360000|duration=320|duration_time=0.040000|size=6|pos=61|flags=K__|data_hash=CRC32:54794fd6
+packet|codec_type=audio|stream_index=0|pts=3200|pts_time=0.400000|dts=3200|dts_time=0.400000|duration=320|duration_time=0.040000|size=6|pos=67|flags=K__|data_hash=CRC32:f56e65a6
+packet|codec_type=audio|stream_index=0|pts=3520|pts_time=0.440000|dts=3520|dts_time=0.440000|duration=320|duration_time=0.040000|size=6|pos=73|flags=K__|data_hash=CRC32:5a22ccb3
+packet|codec_type=audio|stream_index=0|pts=3840|pts_time=0.480000|dts=3840|dts_time=0.480000|duration=320|duration_time=0.040000|size=6|pos=79|flags=K__|data_hash=CRC32:80096180
+packet|codec_type=audio|stream_index=0|pts=4160|pts_time=0.520000|dts=4160|dts_time=0.520000|duration=320|duration_time=0.040000|size=6|pos=85|flags=K__|data_hash=CRC32:8959f4e8
+packet|codec_type=audio|stream_index=0|pts=4480|pts_time=0.560000|dts=4480|dts_time=0.560000|duration=320|duration_time=0.040000|size=6|pos=91|flags=K__|data_hash=CRC32:cc92a5ce
+packet|codec_type=audio|stream_index=0|pts=4800|pts_time=0.600000|dts=4800|dts_time=0.600000|duration=320|duration_time=0.040000|size=6|pos=97|flags=K__|data_hash=CRC32:6d4ea619
+packet|codec_type=audio|stream_index=0|pts=5120|pts_time=0.640000|dts=5120|dts_time=0.640000|duration=320|duration_time=0.040000|size=6|pos=103|flags=K__|data_hash=CRC32:0d8606b8
+packet|codec_type=audio|stream_index=0|pts=5440|pts_time=0.680000|dts=5440|dts_time=0.680000|duration=320|duration_time=0.040000|size=6|pos=109|flags=K__|data_hash=CRC32:c95cfb1a
+packet|codec_type=audio|stream_index=0|pts=5760|pts_time=0.720000|dts=5760|dts_time=0.720000|duration=320|duration_time=0.040000|size=6|pos=115|flags=K__|data_hash=CRC32:7ff40dc6
+packet|codec_type=audio|stream_index=0|pts=6080|pts_time=0.760000|dts=6080|dts_time=0.760000|duration=320|duration_time=0.040000|size=6|pos=121|flags=K__|data_hash=CRC32:866ff055
+packet|codec_type=audio|stream_index=0|pts=6400|pts_time=0.800000|dts=6400|dts_time=0.800000|duration=320|duration_time=0.040000|size=6|pos=127|flags=K__|data_hash=CRC32:935e0eab
+packet|codec_type=audio|stream_index=0|pts=6720|pts_time=0.840000|dts=6720|dts_time=0.840000|duration=320|duration_time=0.040000|size=6|pos=133|flags=K__|data_hash=CRC32:7a0342ca
+packet|codec_type=audio|stream_index=0|pts=7040|pts_time=0.880000|dts=7040|dts_time=0.880000|duration=320|duration_time=0.040000|size=6|pos=139|flags=K__|data_hash=CRC32:8097ae9a
+packet|codec_type=audio|stream_index=0|pts=7360|pts_time=0.920000|dts=7360|dts_time=0.920000|duration=320|duration_time=0.040000|size=6|pos=145|flags=K__|data_hash=CRC32:7e775861
+packet|codec_type=audio|stream_index=0|pts=7680|pts_time=0.960000|dts=7680|dts_time=0.960000|duration=320|duration_time=0.040000|size=6|pos=151|flags=K__|data_hash=CRC32:bdeb9b36
+packet|codec_type=audio|stream_index=0|pts=8000|pts_time=1.000000|dts=8000|dts_time=1.000000|duration=320|duration_time=0.040000|size=6|pos=157|flags=K__|data_hash=CRC32:3794e84b
+packet|codec_type=audio|stream_index=0|pts=8320|pts_time=1.040000|dts=8320|dts_time=1.040000|duration=320|duration_time=0.040000|size=6|pos=163|flags=K__|data_hash=CRC32:86431715
+packet|codec_type=audio|stream_index=0|pts=8640|pts_time=1.080000|dts=8640|dts_time=1.080000|duration=320|duration_time=0.040000|size=6|pos=169|flags=K__|data_hash=CRC32:d922dfa1
+packet|codec_type=audio|stream_index=0|pts=8960|pts_time=1.120000|dts=8960|dts_time=1.120000|duration=320|duration_time=0.040000|size=6|pos=175|flags=K__|data_hash=CRC32:dfbf9e96
+packet|codec_type=audio|stream_index=0|pts=9280|pts_time=1.160000|dts=9280|dts_time=1.160000|duration=320|duration_time=0.040000|size=6|pos=181|flags=K__|data_hash=CRC32:d3b29b12
+packet|codec_type=audio|stream_index=0|pts=9600|pts_time=1.200000|dts=9600|dts_time=1.200000|duration=320|duration_time=0.040000|size=6|pos=187|flags=K__|data_hash=CRC32:6e0f0822
+packet|codec_type=audio|stream_index=0|pts=9920|pts_time=1.240000|dts=9920|dts_time=1.240000|duration=320|duration_time=0.040000|size=6|pos=193|flags=K__|data_hash=CRC32:a79fff26
+packet|codec_type=audio|stream_index=0|pts=10240|pts_time=1.280000|dts=10240|dts_time=1.280000|duration=320|duration_time=0.040000|size=6|pos=199|flags=K__|data_hash=CRC32:31b1c3b2
+packet|codec_type=audio|stream_index=0|pts=10560|pts_time=1.320000|dts=10560|dts_time=1.320000|duration=320|duration_time=0.040000|size=6|pos=205|flags=K__|data_hash=CRC32:be077bea
+packet|codec_type=audio|stream_index=0|pts=10880|pts_time=1.360000|dts=10880|dts_time=1.360000|duration=320|duration_time=0.040000|size=6|pos=211|flags=K__|data_hash=CRC32:f81e55e2
+packet|codec_type=audio|stream_index=0|pts=11200|pts_time=1.400000|dts=11200|dts_time=1.400000|duration=320|duration_time=0.040000|size=6|pos=217|flags=K__|data_hash=CRC32:ac3f6f73
+packet|codec_type=audio|stream_index=0|pts=11520|pts_time=1.440000|dts=11520|dts_time=1.440000|duration=320|duration_time=0.040000|size=6|pos=223|flags=K__|data_hash=CRC32:8729d498
+packet|codec_type=audio|stream_index=0|pts=11840|pts_time=1.480000|dts=11840|dts_time=1.480000|duration=320|duration_time=0.040000|size=6|pos=229|flags=K__|data_hash=CRC32:66f3e351
+packet|codec_type=audio|stream_index=0|pts=12160|pts_time=1.520000|dts=12160|dts_time=1.520000|duration=320|duration_time=0.040000|size=6|pos=235|flags=K__|data_hash=CRC32:33664141
+packet|codec_type=audio|stream_index=0|pts=12480|pts_time=1.560000|dts=12480|dts_time=1.560000|duration=320|duration_time=0.040000|size=6|pos=241|flags=K__|data_hash=CRC32:a47da932
+packet|codec_type=audio|stream_index=0|pts=12800|pts_time=1.600000|dts=12800|dts_time=1.600000|duration=320|duration_time=0.040000|size=6|pos=247|flags=K__|data_hash=CRC32:25ba973c
+packet|codec_type=audio|stream_index=0|pts=13120|pts_time=1.640000|dts=13120|dts_time=1.640000|duration=320|duration_time=0.040000|size=6|pos=253|flags=K__|data_hash=CRC32:48416905
+packet|codec_type=audio|stream_index=0|pts=13440|pts_time=1.680000|dts=13440|dts_time=1.680000|duration=320|duration_time=0.040000|size=6|pos=259|flags=K__|data_hash=CRC32:d4389bf2
+packet|codec_type=audio|stream_index=0|pts=13760|pts_time=1.720000|dts=13760|dts_time=1.720000|duration=320|duration_time=0.040000|size=6|pos=265|flags=K__|data_hash=CRC32:80beba6e
+packet|codec_type=audio|stream_index=0|pts=14080|pts_time=1.760000|dts=14080|dts_time=1.760000|duration=320|duration_time=0.040000|size=6|pos=271|flags=K__|data_hash=CRC32:87a45a57
+packet|codec_type=audio|stream_index=0|pts=14400|pts_time=1.800000|dts=14400|dts_time=1.800000|duration=320|duration_time=0.040000|size=6|pos=277|flags=K__|data_hash=CRC32:f942adf5
+packet|codec_type=audio|stream_index=0|pts=14720|pts_time=1.840000|dts=14720|dts_time=1.840000|duration=320|duration_time=0.040000|size=6|pos=283|flags=K__|data_hash=CRC32:e8d81c23
+packet|codec_type=audio|stream_index=0|pts=15040|pts_time=1.880000|dts=15040|dts_time=1.880000|duration=320|duration_time=0.040000|size=6|pos=289|flags=K__|data_hash=CRC32:0366c5b1
+packet|codec_type=audio|stream_index=0|pts=15360|pts_time=1.920000|dts=15360|dts_time=1.920000|duration=320|duration_time=0.040000|size=6|pos=295|flags=K__|data_hash=CRC32:4a5f7c10
+packet|codec_type=audio|stream_index=0|pts=15680|pts_time=1.960000|dts=15680|dts_time=1.960000|duration=320|duration_time=0.040000|size=6|pos=301|flags=K__|data_hash=CRC32:f88879e6
+packet|codec_type=audio|stream_index=0|pts=16000|pts_time=2.000000|dts=16000|dts_time=2.000000|duration=320|duration_time=0.040000|size=6|pos=307|flags=K__|data_hash=CRC32:0c1bd8f8
+packet|codec_type=audio|stream_index=0|pts=16320|pts_time=2.040000|dts=16320|dts_time=2.040000|duration=320|duration_time=0.040000|size=6|pos=313|flags=K__|data_hash=CRC32:c3a3fe7b
+packet|codec_type=audio|stream_index=0|pts=16640|pts_time=2.080000|dts=16640|dts_time=2.080000|duration=320|duration_time=0.040000|size=6|pos=319|flags=K__|data_hash=CRC32:2f51770a
+packet|codec_type=audio|stream_index=0|pts=16960|pts_time=2.120000|dts=16960|dts_time=2.120000|duration=320|duration_time=0.040000|size=6|pos=325|flags=K__|data_hash=CRC32:112e75a2
+packet|codec_type=audio|stream_index=0|pts=17280|pts_time=2.160000|dts=17280|dts_time=2.160000|duration=320|duration_time=0.040000|size=6|pos=331|flags=K__|data_hash=CRC32:a88f3e44
+packet|codec_type=audio|stream_index=0|pts=17600|pts_time=2.200000|dts=17600|dts_time=2.200000|duration=320|duration_time=0.040000|size=6|pos=337|flags=K__|data_hash=CRC32:b5a038d5
+packet|codec_type=audio|stream_index=0|pts=17920|pts_time=2.240000|dts=17920|dts_time=2.240000|duration=320|duration_time=0.040000|size=6|pos=343|flags=K__|data_hash=CRC32:a081bf18
+packet|codec_type=audio|stream_index=0|pts=18240|pts_time=2.280000|dts=18240|dts_time=2.280000|duration=320|duration_time=0.040000|size=6|pos=349|flags=K__|data_hash=CRC32:e735914e
+packet|codec_type=audio|stream_index=0|pts=18560|pts_time=2.320000|dts=18560|dts_time=2.320000|duration=320|duration_time=0.040000|size=6|pos=355|flags=K__|data_hash=CRC32:9e1a7144
+packet|codec_type=audio|stream_index=0|pts=18880|pts_time=2.360000|dts=18880|dts_time=2.360000|duration=320|duration_time=0.040000|size=6|pos=361|flags=K__|data_hash=CRC32:868f522c
+packet|codec_type=audio|stream_index=0|pts=19200|pts_time=2.400000|dts=19200|dts_time=2.400000|duration=320|duration_time=0.040000|size=6|pos=367|flags=K__|data_hash=CRC32:d212c855
+packet|codec_type=audio|stream_index=0|pts=19520|pts_time=2.440000|dts=19520|dts_time=2.440000|duration=320|duration_time=0.040000|size=6|pos=373|flags=K__|data_hash=CRC32:bca14856
+packet|codec_type=audio|stream_index=0|pts=19840|pts_time=2.480000|dts=19840|dts_time=2.480000|duration=320|duration_time=0.040000|size=6|pos=379|flags=K__|data_hash=CRC32:53b4fc98
+packet|codec_type=audio|stream_index=0|pts=20160|pts_time=2.520000|dts=20160|dts_time=2.520000|duration=320|duration_time=0.040000|size=6|pos=385|flags=K__|data_hash=CRC32:7df44774
+packet|codec_type=audio|stream_index=0|pts=20480|pts_time=2.560000|dts=20480|dts_time=2.560000|duration=320|duration_time=0.040000|size=6|pos=391|flags=K__|data_hash=CRC32:59760848
+packet|codec_type=audio|stream_index=0|pts=20800|pts_time=2.600000|dts=20800|dts_time=2.600000|duration=320|duration_time=0.040000|size=6|pos=397|flags=K__|data_hash=CRC32:6c4e5c92
+packet|codec_type=audio|stream_index=0|pts=21120|pts_time=2.640000|dts=21120|dts_time=2.640000|duration=320|duration_time=0.040000|size=6|pos=403|flags=K__|data_hash=CRC32:73629588
+packet|codec_type=audio|stream_index=0|pts=21440|pts_time=2.680000|dts=21440|dts_time=2.680000|duration=320|duration_time=0.040000|size=6|pos=409|flags=K__|data_hash=CRC32:e0b588c1
+packet|codec_type=audio|stream_index=0|pts=21760|pts_time=2.720000|dts=21760|dts_time=2.720000|duration=320|duration_time=0.040000|size=6|pos=415|flags=K__|data_hash=CRC32:227d2375
+packet|codec_type=audio|stream_index=0|pts=22080|pts_time=2.760000|dts=22080|dts_time=2.760000|duration=320|duration_time=0.040000|size=6|pos=421|flags=K__|data_hash=CRC32:fd70ce6f
+packet|codec_type=audio|stream_index=0|pts=22400|pts_time=2.800000|dts=22400|dts_time=2.800000|duration=320|duration_time=0.040000|size=6|pos=427|flags=K__|data_hash=CRC32:e923fe4c
+packet|codec_type=audio|stream_index=0|pts=22720|pts_time=2.840000|dts=22720|dts_time=2.840000|duration=320|duration_time=0.040000|size=6|pos=433|flags=K__|data_hash=CRC32:52cecd8a
+packet|codec_type=audio|stream_index=0|pts=23040|pts_time=2.880000|dts=23040|dts_time=2.880000|duration=320|duration_time=0.040000|size=6|pos=439|flags=K__|data_hash=CRC32:32d67e82
+packet|codec_type=audio|stream_index=0|pts=23360|pts_time=2.920000|dts=23360|dts_time=2.920000|duration=320|duration_time=0.040000|size=6|pos=445|flags=K__|data_hash=CRC32:1baa02d6
+packet|codec_type=audio|stream_index=0|pts=23680|pts_time=2.960000|dts=23680|dts_time=2.960000|duration=320|duration_time=0.040000|size=6|pos=451|flags=K__|data_hash=CRC32:d5df290e
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=24000|duration=3.000000|bit_rate=1200|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=75|extradata_size=4|extradata_hash=CRC32:e70b9852|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-1200.c2|nb_streams=1|nb_programs=0|format_name=codec2|start_time=N/A|duration=3.000000|size=457|bit_rate=1218|probe_score=51
diff --git a/tests/ref/fate/codec2-probe-1300 b/tests/ref/fate/codec2-probe-1300
new file mode 100644
index 0000000000..cb466e5b9f
--- /dev/null
+++ b/tests/ref/fate/codec2-probe-1300
@@ -0,0 +1,77 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=320|duration_time=0.040000|size=7|pos=7|flags=K__|data_hash=CRC32:e1c986d9
+packet|codec_type=audio|stream_index=0|pts=320|pts_time=0.040000|dts=320|dts_time=0.040000|duration=320|duration_time=0.040000|size=7|pos=14|flags=K__|data_hash=CRC32:d19871aa
+packet|codec_type=audio|stream_index=0|pts=640|pts_time=0.080000|dts=640|dts_time=0.080000|duration=320|duration_time=0.040000|size=7|pos=21|flags=K__|data_hash=CRC32:720c8431
+packet|codec_type=audio|stream_index=0|pts=960|pts_time=0.120000|dts=960|dts_time=0.120000|duration=320|duration_time=0.040000|size=7|pos=28|flags=K__|data_hash=CRC32:5e0cab28
+packet|codec_type=audio|stream_index=0|pts=1280|pts_time=0.160000|dts=1280|dts_time=0.160000|duration=320|duration_time=0.040000|size=7|pos=35|flags=K__|data_hash=CRC32:431d4805
+packet|codec_type=audio|stream_index=0|pts=1600|pts_time=0.200000|dts=1600|dts_time=0.200000|duration=320|duration_time=0.040000|size=7|pos=42|flags=K__|data_hash=CRC32:e506c285
+packet|codec_type=audio|stream_index=0|pts=1920|pts_time=0.240000|dts=1920|dts_time=0.240000|duration=320|duration_time=0.040000|size=7|pos=49|flags=K__|data_hash=CRC32:b0ca6019
+packet|codec_type=audio|stream_index=0|pts=2240|pts_time=0.280000|dts=2240|dts_time=0.280000|duration=320|duration_time=0.040000|size=7|pos=56|flags=K__|data_hash=CRC32:25ef5865
+packet|codec_type=audio|stream_index=0|pts=2560|pts_time=0.320000|dts=2560|dts_time=0.320000|duration=320|duration_time=0.040000|size=7|pos=63|flags=K__|data_hash=CRC32:230d8966
+packet|codec_type=audio|stream_index=0|pts=2880|pts_time=0.360000|dts=2880|dts_time=0.360000|duration=320|duration_time=0.040000|size=7|pos=70|flags=K__|data_hash=CRC32:f552d25c
+packet|codec_type=audio|stream_index=0|pts=3200|pts_time=0.400000|dts=3200|dts_time=0.400000|duration=320|duration_time=0.040000|size=7|pos=77|flags=K__|data_hash=CRC32:9a0c149d
+packet|codec_type=audio|stream_index=0|pts=3520|pts_time=0.440000|dts=3520|dts_time=0.440000|duration=320|duration_time=0.040000|size=7|pos=84|flags=K__|data_hash=CRC32:c0332732
+packet|codec_type=audio|stream_index=0|pts=3840|pts_time=0.480000|dts=3840|dts_time=0.480000|duration=320|duration_time=0.040000|size=7|pos=91|flags=K__|data_hash=CRC32:7500143a
+packet|codec_type=audio|stream_index=0|pts=4160|pts_time=0.520000|dts=4160|dts_time=0.520000|duration=320|duration_time=0.040000|size=7|pos=98|flags=K__|data_hash=CRC32:18995637
+packet|codec_type=audio|stream_index=0|pts=4480|pts_time=0.560000|dts=4480|dts_time=0.560000|duration=320|duration_time=0.040000|size=7|pos=105|flags=K__|data_hash=CRC32:6dbc7758
+packet|codec_type=audio|stream_index=0|pts=4800|pts_time=0.600000|dts=4800|dts_time=0.600000|duration=320|duration_time=0.040000|size=7|pos=112|flags=K__|data_hash=CRC32:660dc59a
+packet|codec_type=audio|stream_index=0|pts=5120|pts_time=0.640000|dts=5120|dts_time=0.640000|duration=320|duration_time=0.040000|size=7|pos=119|flags=K__|data_hash=CRC32:c017b895
+packet|codec_type=audio|stream_index=0|pts=5440|pts_time=0.680000|dts=5440|dts_time=0.680000|duration=320|duration_time=0.040000|size=7|pos=126|flags=K__|data_hash=CRC32:0caa37a8
+packet|codec_type=audio|stream_index=0|pts=5760|pts_time=0.720000|dts=5760|dts_time=0.720000|duration=320|duration_time=0.040000|size=7|pos=133|flags=K__|data_hash=CRC32:4b119869
+packet|codec_type=audio|stream_index=0|pts=6080|pts_time=0.760000|dts=6080|dts_time=0.760000|duration=320|duration_time=0.040000|size=7|pos=140|flags=K__|data_hash=CRC32:ab9a64ff
+packet|codec_type=audio|stream_index=0|pts=6400|pts_time=0.800000|dts=6400|dts_time=0.800000|duration=320|duration_time=0.040000|size=7|pos=147|flags=K__|data_hash=CRC32:0f810c26
+packet|codec_type=audio|stream_index=0|pts=6720|pts_time=0.840000|dts=6720|dts_time=0.840000|duration=320|duration_time=0.040000|size=7|pos=154|flags=K__|data_hash=CRC32:d70a38ae
+packet|codec_type=audio|stream_index=0|pts=7040|pts_time=0.880000|dts=7040|dts_time=0.880000|duration=320|duration_time=0.040000|size=7|pos=161|flags=K__|data_hash=CRC32:7bf8e78c
+packet|codec_type=audio|stream_index=0|pts=7360|pts_time=0.920000|dts=7360|dts_time=0.920000|duration=320|duration_time=0.040000|size=7|pos=168|flags=K__|data_hash=CRC32:427523e8
+packet|codec_type=audio|stream_index=0|pts=7680|pts_time=0.960000|dts=7680|dts_time=0.960000|duration=320|duration_time=0.040000|size=7|pos=175|flags=K__|data_hash=CRC32:e2252aac
+packet|codec_type=audio|stream_index=0|pts=8000|pts_time=1.000000|dts=8000|dts_time=1.000000|duration=320|duration_time=0.040000|size=7|pos=182|flags=K__|data_hash=CRC32:3e1a854a
+packet|codec_type=audio|stream_index=0|pts=8320|pts_time=1.040000|dts=8320|dts_time=1.040000|duration=320|duration_time=0.040000|size=7|pos=189|flags=K__|data_hash=CRC32:4713a92d
+packet|codec_type=audio|stream_index=0|pts=8640|pts_time=1.080000|dts=8640|dts_time=1.080000|duration=320|duration_time=0.040000|size=7|pos=196|flags=K__|data_hash=CRC32:960e5b90
+packet|codec_type=audio|stream_index=0|pts=8960|pts_time=1.120000|dts=8960|dts_time=1.120000|duration=320|duration_time=0.040000|size=7|pos=203|flags=K__|data_hash=CRC32:2e9e2162
+packet|codec_type=audio|stream_index=0|pts=9280|pts_time=1.160000|dts=9280|dts_time=1.160000|duration=320|duration_time=0.040000|size=7|pos=210|flags=K__|data_hash=CRC32:ad34d068
+packet|codec_type=audio|stream_index=0|pts=9600|pts_time=1.200000|dts=9600|dts_time=1.200000|duration=320|duration_time=0.040000|size=7|pos=217|flags=K__|data_hash=CRC32:1856a76b
+packet|codec_type=audio|stream_index=0|pts=9920|pts_time=1.240000|dts=9920|dts_time=1.240000|duration=320|duration_time=0.040000|size=7|pos=224|flags=K__|data_hash=CRC32:0485b25e
+packet|codec_type=audio|stream_index=0|pts=10240|pts_time=1.280000|dts=10240|dts_time=1.280000|duration=320|duration_time=0.040000|size=7|pos=231|flags=K__|data_hash=CRC32:64af8bd3
+packet|codec_type=audio|stream_index=0|pts=10560|pts_time=1.320000|dts=10560|dts_time=1.320000|duration=320|duration_time=0.040000|size=7|pos=238|flags=K__|data_hash=CRC32:96ac0e38
+packet|codec_type=audio|stream_index=0|pts=10880|pts_time=1.360000|dts=10880|dts_time=1.360000|duration=320|duration_time=0.040000|size=7|pos=245|flags=K__|data_hash=CRC32:7bbfa18d
+packet|codec_type=audio|stream_index=0|pts=11200|pts_time=1.400000|dts=11200|dts_time=1.400000|duration=320|duration_time=0.040000|size=7|pos=252|flags=K__|data_hash=CRC32:4f86117c
+packet|codec_type=audio|stream_index=0|pts=11520|pts_time=1.440000|dts=11520|dts_time=1.440000|duration=320|duration_time=0.040000|size=7|pos=259|flags=K__|data_hash=CRC32:2fd11b3b
+packet|codec_type=audio|stream_index=0|pts=11840|pts_time=1.480000|dts=11840|dts_time=1.480000|duration=320|duration_time=0.040000|size=7|pos=266|flags=K__|data_hash=CRC32:9a76d5be
+packet|codec_type=audio|stream_index=0|pts=12160|pts_time=1.520000|dts=12160|dts_time=1.520000|duration=320|duration_time=0.040000|size=7|pos=273|flags=K__|data_hash=CRC32:dd58ca6e
+packet|codec_type=audio|stream_index=0|pts=12480|pts_time=1.560000|dts=12480|dts_time=1.560000|duration=320|duration_time=0.040000|size=7|pos=280|flags=K__|data_hash=CRC32:57722d71
+packet|codec_type=audio|stream_index=0|pts=12800|pts_time=1.600000|dts=12800|dts_time=1.600000|duration=320|duration_time=0.040000|size=7|pos=287|flags=K__|data_hash=CRC32:256b90be
+packet|codec_type=audio|stream_index=0|pts=13120|pts_time=1.640000|dts=13120|dts_time=1.640000|duration=320|duration_time=0.040000|size=7|pos=294|flags=K__|data_hash=CRC32:c80df4af
+packet|codec_type=audio|stream_index=0|pts=13440|pts_time=1.680000|dts=13440|dts_time=1.680000|duration=320|duration_time=0.040000|size=7|pos=301|flags=K__|data_hash=CRC32:63d22090
+packet|codec_type=audio|stream_index=0|pts=13760|pts_time=1.720000|dts=13760|dts_time=1.720000|duration=320|duration_time=0.040000|size=7|pos=308|flags=K__|data_hash=CRC32:59355513
+packet|codec_type=audio|stream_index=0|pts=14080|pts_time=1.760000|dts=14080|dts_time=1.760000|duration=320|duration_time=0.040000|size=7|pos=315|flags=K__|data_hash=CRC32:4fa2449b
+packet|codec_type=audio|stream_index=0|pts=14400|pts_time=1.800000|dts=14400|dts_time=1.800000|duration=320|duration_time=0.040000|size=7|pos=322|flags=K__|data_hash=CRC32:19b717bf
+packet|codec_type=audio|stream_index=0|pts=14720|pts_time=1.840000|dts=14720|dts_time=1.840000|duration=320|duration_time=0.040000|size=7|pos=329|flags=K__|data_hash=CRC32:9e9b2064
+packet|codec_type=audio|stream_index=0|pts=15040|pts_time=1.880000|dts=15040|dts_time=1.880000|duration=320|duration_time=0.040000|size=7|pos=336|flags=K__|data_hash=CRC32:8ccf6e4c
+packet|codec_type=audio|stream_index=0|pts=15360|pts_time=1.920000|dts=15360|dts_time=1.920000|duration=320|duration_time=0.040000|size=7|pos=343|flags=K__|data_hash=CRC32:63e90a7a
+packet|codec_type=audio|stream_index=0|pts=15680|pts_time=1.960000|dts=15680|dts_time=1.960000|duration=320|duration_time=0.040000|size=7|pos=350|flags=K__|data_hash=CRC32:5ebaf71f
+packet|codec_type=audio|stream_index=0|pts=16000|pts_time=2.000000|dts=16000|dts_time=2.000000|duration=320|duration_time=0.040000|size=7|pos=357|flags=K__|data_hash=CRC32:664d87e3
+packet|codec_type=audio|stream_index=0|pts=16320|pts_time=2.040000|dts=16320|dts_time=2.040000|duration=320|duration_time=0.040000|size=7|pos=364|flags=K__|data_hash=CRC32:2ba4f36d
+packet|codec_type=audio|stream_index=0|pts=16640|pts_time=2.080000|dts=16640|dts_time=2.080000|duration=320|duration_time=0.040000|size=7|pos=371|flags=K__|data_hash=CRC32:905d3a66
+packet|codec_type=audio|stream_index=0|pts=16960|pts_time=2.120000|dts=16960|dts_time=2.120000|duration=320|duration_time=0.040000|size=7|pos=378|flags=K__|data_hash=CRC32:7531b467
+packet|codec_type=audio|stream_index=0|pts=17280|pts_time=2.160000|dts=17280|dts_time=2.160000|duration=320|duration_time=0.040000|size=7|pos=385|flags=K__|data_hash=CRC32:c6b57380
+packet|codec_type=audio|stream_index=0|pts=17600|pts_time=2.200000|dts=17600|dts_time=2.200000|duration=320|duration_time=0.040000|size=7|pos=392|flags=K__|data_hash=CRC32:04e359d8
+packet|codec_type=audio|stream_index=0|pts=17920|pts_time=2.240000|dts=17920|dts_time=2.240000|duration=320|duration_time=0.040000|size=7|pos=399|flags=K__|data_hash=CRC32:c13c3444
+packet|codec_type=audio|stream_index=0|pts=18240|pts_time=2.280000|dts=18240|dts_time=2.280000|duration=320|duration_time=0.040000|size=7|pos=406|flags=K__|data_hash=CRC32:40d7078a
+packet|codec_type=audio|stream_index=0|pts=18560|pts_time=2.320000|dts=18560|dts_time=2.320000|duration=320|duration_time=0.040000|size=7|pos=413|flags=K__|data_hash=CRC32:0462f263
+packet|codec_type=audio|stream_index=0|pts=18880|pts_time=2.360000|dts=18880|dts_time=2.360000|duration=320|duration_time=0.040000|size=7|pos=420|flags=K__|data_hash=CRC32:726503cc
+packet|codec_type=audio|stream_index=0|pts=19200|pts_time=2.400000|dts=19200|dts_time=2.400000|duration=320|duration_time=0.040000|size=7|pos=427|flags=K__|data_hash=CRC32:e2b95cd5
+packet|codec_type=audio|stream_index=0|pts=19520|pts_time=2.440000|dts=19520|dts_time=2.440000|duration=320|duration_time=0.040000|size=7|pos=434|flags=K__|data_hash=CRC32:f430dec4
+packet|codec_type=audio|stream_index=0|pts=19840|pts_time=2.480000|dts=19840|dts_time=2.480000|duration=320|duration_time=0.040000|size=7|pos=441|flags=K__|data_hash=CRC32:1f2cf671
+packet|codec_type=audio|stream_index=0|pts=20160|pts_time=2.520000|dts=20160|dts_time=2.520000|duration=320|duration_time=0.040000|size=7|pos=448|flags=K__|data_hash=CRC32:ca210722
+packet|codec_type=audio|stream_index=0|pts=20480|pts_time=2.560000|dts=20480|dts_time=2.560000|duration=320|duration_time=0.040000|size=7|pos=455|flags=K__|data_hash=CRC32:8148366b
+packet|codec_type=audio|stream_index=0|pts=20800|pts_time=2.600000|dts=20800|dts_time=2.600000|duration=320|duration_time=0.040000|size=7|pos=462|flags=K__|data_hash=CRC32:93d893d9
+packet|codec_type=audio|stream_index=0|pts=21120|pts_time=2.640000|dts=21120|dts_time=2.640000|duration=320|duration_time=0.040000|size=7|pos=469|flags=K__|data_hash=CRC32:46f43603
+packet|codec_type=audio|stream_index=0|pts=21440|pts_time=2.680000|dts=21440|dts_time=2.680000|duration=320|duration_time=0.040000|size=7|pos=476|flags=K__|data_hash=CRC32:3a8f189a
+packet|codec_type=audio|stream_index=0|pts=21760|pts_time=2.720000|dts=21760|dts_time=2.720000|duration=320|duration_time=0.040000|size=7|pos=483|flags=K__|data_hash=CRC32:d0997cfa
+packet|codec_type=audio|stream_index=0|pts=22080|pts_time=2.760000|dts=22080|dts_time=2.760000|duration=320|duration_time=0.040000|size=7|pos=490|flags=K__|data_hash=CRC32:16948018
+packet|codec_type=audio|stream_index=0|pts=22400|pts_time=2.800000|dts=22400|dts_time=2.800000|duration=320|duration_time=0.040000|size=7|pos=497|flags=K__|data_hash=CRC32:5765c933
+packet|codec_type=audio|stream_index=0|pts=22720|pts_time=2.840000|dts=22720|dts_time=2.840000|duration=320|duration_time=0.040000|size=7|pos=504|flags=K__|data_hash=CRC32:8b1fb92e
+packet|codec_type=audio|stream_index=0|pts=23040|pts_time=2.880000|dts=23040|dts_time=2.880000|duration=320|duration_time=0.040000|size=7|pos=511|flags=K__|data_hash=CRC32:46ec5af7
+packet|codec_type=audio|stream_index=0|pts=23360|pts_time=2.920000|dts=23360|dts_time=2.920000|duration=320|duration_time=0.040000|size=7|pos=518|flags=K__|data_hash=CRC32:b070915d
+packet|codec_type=audio|stream_index=0|pts=23680|pts_time=2.960000|dts=23680|dts_time=2.960000|duration=320|duration_time=0.040000|size=7|pos=525|flags=K__|data_hash=CRC32:482e7f51
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=24000|duration=3.000000|bit_rate=1400|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=75|extradata_size=4|extradata_hash=CRC32:fe10a913|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-1300.c2|nb_streams=1|nb_programs=0|format_name=codec2|start_time=N/A|duration=3.000000|size=532|bit_rate=1418|probe_score=51
diff --git a/tests/ref/fate/codec2-probe-1400 b/tests/ref/fate/codec2-probe-1400
new file mode 100644
index 0000000000..2eddc0f0f7
--- /dev/null
+++ b/tests/ref/fate/codec2-probe-1400
@@ -0,0 +1,77 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=320|duration_time=0.040000|size=7|pos=7|flags=K__|data_hash=CRC32:d9be5755
+packet|codec_type=audio|stream_index=0|pts=320|pts_time=0.040000|dts=320|dts_time=0.040000|duration=320|duration_time=0.040000|size=7|pos=14|flags=K__|data_hash=CRC32:472ceccd
+packet|codec_type=audio|stream_index=0|pts=640|pts_time=0.080000|dts=640|dts_time=0.080000|duration=320|duration_time=0.040000|size=7|pos=21|flags=K__|data_hash=CRC32:303b21b6
+packet|codec_type=audio|stream_index=0|pts=960|pts_time=0.120000|dts=960|dts_time=0.120000|duration=320|duration_time=0.040000|size=7|pos=28|flags=K__|data_hash=CRC32:dc2b4dd6
+packet|codec_type=audio|stream_index=0|pts=1280|pts_time=0.160000|dts=1280|dts_time=0.160000|duration=320|duration_time=0.040000|size=7|pos=35|flags=K__|data_hash=CRC32:e8888eb2
+packet|codec_type=audio|stream_index=0|pts=1600|pts_time=0.200000|dts=1600|dts_time=0.200000|duration=320|duration_time=0.040000|size=7|pos=42|flags=K__|data_hash=CRC32:fa3d0618
+packet|codec_type=audio|stream_index=0|pts=1920|pts_time=0.240000|dts=1920|dts_time=0.240000|duration=320|duration_time=0.040000|size=7|pos=49|flags=K__|data_hash=CRC32:68478d05
+packet|codec_type=audio|stream_index=0|pts=2240|pts_time=0.280000|dts=2240|dts_time=0.280000|duration=320|duration_time=0.040000|size=7|pos=56|flags=K__|data_hash=CRC32:5801bcd3
+packet|codec_type=audio|stream_index=0|pts=2560|pts_time=0.320000|dts=2560|dts_time=0.320000|duration=320|duration_time=0.040000|size=7|pos=63|flags=K__|data_hash=CRC32:35119a8e
+packet|codec_type=audio|stream_index=0|pts=2880|pts_time=0.360000|dts=2880|dts_time=0.360000|duration=320|duration_time=0.040000|size=7|pos=70|flags=K__|data_hash=CRC32:7b36b9fd
+packet|codec_type=audio|stream_index=0|pts=3200|pts_time=0.400000|dts=3200|dts_time=0.400000|duration=320|duration_time=0.040000|size=7|pos=77|flags=K__|data_hash=CRC32:efa8ba25
+packet|codec_type=audio|stream_index=0|pts=3520|pts_time=0.440000|dts=3520|dts_time=0.440000|duration=320|duration_time=0.040000|size=7|pos=84|flags=K__|data_hash=CRC32:775b298f
+packet|codec_type=audio|stream_index=0|pts=3840|pts_time=0.480000|dts=3840|dts_time=0.480000|duration=320|duration_time=0.040000|size=7|pos=91|flags=K__|data_hash=CRC32:04a24aad
+packet|codec_type=audio|stream_index=0|pts=4160|pts_time=0.520000|dts=4160|dts_time=0.520000|duration=320|duration_time=0.040000|size=7|pos=98|flags=K__|data_hash=CRC32:a258e371
+packet|codec_type=audio|stream_index=0|pts=4480|pts_time=0.560000|dts=4480|dts_time=0.560000|duration=320|duration_time=0.040000|size=7|pos=105|flags=K__|data_hash=CRC32:0f7e2ff3
+packet|codec_type=audio|stream_index=0|pts=4800|pts_time=0.600000|dts=4800|dts_time=0.600000|duration=320|duration_time=0.040000|size=7|pos=112|flags=K__|data_hash=CRC32:161ebe16
+packet|codec_type=audio|stream_index=0|pts=5120|pts_time=0.640000|dts=5120|dts_time=0.640000|duration=320|duration_time=0.040000|size=7|pos=119|flags=K__|data_hash=CRC32:5bd34080
+packet|codec_type=audio|stream_index=0|pts=5440|pts_time=0.680000|dts=5440|dts_time=0.680000|duration=320|duration_time=0.040000|size=7|pos=126|flags=K__|data_hash=CRC32:de117321
+packet|codec_type=audio|stream_index=0|pts=5760|pts_time=0.720000|dts=5760|dts_time=0.720000|duration=320|duration_time=0.040000|size=7|pos=133|flags=K__|data_hash=CRC32:159ecd57
+packet|codec_type=audio|stream_index=0|pts=6080|pts_time=0.760000|dts=6080|dts_time=0.760000|duration=320|duration_time=0.040000|size=7|pos=140|flags=K__|data_hash=CRC32:d82dcfe8
+packet|codec_type=audio|stream_index=0|pts=6400|pts_time=0.800000|dts=6400|dts_time=0.800000|duration=320|duration_time=0.040000|size=7|pos=147|flags=K__|data_hash=CRC32:76485e5a
+packet|codec_type=audio|stream_index=0|pts=6720|pts_time=0.840000|dts=6720|dts_time=0.840000|duration=320|duration_time=0.040000|size=7|pos=154|flags=K__|data_hash=CRC32:75c2dbdf
+packet|codec_type=audio|stream_index=0|pts=7040|pts_time=0.880000|dts=7040|dts_time=0.880000|duration=320|duration_time=0.040000|size=7|pos=161|flags=K__|data_hash=CRC32:a2d1ff3d
+packet|codec_type=audio|stream_index=0|pts=7360|pts_time=0.920000|dts=7360|dts_time=0.920000|duration=320|duration_time=0.040000|size=7|pos=168|flags=K__|data_hash=CRC32:098c210e
+packet|codec_type=audio|stream_index=0|pts=7680|pts_time=0.960000|dts=7680|dts_time=0.960000|duration=320|duration_time=0.040000|size=7|pos=175|flags=K__|data_hash=CRC32:4fcefaed
+packet|codec_type=audio|stream_index=0|pts=8000|pts_time=1.000000|dts=8000|dts_time=1.000000|duration=320|duration_time=0.040000|size=7|pos=182|flags=K__|data_hash=CRC32:f381c04b
+packet|codec_type=audio|stream_index=0|pts=8320|pts_time=1.040000|dts=8320|dts_time=1.040000|duration=320|duration_time=0.040000|size=7|pos=189|flags=K__|data_hash=CRC32:8fc0de5d
+packet|codec_type=audio|stream_index=0|pts=8640|pts_time=1.080000|dts=8640|dts_time=1.080000|duration=320|duration_time=0.040000|size=7|pos=196|flags=K__|data_hash=CRC32:aa70458b
+packet|codec_type=audio|stream_index=0|pts=8960|pts_time=1.120000|dts=8960|dts_time=1.120000|duration=320|duration_time=0.040000|size=7|pos=203|flags=K__|data_hash=CRC32:972ef8a3
+packet|codec_type=audio|stream_index=0|pts=9280|pts_time=1.160000|dts=9280|dts_time=1.160000|duration=320|duration_time=0.040000|size=7|pos=210|flags=K__|data_hash=CRC32:3810e83b
+packet|codec_type=audio|stream_index=0|pts=9600|pts_time=1.200000|dts=9600|dts_time=1.200000|duration=320|duration_time=0.040000|size=7|pos=217|flags=K__|data_hash=CRC32:5662fe6d
+packet|codec_type=audio|stream_index=0|pts=9920|pts_time=1.240000|dts=9920|dts_time=1.240000|duration=320|duration_time=0.040000|size=7|pos=224|flags=K__|data_hash=CRC32:c5f12521
+packet|codec_type=audio|stream_index=0|pts=10240|pts_time=1.280000|dts=10240|dts_time=1.280000|duration=320|duration_time=0.040000|size=7|pos=231|flags=K__|data_hash=CRC32:3e48352a
+packet|codec_type=audio|stream_index=0|pts=10560|pts_time=1.320000|dts=10560|dts_time=1.320000|duration=320|duration_time=0.040000|size=7|pos=238|flags=K__|data_hash=CRC32:98734d7d
+packet|codec_type=audio|stream_index=0|pts=10880|pts_time=1.360000|dts=10880|dts_time=1.360000|duration=320|duration_time=0.040000|size=7|pos=245|flags=K__|data_hash=CRC32:ac3c7179
+packet|codec_type=audio|stream_index=0|pts=11200|pts_time=1.400000|dts=11200|dts_time=1.400000|duration=320|duration_time=0.040000|size=7|pos=252|flags=K__|data_hash=CRC32:eec579b0
+packet|codec_type=audio|stream_index=0|pts=11520|pts_time=1.440000|dts=11520|dts_time=1.440000|duration=320|duration_time=0.040000|size=7|pos=259|flags=K__|data_hash=CRC32:d510fdfc
+packet|codec_type=audio|stream_index=0|pts=11840|pts_time=1.480000|dts=11840|dts_time=1.480000|duration=320|duration_time=0.040000|size=7|pos=266|flags=K__|data_hash=CRC32:eb508488
+packet|codec_type=audio|stream_index=0|pts=12160|pts_time=1.520000|dts=12160|dts_time=1.520000|duration=320|duration_time=0.040000|size=7|pos=273|flags=K__|data_hash=CRC32:22cd882f
+packet|codec_type=audio|stream_index=0|pts=12480|pts_time=1.560000|dts=12480|dts_time=1.560000|duration=320|duration_time=0.040000|size=7|pos=280|flags=K__|data_hash=CRC32:10224a43
+packet|codec_type=audio|stream_index=0|pts=12800|pts_time=1.600000|dts=12800|dts_time=1.600000|duration=320|duration_time=0.040000|size=7|pos=287|flags=K__|data_hash=CRC32:f76a89a1
+packet|codec_type=audio|stream_index=0|pts=13120|pts_time=1.640000|dts=13120|dts_time=1.640000|duration=320|duration_time=0.040000|size=7|pos=294|flags=K__|data_hash=CRC32:1f797d63
+packet|codec_type=audio|stream_index=0|pts=13440|pts_time=1.680000|dts=13440|dts_time=1.680000|duration=320|duration_time=0.040000|size=7|pos=301|flags=K__|data_hash=CRC32:7d4e0867
+packet|codec_type=audio|stream_index=0|pts=13760|pts_time=1.720000|dts=13760|dts_time=1.720000|duration=320|duration_time=0.040000|size=7|pos=308|flags=K__|data_hash=CRC32:b13935b9
+packet|codec_type=audio|stream_index=0|pts=14080|pts_time=1.760000|dts=14080|dts_time=1.760000|duration=320|duration_time=0.040000|size=7|pos=315|flags=K__|data_hash=CRC32:42c4514a
+packet|codec_type=audio|stream_index=0|pts=14400|pts_time=1.800000|dts=14400|dts_time=1.800000|duration=320|duration_time=0.040000|size=7|pos=322|flags=K__|data_hash=CRC32:b400b03c
+packet|codec_type=audio|stream_index=0|pts=14720|pts_time=1.840000|dts=14720|dts_time=1.840000|duration=320|duration_time=0.040000|size=7|pos=329|flags=K__|data_hash=CRC32:0ef28876
+packet|codec_type=audio|stream_index=0|pts=15040|pts_time=1.880000|dts=15040|dts_time=1.880000|duration=320|duration_time=0.040000|size=7|pos=336|flags=K__|data_hash=CRC32:d352c764
+packet|codec_type=audio|stream_index=0|pts=15360|pts_time=1.920000|dts=15360|dts_time=1.920000|duration=320|duration_time=0.040000|size=7|pos=343|flags=K__|data_hash=CRC32:04675798
+packet|codec_type=audio|stream_index=0|pts=15680|pts_time=1.960000|dts=15680|dts_time=1.960000|duration=320|duration_time=0.040000|size=7|pos=350|flags=K__|data_hash=CRC32:2fdcc251
+packet|codec_type=audio|stream_index=0|pts=16000|pts_time=2.000000|dts=16000|dts_time=2.000000|duration=320|duration_time=0.040000|size=7|pos=357|flags=K__|data_hash=CRC32:3cf23ace
+packet|codec_type=audio|stream_index=0|pts=16320|pts_time=2.040000|dts=16320|dts_time=2.040000|duration=320|duration_time=0.040000|size=7|pos=364|flags=K__|data_hash=CRC32:646ec910
+packet|codec_type=audio|stream_index=0|pts=16640|pts_time=2.080000|dts=16640|dts_time=2.080000|duration=320|duration_time=0.040000|size=7|pos=371|flags=K__|data_hash=CRC32:ab718053
+packet|codec_type=audio|stream_index=0|pts=16960|pts_time=2.120000|dts=16960|dts_time=2.120000|duration=320|duration_time=0.040000|size=7|pos=378|flags=K__|data_hash=CRC32:fb932a4a
+packet|codec_type=audio|stream_index=0|pts=17280|pts_time=2.160000|dts=17280|dts_time=2.160000|duration=320|duration_time=0.040000|size=7|pos=385|flags=K__|data_hash=CRC32:252f0a1d
+packet|codec_type=audio|stream_index=0|pts=17600|pts_time=2.200000|dts=17600|dts_time=2.200000|duration=320|duration_time=0.040000|size=7|pos=392|flags=K__|data_hash=CRC32:17f60429
+packet|codec_type=audio|stream_index=0|pts=17920|pts_time=2.240000|dts=17920|dts_time=2.240000|duration=320|duration_time=0.040000|size=7|pos=399|flags=K__|data_hash=CRC32:027bdb7c
+packet|codec_type=audio|stream_index=0|pts=18240|pts_time=2.280000|dts=18240|dts_time=2.280000|duration=320|duration_time=0.040000|size=7|pos=406|flags=K__|data_hash=CRC32:e1cc43e5
+packet|codec_type=audio|stream_index=0|pts=18560|pts_time=2.320000|dts=18560|dts_time=2.320000|duration=320|duration_time=0.040000|size=7|pos=413|flags=K__|data_hash=CRC32:fa19cae9
+packet|codec_type=audio|stream_index=0|pts=18880|pts_time=2.360000|dts=18880|dts_time=2.360000|duration=320|duration_time=0.040000|size=7|pos=420|flags=K__|data_hash=CRC32:956865aa
+packet|codec_type=audio|stream_index=0|pts=19200|pts_time=2.400000|dts=19200|dts_time=2.400000|duration=320|duration_time=0.040000|size=7|pos=427|flags=K__|data_hash=CRC32:72700499
+packet|codec_type=audio|stream_index=0|pts=19520|pts_time=2.440000|dts=19520|dts_time=2.440000|duration=320|duration_time=0.040000|size=7|pos=434|flags=K__|data_hash=CRC32:f1a705a6
+packet|codec_type=audio|stream_index=0|pts=19840|pts_time=2.480000|dts=19840|dts_time=2.480000|duration=320|duration_time=0.040000|size=7|pos=441|flags=K__|data_hash=CRC32:5afc0537
+packet|codec_type=audio|stream_index=0|pts=20160|pts_time=2.520000|dts=20160|dts_time=2.520000|duration=320|duration_time=0.040000|size=7|pos=448|flags=K__|data_hash=CRC32:339a433c
+packet|codec_type=audio|stream_index=0|pts=20480|pts_time=2.560000|dts=20480|dts_time=2.560000|duration=320|duration_time=0.040000|size=7|pos=455|flags=K__|data_hash=CRC32:24d56b77
+packet|codec_type=audio|stream_index=0|pts=20800|pts_time=2.600000|dts=20800|dts_time=2.600000|duration=320|duration_time=0.040000|size=7|pos=462|flags=K__|data_hash=CRC32:5179f52b
+packet|codec_type=audio|stream_index=0|pts=21120|pts_time=2.640000|dts=21120|dts_time=2.640000|duration=320|duration_time=0.040000|size=7|pos=469|flags=K__|data_hash=CRC32:16950147
+packet|codec_type=audio|stream_index=0|pts=21440|pts_time=2.680000|dts=21440|dts_time=2.680000|duration=320|duration_time=0.040000|size=7|pos=476|flags=K__|data_hash=CRC32:3986102f
+packet|codec_type=audio|stream_index=0|pts=21760|pts_time=2.720000|dts=21760|dts_time=2.720000|duration=320|duration_time=0.040000|size=7|pos=483|flags=K__|data_hash=CRC32:c7936962
+packet|codec_type=audio|stream_index=0|pts=22080|pts_time=2.760000|dts=22080|dts_time=2.760000|duration=320|duration_time=0.040000|size=7|pos=490|flags=K__|data_hash=CRC32:c75c6477
+packet|codec_type=audio|stream_index=0|pts=22400|pts_time=2.800000|dts=22400|dts_time=2.800000|duration=320|duration_time=0.040000|size=7|pos=497|flags=K__|data_hash=CRC32:1f2173e9
+packet|codec_type=audio|stream_index=0|pts=22720|pts_time=2.840000|dts=22720|dts_time=2.840000|duration=320|duration_time=0.040000|size=7|pos=504|flags=K__|data_hash=CRC32:60be28ad
+packet|codec_type=audio|stream_index=0|pts=23040|pts_time=2.880000|dts=23040|dts_time=2.880000|duration=320|duration_time=0.040000|size=7|pos=511|flags=K__|data_hash=CRC32:f8b99b5c
+packet|codec_type=audio|stream_index=0|pts=23360|pts_time=2.920000|dts=23360|dts_time=2.920000|duration=320|duration_time=0.040000|size=7|pos=518|flags=K__|data_hash=CRC32:e0d00937
+packet|codec_type=audio|stream_index=0|pts=23680|pts_time=2.960000|dts=23680|dts_time=2.960000|duration=320|duration_time=0.040000|size=7|pos=525|flags=K__|data_hash=CRC32:a34e44ad
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=24000|duration=3.000000|bit_rate=1400|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=75|extradata_size=4|extradata_hash=CRC32:b1513fd4|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-1400.c2|nb_streams=1|nb_programs=0|format_name=codec2|start_time=N/A|duration=3.000000|size=532|bit_rate=1418|probe_score=51
diff --git a/tests/ref/fate/codec2-probe-1600 b/tests/ref/fate/codec2-probe-1600
new file mode 100644
index 0000000000..9a82d24f94
--- /dev/null
+++ b/tests/ref/fate/codec2-probe-1600
@@ -0,0 +1,77 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=320|duration_time=0.040000|size=8|pos=7|flags=K__|data_hash=CRC32:5ee6636d
+packet|codec_type=audio|stream_index=0|pts=320|pts_time=0.040000|dts=320|dts_time=0.040000|duration=320|duration_time=0.040000|size=8|pos=15|flags=K__|data_hash=CRC32:be3e8ff8
+packet|codec_type=audio|stream_index=0|pts=640|pts_time=0.080000|dts=640|dts_time=0.080000|duration=320|duration_time=0.040000|size=8|pos=23|flags=K__|data_hash=CRC32:026dbc9a
+packet|codec_type=audio|stream_index=0|pts=960|pts_time=0.120000|dts=960|dts_time=0.120000|duration=320|duration_time=0.040000|size=8|pos=31|flags=K__|data_hash=CRC32:975599a2
+packet|codec_type=audio|stream_index=0|pts=1280|pts_time=0.160000|dts=1280|dts_time=0.160000|duration=320|duration_time=0.040000|size=8|pos=39|flags=K__|data_hash=CRC32:c55f65e7
+packet|codec_type=audio|stream_index=0|pts=1600|pts_time=0.200000|dts=1600|dts_time=0.200000|duration=320|duration_time=0.040000|size=8|pos=47|flags=K__|data_hash=CRC32:3731f5b3
+packet|codec_type=audio|stream_index=0|pts=1920|pts_time=0.240000|dts=1920|dts_time=0.240000|duration=320|duration_time=0.040000|size=8|pos=55|flags=K__|data_hash=CRC32:ac397199
+packet|codec_type=audio|stream_index=0|pts=2240|pts_time=0.280000|dts=2240|dts_time=0.280000|duration=320|duration_time=0.040000|size=8|pos=63|flags=K__|data_hash=CRC32:f4291bb5
+packet|codec_type=audio|stream_index=0|pts=2560|pts_time=0.320000|dts=2560|dts_time=0.320000|duration=320|duration_time=0.040000|size=8|pos=71|flags=K__|data_hash=CRC32:91d5ea5c
+packet|codec_type=audio|stream_index=0|pts=2880|pts_time=0.360000|dts=2880|dts_time=0.360000|duration=320|duration_time=0.040000|size=8|pos=79|flags=K__|data_hash=CRC32:a33f36db
+packet|codec_type=audio|stream_index=0|pts=3200|pts_time=0.400000|dts=3200|dts_time=0.400000|duration=320|duration_time=0.040000|size=8|pos=87|flags=K__|data_hash=CRC32:022e9118
+packet|codec_type=audio|stream_index=0|pts=3520|pts_time=0.440000|dts=3520|dts_time=0.440000|duration=320|duration_time=0.040000|size=8|pos=95|flags=K__|data_hash=CRC32:89470375
+packet|codec_type=audio|stream_index=0|pts=3840|pts_time=0.480000|dts=3840|dts_time=0.480000|duration=320|duration_time=0.040000|size=8|pos=103|flags=K__|data_hash=CRC32:9e9ce12c
+packet|codec_type=audio|stream_index=0|pts=4160|pts_time=0.520000|dts=4160|dts_time=0.520000|duration=320|duration_time=0.040000|size=8|pos=111|flags=K__|data_hash=CRC32:81049310
+packet|codec_type=audio|stream_index=0|pts=4480|pts_time=0.560000|dts=4480|dts_time=0.560000|duration=320|duration_time=0.040000|size=8|pos=119|flags=K__|data_hash=CRC32:f20d84a8
+packet|codec_type=audio|stream_index=0|pts=4800|pts_time=0.600000|dts=4800|dts_time=0.600000|duration=320|duration_time=0.040000|size=8|pos=127|flags=K__|data_hash=CRC32:b714b7e0
+packet|codec_type=audio|stream_index=0|pts=5120|pts_time=0.640000|dts=5120|dts_time=0.640000|duration=320|duration_time=0.040000|size=8|pos=135|flags=K__|data_hash=CRC32:22c2cdb8
+packet|codec_type=audio|stream_index=0|pts=5440|pts_time=0.680000|dts=5440|dts_time=0.680000|duration=320|duration_time=0.040000|size=8|pos=143|flags=K__|data_hash=CRC32:a2a3f33f
+packet|codec_type=audio|stream_index=0|pts=5760|pts_time=0.720000|dts=5760|dts_time=0.720000|duration=320|duration_time=0.040000|size=8|pos=151|flags=K__|data_hash=CRC32:e36b4816
+packet|codec_type=audio|stream_index=0|pts=6080|pts_time=0.760000|dts=6080|dts_time=0.760000|duration=320|duration_time=0.040000|size=8|pos=159|flags=K__|data_hash=CRC32:53903508
+packet|codec_type=audio|stream_index=0|pts=6400|pts_time=0.800000|dts=6400|dts_time=0.800000|duration=320|duration_time=0.040000|size=8|pos=167|flags=K__|data_hash=CRC32:a739c921
+packet|codec_type=audio|stream_index=0|pts=6720|pts_time=0.840000|dts=6720|dts_time=0.840000|duration=320|duration_time=0.040000|size=8|pos=175|flags=K__|data_hash=CRC32:c1cefb41
+packet|codec_type=audio|stream_index=0|pts=7040|pts_time=0.880000|dts=7040|dts_time=0.880000|duration=320|duration_time=0.040000|size=8|pos=183|flags=K__|data_hash=CRC32:544839bd
+packet|codec_type=audio|stream_index=0|pts=7360|pts_time=0.920000|dts=7360|dts_time=0.920000|duration=320|duration_time=0.040000|size=8|pos=191|flags=K__|data_hash=CRC32:9d72b84b
+packet|codec_type=audio|stream_index=0|pts=7680|pts_time=0.960000|dts=7680|dts_time=0.960000|duration=320|duration_time=0.040000|size=8|pos=199|flags=K__|data_hash=CRC32:e92e686b
+packet|codec_type=audio|stream_index=0|pts=8000|pts_time=1.000000|dts=8000|dts_time=1.000000|duration=320|duration_time=0.040000|size=8|pos=207|flags=K__|data_hash=CRC32:e8690e8e
+packet|codec_type=audio|stream_index=0|pts=8320|pts_time=1.040000|dts=8320|dts_time=1.040000|duration=320|duration_time=0.040000|size=8|pos=215|flags=K__|data_hash=CRC32:46906378
+packet|codec_type=audio|stream_index=0|pts=8640|pts_time=1.080000|dts=8640|dts_time=1.080000|duration=320|duration_time=0.040000|size=8|pos=223|flags=K__|data_hash=CRC32:20e26bd0
+packet|codec_type=audio|stream_index=0|pts=8960|pts_time=1.120000|dts=8960|dts_time=1.120000|duration=320|duration_time=0.040000|size=8|pos=231|flags=K__|data_hash=CRC32:a22670f2
+packet|codec_type=audio|stream_index=0|pts=9280|pts_time=1.160000|dts=9280|dts_time=1.160000|duration=320|duration_time=0.040000|size=8|pos=239|flags=K__|data_hash=CRC32:e017fbe1
+packet|codec_type=audio|stream_index=0|pts=9600|pts_time=1.200000|dts=9600|dts_time=1.200000|duration=320|duration_time=0.040000|size=8|pos=247|flags=K__|data_hash=CRC32:9a569bd0
+packet|codec_type=audio|stream_index=0|pts=9920|pts_time=1.240000|dts=9920|dts_time=1.240000|duration=320|duration_time=0.040000|size=8|pos=255|flags=K__|data_hash=CRC32:dc5e9ca1
+packet|codec_type=audio|stream_index=0|pts=10240|pts_time=1.280000|dts=10240|dts_time=1.280000|duration=320|duration_time=0.040000|size=8|pos=263|flags=K__|data_hash=CRC32:7e54c415
+packet|codec_type=audio|stream_index=0|pts=10560|pts_time=1.320000|dts=10560|dts_time=1.320000|duration=320|duration_time=0.040000|size=8|pos=271|flags=K__|data_hash=CRC32:ceff8d83
+packet|codec_type=audio|stream_index=0|pts=10880|pts_time=1.360000|dts=10880|dts_time=1.360000|duration=320|duration_time=0.040000|size=8|pos=279|flags=K__|data_hash=CRC32:93b9733c
+packet|codec_type=audio|stream_index=0|pts=11200|pts_time=1.400000|dts=11200|dts_time=1.400000|duration=320|duration_time=0.040000|size=8|pos=287|flags=K__|data_hash=CRC32:f325edd1
+packet|codec_type=audio|stream_index=0|pts=11520|pts_time=1.440000|dts=11520|dts_time=1.440000|duration=320|duration_time=0.040000|size=8|pos=295|flags=K__|data_hash=CRC32:064fa392
+packet|codec_type=audio|stream_index=0|pts=11840|pts_time=1.480000|dts=11840|dts_time=1.480000|duration=320|duration_time=0.040000|size=8|pos=303|flags=K__|data_hash=CRC32:489addc0
+packet|codec_type=audio|stream_index=0|pts=12160|pts_time=1.520000|dts=12160|dts_time=1.520000|duration=320|duration_time=0.040000|size=8|pos=311|flags=K__|data_hash=CRC32:62984863
+packet|codec_type=audio|stream_index=0|pts=12480|pts_time=1.560000|dts=12480|dts_time=1.560000|duration=320|duration_time=0.040000|size=8|pos=319|flags=K__|data_hash=CRC32:e6df3399
+packet|codec_type=audio|stream_index=0|pts=12800|pts_time=1.600000|dts=12800|dts_time=1.600000|duration=320|duration_time=0.040000|size=8|pos=327|flags=K__|data_hash=CRC32:884f30c5
+packet|codec_type=audio|stream_index=0|pts=13120|pts_time=1.640000|dts=13120|dts_time=1.640000|duration=320|duration_time=0.040000|size=8|pos=335|flags=K__|data_hash=CRC32:57ce7bce
+packet|codec_type=audio|stream_index=0|pts=13440|pts_time=1.680000|dts=13440|dts_time=1.680000|duration=320|duration_time=0.040000|size=8|pos=343|flags=K__|data_hash=CRC32:3f74ffe1
+packet|codec_type=audio|stream_index=0|pts=13760|pts_time=1.720000|dts=13760|dts_time=1.720000|duration=320|duration_time=0.040000|size=8|pos=351|flags=K__|data_hash=CRC32:421d5b56
+packet|codec_type=audio|stream_index=0|pts=14080|pts_time=1.760000|dts=14080|dts_time=1.760000|duration=320|duration_time=0.040000|size=8|pos=359|flags=K__|data_hash=CRC32:fa43a557
+packet|codec_type=audio|stream_index=0|pts=14400|pts_time=1.800000|dts=14400|dts_time=1.800000|duration=320|duration_time=0.040000|size=8|pos=367|flags=K__|data_hash=CRC32:a31e5662
+packet|codec_type=audio|stream_index=0|pts=14720|pts_time=1.840000|dts=14720|dts_time=1.840000|duration=320|duration_time=0.040000|size=8|pos=375|flags=K__|data_hash=CRC32:1d6c2d82
+packet|codec_type=audio|stream_index=0|pts=15040|pts_time=1.880000|dts=15040|dts_time=1.880000|duration=320|duration_time=0.040000|size=8|pos=383|flags=K__|data_hash=CRC32:d41c7355
+packet|codec_type=audio|stream_index=0|pts=15360|pts_time=1.920000|dts=15360|dts_time=1.920000|duration=320|duration_time=0.040000|size=8|pos=391|flags=K__|data_hash=CRC32:fd509a9f
+packet|codec_type=audio|stream_index=0|pts=15680|pts_time=1.960000|dts=15680|dts_time=1.960000|duration=320|duration_time=0.040000|size=8|pos=399|flags=K__|data_hash=CRC32:c4949fb0
+packet|codec_type=audio|stream_index=0|pts=16000|pts_time=2.000000|dts=16000|dts_time=2.000000|duration=320|duration_time=0.040000|size=8|pos=407|flags=K__|data_hash=CRC32:ea85ae46
+packet|codec_type=audio|stream_index=0|pts=16320|pts_time=2.040000|dts=16320|dts_time=2.040000|duration=320|duration_time=0.040000|size=8|pos=415|flags=K__|data_hash=CRC32:92011136
+packet|codec_type=audio|stream_index=0|pts=16640|pts_time=2.080000|dts=16640|dts_time=2.080000|duration=320|duration_time=0.040000|size=8|pos=423|flags=K__|data_hash=CRC32:1cecb7ed
+packet|codec_type=audio|stream_index=0|pts=16960|pts_time=2.120000|dts=16960|dts_time=2.120000|duration=320|duration_time=0.040000|size=8|pos=431|flags=K__|data_hash=CRC32:1965192e
+packet|codec_type=audio|stream_index=0|pts=17280|pts_time=2.160000|dts=17280|dts_time=2.160000|duration=320|duration_time=0.040000|size=8|pos=439|flags=K__|data_hash=CRC32:d9c6bd27
+packet|codec_type=audio|stream_index=0|pts=17600|pts_time=2.200000|dts=17600|dts_time=2.200000|duration=320|duration_time=0.040000|size=8|pos=447|flags=K__|data_hash=CRC32:919ca88a
+packet|codec_type=audio|stream_index=0|pts=17920|pts_time=2.240000|dts=17920|dts_time=2.240000|duration=320|duration_time=0.040000|size=8|pos=455|flags=K__|data_hash=CRC32:ca412c89
+packet|codec_type=audio|stream_index=0|pts=18240|pts_time=2.280000|dts=18240|dts_time=2.280000|duration=320|duration_time=0.040000|size=8|pos=463|flags=K__|data_hash=CRC32:eedd8de4
+packet|codec_type=audio|stream_index=0|pts=18560|pts_time=2.320000|dts=18560|dts_time=2.320000|duration=320|duration_time=0.040000|size=8|pos=471|flags=K__|data_hash=CRC32:3e2f328e
+packet|codec_type=audio|stream_index=0|pts=18880|pts_time=2.360000|dts=18880|dts_time=2.360000|duration=320|duration_time=0.040000|size=8|pos=479|flags=K__|data_hash=CRC32:fc6ab619
+packet|codec_type=audio|stream_index=0|pts=19200|pts_time=2.400000|dts=19200|dts_time=2.400000|duration=320|duration_time=0.040000|size=8|pos=487|flags=K__|data_hash=CRC32:2f181440
+packet|codec_type=audio|stream_index=0|pts=19520|pts_time=2.440000|dts=19520|dts_time=2.440000|duration=320|duration_time=0.040000|size=8|pos=495|flags=K__|data_hash=CRC32:b74ee980
+packet|codec_type=audio|stream_index=0|pts=19840|pts_time=2.480000|dts=19840|dts_time=2.480000|duration=320|duration_time=0.040000|size=8|pos=503|flags=K__|data_hash=CRC32:19093147
+packet|codec_type=audio|stream_index=0|pts=20160|pts_time=2.520000|dts=20160|dts_time=2.520000|duration=320|duration_time=0.040000|size=8|pos=511|flags=K__|data_hash=CRC32:0ce62839
+packet|codec_type=audio|stream_index=0|pts=20480|pts_time=2.560000|dts=20480|dts_time=2.560000|duration=320|duration_time=0.040000|size=8|pos=519|flags=K__|data_hash=CRC32:900b4646
+packet|codec_type=audio|stream_index=0|pts=20800|pts_time=2.600000|dts=20800|dts_time=2.600000|duration=320|duration_time=0.040000|size=8|pos=527|flags=K__|data_hash=CRC32:58fef2e8
+packet|codec_type=audio|stream_index=0|pts=21120|pts_time=2.640000|dts=21120|dts_time=2.640000|duration=320|duration_time=0.040000|size=8|pos=535|flags=K__|data_hash=CRC32:6a57260e
+packet|codec_type=audio|stream_index=0|pts=21440|pts_time=2.680000|dts=21440|dts_time=2.680000|duration=320|duration_time=0.040000|size=8|pos=543|flags=K__|data_hash=CRC32:cc96ecd8
+packet|codec_type=audio|stream_index=0|pts=21760|pts_time=2.720000|dts=21760|dts_time=2.720000|duration=320|duration_time=0.040000|size=8|pos=551|flags=K__|data_hash=CRC32:e1dda1d2
+packet|codec_type=audio|stream_index=0|pts=22080|pts_time=2.760000|dts=22080|dts_time=2.760000|duration=320|duration_time=0.040000|size=8|pos=559|flags=K__|data_hash=CRC32:0050e4b1
+packet|codec_type=audio|stream_index=0|pts=22400|pts_time=2.800000|dts=22400|dts_time=2.800000|duration=320|duration_time=0.040000|size=8|pos=567|flags=K__|data_hash=CRC32:160e5103
+packet|codec_type=audio|stream_index=0|pts=22720|pts_time=2.840000|dts=22720|dts_time=2.840000|duration=320|duration_time=0.040000|size=8|pos=575|flags=K__|data_hash=CRC32:08cf7f7c
+packet|codec_type=audio|stream_index=0|pts=23040|pts_time=2.880000|dts=23040|dts_time=2.880000|duration=320|duration_time=0.040000|size=8|pos=583|flags=K__|data_hash=CRC32:598eb897
+packet|codec_type=audio|stream_index=0|pts=23360|pts_time=2.920000|dts=23360|dts_time=2.920000|duration=320|duration_time=0.040000|size=8|pos=591|flags=K__|data_hash=CRC32:d9d702ff
+packet|codec_type=audio|stream_index=0|pts=23680|pts_time=2.960000|dts=23680|dts_time=2.960000|duration=320|duration_time=0.040000|size=8|pos=599|flags=K__|data_hash=CRC32:85f0fca4
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=24000|duration=3.000000|bit_rate=1600|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=75|extradata_size=4|extradata_hash=CRC32:a84a0e95|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-1600.c2|nb_streams=1|nb_programs=0|format_name=codec2|start_time=N/A|duration=3.000000|size=607|bit_rate=1618|probe_score=51
diff --git a/tests/ref/fate/codec2-probe-2400 b/tests/ref/fate/codec2-probe-2400
new file mode 100644
index 0000000000..072de7ae34
--- /dev/null
+++ b/tests/ref/fate/codec2-probe-2400
@@ -0,0 +1,152 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=160|duration_time=0.020000|size=6|pos=7|flags=K__|data_hash=CRC32:402e2751
+packet|codec_type=audio|stream_index=0|pts=160|pts_time=0.020000|dts=160|dts_time=0.020000|duration=160|duration_time=0.020000|size=6|pos=13|flags=K__|data_hash=CRC32:8be241bf
+packet|codec_type=audio|stream_index=0|pts=320|pts_time=0.040000|dts=320|dts_time=0.040000|duration=160|duration_time=0.020000|size=6|pos=19|flags=K__|data_hash=CRC32:affee1a4
+packet|codec_type=audio|stream_index=0|pts=480|pts_time=0.060000|dts=480|dts_time=0.060000|duration=160|duration_time=0.020000|size=6|pos=25|flags=K__|data_hash=CRC32:af3a2722
+packet|codec_type=audio|stream_index=0|pts=640|pts_time=0.080000|dts=640|dts_time=0.080000|duration=160|duration_time=0.020000|size=6|pos=31|flags=K__|data_hash=CRC32:ccde12cd
+packet|codec_type=audio|stream_index=0|pts=800|pts_time=0.100000|dts=800|dts_time=0.100000|duration=160|duration_time=0.020000|size=6|pos=37|flags=K__|data_hash=CRC32:53fa8852
+packet|codec_type=audio|stream_index=0|pts=960|pts_time=0.120000|dts=960|dts_time=0.120000|duration=160|duration_time=0.020000|size=6|pos=43|flags=K__|data_hash=CRC32:8a2715c3
+packet|codec_type=audio|stream_index=0|pts=1120|pts_time=0.140000|dts=1120|dts_time=0.140000|duration=160|duration_time=0.020000|size=6|pos=49|flags=K__|data_hash=CRC32:f5338fbe
+packet|codec_type=audio|stream_index=0|pts=1280|pts_time=0.160000|dts=1280|dts_time=0.160000|duration=160|duration_time=0.020000|size=6|pos=55|flags=K__|data_hash=CRC32:8c4f9b10
+packet|codec_type=audio|stream_index=0|pts=1440|pts_time=0.180000|dts=1440|dts_time=0.180000|duration=160|duration_time=0.020000|size=6|pos=61|flags=K__|data_hash=CRC32:d17ddf33
+packet|codec_type=audio|stream_index=0|pts=1600|pts_time=0.200000|dts=1600|dts_time=0.200000|duration=160|duration_time=0.020000|size=6|pos=67|flags=K__|data_hash=CRC32:1839685d
+packet|codec_type=audio|stream_index=0|pts=1760|pts_time=0.220000|dts=1760|dts_time=0.220000|duration=160|duration_time=0.020000|size=6|pos=73|flags=K__|data_hash=CRC32:fbd1489c
+packet|codec_type=audio|stream_index=0|pts=1920|pts_time=0.240000|dts=1920|dts_time=0.240000|duration=160|duration_time=0.020000|size=6|pos=79|flags=K__|data_hash=CRC32:55174066
+packet|codec_type=audio|stream_index=0|pts=2080|pts_time=0.260000|dts=2080|dts_time=0.260000|duration=160|duration_time=0.020000|size=6|pos=85|flags=K__|data_hash=CRC32:4931a27d
+packet|codec_type=audio|stream_index=0|pts=2240|pts_time=0.280000|dts=2240|dts_time=0.280000|duration=160|duration_time=0.020000|size=6|pos=91|flags=K__|data_hash=CRC32:87ef4f97
+packet|codec_type=audio|stream_index=0|pts=2400|pts_time=0.300000|dts=2400|dts_time=0.300000|duration=160|duration_time=0.020000|size=6|pos=97|flags=K__|data_hash=CRC32:2880b122
+packet|codec_type=audio|stream_index=0|pts=2560|pts_time=0.320000|dts=2560|dts_time=0.320000|duration=160|duration_time=0.020000|size=6|pos=103|flags=K__|data_hash=CRC32:b81f12ab
+packet|codec_type=audio|stream_index=0|pts=2720|pts_time=0.340000|dts=2720|dts_time=0.340000|duration=160|duration_time=0.020000|size=6|pos=109|flags=K__|data_hash=CRC32:88c6fbce
+packet|codec_type=audio|stream_index=0|pts=2880|pts_time=0.360000|dts=2880|dts_time=0.360000|duration=160|duration_time=0.020000|size=6|pos=115|flags=K__|data_hash=CRC32:18dd8acf
+packet|codec_type=audio|stream_index=0|pts=3040|pts_time=0.380000|dts=3040|dts_time=0.380000|duration=160|duration_time=0.020000|size=6|pos=121|flags=K__|data_hash=CRC32:1120be56
+packet|codec_type=audio|stream_index=0|pts=3200|pts_time=0.400000|dts=3200|dts_time=0.400000|duration=160|duration_time=0.020000|size=6|pos=127|flags=K__|data_hash=CRC32:a108d459
+packet|codec_type=audio|stream_index=0|pts=3360|pts_time=0.420000|dts=3360|dts_time=0.420000|duration=160|duration_time=0.020000|size=6|pos=133|flags=K__|data_hash=CRC32:faea488b
+packet|codec_type=audio|stream_index=0|pts=3520|pts_time=0.440000|dts=3520|dts_time=0.440000|duration=160|duration_time=0.020000|size=6|pos=139|flags=K__|data_hash=CRC32:ae3bda85
+packet|codec_type=audio|stream_index=0|pts=3680|pts_time=0.460000|dts=3680|dts_time=0.460000|duration=160|duration_time=0.020000|size=6|pos=145|flags=K__|data_hash=CRC32:27d2edc2
+packet|codec_type=audio|stream_index=0|pts=3840|pts_time=0.480000|dts=3840|dts_time=0.480000|duration=160|duration_time=0.020000|size=6|pos=151|flags=K__|data_hash=CRC32:03f15116
+packet|codec_type=audio|stream_index=0|pts=4000|pts_time=0.500000|dts=4000|dts_time=0.500000|duration=160|duration_time=0.020000|size=6|pos=157|flags=K__|data_hash=CRC32:98655fdb
+packet|codec_type=audio|stream_index=0|pts=4160|pts_time=0.520000|dts=4160|dts_time=0.520000|duration=160|duration_time=0.020000|size=6|pos=163|flags=K__|data_hash=CRC32:71b9a620
+packet|codec_type=audio|stream_index=0|pts=4320|pts_time=0.540000|dts=4320|dts_time=0.540000|duration=160|duration_time=0.020000|size=6|pos=169|flags=K__|data_hash=CRC32:6da8182b
+packet|codec_type=audio|stream_index=0|pts=4480|pts_time=0.560000|dts=4480|dts_time=0.560000|duration=160|duration_time=0.020000|size=6|pos=175|flags=K__|data_hash=CRC32:ccc47dcf
+packet|codec_type=audio|stream_index=0|pts=4640|pts_time=0.580000|dts=4640|dts_time=0.580000|duration=160|duration_time=0.020000|size=6|pos=181|flags=K__|data_hash=CRC32:40ce9cd8
+packet|codec_type=audio|stream_index=0|pts=4800|pts_time=0.600000|dts=4800|dts_time=0.600000|duration=160|duration_time=0.020000|size=6|pos=187|flags=K__|data_hash=CRC32:1935f03f
+packet|codec_type=audio|stream_index=0|pts=4960|pts_time=0.620000|dts=4960|dts_time=0.620000|duration=160|duration_time=0.020000|size=6|pos=193|flags=K__|data_hash=CRC32:3d858910
+packet|codec_type=audio|stream_index=0|pts=5120|pts_time=0.640000|dts=5120|dts_time=0.640000|duration=160|duration_time=0.020000|size=6|pos=199|flags=K__|data_hash=CRC32:fd5d8dcb
+packet|codec_type=audio|stream_index=0|pts=5280|pts_time=0.660000|dts=5280|dts_time=0.660000|duration=160|duration_time=0.020000|size=6|pos=205|flags=K__|data_hash=CRC32:e88808a0
+packet|codec_type=audio|stream_index=0|pts=5440|pts_time=0.680000|dts=5440|dts_time=0.680000|duration=160|duration_time=0.020000|size=6|pos=211|flags=K__|data_hash=CRC32:8dcaa27f
+packet|codec_type=audio|stream_index=0|pts=5600|pts_time=0.700000|dts=5600|dts_time=0.700000|duration=160|duration_time=0.020000|size=6|pos=217|flags=K__|data_hash=CRC32:ba604862
+packet|codec_type=audio|stream_index=0|pts=5760|pts_time=0.720000|dts=5760|dts_time=0.720000|duration=160|duration_time=0.020000|size=6|pos=223|flags=K__|data_hash=CRC32:f219dd08
+packet|codec_type=audio|stream_index=0|pts=5920|pts_time=0.740000|dts=5920|dts_time=0.740000|duration=160|duration_time=0.020000|size=6|pos=229|flags=K__|data_hash=CRC32:bddbe8c2
+packet|codec_type=audio|stream_index=0|pts=6080|pts_time=0.760000|dts=6080|dts_time=0.760000|duration=160|duration_time=0.020000|size=6|pos=235|flags=K__|data_hash=CRC32:77c2aa65
+packet|codec_type=audio|stream_index=0|pts=6240|pts_time=0.780000|dts=6240|dts_time=0.780000|duration=160|duration_time=0.020000|size=6|pos=241|flags=K__|data_hash=CRC32:4f2236ba
+packet|codec_type=audio|stream_index=0|pts=6400|pts_time=0.800000|dts=6400|dts_time=0.800000|duration=160|duration_time=0.020000|size=6|pos=247|flags=K__|data_hash=CRC32:19b740b5
+packet|codec_type=audio|stream_index=0|pts=6560|pts_time=0.820000|dts=6560|dts_time=0.820000|duration=160|duration_time=0.020000|size=6|pos=253|flags=K__|data_hash=CRC32:2d3d7b8b
+packet|codec_type=audio|stream_index=0|pts=6720|pts_time=0.840000|dts=6720|dts_time=0.840000|duration=160|duration_time=0.020000|size=6|pos=259|flags=K__|data_hash=CRC32:c8e01fca
+packet|codec_type=audio|stream_index=0|pts=6880|pts_time=0.860000|dts=6880|dts_time=0.860000|duration=160|duration_time=0.020000|size=6|pos=265|flags=K__|data_hash=CRC32:2d8e6d0c
+packet|codec_type=audio|stream_index=0|pts=7040|pts_time=0.880000|dts=7040|dts_time=0.880000|duration=160|duration_time=0.020000|size=6|pos=271|flags=K__|data_hash=CRC32:0fb7e084
+packet|codec_type=audio|stream_index=0|pts=7200|pts_time=0.900000|dts=7200|dts_time=0.900000|duration=160|duration_time=0.020000|size=6|pos=277|flags=K__|data_hash=CRC32:d55c3592
+packet|codec_type=audio|stream_index=0|pts=7360|pts_time=0.920000|dts=7360|dts_time=0.920000|duration=160|duration_time=0.020000|size=6|pos=283|flags=K__|data_hash=CRC32:bec93fa0
+packet|codec_type=audio|stream_index=0|pts=7520|pts_time=0.940000|dts=7520|dts_time=0.940000|duration=160|duration_time=0.020000|size=6|pos=289|flags=K__|data_hash=CRC32:eeb119cd
+packet|codec_type=audio|stream_index=0|pts=7680|pts_time=0.960000|dts=7680|dts_time=0.960000|duration=160|duration_time=0.020000|size=6|pos=295|flags=K__|data_hash=CRC32:8e91c0b0
+packet|codec_type=audio|stream_index=0|pts=7840|pts_time=0.980000|dts=7840|dts_time=0.980000|duration=160|duration_time=0.020000|size=6|pos=301|flags=K__|data_hash=CRC32:9f2b2447
+packet|codec_type=audio|stream_index=0|pts=8000|pts_time=1.000000|dts=8000|dts_time=1.000000|duration=160|duration_time=0.020000|size=6|pos=307|flags=K__|data_hash=CRC32:be48b6f6
+packet|codec_type=audio|stream_index=0|pts=8160|pts_time=1.020000|dts=8160|dts_time=1.020000|duration=160|duration_time=0.020000|size=6|pos=313|flags=K__|data_hash=CRC32:da6f4d59
+packet|codec_type=audio|stream_index=0|pts=8320|pts_time=1.040000|dts=8320|dts_time=1.040000|duration=160|duration_time=0.020000|size=6|pos=319|flags=K__|data_hash=CRC32:0b631241
+packet|codec_type=audio|stream_index=0|pts=8480|pts_time=1.060000|dts=8480|dts_time=1.060000|duration=160|duration_time=0.020000|size=6|pos=325|flags=K__|data_hash=CRC32:224860b9
+packet|codec_type=audio|stream_index=0|pts=8640|pts_time=1.080000|dts=8640|dts_time=1.080000|duration=160|duration_time=0.020000|size=6|pos=331|flags=K__|data_hash=CRC32:92165903
+packet|codec_type=audio|stream_index=0|pts=8800|pts_time=1.100000|dts=8800|dts_time=1.100000|duration=160|duration_time=0.020000|size=6|pos=337|flags=K__|data_hash=CRC32:de74d412
+packet|codec_type=audio|stream_index=0|pts=8960|pts_time=1.120000|dts=8960|dts_time=1.120000|duration=160|duration_time=0.020000|size=6|pos=343|flags=K__|data_hash=CRC32:eaf448b6
+packet|codec_type=audio|stream_index=0|pts=9120|pts_time=1.140000|dts=9120|dts_time=1.140000|duration=160|duration_time=0.020000|size=6|pos=349|flags=K__|data_hash=CRC32:65813b3f
+packet|codec_type=audio|stream_index=0|pts=9280|pts_time=1.160000|dts=9280|dts_time=1.160000|duration=160|duration_time=0.020000|size=6|pos=355|flags=K__|data_hash=CRC32:ea0b437c
+packet|codec_type=audio|stream_index=0|pts=9440|pts_time=1.180000|dts=9440|dts_time=1.180000|duration=160|duration_time=0.020000|size=6|pos=361|flags=K__|data_hash=CRC32:f1f24a3e
+packet|codec_type=audio|stream_index=0|pts=9600|pts_time=1.200000|dts=9600|dts_time=1.200000|duration=160|duration_time=0.020000|size=6|pos=367|flags=K__|data_hash=CRC32:fb104a8d
+packet|codec_type=audio|stream_index=0|pts=9760|pts_time=1.220000|dts=9760|dts_time=1.220000|duration=160|duration_time=0.020000|size=6|pos=373|flags=K__|data_hash=CRC32:baf7e25b
+packet|codec_type=audio|stream_index=0|pts=9920|pts_time=1.240000|dts=9920|dts_time=1.240000|duration=160|duration_time=0.020000|size=6|pos=379|flags=K__|data_hash=CRC32:e89acf40
+packet|codec_type=audio|stream_index=0|pts=10080|pts_time=1.260000|dts=10080|dts_time=1.260000|duration=160|duration_time=0.020000|size=6|pos=385|flags=K__|data_hash=CRC32:8d0a484c
+packet|codec_type=audio|stream_index=0|pts=10240|pts_time=1.280000|dts=10240|dts_time=1.280000|duration=160|duration_time=0.020000|size=6|pos=391|flags=K__|data_hash=CRC32:f4959014
+packet|codec_type=audio|stream_index=0|pts=10400|pts_time=1.300000|dts=10400|dts_time=1.300000|duration=160|duration_time=0.020000|size=6|pos=397|flags=K__|data_hash=CRC32:493e45dc
+packet|codec_type=audio|stream_index=0|pts=10560|pts_time=1.320000|dts=10560|dts_time=1.320000|duration=160|duration_time=0.020000|size=6|pos=403|flags=K__|data_hash=CRC32:8b3632d4
+packet|codec_type=audio|stream_index=0|pts=10720|pts_time=1.340000|dts=10720|dts_time=1.340000|duration=160|duration_time=0.020000|size=6|pos=409|flags=K__|data_hash=CRC32:b5b01e3c
+packet|codec_type=audio|stream_index=0|pts=10880|pts_time=1.360000|dts=10880|dts_time=1.360000|duration=160|duration_time=0.020000|size=6|pos=415|flags=K__|data_hash=CRC32:9df6603e
+packet|codec_type=audio|stream_index=0|pts=11040|pts_time=1.380000|dts=11040|dts_time=1.380000|duration=160|duration_time=0.020000|size=6|pos=421|flags=K__|data_hash=CRC32:d6b3c0b9
+packet|codec_type=audio|stream_index=0|pts=11200|pts_time=1.400000|dts=11200|dts_time=1.400000|duration=160|duration_time=0.020000|size=6|pos=427|flags=K__|data_hash=CRC32:70a5f8c6
+packet|codec_type=audio|stream_index=0|pts=11360|pts_time=1.420000|dts=11360|dts_time=1.420000|duration=160|duration_time=0.020000|size=6|pos=433|flags=K__|data_hash=CRC32:af88203d
+packet|codec_type=audio|stream_index=0|pts=11520|pts_time=1.440000|dts=11520|dts_time=1.440000|duration=160|duration_time=0.020000|size=6|pos=439|flags=K__|data_hash=CRC32:6c32cfdc
+packet|codec_type=audio|stream_index=0|pts=11680|pts_time=1.460000|dts=11680|dts_time=1.460000|duration=160|duration_time=0.020000|size=6|pos=445|flags=K__|data_hash=CRC32:9cf90956
+packet|codec_type=audio|stream_index=0|pts=11840|pts_time=1.480000|dts=11840|dts_time=1.480000|duration=160|duration_time=0.020000|size=6|pos=451|flags=K__|data_hash=CRC32:f5645f77
+packet|codec_type=audio|stream_index=0|pts=12000|pts_time=1.500000|dts=12000|dts_time=1.500000|duration=160|duration_time=0.020000|size=6|pos=457|flags=K__|data_hash=CRC32:f8fdf925
+packet|codec_type=audio|stream_index=0|pts=12160|pts_time=1.520000|dts=12160|dts_time=1.520000|duration=160|duration_time=0.020000|size=6|pos=463|flags=K__|data_hash=CRC32:ae74e340
+packet|codec_type=audio|stream_index=0|pts=12320|pts_time=1.540000|dts=12320|dts_time=1.540000|duration=160|duration_time=0.020000|size=6|pos=469|flags=K__|data_hash=CRC32:3c5a1592
+packet|codec_type=audio|stream_index=0|pts=12480|pts_time=1.560000|dts=12480|dts_time=1.560000|duration=160|duration_time=0.020000|size=6|pos=475|flags=K__|data_hash=CRC32:a75b0622
+packet|codec_type=audio|stream_index=0|pts=12640|pts_time=1.580000|dts=12640|dts_time=1.580000|duration=160|duration_time=0.020000|size=6|pos=481|flags=K__|data_hash=CRC32:2d9f7c6d
+packet|codec_type=audio|stream_index=0|pts=12800|pts_time=1.600000|dts=12800|dts_time=1.600000|duration=160|duration_time=0.020000|size=6|pos=487|flags=K__|data_hash=CRC32:320584d5
+packet|codec_type=audio|stream_index=0|pts=12960|pts_time=1.620000|dts=12960|dts_time=1.620000|duration=160|duration_time=0.020000|size=6|pos=493|flags=K__|data_hash=CRC32:4a739c01
+packet|codec_type=audio|stream_index=0|pts=13120|pts_time=1.640000|dts=13120|dts_time=1.640000|duration=160|duration_time=0.020000|size=6|pos=499|flags=K__|data_hash=CRC32:711dbcc9
+packet|codec_type=audio|stream_index=0|pts=13280|pts_time=1.660000|dts=13280|dts_time=1.660000|duration=160|duration_time=0.020000|size=6|pos=505|flags=K__|data_hash=CRC32:3ca47af5
+packet|codec_type=audio|stream_index=0|pts=13440|pts_time=1.680000|dts=13440|dts_time=1.680000|duration=160|duration_time=0.020000|size=6|pos=511|flags=K__|data_hash=CRC32:82de5ff5
+packet|codec_type=audio|stream_index=0|pts=13600|pts_time=1.700000|dts=13600|dts_time=1.700000|duration=160|duration_time=0.020000|size=6|pos=517|flags=K__|data_hash=CRC32:81e92684
+packet|codec_type=audio|stream_index=0|pts=13760|pts_time=1.720000|dts=13760|dts_time=1.720000|duration=160|duration_time=0.020000|size=6|pos=523|flags=K__|data_hash=CRC32:95e2cebb
+packet|codec_type=audio|stream_index=0|pts=13920|pts_time=1.740000|dts=13920|dts_time=1.740000|duration=160|duration_time=0.020000|size=6|pos=529|flags=K__|data_hash=CRC32:cbe74bb7
+packet|codec_type=audio|stream_index=0|pts=14080|pts_time=1.760000|dts=14080|dts_time=1.760000|duration=160|duration_time=0.020000|size=6|pos=535|flags=K__|data_hash=CRC32:b64ae6df
+packet|codec_type=audio|stream_index=0|pts=14240|pts_time=1.780000|dts=14240|dts_time=1.780000|duration=160|duration_time=0.020000|size=6|pos=541|flags=K__|data_hash=CRC32:63fc0221
+packet|codec_type=audio|stream_index=0|pts=14400|pts_time=1.800000|dts=14400|dts_time=1.800000|duration=160|duration_time=0.020000|size=6|pos=547|flags=K__|data_hash=CRC32:ec9e9576
+packet|codec_type=audio|stream_index=0|pts=14560|pts_time=1.820000|dts=14560|dts_time=1.820000|duration=160|duration_time=0.020000|size=6|pos=553|flags=K__|data_hash=CRC32:1e372cab
+packet|codec_type=audio|stream_index=0|pts=14720|pts_time=1.840000|dts=14720|dts_time=1.840000|duration=160|duration_time=0.020000|size=6|pos=559|flags=K__|data_hash=CRC32:7c4325b8
+packet|codec_type=audio|stream_index=0|pts=14880|pts_time=1.860000|dts=14880|dts_time=1.860000|duration=160|duration_time=0.020000|size=6|pos=565|flags=K__|data_hash=CRC32:300f6212
+packet|codec_type=audio|stream_index=0|pts=15040|pts_time=1.880000|dts=15040|dts_time=1.880000|duration=160|duration_time=0.020000|size=6|pos=571|flags=K__|data_hash=CRC32:58d56136
+packet|codec_type=audio|stream_index=0|pts=15200|pts_time=1.900000|dts=15200|dts_time=1.900000|duration=160|duration_time=0.020000|size=6|pos=577|flags=K__|data_hash=CRC32:be139dae
+packet|codec_type=audio|stream_index=0|pts=15360|pts_time=1.920000|dts=15360|dts_time=1.920000|duration=160|duration_time=0.020000|size=6|pos=583|flags=K__|data_hash=CRC32:c3193f37
+packet|codec_type=audio|stream_index=0|pts=15520|pts_time=1.940000|dts=15520|dts_time=1.940000|duration=160|duration_time=0.020000|size=6|pos=589|flags=K__|data_hash=CRC32:35a68936
+packet|codec_type=audio|stream_index=0|pts=15680|pts_time=1.960000|dts=15680|dts_time=1.960000|duration=160|duration_time=0.020000|size=6|pos=595|flags=K__|data_hash=CRC32:bbcf2d22
+packet|codec_type=audio|stream_index=0|pts=15840|pts_time=1.980000|dts=15840|dts_time=1.980000|duration=160|duration_time=0.020000|size=6|pos=601|flags=K__|data_hash=CRC32:05ffc3e6
+packet|codec_type=audio|stream_index=0|pts=16000|pts_time=2.000000|dts=16000|dts_time=2.000000|duration=160|duration_time=0.020000|size=6|pos=607|flags=K__|data_hash=CRC32:2eeb54dd
+packet|codec_type=audio|stream_index=0|pts=16160|pts_time=2.020000|dts=16160|dts_time=2.020000|duration=160|duration_time=0.020000|size=6|pos=613|flags=K__|data_hash=CRC32:aa82f7d9
+packet|codec_type=audio|stream_index=0|pts=16320|pts_time=2.040000|dts=16320|dts_time=2.040000|duration=160|duration_time=0.020000|size=6|pos=619|flags=K__|data_hash=CRC32:51a5a874
+packet|codec_type=audio|stream_index=0|pts=16480|pts_time=2.060000|dts=16480|dts_time=2.060000|duration=160|duration_time=0.020000|size=6|pos=625|flags=K__|data_hash=CRC32:f97d718b
+packet|codec_type=audio|stream_index=0|pts=16640|pts_time=2.080000|dts=16640|dts_time=2.080000|duration=160|duration_time=0.020000|size=6|pos=631|flags=K__|data_hash=CRC32:d0aded65
+packet|codec_type=audio|stream_index=0|pts=16800|pts_time=2.100000|dts=16800|dts_time=2.100000|duration=160|duration_time=0.020000|size=6|pos=637|flags=K__|data_hash=CRC32:cce5f343
+packet|codec_type=audio|stream_index=0|pts=16960|pts_time=2.120000|dts=16960|dts_time=2.120000|duration=160|duration_time=0.020000|size=6|pos=643|flags=K__|data_hash=CRC32:6dbbff59
+packet|codec_type=audio|stream_index=0|pts=17120|pts_time=2.140000|dts=17120|dts_time=2.140000|duration=160|duration_time=0.020000|size=6|pos=649|flags=K__|data_hash=CRC32:b89fea6b
+packet|codec_type=audio|stream_index=0|pts=17280|pts_time=2.160000|dts=17280|dts_time=2.160000|duration=160|duration_time=0.020000|size=6|pos=655|flags=K__|data_hash=CRC32:f53b6be6
+packet|codec_type=audio|stream_index=0|pts=17440|pts_time=2.180000|dts=17440|dts_time=2.180000|duration=160|duration_time=0.020000|size=6|pos=661|flags=K__|data_hash=CRC32:e62ac29e
+packet|codec_type=audio|stream_index=0|pts=17600|pts_time=2.200000|dts=17600|dts_time=2.200000|duration=160|duration_time=0.020000|size=6|pos=667|flags=K__|data_hash=CRC32:a58e3724
+packet|codec_type=audio|stream_index=0|pts=17760|pts_time=2.220000|dts=17760|dts_time=2.220000|duration=160|duration_time=0.020000|size=6|pos=673|flags=K__|data_hash=CRC32:cfaca7e0
+packet|codec_type=audio|stream_index=0|pts=17920|pts_time=2.240000|dts=17920|dts_time=2.240000|duration=160|duration_time=0.020000|size=6|pos=679|flags=K__|data_hash=CRC32:2aa80162
+packet|codec_type=audio|stream_index=0|pts=18080|pts_time=2.260000|dts=18080|dts_time=2.260000|duration=160|duration_time=0.020000|size=6|pos=685|flags=K__|data_hash=CRC32:d6194b5d
+packet|codec_type=audio|stream_index=0|pts=18240|pts_time=2.280000|dts=18240|dts_time=2.280000|duration=160|duration_time=0.020000|size=6|pos=691|flags=K__|data_hash=CRC32:a64477ad
+packet|codec_type=audio|stream_index=0|pts=18400|pts_time=2.300000|dts=18400|dts_time=2.300000|duration=160|duration_time=0.020000|size=6|pos=697|flags=K__|data_hash=CRC32:bc62d7fa
+packet|codec_type=audio|stream_index=0|pts=18560|pts_time=2.320000|dts=18560|dts_time=2.320000|duration=160|duration_time=0.020000|size=6|pos=703|flags=K__|data_hash=CRC32:074a6bba
+packet|codec_type=audio|stream_index=0|pts=18720|pts_time=2.340000|dts=18720|dts_time=2.340000|duration=160|duration_time=0.020000|size=6|pos=709|flags=K__|data_hash=CRC32:95682acc
+packet|codec_type=audio|stream_index=0|pts=18880|pts_time=2.360000|dts=18880|dts_time=2.360000|duration=160|duration_time=0.020000|size=6|pos=715|flags=K__|data_hash=CRC32:34fc937e
+packet|codec_type=audio|stream_index=0|pts=19040|pts_time=2.380000|dts=19040|dts_time=2.380000|duration=160|duration_time=0.020000|size=6|pos=721|flags=K__|data_hash=CRC32:38b52a3c
+packet|codec_type=audio|stream_index=0|pts=19200|pts_time=2.400000|dts=19200|dts_time=2.400000|duration=160|duration_time=0.020000|size=6|pos=727|flags=K__|data_hash=CRC32:1e72a60e
+packet|codec_type=audio|stream_index=0|pts=19360|pts_time=2.420000|dts=19360|dts_time=2.420000|duration=160|duration_time=0.020000|size=6|pos=733|flags=K__|data_hash=CRC32:c3009208
+packet|codec_type=audio|stream_index=0|pts=19520|pts_time=2.440000|dts=19520|dts_time=2.440000|duration=160|duration_time=0.020000|size=6|pos=739|flags=K__|data_hash=CRC32:7601ee4f
+packet|codec_type=audio|stream_index=0|pts=19680|pts_time=2.460000|dts=19680|dts_time=2.460000|duration=160|duration_time=0.020000|size=6|pos=745|flags=K__|data_hash=CRC32:b90922aa
+packet|codec_type=audio|stream_index=0|pts=19840|pts_time=2.480000|dts=19840|dts_time=2.480000|duration=160|duration_time=0.020000|size=6|pos=751|flags=K__|data_hash=CRC32:f0bea16a
+packet|codec_type=audio|stream_index=0|pts=20000|pts_time=2.500000|dts=20000|dts_time=2.500000|duration=160|duration_time=0.020000|size=6|pos=757|flags=K__|data_hash=CRC32:4f2609e9
+packet|codec_type=audio|stream_index=0|pts=20160|pts_time=2.520000|dts=20160|dts_time=2.520000|duration=160|duration_time=0.020000|size=6|pos=763|flags=K__|data_hash=CRC32:6972b21f
+packet|codec_type=audio|stream_index=0|pts=20320|pts_time=2.540000|dts=20320|dts_time=2.540000|duration=160|duration_time=0.020000|size=6|pos=769|flags=K__|data_hash=CRC32:3e761c95
+packet|codec_type=audio|stream_index=0|pts=20480|pts_time=2.560000|dts=20480|dts_time=2.560000|duration=160|duration_time=0.020000|size=6|pos=775|flags=K__|data_hash=CRC32:a2af0e16
+packet|codec_type=audio|stream_index=0|pts=20640|pts_time=2.580000|dts=20640|dts_time=2.580000|duration=160|duration_time=0.020000|size=6|pos=781|flags=K__|data_hash=CRC32:3ba2d588
+packet|codec_type=audio|stream_index=0|pts=20800|pts_time=2.600000|dts=20800|dts_time=2.600000|duration=160|duration_time=0.020000|size=6|pos=787|flags=K__|data_hash=CRC32:8ff827fa
+packet|codec_type=audio|stream_index=0|pts=20960|pts_time=2.620000|dts=20960|dts_time=2.620000|duration=160|duration_time=0.020000|size=6|pos=793|flags=K__|data_hash=CRC32:5c9d083c
+packet|codec_type=audio|stream_index=0|pts=21120|pts_time=2.640000|dts=21120|dts_time=2.640000|duration=160|duration_time=0.020000|size=6|pos=799|flags=K__|data_hash=CRC32:d160672b
+packet|codec_type=audio|stream_index=0|pts=21280|pts_time=2.660000|dts=21280|dts_time=2.660000|duration=160|duration_time=0.020000|size=6|pos=805|flags=K__|data_hash=CRC32:ad193206
+packet|codec_type=audio|stream_index=0|pts=21440|pts_time=2.680000|dts=21440|dts_time=2.680000|duration=160|duration_time=0.020000|size=6|pos=811|flags=K__|data_hash=CRC32:50b36f13
+packet|codec_type=audio|stream_index=0|pts=21600|pts_time=2.700000|dts=21600|dts_time=2.700000|duration=160|duration_time=0.020000|size=6|pos=817|flags=K__|data_hash=CRC32:3b976099
+packet|codec_type=audio|stream_index=0|pts=21760|pts_time=2.720000|dts=21760|dts_time=2.720000|duration=160|duration_time=0.020000|size=6|pos=823|flags=K__|data_hash=CRC32:29fed307
+packet|codec_type=audio|stream_index=0|pts=21920|pts_time=2.740000|dts=21920|dts_time=2.740000|duration=160|duration_time=0.020000|size=6|pos=829|flags=K__|data_hash=CRC32:a66ae1af
+packet|codec_type=audio|stream_index=0|pts=22080|pts_time=2.760000|dts=22080|dts_time=2.760000|duration=160|duration_time=0.020000|size=6|pos=835|flags=K__|data_hash=CRC32:3cc95c4b
+packet|codec_type=audio|stream_index=0|pts=22240|pts_time=2.780000|dts=22240|dts_time=2.780000|duration=160|duration_time=0.020000|size=6|pos=841|flags=K__|data_hash=CRC32:b72733f8
+packet|codec_type=audio|stream_index=0|pts=22400|pts_time=2.800000|dts=22400|dts_time=2.800000|duration=160|duration_time=0.020000|size=6|pos=847|flags=K__|data_hash=CRC32:0becac56
+packet|codec_type=audio|stream_index=0|pts=22560|pts_time=2.820000|dts=22560|dts_time=2.820000|duration=160|duration_time=0.020000|size=6|pos=853|flags=K__|data_hash=CRC32:353d07e3
+packet|codec_type=audio|stream_index=0|pts=22720|pts_time=2.840000|dts=22720|dts_time=2.840000|duration=160|duration_time=0.020000|size=6|pos=859|flags=K__|data_hash=CRC32:1d2448ea
+packet|codec_type=audio|stream_index=0|pts=22880|pts_time=2.860000|dts=22880|dts_time=2.860000|duration=160|duration_time=0.020000|size=6|pos=865|flags=K__|data_hash=CRC32:0e7b72ca
+packet|codec_type=audio|stream_index=0|pts=23040|pts_time=2.880000|dts=23040|dts_time=2.880000|duration=160|duration_time=0.020000|size=6|pos=871|flags=K__|data_hash=CRC32:2837dcb1
+packet|codec_type=audio|stream_index=0|pts=23200|pts_time=2.900000|dts=23200|dts_time=2.900000|duration=160|duration_time=0.020000|size=6|pos=877|flags=K__|data_hash=CRC32:9db710af
+packet|codec_type=audio|stream_index=0|pts=23360|pts_time=2.920000|dts=23360|dts_time=2.920000|duration=160|duration_time=0.020000|size=6|pos=883|flags=K__|data_hash=CRC32:a2ff0694
+packet|codec_type=audio|stream_index=0|pts=23520|pts_time=2.940000|dts=23520|dts_time=2.940000|duration=160|duration_time=0.020000|size=6|pos=889|flags=K__|data_hash=CRC32:6377f1b0
+packet|codec_type=audio|stream_index=0|pts=23680|pts_time=2.960000|dts=23680|dts_time=2.960000|duration=160|duration_time=0.020000|size=6|pos=895|flags=K__|data_hash=CRC32:7496f393
+packet|codec_type=audio|stream_index=0|pts=23840|pts_time=2.980000|dts=23840|dts_time=2.980000|duration=160|duration_time=0.020000|size=6|pos=901|flags=K__|data_hash=CRC32:2f84dbe8
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=24000|duration=3.000000|bit_rate=2400|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=150|extradata_size=4|extradata_hash=CRC32:83675d56|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-2400.c2|nb_streams=1|nb_programs=0|format_name=codec2|start_time=N/A|duration=3.000000|size=907|bit_rate=2418|probe_score=51
diff --git a/tests/ref/fate/codec2-probe-3200 b/tests/ref/fate/codec2-probe-3200
new file mode 100644
index 0000000000..9304fa4ec2
--- /dev/null
+++ b/tests/ref/fate/codec2-probe-3200
@@ -0,0 +1,152 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=160|duration_time=0.020000|size=8|pos=7|flags=K__|data_hash=CRC32:47b54c75
+packet|codec_type=audio|stream_index=0|pts=160|pts_time=0.020000|dts=160|dts_time=0.020000|duration=160|duration_time=0.020000|size=8|pos=15|flags=K__|data_hash=CRC32:7664d67c
+packet|codec_type=audio|stream_index=0|pts=320|pts_time=0.040000|dts=320|dts_time=0.040000|duration=160|duration_time=0.020000|size=8|pos=23|flags=K__|data_hash=CRC32:8661cfcf
+packet|codec_type=audio|stream_index=0|pts=480|pts_time=0.060000|dts=480|dts_time=0.060000|duration=160|duration_time=0.020000|size=8|pos=31|flags=K__|data_hash=CRC32:7058a9c8
+packet|codec_type=audio|stream_index=0|pts=640|pts_time=0.080000|dts=640|dts_time=0.080000|duration=160|duration_time=0.020000|size=8|pos=39|flags=K__|data_hash=CRC32:0ba5d0e8
+packet|codec_type=audio|stream_index=0|pts=800|pts_time=0.100000|dts=800|dts_time=0.100000|duration=160|duration_time=0.020000|size=8|pos=47|flags=K__|data_hash=CRC32:ca1b9e09
+packet|codec_type=audio|stream_index=0|pts=960|pts_time=0.120000|dts=960|dts_time=0.120000|duration=160|duration_time=0.020000|size=8|pos=55|flags=K__|data_hash=CRC32:cc6efcdb
+packet|codec_type=audio|stream_index=0|pts=1120|pts_time=0.140000|dts=1120|dts_time=0.140000|duration=160|duration_time=0.020000|size=8|pos=63|flags=K__|data_hash=CRC32:d38a7221
+packet|codec_type=audio|stream_index=0|pts=1280|pts_time=0.160000|dts=1280|dts_time=0.160000|duration=160|duration_time=0.020000|size=8|pos=71|flags=K__|data_hash=CRC32:c2890544
+packet|codec_type=audio|stream_index=0|pts=1440|pts_time=0.180000|dts=1440|dts_time=0.180000|duration=160|duration_time=0.020000|size=8|pos=79|flags=K__|data_hash=CRC32:ef6b161c
+packet|codec_type=audio|stream_index=0|pts=1600|pts_time=0.200000|dts=1600|dts_time=0.200000|duration=160|duration_time=0.020000|size=8|pos=87|flags=K__|data_hash=CRC32:0a8424a9
+packet|codec_type=audio|stream_index=0|pts=1760|pts_time=0.220000|dts=1760|dts_time=0.220000|duration=160|duration_time=0.020000|size=8|pos=95|flags=K__|data_hash=CRC32:e2fcc803
+packet|codec_type=audio|stream_index=0|pts=1920|pts_time=0.240000|dts=1920|dts_time=0.240000|duration=160|duration_time=0.020000|size=8|pos=103|flags=K__|data_hash=CRC32:93fba530
+packet|codec_type=audio|stream_index=0|pts=2080|pts_time=0.260000|dts=2080|dts_time=0.260000|duration=160|duration_time=0.020000|size=8|pos=111|flags=K__|data_hash=CRC32:51551839
+packet|codec_type=audio|stream_index=0|pts=2240|pts_time=0.280000|dts=2240|dts_time=0.280000|duration=160|duration_time=0.020000|size=8|pos=119|flags=K__|data_hash=CRC32:fff36795
+packet|codec_type=audio|stream_index=0|pts=2400|pts_time=0.300000|dts=2400|dts_time=0.300000|duration=160|duration_time=0.020000|size=8|pos=127|flags=K__|data_hash=CRC32:0e5c63bb
+packet|codec_type=audio|stream_index=0|pts=2560|pts_time=0.320000|dts=2560|dts_time=0.320000|duration=160|duration_time=0.020000|size=8|pos=135|flags=K__|data_hash=CRC32:d769159b
+packet|codec_type=audio|stream_index=0|pts=2720|pts_time=0.340000|dts=2720|dts_time=0.340000|duration=160|duration_time=0.020000|size=8|pos=143|flags=K__|data_hash=CRC32:11343ea9
+packet|codec_type=audio|stream_index=0|pts=2880|pts_time=0.360000|dts=2880|dts_time=0.360000|duration=160|duration_time=0.020000|size=8|pos=151|flags=K__|data_hash=CRC32:b4a85c0c
+packet|codec_type=audio|stream_index=0|pts=3040|pts_time=0.380000|dts=3040|dts_time=0.380000|duration=160|duration_time=0.020000|size=8|pos=159|flags=K__|data_hash=CRC32:3f5e482a
+packet|codec_type=audio|stream_index=0|pts=3200|pts_time=0.400000|dts=3200|dts_time=0.400000|duration=160|duration_time=0.020000|size=8|pos=167|flags=K__|data_hash=CRC32:d7ccac19
+packet|codec_type=audio|stream_index=0|pts=3360|pts_time=0.420000|dts=3360|dts_time=0.420000|duration=160|duration_time=0.020000|size=8|pos=175|flags=K__|data_hash=CRC32:bac75596
+packet|codec_type=audio|stream_index=0|pts=3520|pts_time=0.440000|dts=3520|dts_time=0.440000|duration=160|duration_time=0.020000|size=8|pos=183|flags=K__|data_hash=CRC32:c15a01e7
+packet|codec_type=audio|stream_index=0|pts=3680|pts_time=0.460000|dts=3680|dts_time=0.460000|duration=160|duration_time=0.020000|size=8|pos=191|flags=K__|data_hash=CRC32:e055d60e
+packet|codec_type=audio|stream_index=0|pts=3840|pts_time=0.480000|dts=3840|dts_time=0.480000|duration=160|duration_time=0.020000|size=8|pos=199|flags=K__|data_hash=CRC32:b8ad40fd
+packet|codec_type=audio|stream_index=0|pts=4000|pts_time=0.500000|dts=4000|dts_time=0.500000|duration=160|duration_time=0.020000|size=8|pos=207|flags=K__|data_hash=CRC32:5ca3022c
+packet|codec_type=audio|stream_index=0|pts=4160|pts_time=0.520000|dts=4160|dts_time=0.520000|duration=160|duration_time=0.020000|size=8|pos=215|flags=K__|data_hash=CRC32:cffb0ec4
+packet|codec_type=audio|stream_index=0|pts=4320|pts_time=0.540000|dts=4320|dts_time=0.540000|duration=160|duration_time=0.020000|size=8|pos=223|flags=K__|data_hash=CRC32:af8ee69f
+packet|codec_type=audio|stream_index=0|pts=4480|pts_time=0.560000|dts=4480|dts_time=0.560000|duration=160|duration_time=0.020000|size=8|pos=231|flags=K__|data_hash=CRC32:801bd028
+packet|codec_type=audio|stream_index=0|pts=4640|pts_time=0.580000|dts=4640|dts_time=0.580000|duration=160|duration_time=0.020000|size=8|pos=239|flags=K__|data_hash=CRC32:b341a2dc
+packet|codec_type=audio|stream_index=0|pts=4800|pts_time=0.600000|dts=4800|dts_time=0.600000|duration=160|duration_time=0.020000|size=8|pos=247|flags=K__|data_hash=CRC32:2efe16db
+packet|codec_type=audio|stream_index=0|pts=4960|pts_time=0.620000|dts=4960|dts_time=0.620000|duration=160|duration_time=0.020000|size=8|pos=255|flags=K__|data_hash=CRC32:56e06065
+packet|codec_type=audio|stream_index=0|pts=5120|pts_time=0.640000|dts=5120|dts_time=0.640000|duration=160|duration_time=0.020000|size=8|pos=263|flags=K__|data_hash=CRC32:d67395f0
+packet|codec_type=audio|stream_index=0|pts=5280|pts_time=0.660000|dts=5280|dts_time=0.660000|duration=160|duration_time=0.020000|size=8|pos=271|flags=K__|data_hash=CRC32:ea630299
+packet|codec_type=audio|stream_index=0|pts=5440|pts_time=0.680000|dts=5440|dts_time=0.680000|duration=160|duration_time=0.020000|size=8|pos=279|flags=K__|data_hash=CRC32:ad26cf3e
+packet|codec_type=audio|stream_index=0|pts=5600|pts_time=0.700000|dts=5600|dts_time=0.700000|duration=160|duration_time=0.020000|size=8|pos=287|flags=K__|data_hash=CRC32:0bce57d3
+packet|codec_type=audio|stream_index=0|pts=5760|pts_time=0.720000|dts=5760|dts_time=0.720000|duration=160|duration_time=0.020000|size=8|pos=295|flags=K__|data_hash=CRC32:91e4488f
+packet|codec_type=audio|stream_index=0|pts=5920|pts_time=0.740000|dts=5920|dts_time=0.740000|duration=160|duration_time=0.020000|size=8|pos=303|flags=K__|data_hash=CRC32:f959df52
+packet|codec_type=audio|stream_index=0|pts=6080|pts_time=0.760000|dts=6080|dts_time=0.760000|duration=160|duration_time=0.020000|size=8|pos=311|flags=K__|data_hash=CRC32:f65c4d6d
+packet|codec_type=audio|stream_index=0|pts=6240|pts_time=0.780000|dts=6240|dts_time=0.780000|duration=160|duration_time=0.020000|size=8|pos=319|flags=K__|data_hash=CRC32:bf19e990
+packet|codec_type=audio|stream_index=0|pts=6400|pts_time=0.800000|dts=6400|dts_time=0.800000|duration=160|duration_time=0.020000|size=8|pos=327|flags=K__|data_hash=CRC32:fbfe411c
+packet|codec_type=audio|stream_index=0|pts=6560|pts_time=0.820000|dts=6560|dts_time=0.820000|duration=160|duration_time=0.020000|size=8|pos=335|flags=K__|data_hash=CRC32:a11d6f6a
+packet|codec_type=audio|stream_index=0|pts=6720|pts_time=0.840000|dts=6720|dts_time=0.840000|duration=160|duration_time=0.020000|size=8|pos=343|flags=K__|data_hash=CRC32:194e2ca8
+packet|codec_type=audio|stream_index=0|pts=6880|pts_time=0.860000|dts=6880|dts_time=0.860000|duration=160|duration_time=0.020000|size=8|pos=351|flags=K__|data_hash=CRC32:aeeb8970
+packet|codec_type=audio|stream_index=0|pts=7040|pts_time=0.880000|dts=7040|dts_time=0.880000|duration=160|duration_time=0.020000|size=8|pos=359|flags=K__|data_hash=CRC32:b5c2835f
+packet|codec_type=audio|stream_index=0|pts=7200|pts_time=0.900000|dts=7200|dts_time=0.900000|duration=160|duration_time=0.020000|size=8|pos=367|flags=K__|data_hash=CRC32:53911676
+packet|codec_type=audio|stream_index=0|pts=7360|pts_time=0.920000|dts=7360|dts_time=0.920000|duration=160|duration_time=0.020000|size=8|pos=375|flags=K__|data_hash=CRC32:a65b4b7f
+packet|codec_type=audio|stream_index=0|pts=7520|pts_time=0.940000|dts=7520|dts_time=0.940000|duration=160|duration_time=0.020000|size=8|pos=383|flags=K__|data_hash=CRC32:7d137108
+packet|codec_type=audio|stream_index=0|pts=7680|pts_time=0.960000|dts=7680|dts_time=0.960000|duration=160|duration_time=0.020000|size=8|pos=391|flags=K__|data_hash=CRC32:d791c7e1
+packet|codec_type=audio|stream_index=0|pts=7840|pts_time=0.980000|dts=7840|dts_time=0.980000|duration=160|duration_time=0.020000|size=8|pos=399|flags=K__|data_hash=CRC32:8e83f20c
+packet|codec_type=audio|stream_index=0|pts=8000|pts_time=1.000000|dts=8000|dts_time=1.000000|duration=160|duration_time=0.020000|size=8|pos=407|flags=K__|data_hash=CRC32:fc0a40f8
+packet|codec_type=audio|stream_index=0|pts=8160|pts_time=1.020000|dts=8160|dts_time=1.020000|duration=160|duration_time=0.020000|size=8|pos=415|flags=K__|data_hash=CRC32:9e815f10
+packet|codec_type=audio|stream_index=0|pts=8320|pts_time=1.040000|dts=8320|dts_time=1.040000|duration=160|duration_time=0.020000|size=8|pos=423|flags=K__|data_hash=CRC32:88257108
+packet|codec_type=audio|stream_index=0|pts=8480|pts_time=1.060000|dts=8480|dts_time=1.060000|duration=160|duration_time=0.020000|size=8|pos=431|flags=K__|data_hash=CRC32:a3d5806d
+packet|codec_type=audio|stream_index=0|pts=8640|pts_time=1.080000|dts=8640|dts_time=1.080000|duration=160|duration_time=0.020000|size=8|pos=439|flags=K__|data_hash=CRC32:cd2a6050
+packet|codec_type=audio|stream_index=0|pts=8800|pts_time=1.100000|dts=8800|dts_time=1.100000|duration=160|duration_time=0.020000|size=8|pos=447|flags=K__|data_hash=CRC32:2039c87c
+packet|codec_type=audio|stream_index=0|pts=8960|pts_time=1.120000|dts=8960|dts_time=1.120000|duration=160|duration_time=0.020000|size=8|pos=455|flags=K__|data_hash=CRC32:680ce279
+packet|codec_type=audio|stream_index=0|pts=9120|pts_time=1.140000|dts=9120|dts_time=1.140000|duration=160|duration_time=0.020000|size=8|pos=463|flags=K__|data_hash=CRC32:9f59d8e3
+packet|codec_type=audio|stream_index=0|pts=9280|pts_time=1.160000|dts=9280|dts_time=1.160000|duration=160|duration_time=0.020000|size=8|pos=471|flags=K__|data_hash=CRC32:80e38773
+packet|codec_type=audio|stream_index=0|pts=9440|pts_time=1.180000|dts=9440|dts_time=1.180000|duration=160|duration_time=0.020000|size=8|pos=479|flags=K__|data_hash=CRC32:be7ee487
+packet|codec_type=audio|stream_index=0|pts=9600|pts_time=1.200000|dts=9600|dts_time=1.200000|duration=160|duration_time=0.020000|size=8|pos=487|flags=K__|data_hash=CRC32:20cde7e5
+packet|codec_type=audio|stream_index=0|pts=9760|pts_time=1.220000|dts=9760|dts_time=1.220000|duration=160|duration_time=0.020000|size=8|pos=495|flags=K__|data_hash=CRC32:be2a5d03
+packet|codec_type=audio|stream_index=0|pts=9920|pts_time=1.240000|dts=9920|dts_time=1.240000|duration=160|duration_time=0.020000|size=8|pos=503|flags=K__|data_hash=CRC32:bdf71e68
+packet|codec_type=audio|stream_index=0|pts=10080|pts_time=1.260000|dts=10080|dts_time=1.260000|duration=160|duration_time=0.020000|size=8|pos=511|flags=K__|data_hash=CRC32:789c59d4
+packet|codec_type=audio|stream_index=0|pts=10240|pts_time=1.280000|dts=10240|dts_time=1.280000|duration=160|duration_time=0.020000|size=8|pos=519|flags=K__|data_hash=CRC32:370d29cb
+packet|codec_type=audio|stream_index=0|pts=10400|pts_time=1.300000|dts=10400|dts_time=1.300000|duration=160|duration_time=0.020000|size=8|pos=527|flags=K__|data_hash=CRC32:6277e2b0
+packet|codec_type=audio|stream_index=0|pts=10560|pts_time=1.320000|dts=10560|dts_time=1.320000|duration=160|duration_time=0.020000|size=8|pos=535|flags=K__|data_hash=CRC32:40d368d8
+packet|codec_type=audio|stream_index=0|pts=10720|pts_time=1.340000|dts=10720|dts_time=1.340000|duration=160|duration_time=0.020000|size=8|pos=543|flags=K__|data_hash=CRC32:fc896dc9
+packet|codec_type=audio|stream_index=0|pts=10880|pts_time=1.360000|dts=10880|dts_time=1.360000|duration=160|duration_time=0.020000|size=8|pos=551|flags=K__|data_hash=CRC32:44664ab4
+packet|codec_type=audio|stream_index=0|pts=11040|pts_time=1.380000|dts=11040|dts_time=1.380000|duration=160|duration_time=0.020000|size=8|pos=559|flags=K__|data_hash=CRC32:7b74748f
+packet|codec_type=audio|stream_index=0|pts=11200|pts_time=1.400000|dts=11200|dts_time=1.400000|duration=160|duration_time=0.020000|size=8|pos=567|flags=K__|data_hash=CRC32:859edfa6
+packet|codec_type=audio|stream_index=0|pts=11360|pts_time=1.420000|dts=11360|dts_time=1.420000|duration=160|duration_time=0.020000|size=8|pos=575|flags=K__|data_hash=CRC32:cefdc5f3
+packet|codec_type=audio|stream_index=0|pts=11520|pts_time=1.440000|dts=11520|dts_time=1.440000|duration=160|duration_time=0.020000|size=8|pos=583|flags=K__|data_hash=CRC32:2a9a705c
+packet|codec_type=audio|stream_index=0|pts=11680|pts_time=1.460000|dts=11680|dts_time=1.460000|duration=160|duration_time=0.020000|size=8|pos=591|flags=K__|data_hash=CRC32:fa30bf2f
+packet|codec_type=audio|stream_index=0|pts=11840|pts_time=1.480000|dts=11840|dts_time=1.480000|duration=160|duration_time=0.020000|size=8|pos=599|flags=K__|data_hash=CRC32:a107bd55
+packet|codec_type=audio|stream_index=0|pts=12000|pts_time=1.500000|dts=12000|dts_time=1.500000|duration=160|duration_time=0.020000|size=8|pos=607|flags=K__|data_hash=CRC32:b419e854
+packet|codec_type=audio|stream_index=0|pts=12160|pts_time=1.520000|dts=12160|dts_time=1.520000|duration=160|duration_time=0.020000|size=8|pos=615|flags=K__|data_hash=CRC32:8282f45a
+packet|codec_type=audio|stream_index=0|pts=12320|pts_time=1.540000|dts=12320|dts_time=1.540000|duration=160|duration_time=0.020000|size=8|pos=623|flags=K__|data_hash=CRC32:88b8a885
+packet|codec_type=audio|stream_index=0|pts=12480|pts_time=1.560000|dts=12480|dts_time=1.560000|duration=160|duration_time=0.020000|size=8|pos=631|flags=K__|data_hash=CRC32:2b40fc69
+packet|codec_type=audio|stream_index=0|pts=12640|pts_time=1.580000|dts=12640|dts_time=1.580000|duration=160|duration_time=0.020000|size=8|pos=639|flags=K__|data_hash=CRC32:ecf3fa63
+packet|codec_type=audio|stream_index=0|pts=12800|pts_time=1.600000|dts=12800|dts_time=1.600000|duration=160|duration_time=0.020000|size=8|pos=647|flags=K__|data_hash=CRC32:fed084af
+packet|codec_type=audio|stream_index=0|pts=12960|pts_time=1.620000|dts=12960|dts_time=1.620000|duration=160|duration_time=0.020000|size=8|pos=655|flags=K__|data_hash=CRC32:34db7605
+packet|codec_type=audio|stream_index=0|pts=13120|pts_time=1.640000|dts=13120|dts_time=1.640000|duration=160|duration_time=0.020000|size=8|pos=663|flags=K__|data_hash=CRC32:98b02867
+packet|codec_type=audio|stream_index=0|pts=13280|pts_time=1.660000|dts=13280|dts_time=1.660000|duration=160|duration_time=0.020000|size=8|pos=671|flags=K__|data_hash=CRC32:dc1ba7d8
+packet|codec_type=audio|stream_index=0|pts=13440|pts_time=1.680000|dts=13440|dts_time=1.680000|duration=160|duration_time=0.020000|size=8|pos=679|flags=K__|data_hash=CRC32:c6d4f493
+packet|codec_type=audio|stream_index=0|pts=13600|pts_time=1.700000|dts=13600|dts_time=1.700000|duration=160|duration_time=0.020000|size=8|pos=687|flags=K__|data_hash=CRC32:893fef83
+packet|codec_type=audio|stream_index=0|pts=13760|pts_time=1.720000|dts=13760|dts_time=1.720000|duration=160|duration_time=0.020000|size=8|pos=695|flags=K__|data_hash=CRC32:363fad22
+packet|codec_type=audio|stream_index=0|pts=13920|pts_time=1.740000|dts=13920|dts_time=1.740000|duration=160|duration_time=0.020000|size=8|pos=703|flags=K__|data_hash=CRC32:68c171c3
+packet|codec_type=audio|stream_index=0|pts=14080|pts_time=1.760000|dts=14080|dts_time=1.760000|duration=160|duration_time=0.020000|size=8|pos=711|flags=K__|data_hash=CRC32:ef518c17
+packet|codec_type=audio|stream_index=0|pts=14240|pts_time=1.780000|dts=14240|dts_time=1.780000|duration=160|duration_time=0.020000|size=8|pos=719|flags=K__|data_hash=CRC32:aabef5df
+packet|codec_type=audio|stream_index=0|pts=14400|pts_time=1.800000|dts=14400|dts_time=1.800000|duration=160|duration_time=0.020000|size=8|pos=727|flags=K__|data_hash=CRC32:1e68fa09
+packet|codec_type=audio|stream_index=0|pts=14560|pts_time=1.820000|dts=14560|dts_time=1.820000|duration=160|duration_time=0.020000|size=8|pos=735|flags=K__|data_hash=CRC32:1b656207
+packet|codec_type=audio|stream_index=0|pts=14720|pts_time=1.840000|dts=14720|dts_time=1.840000|duration=160|duration_time=0.020000|size=8|pos=743|flags=K__|data_hash=CRC32:e62ca880
+packet|codec_type=audio|stream_index=0|pts=14880|pts_time=1.860000|dts=14880|dts_time=1.860000|duration=160|duration_time=0.020000|size=8|pos=751|flags=K__|data_hash=CRC32:35fc5ccc
+packet|codec_type=audio|stream_index=0|pts=15040|pts_time=1.880000|dts=15040|dts_time=1.880000|duration=160|duration_time=0.020000|size=8|pos=759|flags=K__|data_hash=CRC32:4c0a7559
+packet|codec_type=audio|stream_index=0|pts=15200|pts_time=1.900000|dts=15200|dts_time=1.900000|duration=160|duration_time=0.020000|size=8|pos=767|flags=K__|data_hash=CRC32:407332b8
+packet|codec_type=audio|stream_index=0|pts=15360|pts_time=1.920000|dts=15360|dts_time=1.920000|duration=160|duration_time=0.020000|size=8|pos=775|flags=K__|data_hash=CRC32:ee72d7be
+packet|codec_type=audio|stream_index=0|pts=15520|pts_time=1.940000|dts=15520|dts_time=1.940000|duration=160|duration_time=0.020000|size=8|pos=783|flags=K__|data_hash=CRC32:99e5ba29
+packet|codec_type=audio|stream_index=0|pts=15680|pts_time=1.960000|dts=15680|dts_time=1.960000|duration=160|duration_time=0.020000|size=8|pos=791|flags=K__|data_hash=CRC32:b46c2182
+packet|codec_type=audio|stream_index=0|pts=15840|pts_time=1.980000|dts=15840|dts_time=1.980000|duration=160|duration_time=0.020000|size=8|pos=799|flags=K__|data_hash=CRC32:7bc0ff30
+packet|codec_type=audio|stream_index=0|pts=16000|pts_time=2.000000|dts=16000|dts_time=2.000000|duration=160|duration_time=0.020000|size=8|pos=807|flags=K__|data_hash=CRC32:2a250506
+packet|codec_type=audio|stream_index=0|pts=16160|pts_time=2.020000|dts=16160|dts_time=2.020000|duration=160|duration_time=0.020000|size=8|pos=815|flags=K__|data_hash=CRC32:692cb5c1
+packet|codec_type=audio|stream_index=0|pts=16320|pts_time=2.040000|dts=16320|dts_time=2.040000|duration=160|duration_time=0.020000|size=8|pos=823|flags=K__|data_hash=CRC32:e96d9f46
+packet|codec_type=audio|stream_index=0|pts=16480|pts_time=2.060000|dts=16480|dts_time=2.060000|duration=160|duration_time=0.020000|size=8|pos=831|flags=K__|data_hash=CRC32:cf89302f
+packet|codec_type=audio|stream_index=0|pts=16640|pts_time=2.080000|dts=16640|dts_time=2.080000|duration=160|duration_time=0.020000|size=8|pos=839|flags=K__|data_hash=CRC32:9ce949ff
+packet|codec_type=audio|stream_index=0|pts=16800|pts_time=2.100000|dts=16800|dts_time=2.100000|duration=160|duration_time=0.020000|size=8|pos=847|flags=K__|data_hash=CRC32:2fbd2ad7
+packet|codec_type=audio|stream_index=0|pts=16960|pts_time=2.120000|dts=16960|dts_time=2.120000|duration=160|duration_time=0.020000|size=8|pos=855|flags=K__|data_hash=CRC32:5cdb3473
+packet|codec_type=audio|stream_index=0|pts=17120|pts_time=2.140000|dts=17120|dts_time=2.140000|duration=160|duration_time=0.020000|size=8|pos=863|flags=K__|data_hash=CRC32:7e2da2aa
+packet|codec_type=audio|stream_index=0|pts=17280|pts_time=2.160000|dts=17280|dts_time=2.160000|duration=160|duration_time=0.020000|size=8|pos=871|flags=K__|data_hash=CRC32:de4f030f
+packet|codec_type=audio|stream_index=0|pts=17440|pts_time=2.180000|dts=17440|dts_time=2.180000|duration=160|duration_time=0.020000|size=8|pos=879|flags=K__|data_hash=CRC32:dd087894
+packet|codec_type=audio|stream_index=0|pts=17600|pts_time=2.200000|dts=17600|dts_time=2.200000|duration=160|duration_time=0.020000|size=8|pos=887|flags=K__|data_hash=CRC32:45353c9d
+packet|codec_type=audio|stream_index=0|pts=17760|pts_time=2.220000|dts=17760|dts_time=2.220000|duration=160|duration_time=0.020000|size=8|pos=895|flags=K__|data_hash=CRC32:bc1edba8
+packet|codec_type=audio|stream_index=0|pts=17920|pts_time=2.240000|dts=17920|dts_time=2.240000|duration=160|duration_time=0.020000|size=8|pos=903|flags=K__|data_hash=CRC32:b2a3abca
+packet|codec_type=audio|stream_index=0|pts=18080|pts_time=2.260000|dts=18080|dts_time=2.260000|duration=160|duration_time=0.020000|size=8|pos=911|flags=K__|data_hash=CRC32:30e293f8
+packet|codec_type=audio|stream_index=0|pts=18240|pts_time=2.280000|dts=18240|dts_time=2.280000|duration=160|duration_time=0.020000|size=8|pos=919|flags=K__|data_hash=CRC32:14c3a2ab
+packet|codec_type=audio|stream_index=0|pts=18400|pts_time=2.300000|dts=18400|dts_time=2.300000|duration=160|duration_time=0.020000|size=8|pos=927|flags=K__|data_hash=CRC32:8db10f4e
+packet|codec_type=audio|stream_index=0|pts=18560|pts_time=2.320000|dts=18560|dts_time=2.320000|duration=160|duration_time=0.020000|size=8|pos=935|flags=K__|data_hash=CRC32:1d254096
+packet|codec_type=audio|stream_index=0|pts=18720|pts_time=2.340000|dts=18720|dts_time=2.340000|duration=160|duration_time=0.020000|size=8|pos=943|flags=K__|data_hash=CRC32:49e8c884
+packet|codec_type=audio|stream_index=0|pts=18880|pts_time=2.360000|dts=18880|dts_time=2.360000|duration=160|duration_time=0.020000|size=8|pos=951|flags=K__|data_hash=CRC32:d36923e0
+packet|codec_type=audio|stream_index=0|pts=19040|pts_time=2.380000|dts=19040|dts_time=2.380000|duration=160|duration_time=0.020000|size=8|pos=959|flags=K__|data_hash=CRC32:d893b966
+packet|codec_type=audio|stream_index=0|pts=19200|pts_time=2.400000|dts=19200|dts_time=2.400000|duration=160|duration_time=0.020000|size=8|pos=967|flags=K__|data_hash=CRC32:0e121744
+packet|codec_type=audio|stream_index=0|pts=19360|pts_time=2.420000|dts=19360|dts_time=2.420000|duration=160|duration_time=0.020000|size=8|pos=975|flags=K__|data_hash=CRC32:683ac084
+packet|codec_type=audio|stream_index=0|pts=19520|pts_time=2.440000|dts=19520|dts_time=2.440000|duration=160|duration_time=0.020000|size=8|pos=983|flags=K__|data_hash=CRC32:693c530f
+packet|codec_type=audio|stream_index=0|pts=19680|pts_time=2.460000|dts=19680|dts_time=2.460000|duration=160|duration_time=0.020000|size=8|pos=991|flags=K__|data_hash=CRC32:419bda2b
+packet|codec_type=audio|stream_index=0|pts=19840|pts_time=2.480000|dts=19840|dts_time=2.480000|duration=160|duration_time=0.020000|size=8|pos=999|flags=K__|data_hash=CRC32:31e5fdb6
+packet|codec_type=audio|stream_index=0|pts=20000|pts_time=2.500000|dts=20000|dts_time=2.500000|duration=160|duration_time=0.020000|size=8|pos=1007|flags=K__|data_hash=CRC32:246a56c7
+packet|codec_type=audio|stream_index=0|pts=20160|pts_time=2.520000|dts=20160|dts_time=2.520000|duration=160|duration_time=0.020000|size=8|pos=1015|flags=K__|data_hash=CRC32:d08cd880
+packet|codec_type=audio|stream_index=0|pts=20320|pts_time=2.540000|dts=20320|dts_time=2.540000|duration=160|duration_time=0.020000|size=8|pos=1023|flags=K__|data_hash=CRC32:7ace8362
+packet|codec_type=audio|stream_index=0|pts=20480|pts_time=2.560000|dts=20480|dts_time=2.560000|duration=160|duration_time=0.020000|size=8|pos=1031|flags=K__|data_hash=CRC32:57f5b70f
+packet|codec_type=audio|stream_index=0|pts=20640|pts_time=2.580000|dts=20640|dts_time=2.580000|duration=160|duration_time=0.020000|size=8|pos=1039|flags=K__|data_hash=CRC32:09a45a11
+packet|codec_type=audio|stream_index=0|pts=20800|pts_time=2.600000|dts=20800|dts_time=2.600000|duration=160|duration_time=0.020000|size=8|pos=1047|flags=K__|data_hash=CRC32:9a4f6bc7
+packet|codec_type=audio|stream_index=0|pts=20960|pts_time=2.620000|dts=20960|dts_time=2.620000|duration=160|duration_time=0.020000|size=8|pos=1055|flags=K__|data_hash=CRC32:2f5e9c55
+packet|codec_type=audio|stream_index=0|pts=21120|pts_time=2.640000|dts=21120|dts_time=2.640000|duration=160|duration_time=0.020000|size=8|pos=1063|flags=K__|data_hash=CRC32:773a038d
+packet|codec_type=audio|stream_index=0|pts=21280|pts_time=2.660000|dts=21280|dts_time=2.660000|duration=160|duration_time=0.020000|size=8|pos=1071|flags=K__|data_hash=CRC32:cfe79cc6
+packet|codec_type=audio|stream_index=0|pts=21440|pts_time=2.680000|dts=21440|dts_time=2.680000|duration=160|duration_time=0.020000|size=8|pos=1079|flags=K__|data_hash=CRC32:1282d3cd
+packet|codec_type=audio|stream_index=0|pts=21600|pts_time=2.700000|dts=21600|dts_time=2.700000|duration=160|duration_time=0.020000|size=8|pos=1087|flags=K__|data_hash=CRC32:5bc49731
+packet|codec_type=audio|stream_index=0|pts=21760|pts_time=2.720000|dts=21760|dts_time=2.720000|duration=160|duration_time=0.020000|size=8|pos=1095|flags=K__|data_hash=CRC32:b4868685
+packet|codec_type=audio|stream_index=0|pts=21920|pts_time=2.740000|dts=21920|dts_time=2.740000|duration=160|duration_time=0.020000|size=8|pos=1103|flags=K__|data_hash=CRC32:a3dde91a
+packet|codec_type=audio|stream_index=0|pts=22080|pts_time=2.760000|dts=22080|dts_time=2.760000|duration=160|duration_time=0.020000|size=8|pos=1111|flags=K__|data_hash=CRC32:0208e0a0
+packet|codec_type=audio|stream_index=0|pts=22240|pts_time=2.780000|dts=22240|dts_time=2.780000|duration=160|duration_time=0.020000|size=8|pos=1119|flags=K__|data_hash=CRC32:6331af71
+packet|codec_type=audio|stream_index=0|pts=22400|pts_time=2.800000|dts=22400|dts_time=2.800000|duration=160|duration_time=0.020000|size=8|pos=1127|flags=K__|data_hash=CRC32:f7fcfab5
+packet|codec_type=audio|stream_index=0|pts=22560|pts_time=2.820000|dts=22560|dts_time=2.820000|duration=160|duration_time=0.020000|size=8|pos=1135|flags=K__|data_hash=CRC32:92885203
+packet|codec_type=audio|stream_index=0|pts=22720|pts_time=2.840000|dts=22720|dts_time=2.840000|duration=160|duration_time=0.020000|size=8|pos=1143|flags=K__|data_hash=CRC32:a445f2e5
+packet|codec_type=audio|stream_index=0|pts=22880|pts_time=2.860000|dts=22880|dts_time=2.860000|duration=160|duration_time=0.020000|size=8|pos=1151|flags=K__|data_hash=CRC32:b50e5ec5
+packet|codec_type=audio|stream_index=0|pts=23040|pts_time=2.880000|dts=23040|dts_time=2.880000|duration=160|duration_time=0.020000|size=8|pos=1159|flags=K__|data_hash=CRC32:e81acb12
+packet|codec_type=audio|stream_index=0|pts=23200|pts_time=2.900000|dts=23200|dts_time=2.900000|duration=160|duration_time=0.020000|size=8|pos=1167|flags=K__|data_hash=CRC32:ff613b12
+packet|codec_type=audio|stream_index=0|pts=23360|pts_time=2.920000|dts=23360|dts_time=2.920000|duration=160|duration_time=0.020000|size=8|pos=1175|flags=K__|data_hash=CRC32:f0c1139c
+packet|codec_type=audio|stream_index=0|pts=23520|pts_time=2.940000|dts=23520|dts_time=2.940000|duration=160|duration_time=0.020000|size=8|pos=1183|flags=K__|data_hash=CRC32:cab01701
+packet|codec_type=audio|stream_index=0|pts=23680|pts_time=2.960000|dts=23680|dts_time=2.960000|duration=160|duration_time=0.020000|size=8|pos=1191|flags=K__|data_hash=CRC32:2c29e78a
+packet|codec_type=audio|stream_index=0|pts=23840|pts_time=2.980000|dts=23840|dts_time=2.980000|duration=160|duration_time=0.020000|size=8|pos=1199|flags=K__|data_hash=CRC32:9f0dc252
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=24000|duration=3.000000|bit_rate=3200|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=150|extradata_size=4|extradata_hash=CRC32:9a7c6c17|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-3200.c2|nb_streams=1|nb_programs=0|format_name=codec2|start_time=N/A|duration=3.000000|size=1207|bit_rate=3218|probe_score=51
diff --git a/tests/ref/fate/codec2-probe-700C b/tests/ref/fate/codec2-probe-700C
new file mode 100644
index 0000000000..5455705dcd
--- /dev/null
+++ b/tests/ref/fate/codec2-probe-700C
@@ -0,0 +1,77 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=320|duration_time=0.040000|size=4|pos=7|flags=K__|data_hash=CRC32:ba74a8a8
+packet|codec_type=audio|stream_index=0|pts=320|pts_time=0.040000|dts=320|dts_time=0.040000|duration=320|duration_time=0.040000|size=4|pos=11|flags=K__|data_hash=CRC32:88da7b69
+packet|codec_type=audio|stream_index=0|pts=640|pts_time=0.080000|dts=640|dts_time=0.080000|duration=320|duration_time=0.040000|size=4|pos=15|flags=K__|data_hash=CRC32:e051f29c
+packet|codec_type=audio|stream_index=0|pts=960|pts_time=0.120000|dts=960|dts_time=0.120000|duration=320|duration_time=0.040000|size=4|pos=19|flags=K__|data_hash=CRC32:7a67dfb3
+packet|codec_type=audio|stream_index=0|pts=1280|pts_time=0.160000|dts=1280|dts_time=0.160000|duration=320|duration_time=0.040000|size=4|pos=23|flags=K__|data_hash=CRC32:6a5e99e7
+packet|codec_type=audio|stream_index=0|pts=1600|pts_time=0.200000|dts=1600|dts_time=0.200000|duration=320|duration_time=0.040000|size=4|pos=27|flags=K__|data_hash=CRC32:2eeae614
+packet|codec_type=audio|stream_index=0|pts=1920|pts_time=0.240000|dts=1920|dts_time=0.240000|duration=320|duration_time=0.040000|size=4|pos=31|flags=K__|data_hash=CRC32:1f05af30
+packet|codec_type=audio|stream_index=0|pts=2240|pts_time=0.280000|dts=2240|dts_time=0.280000|duration=320|duration_time=0.040000|size=4|pos=35|flags=K__|data_hash=CRC32:82db6a54
+packet|codec_type=audio|stream_index=0|pts=2560|pts_time=0.320000|dts=2560|dts_time=0.320000|duration=320|duration_time=0.040000|size=4|pos=39|flags=K__|data_hash=CRC32:618586f0
+packet|codec_type=audio|stream_index=0|pts=2880|pts_time=0.360000|dts=2880|dts_time=0.360000|duration=320|duration_time=0.040000|size=4|pos=43|flags=K__|data_hash=CRC32:2d71324f
+packet|codec_type=audio|stream_index=0|pts=3200|pts_time=0.400000|dts=3200|dts_time=0.400000|duration=320|duration_time=0.040000|size=4|pos=47|flags=K__|data_hash=CRC32:2507f5d3
+packet|codec_type=audio|stream_index=0|pts=3520|pts_time=0.440000|dts=3520|dts_time=0.440000|duration=320|duration_time=0.040000|size=4|pos=51|flags=K__|data_hash=CRC32:b813d1ef
+packet|codec_type=audio|stream_index=0|pts=3840|pts_time=0.480000|dts=3840|dts_time=0.480000|duration=320|duration_time=0.040000|size=4|pos=55|flags=K__|data_hash=CRC32:0850d097
+packet|codec_type=audio|stream_index=0|pts=4160|pts_time=0.520000|dts=4160|dts_time=0.520000|duration=320|duration_time=0.040000|size=4|pos=59|flags=K__|data_hash=CRC32:1271a7df
+packet|codec_type=audio|stream_index=0|pts=4480|pts_time=0.560000|dts=4480|dts_time=0.560000|duration=320|duration_time=0.040000|size=4|pos=63|flags=K__|data_hash=CRC32:bd28b85d
+packet|codec_type=audio|stream_index=0|pts=4800|pts_time=0.600000|dts=4800|dts_time=0.600000|duration=320|duration_time=0.040000|size=4|pos=67|flags=K__|data_hash=CRC32:41126e67
+packet|codec_type=audio|stream_index=0|pts=5120|pts_time=0.640000|dts=5120|dts_time=0.640000|duration=320|duration_time=0.040000|size=4|pos=71|flags=K__|data_hash=CRC32:5e4ac580
+packet|codec_type=audio|stream_index=0|pts=5440|pts_time=0.680000|dts=5440|dts_time=0.680000|duration=320|duration_time=0.040000|size=4|pos=75|flags=K__|data_hash=CRC32:8a072bbe
+packet|codec_type=audio|stream_index=0|pts=5760|pts_time=0.720000|dts=5760|dts_time=0.720000|duration=320|duration_time=0.040000|size=4|pos=79|flags=K__|data_hash=CRC32:2844a6ee
+packet|codec_type=audio|stream_index=0|pts=6080|pts_time=0.760000|dts=6080|dts_time=0.760000|duration=320|duration_time=0.040000|size=4|pos=83|flags=K__|data_hash=CRC32:22f21815
+packet|codec_type=audio|stream_index=0|pts=6400|pts_time=0.800000|dts=6400|dts_time=0.800000|duration=320|duration_time=0.040000|size=4|pos=87|flags=K__|data_hash=CRC32:d6ad2b7f
+packet|codec_type=audio|stream_index=0|pts=6720|pts_time=0.840000|dts=6720|dts_time=0.840000|duration=320|duration_time=0.040000|size=4|pos=91|flags=K__|data_hash=CRC32:cd952e76
+packet|codec_type=audio|stream_index=0|pts=7040|pts_time=0.880000|dts=7040|dts_time=0.880000|duration=320|duration_time=0.040000|size=4|pos=95|flags=K__|data_hash=CRC32:b3b92f90
+packet|codec_type=audio|stream_index=0|pts=7360|pts_time=0.920000|dts=7360|dts_time=0.920000|duration=320|duration_time=0.040000|size=4|pos=99|flags=K__|data_hash=CRC32:a65f7a4b
+packet|codec_type=audio|stream_index=0|pts=7680|pts_time=0.960000|dts=7680|dts_time=0.960000|duration=320|duration_time=0.040000|size=4|pos=103|flags=K__|data_hash=CRC32:ff5cb26d
+packet|codec_type=audio|stream_index=0|pts=8000|pts_time=1.000000|dts=8000|dts_time=1.000000|duration=320|duration_time=0.040000|size=4|pos=107|flags=K__|data_hash=CRC32:bc77c2a5
+packet|codec_type=audio|stream_index=0|pts=8320|pts_time=1.040000|dts=8320|dts_time=1.040000|duration=320|duration_time=0.040000|size=4|pos=111|flags=K__|data_hash=CRC32:b26f7c9b
+packet|codec_type=audio|stream_index=0|pts=8640|pts_time=1.080000|dts=8640|dts_time=1.080000|duration=320|duration_time=0.040000|size=4|pos=115|flags=K__|data_hash=CRC32:808f786a
+packet|codec_type=audio|stream_index=0|pts=8960|pts_time=1.120000|dts=8960|dts_time=1.120000|duration=320|duration_time=0.040000|size=4|pos=119|flags=K__|data_hash=CRC32:718a0796
+packet|codec_type=audio|stream_index=0|pts=9280|pts_time=1.160000|dts=9280|dts_time=1.160000|duration=320|duration_time=0.040000|size=4|pos=123|flags=K__|data_hash=CRC32:57486574
+packet|codec_type=audio|stream_index=0|pts=9600|pts_time=1.200000|dts=9600|dts_time=1.200000|duration=320|duration_time=0.040000|size=4|pos=127|flags=K__|data_hash=CRC32:3fcc8689
+packet|codec_type=audio|stream_index=0|pts=9920|pts_time=1.240000|dts=9920|dts_time=1.240000|duration=320|duration_time=0.040000|size=4|pos=131|flags=K__|data_hash=CRC32:867b2a72
+packet|codec_type=audio|stream_index=0|pts=10240|pts_time=1.280000|dts=10240|dts_time=1.280000|duration=320|duration_time=0.040000|size=4|pos=135|flags=K__|data_hash=CRC32:4ad0edb1
+packet|codec_type=audio|stream_index=0|pts=10560|pts_time=1.320000|dts=10560|dts_time=1.320000|duration=320|duration_time=0.040000|size=4|pos=139|flags=K__|data_hash=CRC32:a8997530
+packet|codec_type=audio|stream_index=0|pts=10880|pts_time=1.360000|dts=10880|dts_time=1.360000|duration=320|duration_time=0.040000|size=4|pos=143|flags=K__|data_hash=CRC32:629bd7ea
+packet|codec_type=audio|stream_index=0|pts=11200|pts_time=1.400000|dts=11200|dts_time=1.400000|duration=320|duration_time=0.040000|size=4|pos=147|flags=K__|data_hash=CRC32:d6f6b5b7
+packet|codec_type=audio|stream_index=0|pts=11520|pts_time=1.440000|dts=11520|dts_time=1.440000|duration=320|duration_time=0.040000|size=4|pos=151|flags=K__|data_hash=CRC32:c7f2297f
+packet|codec_type=audio|stream_index=0|pts=11840|pts_time=1.480000|dts=11840|dts_time=1.480000|duration=320|duration_time=0.040000|size=4|pos=155|flags=K__|data_hash=CRC32:0ae4c6b2
+packet|codec_type=audio|stream_index=0|pts=12160|pts_time=1.520000|dts=12160|dts_time=1.520000|duration=320|duration_time=0.040000|size=4|pos=159|flags=K__|data_hash=CRC32:b9afc05e
+packet|codec_type=audio|stream_index=0|pts=12480|pts_time=1.560000|dts=12480|dts_time=1.560000|duration=320|duration_time=0.040000|size=4|pos=163|flags=K__|data_hash=CRC32:450020be
+packet|codec_type=audio|stream_index=0|pts=12800|pts_time=1.600000|dts=12800|dts_time=1.600000|duration=320|duration_time=0.040000|size=4|pos=167|flags=K__|data_hash=CRC32:c05b5fa8
+packet|codec_type=audio|stream_index=0|pts=13120|pts_time=1.640000|dts=13120|dts_time=1.640000|duration=320|duration_time=0.040000|size=4|pos=171|flags=K__|data_hash=CRC32:3c550858
+packet|codec_type=audio|stream_index=0|pts=13440|pts_time=1.680000|dts=13440|dts_time=1.680000|duration=320|duration_time=0.040000|size=4|pos=175|flags=K__|data_hash=CRC32:53873576
+packet|codec_type=audio|stream_index=0|pts=13760|pts_time=1.720000|dts=13760|dts_time=1.720000|duration=320|duration_time=0.040000|size=4|pos=179|flags=K__|data_hash=CRC32:7eb457ad
+packet|codec_type=audio|stream_index=0|pts=14080|pts_time=1.760000|dts=14080|dts_time=1.760000|duration=320|duration_time=0.040000|size=4|pos=183|flags=K__|data_hash=CRC32:f8cf8ea0
+packet|codec_type=audio|stream_index=0|pts=14400|pts_time=1.800000|dts=14400|dts_time=1.800000|duration=320|duration_time=0.040000|size=4|pos=187|flags=K__|data_hash=CRC32:4c45d460
+packet|codec_type=audio|stream_index=0|pts=14720|pts_time=1.840000|dts=14720|dts_time=1.840000|duration=320|duration_time=0.040000|size=4|pos=191|flags=K__|data_hash=CRC32:bdcda527
+packet|codec_type=audio|stream_index=0|pts=15040|pts_time=1.880000|dts=15040|dts_time=1.880000|duration=320|duration_time=0.040000|size=4|pos=195|flags=K__|data_hash=CRC32:971c41b6
+packet|codec_type=audio|stream_index=0|pts=15360|pts_time=1.920000|dts=15360|dts_time=1.920000|duration=320|duration_time=0.040000|size=4|pos=199|flags=K__|data_hash=CRC32:091db650
+packet|codec_type=audio|stream_index=0|pts=15680|pts_time=1.960000|dts=15680|dts_time=1.960000|duration=320|duration_time=0.040000|size=4|pos=203|flags=K__|data_hash=CRC32:3e214057
+packet|codec_type=audio|stream_index=0|pts=16000|pts_time=2.000000|dts=16000|dts_time=2.000000|duration=320|duration_time=0.040000|size=4|pos=207|flags=K__|data_hash=CRC32:af7b7f6f
+packet|codec_type=audio|stream_index=0|pts=16320|pts_time=2.040000|dts=16320|dts_time=2.040000|duration=320|duration_time=0.040000|size=4|pos=211|flags=K__|data_hash=CRC32:5091da7b
+packet|codec_type=audio|stream_index=0|pts=16640|pts_time=2.080000|dts=16640|dts_time=2.080000|duration=320|duration_time=0.040000|size=4|pos=215|flags=K__|data_hash=CRC32:5ec88106
+packet|codec_type=audio|stream_index=0|pts=16960|pts_time=2.120000|dts=16960|dts_time=2.120000|duration=320|duration_time=0.040000|size=4|pos=219|flags=K__|data_hash=CRC32:d8561d0a
+packet|codec_type=audio|stream_index=0|pts=17280|pts_time=2.160000|dts=17280|dts_time=2.160000|duration=320|duration_time=0.040000|size=4|pos=223|flags=K__|data_hash=CRC32:1730a3fc
+packet|codec_type=audio|stream_index=0|pts=17600|pts_time=2.200000|dts=17600|dts_time=2.200000|duration=320|duration_time=0.040000|size=4|pos=227|flags=K__|data_hash=CRC32:53da58ed
+packet|codec_type=audio|stream_index=0|pts=17920|pts_time=2.240000|dts=17920|dts_time=2.240000|duration=320|duration_time=0.040000|size=4|pos=231|flags=K__|data_hash=CRC32:bcc878a7
+packet|codec_type=audio|stream_index=0|pts=18240|pts_time=2.280000|dts=18240|dts_time=2.280000|duration=320|duration_time=0.040000|size=4|pos=235|flags=K__|data_hash=CRC32:92ff45b1
+packet|codec_type=audio|stream_index=0|pts=18560|pts_time=2.320000|dts=18560|dts_time=2.320000|duration=320|duration_time=0.040000|size=4|pos=239|flags=K__|data_hash=CRC32:6cdf51c9
+packet|codec_type=audio|stream_index=0|pts=18880|pts_time=2.360000|dts=18880|dts_time=2.360000|duration=320|duration_time=0.040000|size=4|pos=243|flags=K__|data_hash=CRC32:87bffa67
+packet|codec_type=audio|stream_index=0|pts=19200|pts_time=2.400000|dts=19200|dts_time=2.400000|duration=320|duration_time=0.040000|size=4|pos=247|flags=K__|data_hash=CRC32:49926f0b
+packet|codec_type=audio|stream_index=0|pts=19520|pts_time=2.440000|dts=19520|dts_time=2.440000|duration=320|duration_time=0.040000|size=4|pos=251|flags=K__|data_hash=CRC32:746efec4
+packet|codec_type=audio|stream_index=0|pts=19840|pts_time=2.480000|dts=19840|dts_time=2.480000|duration=320|duration_time=0.040000|size=4|pos=255|flags=K__|data_hash=CRC32:6f5b85a7
+packet|codec_type=audio|stream_index=0|pts=20160|pts_time=2.520000|dts=20160|dts_time=2.520000|duration=320|duration_time=0.040000|size=4|pos=259|flags=K__|data_hash=CRC32:cf14d485
+packet|codec_type=audio|stream_index=0|pts=20480|pts_time=2.560000|dts=20480|dts_time=2.560000|duration=320|duration_time=0.040000|size=4|pos=263|flags=K__|data_hash=CRC32:97df5c93
+packet|codec_type=audio|stream_index=0|pts=20800|pts_time=2.600000|dts=20800|dts_time=2.600000|duration=320|duration_time=0.040000|size=4|pos=267|flags=K__|data_hash=CRC32:ccd5b3b1
+packet|codec_type=audio|stream_index=0|pts=21120|pts_time=2.640000|dts=21120|dts_time=2.640000|duration=320|duration_time=0.040000|size=4|pos=271|flags=K__|data_hash=CRC32:c1cfda7e
+packet|codec_type=audio|stream_index=0|pts=21440|pts_time=2.680000|dts=21440|dts_time=2.680000|duration=320|duration_time=0.040000|size=4|pos=275|flags=K__|data_hash=CRC32:5ca3640c
+packet|codec_type=audio|stream_index=0|pts=21760|pts_time=2.720000|dts=21760|dts_time=2.720000|duration=320|duration_time=0.040000|size=4|pos=279|flags=K__|data_hash=CRC32:86898adb
+packet|codec_type=audio|stream_index=0|pts=22080|pts_time=2.760000|dts=22080|dts_time=2.760000|duration=320|duration_time=0.040000|size=4|pos=283|flags=K__|data_hash=CRC32:12b10cb1
+packet|codec_type=audio|stream_index=0|pts=22400|pts_time=2.800000|dts=22400|dts_time=2.800000|duration=320|duration_time=0.040000|size=4|pos=287|flags=K__|data_hash=CRC32:bad3ec5b
+packet|codec_type=audio|stream_index=0|pts=22720|pts_time=2.840000|dts=22720|dts_time=2.840000|duration=320|duration_time=0.040000|size=4|pos=291|flags=K__|data_hash=CRC32:a0224b4f
+packet|codec_type=audio|stream_index=0|pts=23040|pts_time=2.880000|dts=23040|dts_time=2.880000|duration=320|duration_time=0.040000|size=4|pos=295|flags=K__|data_hash=CRC32:acd584da
+packet|codec_type=audio|stream_index=0|pts=23360|pts_time=2.920000|dts=23360|dts_time=2.920000|duration=320|duration_time=0.040000|size=4|pos=299|flags=K__|data_hash=CRC32:aba0df88
+packet|codec_type=audio|stream_index=0|pts=23680|pts_time=2.960000|dts=23680|dts_time=2.960000|duration=320|duration_time=0.040000|size=4|pos=303|flags=K__|data_hash=CRC32:69992e4e
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=24000|duration=3.000000|bit_rate=800|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=75|extradata_size=4|extradata_hash=CRC32:52a5e61f|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-700C.c2|nb_streams=1|nb_programs=0|format_name=codec2|start_time=N/A|duration=3.000000|size=307|bit_rate=818|probe_score=51
diff --git a/tests/ref/fate/codec2-probe-cut-1200 b/tests/ref/fate/codec2-probe-cut-1200
new file mode 100644
index 0000000000..e010c6fc78
--- /dev/null
+++ b/tests/ref/fate/codec2-probe-cut-1200
@@ -0,0 +1,18 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=320|duration_time=0.040000|size=6|pos=7|flags=K__|data_hash=CRC32:221d0fc7
+packet|codec_type=audio|stream_index=0|pts=320|pts_time=0.040000|dts=320|dts_time=0.040000|duration=320|duration_time=0.040000|size=6|pos=13|flags=K__|data_hash=CRC32:2bf167b8
+packet|codec_type=audio|stream_index=0|pts=640|pts_time=0.080000|dts=640|dts_time=0.080000|duration=320|duration_time=0.040000|size=6|pos=19|flags=K__|data_hash=CRC32:a7156a29
+packet|codec_type=audio|stream_index=0|pts=960|pts_time=0.120000|dts=960|dts_time=0.120000|duration=320|duration_time=0.040000|size=6|pos=25|flags=K__|data_hash=CRC32:268c4e72
+packet|codec_type=audio|stream_index=0|pts=1280|pts_time=0.160000|dts=1280|dts_time=0.160000|duration=320|duration_time=0.040000|size=6|pos=31|flags=K__|data_hash=CRC32:5a23ffe0
+packet|codec_type=audio|stream_index=0|pts=1600|pts_time=0.200000|dts=1600|dts_time=0.200000|duration=320|duration_time=0.040000|size=6|pos=37|flags=K__|data_hash=CRC32:ed696a9b
+packet|codec_type=audio|stream_index=0|pts=1920|pts_time=0.240000|dts=1920|dts_time=0.240000|duration=320|duration_time=0.040000|size=6|pos=43|flags=K__|data_hash=CRC32:8c2de44f
+packet|codec_type=audio|stream_index=0|pts=2240|pts_time=0.280000|dts=2240|dts_time=0.280000|duration=320|duration_time=0.040000|size=6|pos=49|flags=K__|data_hash=CRC32:46dcc273
+packet|codec_type=audio|stream_index=0|pts=2560|pts_time=0.320000|dts=2560|dts_time=0.320000|duration=320|duration_time=0.040000|size=6|pos=55|flags=K__|data_hash=CRC32:7c6fd6bd
+packet|codec_type=audio|stream_index=0|pts=2880|pts_time=0.360000|dts=2880|dts_time=0.360000|duration=320|duration_time=0.040000|size=6|pos=61|flags=K__|data_hash=CRC32:54794fd6
+packet|codec_type=audio|stream_index=0|pts=3200|pts_time=0.400000|dts=3200|dts_time=0.400000|duration=320|duration_time=0.040000|size=6|pos=67|flags=K__|data_hash=CRC32:f56e65a6
+packet|codec_type=audio|stream_index=0|pts=3520|pts_time=0.440000|dts=3520|dts_time=0.440000|duration=320|duration_time=0.040000|size=6|pos=73|flags=K__|data_hash=CRC32:5a22ccb3
+packet|codec_type=audio|stream_index=0|pts=3840|pts_time=0.480000|dts=3840|dts_time=0.480000|duration=320|duration_time=0.040000|size=6|pos=79|flags=K__|data_hash=CRC32:80096180
+packet|codec_type=audio|stream_index=0|pts=4160|pts_time=0.520000|dts=4160|dts_time=0.520000|duration=320|duration_time=0.040000|size=6|pos=85|flags=K__|data_hash=CRC32:8959f4e8
+packet|codec_type=audio|stream_index=0|pts=4480|pts_time=0.560000|dts=4480|dts_time=0.560000|duration=320|duration_time=0.040000|size=6|pos=91|flags=K__|data_hash=CRC32:cc92a5ce
+packet|codec_type=audio|stream_index=0|pts=4800|pts_time=0.600000|dts=4800|dts_time=0.600000|duration=320|duration_time=0.040000|size=3|pos=97|flags=K_C|data_hash=CRC32:5575a889
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=5120|duration=0.640000|bit_rate=1200|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=16|extradata_size=4|extradata_hash=CRC32:e70b9852|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-1200.c2|nb_streams=1|nb_programs=0|format_name=codec2|start_time=N/A|duration=0.640000|size=100|bit_rate=1250|probe_score=51
diff --git a/tests/ref/fate/codec2-probe-cut-1300 b/tests/ref/fate/codec2-probe-cut-1300
new file mode 100644
index 0000000000..88582cb77d
--- /dev/null
+++ b/tests/ref/fate/codec2-probe-cut-1300
@@ -0,0 +1,16 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=320|duration_time=0.040000|size=7|pos=7|flags=K__|data_hash=CRC32:e1c986d9
+packet|codec_type=audio|stream_index=0|pts=320|pts_time=0.040000|dts=320|dts_time=0.040000|duration=320|duration_time=0.040000|size=7|pos=14|flags=K__|data_hash=CRC32:d19871aa
+packet|codec_type=audio|stream_index=0|pts=640|pts_time=0.080000|dts=640|dts_time=0.080000|duration=320|duration_time=0.040000|size=7|pos=21|flags=K__|data_hash=CRC32:720c8431
+packet|codec_type=audio|stream_index=0|pts=960|pts_time=0.120000|dts=960|dts_time=0.120000|duration=320|duration_time=0.040000|size=7|pos=28|flags=K__|data_hash=CRC32:5e0cab28
+packet|codec_type=audio|stream_index=0|pts=1280|pts_time=0.160000|dts=1280|dts_time=0.160000|duration=320|duration_time=0.040000|size=7|pos=35|flags=K__|data_hash=CRC32:431d4805
+packet|codec_type=audio|stream_index=0|pts=1600|pts_time=0.200000|dts=1600|dts_time=0.200000|duration=320|duration_time=0.040000|size=7|pos=42|flags=K__|data_hash=CRC32:e506c285
+packet|codec_type=audio|stream_index=0|pts=1920|pts_time=0.240000|dts=1920|dts_time=0.240000|duration=320|duration_time=0.040000|size=7|pos=49|flags=K__|data_hash=CRC32:b0ca6019
+packet|codec_type=audio|stream_index=0|pts=2240|pts_time=0.280000|dts=2240|dts_time=0.280000|duration=320|duration_time=0.040000|size=7|pos=56|flags=K__|data_hash=CRC32:25ef5865
+packet|codec_type=audio|stream_index=0|pts=2560|pts_time=0.320000|dts=2560|dts_time=0.320000|duration=320|duration_time=0.040000|size=7|pos=63|flags=K__|data_hash=CRC32:230d8966
+packet|codec_type=audio|stream_index=0|pts=2880|pts_time=0.360000|dts=2880|dts_time=0.360000|duration=320|duration_time=0.040000|size=7|pos=70|flags=K__|data_hash=CRC32:f552d25c
+packet|codec_type=audio|stream_index=0|pts=3200|pts_time=0.400000|dts=3200|dts_time=0.400000|duration=320|duration_time=0.040000|size=7|pos=77|flags=K__|data_hash=CRC32:9a0c149d
+packet|codec_type=audio|stream_index=0|pts=3520|pts_time=0.440000|dts=3520|dts_time=0.440000|duration=320|duration_time=0.040000|size=7|pos=84|flags=K__|data_hash=CRC32:c0332732
+packet|codec_type=audio|stream_index=0|pts=3840|pts_time=0.480000|dts=3840|dts_time=0.480000|duration=320|duration_time=0.040000|size=7|pos=91|flags=K__|data_hash=CRC32:7500143a
+packet|codec_type=audio|stream_index=0|pts=4160|pts_time=0.520000|dts=4160|dts_time=0.520000|duration=320|duration_time=0.040000|size=2|pos=98|flags=K_C|data_hash=CRC32:bc065677
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=4160|duration=0.520000|bit_rate=1400|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=14|extradata_size=4|extradata_hash=CRC32:fe10a913|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-1300.c2|nb_streams=1|nb_programs=0|format_name=codec2|start_time=N/A|duration=0.520000|size=100|bit_rate=1538|probe_score=51
diff --git a/tests/ref/fate/codec2-probe-cut-1400 b/tests/ref/fate/codec2-probe-cut-1400
new file mode 100644
index 0000000000..25c8978929
--- /dev/null
+++ b/tests/ref/fate/codec2-probe-cut-1400
@@ -0,0 +1,16 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=320|duration_time=0.040000|size=7|pos=7|flags=K__|data_hash=CRC32:d9be5755
+packet|codec_type=audio|stream_index=0|pts=320|pts_time=0.040000|dts=320|dts_time=0.040000|duration=320|duration_time=0.040000|size=7|pos=14|flags=K__|data_hash=CRC32:472ceccd
+packet|codec_type=audio|stream_index=0|pts=640|pts_time=0.080000|dts=640|dts_time=0.080000|duration=320|duration_time=0.040000|size=7|pos=21|flags=K__|data_hash=CRC32:303b21b6
+packet|codec_type=audio|stream_index=0|pts=960|pts_time=0.120000|dts=960|dts_time=0.120000|duration=320|duration_time=0.040000|size=7|pos=28|flags=K__|data_hash=CRC32:dc2b4dd6
+packet|codec_type=audio|stream_index=0|pts=1280|pts_time=0.160000|dts=1280|dts_time=0.160000|duration=320|duration_time=0.040000|size=7|pos=35|flags=K__|data_hash=CRC32:e8888eb2
+packet|codec_type=audio|stream_index=0|pts=1600|pts_time=0.200000|dts=1600|dts_time=0.200000|duration=320|duration_time=0.040000|size=7|pos=42|flags=K__|data_hash=CRC32:fa3d0618
+packet|codec_type=audio|stream_index=0|pts=1920|pts_time=0.240000|dts=1920|dts_time=0.240000|duration=320|duration_time=0.040000|size=7|pos=49|flags=K__|data_hash=CRC32:68478d05
+packet|codec_type=audio|stream_index=0|pts=2240|pts_time=0.280000|dts=2240|dts_time=0.280000|duration=320|duration_time=0.040000|size=7|pos=56|flags=K__|data_hash=CRC32:5801bcd3
+packet|codec_type=audio|stream_index=0|pts=2560|pts_time=0.320000|dts=2560|dts_time=0.320000|duration=320|duration_time=0.040000|size=7|pos=63|flags=K__|data_hash=CRC32:35119a8e
+packet|codec_type=audio|stream_index=0|pts=2880|pts_time=0.360000|dts=2880|dts_time=0.360000|duration=320|duration_time=0.040000|size=7|pos=70|flags=K__|data_hash=CRC32:7b36b9fd
+packet|codec_type=audio|stream_index=0|pts=3200|pts_time=0.400000|dts=3200|dts_time=0.400000|duration=320|duration_time=0.040000|size=7|pos=77|flags=K__|data_hash=CRC32:efa8ba25
+packet|codec_type=audio|stream_index=0|pts=3520|pts_time=0.440000|dts=3520|dts_time=0.440000|duration=320|duration_time=0.040000|size=7|pos=84|flags=K__|data_hash=CRC32:775b298f
+packet|codec_type=audio|stream_index=0|pts=3840|pts_time=0.480000|dts=3840|dts_time=0.480000|duration=320|duration_time=0.040000|size=7|pos=91|flags=K__|data_hash=CRC32:04a24aad
+packet|codec_type=audio|stream_index=0|pts=4160|pts_time=0.520000|dts=4160|dts_time=0.520000|duration=320|duration_time=0.040000|size=2|pos=98|flags=K_C|data_hash=CRC32:511cb226
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=4160|duration=0.520000|bit_rate=1400|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=14|extradata_size=4|extradata_hash=CRC32:b1513fd4|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-1400.c2|nb_streams=1|nb_programs=0|format_name=codec2|start_time=N/A|duration=0.520000|size=100|bit_rate=1538|probe_score=51
diff --git a/tests/ref/fate/codec2-probe-cut-1600 b/tests/ref/fate/codec2-probe-cut-1600
new file mode 100644
index 0000000000..fd504a238b
--- /dev/null
+++ b/tests/ref/fate/codec2-probe-cut-1600
@@ -0,0 +1,14 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=320|duration_time=0.040000|size=8|pos=7|flags=K__|data_hash=CRC32:5ee6636d
+packet|codec_type=audio|stream_index=0|pts=320|pts_time=0.040000|dts=320|dts_time=0.040000|duration=320|duration_time=0.040000|size=8|pos=15|flags=K__|data_hash=CRC32:be3e8ff8
+packet|codec_type=audio|stream_index=0|pts=640|pts_time=0.080000|dts=640|dts_time=0.080000|duration=320|duration_time=0.040000|size=8|pos=23|flags=K__|data_hash=CRC32:026dbc9a
+packet|codec_type=audio|stream_index=0|pts=960|pts_time=0.120000|dts=960|dts_time=0.120000|duration=320|duration_time=0.040000|size=8|pos=31|flags=K__|data_hash=CRC32:975599a2
+packet|codec_type=audio|stream_index=0|pts=1280|pts_time=0.160000|dts=1280|dts_time=0.160000|duration=320|duration_time=0.040000|size=8|pos=39|flags=K__|data_hash=CRC32:c55f65e7
+packet|codec_type=audio|stream_index=0|pts=1600|pts_time=0.200000|dts=1600|dts_time=0.200000|duration=320|duration_time=0.040000|size=8|pos=47|flags=K__|data_hash=CRC32:3731f5b3
+packet|codec_type=audio|stream_index=0|pts=1920|pts_time=0.240000|dts=1920|dts_time=0.240000|duration=320|duration_time=0.040000|size=8|pos=55|flags=K__|data_hash=CRC32:ac397199
+packet|codec_type=audio|stream_index=0|pts=2240|pts_time=0.280000|dts=2240|dts_time=0.280000|duration=320|duration_time=0.040000|size=8|pos=63|flags=K__|data_hash=CRC32:f4291bb5
+packet|codec_type=audio|stream_index=0|pts=2560|pts_time=0.320000|dts=2560|dts_time=0.320000|duration=320|duration_time=0.040000|size=8|pos=71|flags=K__|data_hash=CRC32:91d5ea5c
+packet|codec_type=audio|stream_index=0|pts=2880|pts_time=0.360000|dts=2880|dts_time=0.360000|duration=320|duration_time=0.040000|size=8|pos=79|flags=K__|data_hash=CRC32:a33f36db
+packet|codec_type=audio|stream_index=0|pts=3200|pts_time=0.400000|dts=3200|dts_time=0.400000|duration=320|duration_time=0.040000|size=8|pos=87|flags=K__|data_hash=CRC32:022e9118
+packet|codec_type=audio|stream_index=0|pts=3520|pts_time=0.440000|dts=3520|dts_time=0.440000|duration=320|duration_time=0.040000|size=5|pos=95|flags=K_C|data_hash=CRC32:9b0ed102
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=3840|duration=0.480000|bit_rate=1600|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=12|extradata_size=4|extradata_hash=CRC32:a84a0e95|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-1600.c2|nb_streams=1|nb_programs=0|format_name=codec2|start_time=N/A|duration=0.480000|size=100|bit_rate=1666|probe_score=51
diff --git a/tests/ref/fate/codec2-probe-cut-2400 b/tests/ref/fate/codec2-probe-cut-2400
new file mode 100644
index 0000000000..fe91653cb6
--- /dev/null
+++ b/tests/ref/fate/codec2-probe-cut-2400
@@ -0,0 +1,18 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=160|duration_time=0.020000|size=6|pos=7|flags=K__|data_hash=CRC32:402e2751
+packet|codec_type=audio|stream_index=0|pts=160|pts_time=0.020000|dts=160|dts_time=0.020000|duration=160|duration_time=0.020000|size=6|pos=13|flags=K__|data_hash=CRC32:8be241bf
+packet|codec_type=audio|stream_index=0|pts=320|pts_time=0.040000|dts=320|dts_time=0.040000|duration=160|duration_time=0.020000|size=6|pos=19|flags=K__|data_hash=CRC32:affee1a4
+packet|codec_type=audio|stream_index=0|pts=480|pts_time=0.060000|dts=480|dts_time=0.060000|duration=160|duration_time=0.020000|size=6|pos=25|flags=K__|data_hash=CRC32:af3a2722
+packet|codec_type=audio|stream_index=0|pts=640|pts_time=0.080000|dts=640|dts_time=0.080000|duration=160|duration_time=0.020000|size=6|pos=31|flags=K__|data_hash=CRC32:ccde12cd
+packet|codec_type=audio|stream_index=0|pts=800|pts_time=0.100000|dts=800|dts_time=0.100000|duration=160|duration_time=0.020000|size=6|pos=37|flags=K__|data_hash=CRC32:53fa8852
+packet|codec_type=audio|stream_index=0|pts=960|pts_time=0.120000|dts=960|dts_time=0.120000|duration=160|duration_time=0.020000|size=6|pos=43|flags=K__|data_hash=CRC32:8a2715c3
+packet|codec_type=audio|stream_index=0|pts=1120|pts_time=0.140000|dts=1120|dts_time=0.140000|duration=160|duration_time=0.020000|size=6|pos=49|flags=K__|data_hash=CRC32:f5338fbe
+packet|codec_type=audio|stream_index=0|pts=1280|pts_time=0.160000|dts=1280|dts_time=0.160000|duration=160|duration_time=0.020000|size=6|pos=55|flags=K__|data_hash=CRC32:8c4f9b10
+packet|codec_type=audio|stream_index=0|pts=1440|pts_time=0.180000|dts=1440|dts_time=0.180000|duration=160|duration_time=0.020000|size=6|pos=61|flags=K__|data_hash=CRC32:d17ddf33
+packet|codec_type=audio|stream_index=0|pts=1600|pts_time=0.200000|dts=1600|dts_time=0.200000|duration=160|duration_time=0.020000|size=6|pos=67|flags=K__|data_hash=CRC32:1839685d
+packet|codec_type=audio|stream_index=0|pts=1760|pts_time=0.220000|dts=1760|dts_time=0.220000|duration=160|duration_time=0.020000|size=6|pos=73|flags=K__|data_hash=CRC32:fbd1489c
+packet|codec_type=audio|stream_index=0|pts=1920|pts_time=0.240000|dts=1920|dts_time=0.240000|duration=160|duration_time=0.020000|size=6|pos=79|flags=K__|data_hash=CRC32:55174066
+packet|codec_type=audio|stream_index=0|pts=2080|pts_time=0.260000|dts=2080|dts_time=0.260000|duration=160|duration_time=0.020000|size=6|pos=85|flags=K__|data_hash=CRC32:4931a27d
+packet|codec_type=audio|stream_index=0|pts=2240|pts_time=0.280000|dts=2240|dts_time=0.280000|duration=160|duration_time=0.020000|size=6|pos=91|flags=K__|data_hash=CRC32:87ef4f97
+packet|codec_type=audio|stream_index=0|pts=2400|pts_time=0.300000|dts=2400|dts_time=0.300000|duration=160|duration_time=0.020000|size=3|pos=97|flags=K_C|data_hash=CRC32:cf91772c
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=2560|duration=0.320000|bit_rate=2400|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=16|extradata_size=4|extradata_hash=CRC32:83675d56|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-2400.c2|nb_streams=1|nb_programs=0|format_name=codec2|start_time=N/A|duration=0.320000|size=100|bit_rate=2500|probe_score=51
diff --git a/tests/ref/fate/codec2-probe-cut-3200 b/tests/ref/fate/codec2-probe-cut-3200
new file mode 100644
index 0000000000..b9cfc6b224
--- /dev/null
+++ b/tests/ref/fate/codec2-probe-cut-3200
@@ -0,0 +1,14 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=160|duration_time=0.020000|size=8|pos=7|flags=K__|data_hash=CRC32:47b54c75
+packet|codec_type=audio|stream_index=0|pts=160|pts_time=0.020000|dts=160|dts_time=0.020000|duration=160|duration_time=0.020000|size=8|pos=15|flags=K__|data_hash=CRC32:7664d67c
+packet|codec_type=audio|stream_index=0|pts=320|pts_time=0.040000|dts=320|dts_time=0.040000|duration=160|duration_time=0.020000|size=8|pos=23|flags=K__|data_hash=CRC32:8661cfcf
+packet|codec_type=audio|stream_index=0|pts=480|pts_time=0.060000|dts=480|dts_time=0.060000|duration=160|duration_time=0.020000|size=8|pos=31|flags=K__|data_hash=CRC32:7058a9c8
+packet|codec_type=audio|stream_index=0|pts=640|pts_time=0.080000|dts=640|dts_time=0.080000|duration=160|duration_time=0.020000|size=8|pos=39|flags=K__|data_hash=CRC32:0ba5d0e8
+packet|codec_type=audio|stream_index=0|pts=800|pts_time=0.100000|dts=800|dts_time=0.100000|duration=160|duration_time=0.020000|size=8|pos=47|flags=K__|data_hash=CRC32:ca1b9e09
+packet|codec_type=audio|stream_index=0|pts=960|pts_time=0.120000|dts=960|dts_time=0.120000|duration=160|duration_time=0.020000|size=8|pos=55|flags=K__|data_hash=CRC32:cc6efcdb
+packet|codec_type=audio|stream_index=0|pts=1120|pts_time=0.140000|dts=1120|dts_time=0.140000|duration=160|duration_time=0.020000|size=8|pos=63|flags=K__|data_hash=CRC32:d38a7221
+packet|codec_type=audio|stream_index=0|pts=1280|pts_time=0.160000|dts=1280|dts_time=0.160000|duration=160|duration_time=0.020000|size=8|pos=71|flags=K__|data_hash=CRC32:c2890544
+packet|codec_type=audio|stream_index=0|pts=1440|pts_time=0.180000|dts=1440|dts_time=0.180000|duration=160|duration_time=0.020000|size=8|pos=79|flags=K__|data_hash=CRC32:ef6b161c
+packet|codec_type=audio|stream_index=0|pts=1600|pts_time=0.200000|dts=1600|dts_time=0.200000|duration=160|duration_time=0.020000|size=8|pos=87|flags=K__|data_hash=CRC32:0a8424a9
+packet|codec_type=audio|stream_index=0|pts=1760|pts_time=0.220000|dts=1760|dts_time=0.220000|duration=160|duration_time=0.020000|size=5|pos=95|flags=K_C|data_hash=CRC32:004d2db4
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=1920|duration=0.240000|bit_rate=3200|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=12|extradata_size=4|extradata_hash=CRC32:9a7c6c17|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-3200.c2|nb_streams=1|nb_programs=0|format_name=codec2|start_time=N/A|duration=0.240000|size=100|bit_rate=3333|probe_score=51
diff --git a/tests/ref/fate/codec2-probe-cut-700C b/tests/ref/fate/codec2-probe-cut-700C
new file mode 100644
index 0000000000..8dbd033c0f
--- /dev/null
+++ b/tests/ref/fate/codec2-probe-cut-700C
@@ -0,0 +1,26 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=320|duration_time=0.040000|size=4|pos=7|flags=K__|data_hash=CRC32:ba74a8a8
+packet|codec_type=audio|stream_index=0|pts=320|pts_time=0.040000|dts=320|dts_time=0.040000|duration=320|duration_time=0.040000|size=4|pos=11|flags=K__|data_hash=CRC32:88da7b69
+packet|codec_type=audio|stream_index=0|pts=640|pts_time=0.080000|dts=640|dts_time=0.080000|duration=320|duration_time=0.040000|size=4|pos=15|flags=K__|data_hash=CRC32:e051f29c
+packet|codec_type=audio|stream_index=0|pts=960|pts_time=0.120000|dts=960|dts_time=0.120000|duration=320|duration_time=0.040000|size=4|pos=19|flags=K__|data_hash=CRC32:7a67dfb3
+packet|codec_type=audio|stream_index=0|pts=1280|pts_time=0.160000|dts=1280|dts_time=0.160000|duration=320|duration_time=0.040000|size=4|pos=23|flags=K__|data_hash=CRC32:6a5e99e7
+packet|codec_type=audio|stream_index=0|pts=1600|pts_time=0.200000|dts=1600|dts_time=0.200000|duration=320|duration_time=0.040000|size=4|pos=27|flags=K__|data_hash=CRC32:2eeae614
+packet|codec_type=audio|stream_index=0|pts=1920|pts_time=0.240000|dts=1920|dts_time=0.240000|duration=320|duration_time=0.040000|size=4|pos=31|flags=K__|data_hash=CRC32:1f05af30
+packet|codec_type=audio|stream_index=0|pts=2240|pts_time=0.280000|dts=2240|dts_time=0.280000|duration=320|duration_time=0.040000|size=4|pos=35|flags=K__|data_hash=CRC32:82db6a54
+packet|codec_type=audio|stream_index=0|pts=2560|pts_time=0.320000|dts=2560|dts_time=0.320000|duration=320|duration_time=0.040000|size=4|pos=39|flags=K__|data_hash=CRC32:618586f0
+packet|codec_type=audio|stream_index=0|pts=2880|pts_time=0.360000|dts=2880|dts_time=0.360000|duration=320|duration_time=0.040000|size=4|pos=43|flags=K__|data_hash=CRC32:2d71324f
+packet|codec_type=audio|stream_index=0|pts=3200|pts_time=0.400000|dts=3200|dts_time=0.400000|duration=320|duration_time=0.040000|size=4|pos=47|flags=K__|data_hash=CRC32:2507f5d3
+packet|codec_type=audio|stream_index=0|pts=3520|pts_time=0.440000|dts=3520|dts_time=0.440000|duration=320|duration_time=0.040000|size=4|pos=51|flags=K__|data_hash=CRC32:b813d1ef
+packet|codec_type=audio|stream_index=0|pts=3840|pts_time=0.480000|dts=3840|dts_time=0.480000|duration=320|duration_time=0.040000|size=4|pos=55|flags=K__|data_hash=CRC32:0850d097
+packet|codec_type=audio|stream_index=0|pts=4160|pts_time=0.520000|dts=4160|dts_time=0.520000|duration=320|duration_time=0.040000|size=4|pos=59|flags=K__|data_hash=CRC32:1271a7df
+packet|codec_type=audio|stream_index=0|pts=4480|pts_time=0.560000|dts=4480|dts_time=0.560000|duration=320|duration_time=0.040000|size=4|pos=63|flags=K__|data_hash=CRC32:bd28b85d
+packet|codec_type=audio|stream_index=0|pts=4800|pts_time=0.600000|dts=4800|dts_time=0.600000|duration=320|duration_time=0.040000|size=4|pos=67|flags=K__|data_hash=CRC32:41126e67
+packet|codec_type=audio|stream_index=0|pts=5120|pts_time=0.640000|dts=5120|dts_time=0.640000|duration=320|duration_time=0.040000|size=4|pos=71|flags=K__|data_hash=CRC32:5e4ac580
+packet|codec_type=audio|stream_index=0|pts=5440|pts_time=0.680000|dts=5440|dts_time=0.680000|duration=320|duration_time=0.040000|size=4|pos=75|flags=K__|data_hash=CRC32:8a072bbe
+packet|codec_type=audio|stream_index=0|pts=5760|pts_time=0.720000|dts=5760|dts_time=0.720000|duration=320|duration_time=0.040000|size=4|pos=79|flags=K__|data_hash=CRC32:2844a6ee
+packet|codec_type=audio|stream_index=0|pts=6080|pts_time=0.760000|dts=6080|dts_time=0.760000|duration=320|duration_time=0.040000|size=4|pos=83|flags=K__|data_hash=CRC32:22f21815
+packet|codec_type=audio|stream_index=0|pts=6400|pts_time=0.800000|dts=6400|dts_time=0.800000|duration=320|duration_time=0.040000|size=4|pos=87|flags=K__|data_hash=CRC32:d6ad2b7f
+packet|codec_type=audio|stream_index=0|pts=6720|pts_time=0.840000|dts=6720|dts_time=0.840000|duration=320|duration_time=0.040000|size=4|pos=91|flags=K__|data_hash=CRC32:cd952e76
+packet|codec_type=audio|stream_index=0|pts=7040|pts_time=0.880000|dts=7040|dts_time=0.880000|duration=320|duration_time=0.040000|size=4|pos=95|flags=K__|data_hash=CRC32:b3b92f90
+packet|codec_type=audio|stream_index=0|pts=7360|pts_time=0.920000|dts=7360|dts_time=0.920000|duration=320|duration_time=0.040000|size=1|pos=99|flags=K_C|data_hash=CRC32:7f6567cb
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=7680|duration=0.960000|bit_rate=800|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=24|extradata_size=4|extradata_hash=CRC32:52a5e61f|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-700C.c2|nb_streams=1|nb_programs=0|format_name=codec2|start_time=N/A|duration=0.960000|size=100|bit_rate=833|probe_score=51
diff --git a/tests/ref/fate/codec2-probe-multi-1200 b/tests/ref/fate/codec2-probe-multi-1200
new file mode 100644
index 0000000000..eac20970e7
--- /dev/null
+++ b/tests/ref/fate/codec2-probe-multi-1200
@@ -0,0 +1,10 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=3200|duration_time=0.400000|size=60|pos=7|flags=K__|data_hash=CRC32:97712e59
+packet|codec_type=audio|stream_index=0|pts=3200|pts_time=0.400000|dts=3200|dts_time=0.400000|duration=3200|duration_time=0.400000|size=60|pos=67|flags=K__|data_hash=CRC32:ead75c0d
+packet|codec_type=audio|stream_index=0|pts=6400|pts_time=0.800000|dts=6400|dts_time=0.800000|duration=3200|duration_time=0.400000|size=60|pos=127|flags=K__|data_hash=CRC32:1fc51feb
+packet|codec_type=audio|stream_index=0|pts=9600|pts_time=1.200000|dts=9600|dts_time=1.200000|duration=3200|duration_time=0.400000|size=60|pos=187|flags=K__|data_hash=CRC32:9f97ee6b
+packet|codec_type=audio|stream_index=0|pts=12800|pts_time=1.600000|dts=12800|dts_time=1.600000|duration=3200|duration_time=0.400000|size=60|pos=247|flags=K__|data_hash=CRC32:3705d086
+packet|codec_type=audio|stream_index=0|pts=16000|pts_time=2.000000|dts=16000|dts_time=2.000000|duration=3200|duration_time=0.400000|size=60|pos=307|flags=K__|data_hash=CRC32:4ad7b6d0
+packet|codec_type=audio|stream_index=0|pts=19200|pts_time=2.400000|dts=19200|dts_time=2.400000|duration=3200|duration_time=0.400000|size=60|pos=367|flags=K__|data_hash=CRC32:20338c8c
+packet|codec_type=audio|stream_index=0|pts=22400|pts_time=2.800000|dts=22400|dts_time=2.800000|duration=1600|duration_time=0.200000|size=30|pos=427|flags=K__|data_hash=CRC32:3101b117
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=24000|duration=3.000000|bit_rate=1200|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=8|extradata_size=4|extradata_hash=CRC32:e70b9852|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-1200.c2|nb_streams=1|nb_programs=0|format_name=codec2|start_time=N/A|duration=3.000000|size=457|bit_rate=1218|probe_score=51
diff --git a/tests/ref/fate/codec2-probe-multi-1300 b/tests/ref/fate/codec2-probe-multi-1300
new file mode 100644
index 0000000000..40be0a24bf
--- /dev/null
+++ b/tests/ref/fate/codec2-probe-multi-1300
@@ -0,0 +1,10 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=3200|duration_time=0.400000|size=70|pos=7|flags=K__|data_hash=CRC32:5e784ba8
+packet|codec_type=audio|stream_index=0|pts=3200|pts_time=0.400000|dts=3200|dts_time=0.400000|duration=3200|duration_time=0.400000|size=70|pos=77|flags=K__|data_hash=CRC32:bc4c87ee
+packet|codec_type=audio|stream_index=0|pts=6400|pts_time=0.800000|dts=6400|dts_time=0.800000|duration=3200|duration_time=0.400000|size=70|pos=147|flags=K__|data_hash=CRC32:0424e8e4
+packet|codec_type=audio|stream_index=0|pts=9600|pts_time=1.200000|dts=9600|dts_time=1.200000|duration=3200|duration_time=0.400000|size=70|pos=217|flags=K__|data_hash=CRC32:c96f3946
+packet|codec_type=audio|stream_index=0|pts=12800|pts_time=1.600000|dts=12800|dts_time=1.600000|duration=3200|duration_time=0.400000|size=70|pos=287|flags=K__|data_hash=CRC32:ddc45481
+packet|codec_type=audio|stream_index=0|pts=16000|pts_time=2.000000|dts=16000|dts_time=2.000000|duration=3200|duration_time=0.400000|size=70|pos=357|flags=K__|data_hash=CRC32:972e3eb2
+packet|codec_type=audio|stream_index=0|pts=19200|pts_time=2.400000|dts=19200|dts_time=2.400000|duration=3200|duration_time=0.400000|size=70|pos=427|flags=K__|data_hash=CRC32:6c36af24
+packet|codec_type=audio|stream_index=0|pts=22400|pts_time=2.800000|dts=22400|dts_time=2.800000|duration=1600|duration_time=0.200000|size=35|pos=497|flags=K__|data_hash=CRC32:4e8805d3
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=24000|duration=3.000000|bit_rate=1400|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=8|extradata_size=4|extradata_hash=CRC32:fe10a913|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-1300.c2|nb_streams=1|nb_programs=0|format_name=codec2|start_time=N/A|duration=3.000000|size=532|bit_rate=1418|probe_score=51
diff --git a/tests/ref/fate/codec2-probe-multi-1400 b/tests/ref/fate/codec2-probe-multi-1400
new file mode 100644
index 0000000000..044d3ee1a9
--- /dev/null
+++ b/tests/ref/fate/codec2-probe-multi-1400
@@ -0,0 +1,10 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=3200|duration_time=0.400000|size=70|pos=7|flags=K__|data_hash=CRC32:de42f68f
+packet|codec_type=audio|stream_index=0|pts=3200|pts_time=0.400000|dts=3200|dts_time=0.400000|duration=3200|duration_time=0.400000|size=70|pos=77|flags=K__|data_hash=CRC32:c283c3cb
+packet|codec_type=audio|stream_index=0|pts=6400|pts_time=0.800000|dts=6400|dts_time=0.800000|duration=3200|duration_time=0.400000|size=70|pos=147|flags=K__|data_hash=CRC32:84fe588d
+packet|codec_type=audio|stream_index=0|pts=9600|pts_time=1.200000|dts=9600|dts_time=1.200000|duration=3200|duration_time=0.400000|size=70|pos=217|flags=K__|data_hash=CRC32:efe4a245
+packet|codec_type=audio|stream_index=0|pts=12800|pts_time=1.600000|dts=12800|dts_time=1.600000|duration=3200|duration_time=0.400000|size=70|pos=287|flags=K__|data_hash=CRC32:c31f9770
+packet|codec_type=audio|stream_index=0|pts=16000|pts_time=2.000000|dts=16000|dts_time=2.000000|duration=3200|duration_time=0.400000|size=70|pos=357|flags=K__|data_hash=CRC32:151692a9
+packet|codec_type=audio|stream_index=0|pts=19200|pts_time=2.400000|dts=19200|dts_time=2.400000|duration=3200|duration_time=0.400000|size=70|pos=427|flags=K__|data_hash=CRC32:eec5b59a
+packet|codec_type=audio|stream_index=0|pts=22400|pts_time=2.800000|dts=22400|dts_time=2.800000|duration=1600|duration_time=0.200000|size=35|pos=497|flags=K__|data_hash=CRC32:68f492a8
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=24000|duration=3.000000|bit_rate=1400|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=8|extradata_size=4|extradata_hash=CRC32:b1513fd4|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-1400.c2|nb_streams=1|nb_programs=0|format_name=codec2|start_time=N/A|duration=3.000000|size=532|bit_rate=1418|probe_score=51
diff --git a/tests/ref/fate/codec2-probe-multi-1600 b/tests/ref/fate/codec2-probe-multi-1600
new file mode 100644
index 0000000000..11a3e645c1
--- /dev/null
+++ b/tests/ref/fate/codec2-probe-multi-1600
@@ -0,0 +1,10 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=3200|duration_time=0.400000|size=80|pos=7|flags=K__|data_hash=CRC32:74196300
+packet|codec_type=audio|stream_index=0|pts=3200|pts_time=0.400000|dts=3200|dts_time=0.400000|duration=3200|duration_time=0.400000|size=80|pos=87|flags=K__|data_hash=CRC32:13fdb6e5
+packet|codec_type=audio|stream_index=0|pts=6400|pts_time=0.800000|dts=6400|dts_time=0.800000|duration=3200|duration_time=0.400000|size=80|pos=167|flags=K__|data_hash=CRC32:8b1c3219
+packet|codec_type=audio|stream_index=0|pts=9600|pts_time=1.200000|dts=9600|dts_time=1.200000|duration=3200|duration_time=0.400000|size=80|pos=247|flags=K__|data_hash=CRC32:c2639e6e
+packet|codec_type=audio|stream_index=0|pts=12800|pts_time=1.600000|dts=12800|dts_time=1.600000|duration=3200|duration_time=0.400000|size=80|pos=327|flags=K__|data_hash=CRC32:e37eabc6
+packet|codec_type=audio|stream_index=0|pts=16000|pts_time=2.000000|dts=16000|dts_time=2.000000|duration=3200|duration_time=0.400000|size=80|pos=407|flags=K__|data_hash=CRC32:ade0886c
+packet|codec_type=audio|stream_index=0|pts=19200|pts_time=2.400000|dts=19200|dts_time=2.400000|duration=3200|duration_time=0.400000|size=80|pos=487|flags=K__|data_hash=CRC32:2ab5600a
+packet|codec_type=audio|stream_index=0|pts=22400|pts_time=2.800000|dts=22400|dts_time=2.800000|duration=1600|duration_time=0.200000|size=40|pos=567|flags=K__|data_hash=CRC32:e378558d
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=24000|duration=3.000000|bit_rate=1600|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=8|extradata_size=4|extradata_hash=CRC32:a84a0e95|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-1600.c2|nb_streams=1|nb_programs=0|format_name=codec2|start_time=N/A|duration=3.000000|size=607|bit_rate=1618|probe_score=51
diff --git a/tests/ref/fate/codec2-probe-multi-2400 b/tests/ref/fate/codec2-probe-multi-2400
new file mode 100644
index 0000000000..4651de463c
--- /dev/null
+++ b/tests/ref/fate/codec2-probe-multi-2400
@@ -0,0 +1,17 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=1600|duration_time=0.200000|size=60|pos=7|flags=K__|data_hash=CRC32:7283101b
+packet|codec_type=audio|stream_index=0|pts=1600|pts_time=0.200000|dts=1600|dts_time=0.200000|duration=1600|duration_time=0.200000|size=60|pos=67|flags=K__|data_hash=CRC32:b60d32b9
+packet|codec_type=audio|stream_index=0|pts=3200|pts_time=0.400000|dts=3200|dts_time=0.400000|duration=1600|duration_time=0.200000|size=60|pos=127|flags=K__|data_hash=CRC32:23321384
+packet|codec_type=audio|stream_index=0|pts=4800|pts_time=0.600000|dts=4800|dts_time=0.600000|duration=1600|duration_time=0.200000|size=60|pos=187|flags=K__|data_hash=CRC32:05a4af80
+packet|codec_type=audio|stream_index=0|pts=6400|pts_time=0.800000|dts=6400|dts_time=0.800000|duration=1600|duration_time=0.200000|size=60|pos=247|flags=K__|data_hash=CRC32:d012a0f0
+packet|codec_type=audio|stream_index=0|pts=8000|pts_time=1.000000|dts=8000|dts_time=1.000000|duration=1600|duration_time=0.200000|size=60|pos=307|flags=K__|data_hash=CRC32:b0cffe2a
+packet|codec_type=audio|stream_index=0|pts=9600|pts_time=1.200000|dts=9600|dts_time=1.200000|duration=1600|duration_time=0.200000|size=60|pos=367|flags=K__|data_hash=CRC32:4750fd61
+packet|codec_type=audio|stream_index=0|pts=11200|pts_time=1.400000|dts=11200|dts_time=1.400000|duration=1600|duration_time=0.200000|size=60|pos=427|flags=K__|data_hash=CRC32:d901d843
+packet|codec_type=audio|stream_index=0|pts=12800|pts_time=1.600000|dts=12800|dts_time=1.600000|duration=1600|duration_time=0.200000|size=60|pos=487|flags=K__|data_hash=CRC32:db968789
+packet|codec_type=audio|stream_index=0|pts=14400|pts_time=1.800000|dts=14400|dts_time=1.800000|duration=1600|duration_time=0.200000|size=60|pos=547|flags=K__|data_hash=CRC32:a4ef5efc
+packet|codec_type=audio|stream_index=0|pts=16000|pts_time=2.000000|dts=16000|dts_time=2.000000|duration=1600|duration_time=0.200000|size=60|pos=607|flags=K__|data_hash=CRC32:3062461d
+packet|codec_type=audio|stream_index=0|pts=17600|pts_time=2.200000|dts=17600|dts_time=2.200000|duration=1600|duration_time=0.200000|size=60|pos=667|flags=K__|data_hash=CRC32:8232537a
+packet|codec_type=audio|stream_index=0|pts=19200|pts_time=2.400000|dts=19200|dts_time=2.400000|duration=1600|duration_time=0.200000|size=60|pos=727|flags=K__|data_hash=CRC32:fb52665c
+packet|codec_type=audio|stream_index=0|pts=20800|pts_time=2.600000|dts=20800|dts_time=2.600000|duration=1600|duration_time=0.200000|size=60|pos=787|flags=K__|data_hash=CRC32:14e8d636
+packet|codec_type=audio|stream_index=0|pts=22400|pts_time=2.800000|dts=22400|dts_time=2.800000|duration=1600|duration_time=0.200000|size=60|pos=847|flags=K__|data_hash=CRC32:416fffb7
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=24000|duration=3.000000|bit_rate=2400|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=15|extradata_size=4|extradata_hash=CRC32:83675d56|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-2400.c2|nb_streams=1|nb_programs=0|format_name=codec2|start_time=N/A|duration=3.000000|size=907|bit_rate=2418|probe_score=51
diff --git a/tests/ref/fate/codec2-probe-multi-3200 b/tests/ref/fate/codec2-probe-multi-3200
new file mode 100644
index 0000000000..a32aaa2212
--- /dev/null
+++ b/tests/ref/fate/codec2-probe-multi-3200
@@ -0,0 +1,17 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=1600|duration_time=0.200000|size=80|pos=7|flags=K__|data_hash=CRC32:5f0b44d5
+packet|codec_type=audio|stream_index=0|pts=1600|pts_time=0.200000|dts=1600|dts_time=0.200000|duration=1600|duration_time=0.200000|size=80|pos=87|flags=K__|data_hash=CRC32:746132c5
+packet|codec_type=audio|stream_index=0|pts=3200|pts_time=0.400000|dts=3200|dts_time=0.400000|duration=1600|duration_time=0.200000|size=80|pos=167|flags=K__|data_hash=CRC32:cbe22ba3
+packet|codec_type=audio|stream_index=0|pts=4800|pts_time=0.600000|dts=4800|dts_time=0.600000|duration=1600|duration_time=0.200000|size=80|pos=247|flags=K__|data_hash=CRC32:2803be77
+packet|codec_type=audio|stream_index=0|pts=6400|pts_time=0.800000|dts=6400|dts_time=0.800000|duration=1600|duration_time=0.200000|size=80|pos=327|flags=K__|data_hash=CRC32:37dcc107
+packet|codec_type=audio|stream_index=0|pts=8000|pts_time=1.000000|dts=8000|dts_time=1.000000|duration=1600|duration_time=0.200000|size=80|pos=407|flags=K__|data_hash=CRC32:9137ae4f
+packet|codec_type=audio|stream_index=0|pts=9600|pts_time=1.200000|dts=9600|dts_time=1.200000|duration=1600|duration_time=0.200000|size=80|pos=487|flags=K__|data_hash=CRC32:f7595349
+packet|codec_type=audio|stream_index=0|pts=11200|pts_time=1.400000|dts=11200|dts_time=1.400000|duration=1600|duration_time=0.200000|size=80|pos=567|flags=K__|data_hash=CRC32:dfca2c27
+packet|codec_type=audio|stream_index=0|pts=12800|pts_time=1.600000|dts=12800|dts_time=1.600000|duration=1600|duration_time=0.200000|size=80|pos=647|flags=K__|data_hash=CRC32:05123c92
+packet|codec_type=audio|stream_index=0|pts=14400|pts_time=1.800000|dts=14400|dts_time=1.800000|duration=1600|duration_time=0.200000|size=80|pos=727|flags=K__|data_hash=CRC32:51061a8f
+packet|codec_type=audio|stream_index=0|pts=16000|pts_time=2.000000|dts=16000|dts_time=2.000000|duration=1600|duration_time=0.200000|size=80|pos=807|flags=K__|data_hash=CRC32:6ded78d0
+packet|codec_type=audio|stream_index=0|pts=17600|pts_time=2.200000|dts=17600|dts_time=2.200000|duration=1600|duration_time=0.200000|size=80|pos=887|flags=K__|data_hash=CRC32:223d4a63
+packet|codec_type=audio|stream_index=0|pts=19200|pts_time=2.400000|dts=19200|dts_time=2.400000|duration=1600|duration_time=0.200000|size=80|pos=967|flags=K__|data_hash=CRC32:991f4258
+packet|codec_type=audio|stream_index=0|pts=20800|pts_time=2.600000|dts=20800|dts_time=2.600000|duration=1600|duration_time=0.200000|size=80|pos=1047|flags=K__|data_hash=CRC32:8122bc3d
+packet|codec_type=audio|stream_index=0|pts=22400|pts_time=2.800000|dts=22400|dts_time=2.800000|duration=1600|duration_time=0.200000|size=80|pos=1127|flags=K__|data_hash=CRC32:bfaf16ca
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=24000|duration=3.000000|bit_rate=3200|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=15|extradata_size=4|extradata_hash=CRC32:9a7c6c17|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-3200.c2|nb_streams=1|nb_programs=0|format_name=codec2|start_time=N/A|duration=3.000000|size=1207|bit_rate=3218|probe_score=51
diff --git a/tests/ref/fate/codec2-probe-multi-700C b/tests/ref/fate/codec2-probe-multi-700C
new file mode 100644
index 0000000000..79d1f4ab9c
--- /dev/null
+++ b/tests/ref/fate/codec2-probe-multi-700C
@@ -0,0 +1,10 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=3200|duration_time=0.400000|size=40|pos=7|flags=K__|data_hash=CRC32:810ddca5
+packet|codec_type=audio|stream_index=0|pts=3200|pts_time=0.400000|dts=3200|dts_time=0.400000|duration=3200|duration_time=0.400000|size=40|pos=47|flags=K__|data_hash=CRC32:4d955a6f
+packet|codec_type=audio|stream_index=0|pts=6400|pts_time=0.800000|dts=6400|dts_time=0.800000|duration=3200|duration_time=0.400000|size=40|pos=87|flags=K__|data_hash=CRC32:86f6efa9
+packet|codec_type=audio|stream_index=0|pts=9600|pts_time=1.200000|dts=9600|dts_time=1.200000|duration=3200|duration_time=0.400000|size=40|pos=127|flags=K__|data_hash=CRC32:134dcdcf
+packet|codec_type=audio|stream_index=0|pts=12800|pts_time=1.600000|dts=12800|dts_time=1.600000|duration=3200|duration_time=0.400000|size=40|pos=167|flags=K__|data_hash=CRC32:697284ab
+packet|codec_type=audio|stream_index=0|pts=16000|pts_time=2.000000|dts=16000|dts_time=2.000000|duration=3200|duration_time=0.400000|size=40|pos=207|flags=K__|data_hash=CRC32:19e9ecbb
+packet|codec_type=audio|stream_index=0|pts=19200|pts_time=2.400000|dts=19200|dts_time=2.400000|duration=3200|duration_time=0.400000|size=40|pos=247|flags=K__|data_hash=CRC32:047bbaf1
+packet|codec_type=audio|stream_index=0|pts=22400|pts_time=2.800000|dts=22400|dts_time=2.800000|duration=1600|duration_time=0.200000|size=20|pos=287|flags=K__|data_hash=CRC32:b20be8d4
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=24000|duration=3.000000|bit_rate=800|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=8|extradata_size=4|extradata_hash=CRC32:52a5e61f|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-700C.c2|nb_streams=1|nb_programs=0|format_name=codec2|start_time=N/A|duration=3.000000|size=307|bit_rate=818|probe_score=51
diff --git a/tests/ref/fate/codec2-probe-multi-cut-1200 b/tests/ref/fate/codec2-probe-multi-cut-1200
new file mode 100644
index 0000000000..20b2fed5c9
--- /dev/null
+++ b/tests/ref/fate/codec2-probe-multi-cut-1200
@@ -0,0 +1,4 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=3200|duration_time=0.400000|size=60|pos=7|flags=K__|data_hash=CRC32:97712e59
+packet|codec_type=audio|stream_index=0|pts=3200|pts_time=0.400000|dts=3200|dts_time=0.400000|duration=1600|duration_time=0.200000|size=33|pos=67|flags=K_C|data_hash=CRC32:54020dae
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=5120|duration=0.640000|bit_rate=1200|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=2|extradata_size=4|extradata_hash=CRC32:e70b9852|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-1200.c2|nb_streams=1|nb_programs=0|format_name=codec2|start_time=N/A|duration=0.640000|size=100|bit_rate=1250|probe_score=51
diff --git a/tests/ref/fate/codec2-probe-multi-cut-1300 b/tests/ref/fate/codec2-probe-multi-cut-1300
new file mode 100644
index 0000000000..f1f2e4d4b0
--- /dev/null
+++ b/tests/ref/fate/codec2-probe-multi-cut-1300
@@ -0,0 +1,4 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=3200|duration_time=0.400000|size=70|pos=7|flags=K__|data_hash=CRC32:5e784ba8
+packet|codec_type=audio|stream_index=0|pts=3200|pts_time=0.400000|dts=3200|dts_time=0.400000|duration=960|duration_time=0.120000|size=23|pos=77|flags=K_C|data_hash=CRC32:812b14ca
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=4160|duration=0.520000|bit_rate=1400|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=2|extradata_size=4|extradata_hash=CRC32:fe10a913|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-1300.c2|nb_streams=1|nb_programs=0|format_name=codec2|start_time=N/A|duration=0.520000|size=100|bit_rate=1538|probe_score=51
diff --git a/tests/ref/fate/codec2-probe-multi-cut-1400 b/tests/ref/fate/codec2-probe-multi-cut-1400
new file mode 100644
index 0000000000..edc23cfaa0
--- /dev/null
+++ b/tests/ref/fate/codec2-probe-multi-cut-1400
@@ -0,0 +1,4 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=3200|duration_time=0.400000|size=70|pos=7|flags=K__|data_hash=CRC32:de42f68f
+packet|codec_type=audio|stream_index=0|pts=3200|pts_time=0.400000|dts=3200|dts_time=0.400000|duration=960|duration_time=0.120000|size=23|pos=77|flags=K_C|data_hash=CRC32:c872c31e
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=4160|duration=0.520000|bit_rate=1400|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=2|extradata_size=4|extradata_hash=CRC32:b1513fd4|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-1400.c2|nb_streams=1|nb_programs=0|format_name=codec2|start_time=N/A|duration=0.520000|size=100|bit_rate=1538|probe_score=51
diff --git a/tests/ref/fate/codec2-probe-multi-cut-1600 b/tests/ref/fate/codec2-probe-multi-cut-1600
new file mode 100644
index 0000000000..c66237ef3e
--- /dev/null
+++ b/tests/ref/fate/codec2-probe-multi-cut-1600
@@ -0,0 +1,4 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=3200|duration_time=0.400000|size=80|pos=7|flags=K__|data_hash=CRC32:74196300
+packet|codec_type=audio|stream_index=0|pts=3200|pts_time=0.400000|dts=3200|dts_time=0.400000|duration=320|duration_time=0.040000|size=13|pos=87|flags=K_C|data_hash=CRC32:ce8782e8
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=3840|duration=0.480000|bit_rate=1600|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=2|extradata_size=4|extradata_hash=CRC32:a84a0e95|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-1600.c2|nb_streams=1|nb_programs=0|format_name=codec2|start_time=N/A|duration=0.480000|size=100|bit_rate=1666|probe_score=51
diff --git a/tests/ref/fate/codec2-probe-multi-cut-2400 b/tests/ref/fate/codec2-probe-multi-cut-2400
new file mode 100644
index 0000000000..d6df9009f1
--- /dev/null
+++ b/tests/ref/fate/codec2-probe-multi-cut-2400
@@ -0,0 +1,4 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=1600|duration_time=0.200000|size=60|pos=7|flags=K__|data_hash=CRC32:7283101b
+packet|codec_type=audio|stream_index=0|pts=1600|pts_time=0.200000|dts=1600|dts_time=0.200000|duration=800|duration_time=0.100000|size=33|pos=67|flags=K_C|data_hash=CRC32:7ffca071
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=2560|duration=0.320000|bit_rate=2400|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=2|extradata_size=4|extradata_hash=CRC32:83675d56|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-2400.c2|nb_streams=1|nb_programs=0|format_name=codec2|start_time=N/A|duration=0.320000|size=100|bit_rate=2500|probe_score=51
diff --git a/tests/ref/fate/codec2-probe-multi-cut-3200 b/tests/ref/fate/codec2-probe-multi-cut-3200
new file mode 100644
index 0000000000..4f64d24bc6
--- /dev/null
+++ b/tests/ref/fate/codec2-probe-multi-cut-3200
@@ -0,0 +1,4 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=1600|duration_time=0.200000|size=80|pos=7|flags=K__|data_hash=CRC32:5f0b44d5
+packet|codec_type=audio|stream_index=0|pts=1600|pts_time=0.200000|dts=1600|dts_time=0.200000|duration=160|duration_time=0.020000|size=13|pos=87|flags=K_C|data_hash=CRC32:4ef9b3ec
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=1920|duration=0.240000|bit_rate=3200|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=2|extradata_size=4|extradata_hash=CRC32:9a7c6c17|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-3200.c2|nb_streams=1|nb_programs=0|format_name=codec2|start_time=N/A|duration=0.240000|size=100|bit_rate=3333|probe_score=51
diff --git a/tests/ref/fate/codec2-probe-multi-cut-700C b/tests/ref/fate/codec2-probe-multi-cut-700C
new file mode 100644
index 0000000000..3195b169c6
--- /dev/null
+++ b/tests/ref/fate/codec2-probe-multi-cut-700C
@@ -0,0 +1,5 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=3200|duration_time=0.400000|size=40|pos=7|flags=K__|data_hash=CRC32:810ddca5
+packet|codec_type=audio|stream_index=0|pts=3200|pts_time=0.400000|dts=3200|dts_time=0.400000|duration=3200|duration_time=0.400000|size=40|pos=47|flags=K__|data_hash=CRC32:4d955a6f
+packet|codec_type=audio|stream_index=0|pts=6400|pts_time=0.800000|dts=6400|dts_time=0.800000|duration=960|duration_time=0.120000|size=13|pos=87|flags=K_C|data_hash=CRC32:55376c42
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=7680|duration=0.960000|bit_rate=800|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=3|extradata_size=4|extradata_hash=CRC32:52a5e61f|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-700C.c2|nb_streams=1|nb_programs=0|format_name=codec2|start_time=N/A|duration=0.960000|size=100|bit_rate=833|probe_score=51
diff --git a/tests/ref/fate/codec2raw-probe-1200 b/tests/ref/fate/codec2raw-probe-1200
new file mode 100644
index 0000000000..28376622af
--- /dev/null
+++ b/tests/ref/fate/codec2raw-probe-1200
@@ -0,0 +1,77 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=320|duration_time=0.040000|size=6|pos=0|flags=K__|data_hash=CRC32:221d0fc7
+packet|codec_type=audio|stream_index=0|pts=320|pts_time=0.040000|dts=320|dts_time=0.040000|duration=320|duration_time=0.040000|size=6|pos=6|flags=K__|data_hash=CRC32:2bf167b8
+packet|codec_type=audio|stream_index=0|pts=640|pts_time=0.080000|dts=640|dts_time=0.080000|duration=320|duration_time=0.040000|size=6|pos=12|flags=K__|data_hash=CRC32:a7156a29
+packet|codec_type=audio|stream_index=0|pts=960|pts_time=0.120000|dts=960|dts_time=0.120000|duration=320|duration_time=0.040000|size=6|pos=18|flags=K__|data_hash=CRC32:268c4e72
+packet|codec_type=audio|stream_index=0|pts=1280|pts_time=0.160000|dts=1280|dts_time=0.160000|duration=320|duration_time=0.040000|size=6|pos=24|flags=K__|data_hash=CRC32:5a23ffe0
+packet|codec_type=audio|stream_index=0|pts=1600|pts_time=0.200000|dts=1600|dts_time=0.200000|duration=320|duration_time=0.040000|size=6|pos=30|flags=K__|data_hash=CRC32:ed696a9b
+packet|codec_type=audio|stream_index=0|pts=1920|pts_time=0.240000|dts=1920|dts_time=0.240000|duration=320|duration_time=0.040000|size=6|pos=36|flags=K__|data_hash=CRC32:8c2de44f
+packet|codec_type=audio|stream_index=0|pts=2240|pts_time=0.280000|dts=2240|dts_time=0.280000|duration=320|duration_time=0.040000|size=6|pos=42|flags=K__|data_hash=CRC32:46dcc273
+packet|codec_type=audio|stream_index=0|pts=2560|pts_time=0.320000|dts=2560|dts_time=0.320000|duration=320|duration_time=0.040000|size=6|pos=48|flags=K__|data_hash=CRC32:7c6fd6bd
+packet|codec_type=audio|stream_index=0|pts=2880|pts_time=0.360000|dts=2880|dts_time=0.360000|duration=320|duration_time=0.040000|size=6|pos=54|flags=K__|data_hash=CRC32:54794fd6
+packet|codec_type=audio|stream_index=0|pts=3200|pts_time=0.400000|dts=3200|dts_time=0.400000|duration=320|duration_time=0.040000|size=6|pos=60|flags=K__|data_hash=CRC32:f56e65a6
+packet|codec_type=audio|stream_index=0|pts=3520|pts_time=0.440000|dts=3520|dts_time=0.440000|duration=320|duration_time=0.040000|size=6|pos=66|flags=K__|data_hash=CRC32:5a22ccb3
+packet|codec_type=audio|stream_index=0|pts=3840|pts_time=0.480000|dts=3840|dts_time=0.480000|duration=320|duration_time=0.040000|size=6|pos=72|flags=K__|data_hash=CRC32:80096180
+packet|codec_type=audio|stream_index=0|pts=4160|pts_time=0.520000|dts=4160|dts_time=0.520000|duration=320|duration_time=0.040000|size=6|pos=78|flags=K__|data_hash=CRC32:8959f4e8
+packet|codec_type=audio|stream_index=0|pts=4480|pts_time=0.560000|dts=4480|dts_time=0.560000|duration=320|duration_time=0.040000|size=6|pos=84|flags=K__|data_hash=CRC32:cc92a5ce
+packet|codec_type=audio|stream_index=0|pts=4800|pts_time=0.600000|dts=4800|dts_time=0.600000|duration=320|duration_time=0.040000|size=6|pos=90|flags=K__|data_hash=CRC32:6d4ea619
+packet|codec_type=audio|stream_index=0|pts=5120|pts_time=0.640000|dts=5120|dts_time=0.640000|duration=320|duration_time=0.040000|size=6|pos=96|flags=K__|data_hash=CRC32:0d8606b8
+packet|codec_type=audio|stream_index=0|pts=5440|pts_time=0.680000|dts=5440|dts_time=0.680000|duration=320|duration_time=0.040000|size=6|pos=102|flags=K__|data_hash=CRC32:c95cfb1a
+packet|codec_type=audio|stream_index=0|pts=5760|pts_time=0.720000|dts=5760|dts_time=0.720000|duration=320|duration_time=0.040000|size=6|pos=108|flags=K__|data_hash=CRC32:7ff40dc6
+packet|codec_type=audio|stream_index=0|pts=6080|pts_time=0.760000|dts=6080|dts_time=0.760000|duration=320|duration_time=0.040000|size=6|pos=114|flags=K__|data_hash=CRC32:866ff055
+packet|codec_type=audio|stream_index=0|pts=6400|pts_time=0.800000|dts=6400|dts_time=0.800000|duration=320|duration_time=0.040000|size=6|pos=120|flags=K__|data_hash=CRC32:935e0eab
+packet|codec_type=audio|stream_index=0|pts=6720|pts_time=0.840000|dts=6720|dts_time=0.840000|duration=320|duration_time=0.040000|size=6|pos=126|flags=K__|data_hash=CRC32:7a0342ca
+packet|codec_type=audio|stream_index=0|pts=7040|pts_time=0.880000|dts=7040|dts_time=0.880000|duration=320|duration_time=0.040000|size=6|pos=132|flags=K__|data_hash=CRC32:8097ae9a
+packet|codec_type=audio|stream_index=0|pts=7360|pts_time=0.920000|dts=7360|dts_time=0.920000|duration=320|duration_time=0.040000|size=6|pos=138|flags=K__|data_hash=CRC32:7e775861
+packet|codec_type=audio|stream_index=0|pts=7680|pts_time=0.960000|dts=7680|dts_time=0.960000|duration=320|duration_time=0.040000|size=6|pos=144|flags=K__|data_hash=CRC32:bdeb9b36
+packet|codec_type=audio|stream_index=0|pts=8000|pts_time=1.000000|dts=8000|dts_time=1.000000|duration=320|duration_time=0.040000|size=6|pos=150|flags=K__|data_hash=CRC32:3794e84b
+packet|codec_type=audio|stream_index=0|pts=8320|pts_time=1.040000|dts=8320|dts_time=1.040000|duration=320|duration_time=0.040000|size=6|pos=156|flags=K__|data_hash=CRC32:86431715
+packet|codec_type=audio|stream_index=0|pts=8640|pts_time=1.080000|dts=8640|dts_time=1.080000|duration=320|duration_time=0.040000|size=6|pos=162|flags=K__|data_hash=CRC32:d922dfa1
+packet|codec_type=audio|stream_index=0|pts=8960|pts_time=1.120000|dts=8960|dts_time=1.120000|duration=320|duration_time=0.040000|size=6|pos=168|flags=K__|data_hash=CRC32:dfbf9e96
+packet|codec_type=audio|stream_index=0|pts=9280|pts_time=1.160000|dts=9280|dts_time=1.160000|duration=320|duration_time=0.040000|size=6|pos=174|flags=K__|data_hash=CRC32:d3b29b12
+packet|codec_type=audio|stream_index=0|pts=9600|pts_time=1.200000|dts=9600|dts_time=1.200000|duration=320|duration_time=0.040000|size=6|pos=180|flags=K__|data_hash=CRC32:6e0f0822
+packet|codec_type=audio|stream_index=0|pts=9920|pts_time=1.240000|dts=9920|dts_time=1.240000|duration=320|duration_time=0.040000|size=6|pos=186|flags=K__|data_hash=CRC32:a79fff26
+packet|codec_type=audio|stream_index=0|pts=10240|pts_time=1.280000|dts=10240|dts_time=1.280000|duration=320|duration_time=0.040000|size=6|pos=192|flags=K__|data_hash=CRC32:31b1c3b2
+packet|codec_type=audio|stream_index=0|pts=10560|pts_time=1.320000|dts=10560|dts_time=1.320000|duration=320|duration_time=0.040000|size=6|pos=198|flags=K__|data_hash=CRC32:be077bea
+packet|codec_type=audio|stream_index=0|pts=10880|pts_time=1.360000|dts=10880|dts_time=1.360000|duration=320|duration_time=0.040000|size=6|pos=204|flags=K__|data_hash=CRC32:f81e55e2
+packet|codec_type=audio|stream_index=0|pts=11200|pts_time=1.400000|dts=11200|dts_time=1.400000|duration=320|duration_time=0.040000|size=6|pos=210|flags=K__|data_hash=CRC32:ac3f6f73
+packet|codec_type=audio|stream_index=0|pts=11520|pts_time=1.440000|dts=11520|dts_time=1.440000|duration=320|duration_time=0.040000|size=6|pos=216|flags=K__|data_hash=CRC32:8729d498
+packet|codec_type=audio|stream_index=0|pts=11840|pts_time=1.480000|dts=11840|dts_time=1.480000|duration=320|duration_time=0.040000|size=6|pos=222|flags=K__|data_hash=CRC32:66f3e351
+packet|codec_type=audio|stream_index=0|pts=12160|pts_time=1.520000|dts=12160|dts_time=1.520000|duration=320|duration_time=0.040000|size=6|pos=228|flags=K__|data_hash=CRC32:33664141
+packet|codec_type=audio|stream_index=0|pts=12480|pts_time=1.560000|dts=12480|dts_time=1.560000|duration=320|duration_time=0.040000|size=6|pos=234|flags=K__|data_hash=CRC32:a47da932
+packet|codec_type=audio|stream_index=0|pts=12800|pts_time=1.600000|dts=12800|dts_time=1.600000|duration=320|duration_time=0.040000|size=6|pos=240|flags=K__|data_hash=CRC32:25ba973c
+packet|codec_type=audio|stream_index=0|pts=13120|pts_time=1.640000|dts=13120|dts_time=1.640000|duration=320|duration_time=0.040000|size=6|pos=246|flags=K__|data_hash=CRC32:48416905
+packet|codec_type=audio|stream_index=0|pts=13440|pts_time=1.680000|dts=13440|dts_time=1.680000|duration=320|duration_time=0.040000|size=6|pos=252|flags=K__|data_hash=CRC32:d4389bf2
+packet|codec_type=audio|stream_index=0|pts=13760|pts_time=1.720000|dts=13760|dts_time=1.720000|duration=320|duration_time=0.040000|size=6|pos=258|flags=K__|data_hash=CRC32:80beba6e
+packet|codec_type=audio|stream_index=0|pts=14080|pts_time=1.760000|dts=14080|dts_time=1.760000|duration=320|duration_time=0.040000|size=6|pos=264|flags=K__|data_hash=CRC32:87a45a57
+packet|codec_type=audio|stream_index=0|pts=14400|pts_time=1.800000|dts=14400|dts_time=1.800000|duration=320|duration_time=0.040000|size=6|pos=270|flags=K__|data_hash=CRC32:f942adf5
+packet|codec_type=audio|stream_index=0|pts=14720|pts_time=1.840000|dts=14720|dts_time=1.840000|duration=320|duration_time=0.040000|size=6|pos=276|flags=K__|data_hash=CRC32:e8d81c23
+packet|codec_type=audio|stream_index=0|pts=15040|pts_time=1.880000|dts=15040|dts_time=1.880000|duration=320|duration_time=0.040000|size=6|pos=282|flags=K__|data_hash=CRC32:0366c5b1
+packet|codec_type=audio|stream_index=0|pts=15360|pts_time=1.920000|dts=15360|dts_time=1.920000|duration=320|duration_time=0.040000|size=6|pos=288|flags=K__|data_hash=CRC32:4a5f7c10
+packet|codec_type=audio|stream_index=0|pts=15680|pts_time=1.960000|dts=15680|dts_time=1.960000|duration=320|duration_time=0.040000|size=6|pos=294|flags=K__|data_hash=CRC32:f88879e6
+packet|codec_type=audio|stream_index=0|pts=16000|pts_time=2.000000|dts=16000|dts_time=2.000000|duration=320|duration_time=0.040000|size=6|pos=300|flags=K__|data_hash=CRC32:0c1bd8f8
+packet|codec_type=audio|stream_index=0|pts=16320|pts_time=2.040000|dts=16320|dts_time=2.040000|duration=320|duration_time=0.040000|size=6|pos=306|flags=K__|data_hash=CRC32:c3a3fe7b
+packet|codec_type=audio|stream_index=0|pts=16640|pts_time=2.080000|dts=16640|dts_time=2.080000|duration=320|duration_time=0.040000|size=6|pos=312|flags=K__|data_hash=CRC32:2f51770a
+packet|codec_type=audio|stream_index=0|pts=16960|pts_time=2.120000|dts=16960|dts_time=2.120000|duration=320|duration_time=0.040000|size=6|pos=318|flags=K__|data_hash=CRC32:112e75a2
+packet|codec_type=audio|stream_index=0|pts=17280|pts_time=2.160000|dts=17280|dts_time=2.160000|duration=320|duration_time=0.040000|size=6|pos=324|flags=K__|data_hash=CRC32:a88f3e44
+packet|codec_type=audio|stream_index=0|pts=17600|pts_time=2.200000|dts=17600|dts_time=2.200000|duration=320|duration_time=0.040000|size=6|pos=330|flags=K__|data_hash=CRC32:b5a038d5
+packet|codec_type=audio|stream_index=0|pts=17920|pts_time=2.240000|dts=17920|dts_time=2.240000|duration=320|duration_time=0.040000|size=6|pos=336|flags=K__|data_hash=CRC32:a081bf18
+packet|codec_type=audio|stream_index=0|pts=18240|pts_time=2.280000|dts=18240|dts_time=2.280000|duration=320|duration_time=0.040000|size=6|pos=342|flags=K__|data_hash=CRC32:e735914e
+packet|codec_type=audio|stream_index=0|pts=18560|pts_time=2.320000|dts=18560|dts_time=2.320000|duration=320|duration_time=0.040000|size=6|pos=348|flags=K__|data_hash=CRC32:9e1a7144
+packet|codec_type=audio|stream_index=0|pts=18880|pts_time=2.360000|dts=18880|dts_time=2.360000|duration=320|duration_time=0.040000|size=6|pos=354|flags=K__|data_hash=CRC32:868f522c
+packet|codec_type=audio|stream_index=0|pts=19200|pts_time=2.400000|dts=19200|dts_time=2.400000|duration=320|duration_time=0.040000|size=6|pos=360|flags=K__|data_hash=CRC32:d212c855
+packet|codec_type=audio|stream_index=0|pts=19520|pts_time=2.440000|dts=19520|dts_time=2.440000|duration=320|duration_time=0.040000|size=6|pos=366|flags=K__|data_hash=CRC32:bca14856
+packet|codec_type=audio|stream_index=0|pts=19840|pts_time=2.480000|dts=19840|dts_time=2.480000|duration=320|duration_time=0.040000|size=6|pos=372|flags=K__|data_hash=CRC32:53b4fc98
+packet|codec_type=audio|stream_index=0|pts=20160|pts_time=2.520000|dts=20160|dts_time=2.520000|duration=320|duration_time=0.040000|size=6|pos=378|flags=K__|data_hash=CRC32:7df44774
+packet|codec_type=audio|stream_index=0|pts=20480|pts_time=2.560000|dts=20480|dts_time=2.560000|duration=320|duration_time=0.040000|size=6|pos=384|flags=K__|data_hash=CRC32:59760848
+packet|codec_type=audio|stream_index=0|pts=20800|pts_time=2.600000|dts=20800|dts_time=2.600000|duration=320|duration_time=0.040000|size=6|pos=390|flags=K__|data_hash=CRC32:6c4e5c92
+packet|codec_type=audio|stream_index=0|pts=21120|pts_time=2.640000|dts=21120|dts_time=2.640000|duration=320|duration_time=0.040000|size=6|pos=396|flags=K__|data_hash=CRC32:73629588
+packet|codec_type=audio|stream_index=0|pts=21440|pts_time=2.680000|dts=21440|dts_time=2.680000|duration=320|duration_time=0.040000|size=6|pos=402|flags=K__|data_hash=CRC32:e0b588c1
+packet|codec_type=audio|stream_index=0|pts=21760|pts_time=2.720000|dts=21760|dts_time=2.720000|duration=320|duration_time=0.040000|size=6|pos=408|flags=K__|data_hash=CRC32:227d2375
+packet|codec_type=audio|stream_index=0|pts=22080|pts_time=2.760000|dts=22080|dts_time=2.760000|duration=320|duration_time=0.040000|size=6|pos=414|flags=K__|data_hash=CRC32:fd70ce6f
+packet|codec_type=audio|stream_index=0|pts=22400|pts_time=2.800000|dts=22400|dts_time=2.800000|duration=320|duration_time=0.040000|size=6|pos=420|flags=K__|data_hash=CRC32:e923fe4c
+packet|codec_type=audio|stream_index=0|pts=22720|pts_time=2.840000|dts=22720|dts_time=2.840000|duration=320|duration_time=0.040000|size=6|pos=426|flags=K__|data_hash=CRC32:52cecd8a
+packet|codec_type=audio|stream_index=0|pts=23040|pts_time=2.880000|dts=23040|dts_time=2.880000|duration=320|duration_time=0.040000|size=6|pos=432|flags=K__|data_hash=CRC32:32d67e82
+packet|codec_type=audio|stream_index=0|pts=23360|pts_time=2.920000|dts=23360|dts_time=2.920000|duration=320|duration_time=0.040000|size=6|pos=438|flags=K__|data_hash=CRC32:1baa02d6
+packet|codec_type=audio|stream_index=0|pts=23680|pts_time=2.960000|dts=23680|dts_time=2.960000|duration=320|duration_time=0.040000|size=6|pos=444|flags=K__|data_hash=CRC32:d5df290e
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=24000|duration=3.000000|bit_rate=1200|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=75|extradata_size=4|extradata_hash=CRC32:e48f4c3c|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-1200.c2|nb_streams=1|nb_programs=0|format_name=codec2raw|start_time=N/A|duration=3.000000|size=450|bit_rate=1200|probe_score=0
diff --git a/tests/ref/fate/codec2raw-probe-1300 b/tests/ref/fate/codec2raw-probe-1300
new file mode 100644
index 0000000000..fbf2037df1
--- /dev/null
+++ b/tests/ref/fate/codec2raw-probe-1300
@@ -0,0 +1,77 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=320|duration_time=0.040000|size=7|pos=0|flags=K__|data_hash=CRC32:e1c986d9
+packet|codec_type=audio|stream_index=0|pts=320|pts_time=0.040000|dts=320|dts_time=0.040000|duration=320|duration_time=0.040000|size=7|pos=7|flags=K__|data_hash=CRC32:d19871aa
+packet|codec_type=audio|stream_index=0|pts=640|pts_time=0.080000|dts=640|dts_time=0.080000|duration=320|duration_time=0.040000|size=7|pos=14|flags=K__|data_hash=CRC32:720c8431
+packet|codec_type=audio|stream_index=0|pts=960|pts_time=0.120000|dts=960|dts_time=0.120000|duration=320|duration_time=0.040000|size=7|pos=21|flags=K__|data_hash=CRC32:5e0cab28
+packet|codec_type=audio|stream_index=0|pts=1280|pts_time=0.160000|dts=1280|dts_time=0.160000|duration=320|duration_time=0.040000|size=7|pos=28|flags=K__|data_hash=CRC32:431d4805
+packet|codec_type=audio|stream_index=0|pts=1600|pts_time=0.200000|dts=1600|dts_time=0.200000|duration=320|duration_time=0.040000|size=7|pos=35|flags=K__|data_hash=CRC32:e506c285
+packet|codec_type=audio|stream_index=0|pts=1920|pts_time=0.240000|dts=1920|dts_time=0.240000|duration=320|duration_time=0.040000|size=7|pos=42|flags=K__|data_hash=CRC32:b0ca6019
+packet|codec_type=audio|stream_index=0|pts=2240|pts_time=0.280000|dts=2240|dts_time=0.280000|duration=320|duration_time=0.040000|size=7|pos=49|flags=K__|data_hash=CRC32:25ef5865
+packet|codec_type=audio|stream_index=0|pts=2560|pts_time=0.320000|dts=2560|dts_time=0.320000|duration=320|duration_time=0.040000|size=7|pos=56|flags=K__|data_hash=CRC32:230d8966
+packet|codec_type=audio|stream_index=0|pts=2880|pts_time=0.360000|dts=2880|dts_time=0.360000|duration=320|duration_time=0.040000|size=7|pos=63|flags=K__|data_hash=CRC32:f552d25c
+packet|codec_type=audio|stream_index=0|pts=3200|pts_time=0.400000|dts=3200|dts_time=0.400000|duration=320|duration_time=0.040000|size=7|pos=70|flags=K__|data_hash=CRC32:9a0c149d
+packet|codec_type=audio|stream_index=0|pts=3520|pts_time=0.440000|dts=3520|dts_time=0.440000|duration=320|duration_time=0.040000|size=7|pos=77|flags=K__|data_hash=CRC32:c0332732
+packet|codec_type=audio|stream_index=0|pts=3840|pts_time=0.480000|dts=3840|dts_time=0.480000|duration=320|duration_time=0.040000|size=7|pos=84|flags=K__|data_hash=CRC32:7500143a
+packet|codec_type=audio|stream_index=0|pts=4160|pts_time=0.520000|dts=4160|dts_time=0.520000|duration=320|duration_time=0.040000|size=7|pos=91|flags=K__|data_hash=CRC32:18995637
+packet|codec_type=audio|stream_index=0|pts=4480|pts_time=0.560000|dts=4480|dts_time=0.560000|duration=320|duration_time=0.040000|size=7|pos=98|flags=K__|data_hash=CRC32:6dbc7758
+packet|codec_type=audio|stream_index=0|pts=4800|pts_time=0.600000|dts=4800|dts_time=0.600000|duration=320|duration_time=0.040000|size=7|pos=105|flags=K__|data_hash=CRC32:660dc59a
+packet|codec_type=audio|stream_index=0|pts=5120|pts_time=0.640000|dts=5120|dts_time=0.640000|duration=320|duration_time=0.040000|size=7|pos=112|flags=K__|data_hash=CRC32:c017b895
+packet|codec_type=audio|stream_index=0|pts=5440|pts_time=0.680000|dts=5440|dts_time=0.680000|duration=320|duration_time=0.040000|size=7|pos=119|flags=K__|data_hash=CRC32:0caa37a8
+packet|codec_type=audio|stream_index=0|pts=5760|pts_time=0.720000|dts=5760|dts_time=0.720000|duration=320|duration_time=0.040000|size=7|pos=126|flags=K__|data_hash=CRC32:4b119869
+packet|codec_type=audio|stream_index=0|pts=6080|pts_time=0.760000|dts=6080|dts_time=0.760000|duration=320|duration_time=0.040000|size=7|pos=133|flags=K__|data_hash=CRC32:ab9a64ff
+packet|codec_type=audio|stream_index=0|pts=6400|pts_time=0.800000|dts=6400|dts_time=0.800000|duration=320|duration_time=0.040000|size=7|pos=140|flags=K__|data_hash=CRC32:0f810c26
+packet|codec_type=audio|stream_index=0|pts=6720|pts_time=0.840000|dts=6720|dts_time=0.840000|duration=320|duration_time=0.040000|size=7|pos=147|flags=K__|data_hash=CRC32:d70a38ae
+packet|codec_type=audio|stream_index=0|pts=7040|pts_time=0.880000|dts=7040|dts_time=0.880000|duration=320|duration_time=0.040000|size=7|pos=154|flags=K__|data_hash=CRC32:7bf8e78c
+packet|codec_type=audio|stream_index=0|pts=7360|pts_time=0.920000|dts=7360|dts_time=0.920000|duration=320|duration_time=0.040000|size=7|pos=161|flags=K__|data_hash=CRC32:427523e8
+packet|codec_type=audio|stream_index=0|pts=7680|pts_time=0.960000|dts=7680|dts_time=0.960000|duration=320|duration_time=0.040000|size=7|pos=168|flags=K__|data_hash=CRC32:e2252aac
+packet|codec_type=audio|stream_index=0|pts=8000|pts_time=1.000000|dts=8000|dts_time=1.000000|duration=320|duration_time=0.040000|size=7|pos=175|flags=K__|data_hash=CRC32:3e1a854a
+packet|codec_type=audio|stream_index=0|pts=8320|pts_time=1.040000|dts=8320|dts_time=1.040000|duration=320|duration_time=0.040000|size=7|pos=182|flags=K__|data_hash=CRC32:4713a92d
+packet|codec_type=audio|stream_index=0|pts=8640|pts_time=1.080000|dts=8640|dts_time=1.080000|duration=320|duration_time=0.040000|size=7|pos=189|flags=K__|data_hash=CRC32:960e5b90
+packet|codec_type=audio|stream_index=0|pts=8960|pts_time=1.120000|dts=8960|dts_time=1.120000|duration=320|duration_time=0.040000|size=7|pos=196|flags=K__|data_hash=CRC32:2e9e2162
+packet|codec_type=audio|stream_index=0|pts=9280|pts_time=1.160000|dts=9280|dts_time=1.160000|duration=320|duration_time=0.040000|size=7|pos=203|flags=K__|data_hash=CRC32:ad34d068
+packet|codec_type=audio|stream_index=0|pts=9600|pts_time=1.200000|dts=9600|dts_time=1.200000|duration=320|duration_time=0.040000|size=7|pos=210|flags=K__|data_hash=CRC32:1856a76b
+packet|codec_type=audio|stream_index=0|pts=9920|pts_time=1.240000|dts=9920|dts_time=1.240000|duration=320|duration_time=0.040000|size=7|pos=217|flags=K__|data_hash=CRC32:0485b25e
+packet|codec_type=audio|stream_index=0|pts=10240|pts_time=1.280000|dts=10240|dts_time=1.280000|duration=320|duration_time=0.040000|size=7|pos=224|flags=K__|data_hash=CRC32:64af8bd3
+packet|codec_type=audio|stream_index=0|pts=10560|pts_time=1.320000|dts=10560|dts_time=1.320000|duration=320|duration_time=0.040000|size=7|pos=231|flags=K__|data_hash=CRC32:96ac0e38
+packet|codec_type=audio|stream_index=0|pts=10880|pts_time=1.360000|dts=10880|dts_time=1.360000|duration=320|duration_time=0.040000|size=7|pos=238|flags=K__|data_hash=CRC32:7bbfa18d
+packet|codec_type=audio|stream_index=0|pts=11200|pts_time=1.400000|dts=11200|dts_time=1.400000|duration=320|duration_time=0.040000|size=7|pos=245|flags=K__|data_hash=CRC32:4f86117c
+packet|codec_type=audio|stream_index=0|pts=11520|pts_time=1.440000|dts=11520|dts_time=1.440000|duration=320|duration_time=0.040000|size=7|pos=252|flags=K__|data_hash=CRC32:2fd11b3b
+packet|codec_type=audio|stream_index=0|pts=11840|pts_time=1.480000|dts=11840|dts_time=1.480000|duration=320|duration_time=0.040000|size=7|pos=259|flags=K__|data_hash=CRC32:9a76d5be
+packet|codec_type=audio|stream_index=0|pts=12160|pts_time=1.520000|dts=12160|dts_time=1.520000|duration=320|duration_time=0.040000|size=7|pos=266|flags=K__|data_hash=CRC32:dd58ca6e
+packet|codec_type=audio|stream_index=0|pts=12480|pts_time=1.560000|dts=12480|dts_time=1.560000|duration=320|duration_time=0.040000|size=7|pos=273|flags=K__|data_hash=CRC32:57722d71
+packet|codec_type=audio|stream_index=0|pts=12800|pts_time=1.600000|dts=12800|dts_time=1.600000|duration=320|duration_time=0.040000|size=7|pos=280|flags=K__|data_hash=CRC32:256b90be
+packet|codec_type=audio|stream_index=0|pts=13120|pts_time=1.640000|dts=13120|dts_time=1.640000|duration=320|duration_time=0.040000|size=7|pos=287|flags=K__|data_hash=CRC32:c80df4af
+packet|codec_type=audio|stream_index=0|pts=13440|pts_time=1.680000|dts=13440|dts_time=1.680000|duration=320|duration_time=0.040000|size=7|pos=294|flags=K__|data_hash=CRC32:63d22090
+packet|codec_type=audio|stream_index=0|pts=13760|pts_time=1.720000|dts=13760|dts_time=1.720000|duration=320|duration_time=0.040000|size=7|pos=301|flags=K__|data_hash=CRC32:59355513
+packet|codec_type=audio|stream_index=0|pts=14080|pts_time=1.760000|dts=14080|dts_time=1.760000|duration=320|duration_time=0.040000|size=7|pos=308|flags=K__|data_hash=CRC32:4fa2449b
+packet|codec_type=audio|stream_index=0|pts=14400|pts_time=1.800000|dts=14400|dts_time=1.800000|duration=320|duration_time=0.040000|size=7|pos=315|flags=K__|data_hash=CRC32:19b717bf
+packet|codec_type=audio|stream_index=0|pts=14720|pts_time=1.840000|dts=14720|dts_time=1.840000|duration=320|duration_time=0.040000|size=7|pos=322|flags=K__|data_hash=CRC32:9e9b2064
+packet|codec_type=audio|stream_index=0|pts=15040|pts_time=1.880000|dts=15040|dts_time=1.880000|duration=320|duration_time=0.040000|size=7|pos=329|flags=K__|data_hash=CRC32:8ccf6e4c
+packet|codec_type=audio|stream_index=0|pts=15360|pts_time=1.920000|dts=15360|dts_time=1.920000|duration=320|duration_time=0.040000|size=7|pos=336|flags=K__|data_hash=CRC32:63e90a7a
+packet|codec_type=audio|stream_index=0|pts=15680|pts_time=1.960000|dts=15680|dts_time=1.960000|duration=320|duration_time=0.040000|size=7|pos=343|flags=K__|data_hash=CRC32:5ebaf71f
+packet|codec_type=audio|stream_index=0|pts=16000|pts_time=2.000000|dts=16000|dts_time=2.000000|duration=320|duration_time=0.040000|size=7|pos=350|flags=K__|data_hash=CRC32:664d87e3
+packet|codec_type=audio|stream_index=0|pts=16320|pts_time=2.040000|dts=16320|dts_time=2.040000|duration=320|duration_time=0.040000|size=7|pos=357|flags=K__|data_hash=CRC32:2ba4f36d
+packet|codec_type=audio|stream_index=0|pts=16640|pts_time=2.080000|dts=16640|dts_time=2.080000|duration=320|duration_time=0.040000|size=7|pos=364|flags=K__|data_hash=CRC32:905d3a66
+packet|codec_type=audio|stream_index=0|pts=16960|pts_time=2.120000|dts=16960|dts_time=2.120000|duration=320|duration_time=0.040000|size=7|pos=371|flags=K__|data_hash=CRC32:7531b467
+packet|codec_type=audio|stream_index=0|pts=17280|pts_time=2.160000|dts=17280|dts_time=2.160000|duration=320|duration_time=0.040000|size=7|pos=378|flags=K__|data_hash=CRC32:c6b57380
+packet|codec_type=audio|stream_index=0|pts=17600|pts_time=2.200000|dts=17600|dts_time=2.200000|duration=320|duration_time=0.040000|size=7|pos=385|flags=K__|data_hash=CRC32:04e359d8
+packet|codec_type=audio|stream_index=0|pts=17920|pts_time=2.240000|dts=17920|dts_time=2.240000|duration=320|duration_time=0.040000|size=7|pos=392|flags=K__|data_hash=CRC32:c13c3444
+packet|codec_type=audio|stream_index=0|pts=18240|pts_time=2.280000|dts=18240|dts_time=2.280000|duration=320|duration_time=0.040000|size=7|pos=399|flags=K__|data_hash=CRC32:40d7078a
+packet|codec_type=audio|stream_index=0|pts=18560|pts_time=2.320000|dts=18560|dts_time=2.320000|duration=320|duration_time=0.040000|size=7|pos=406|flags=K__|data_hash=CRC32:0462f263
+packet|codec_type=audio|stream_index=0|pts=18880|pts_time=2.360000|dts=18880|dts_time=2.360000|duration=320|duration_time=0.040000|size=7|pos=413|flags=K__|data_hash=CRC32:726503cc
+packet|codec_type=audio|stream_index=0|pts=19200|pts_time=2.400000|dts=19200|dts_time=2.400000|duration=320|duration_time=0.040000|size=7|pos=420|flags=K__|data_hash=CRC32:e2b95cd5
+packet|codec_type=audio|stream_index=0|pts=19520|pts_time=2.440000|dts=19520|dts_time=2.440000|duration=320|duration_time=0.040000|size=7|pos=427|flags=K__|data_hash=CRC32:f430dec4
+packet|codec_type=audio|stream_index=0|pts=19840|pts_time=2.480000|dts=19840|dts_time=2.480000|duration=320|duration_time=0.040000|size=7|pos=434|flags=K__|data_hash=CRC32:1f2cf671
+packet|codec_type=audio|stream_index=0|pts=20160|pts_time=2.520000|dts=20160|dts_time=2.520000|duration=320|duration_time=0.040000|size=7|pos=441|flags=K__|data_hash=CRC32:ca210722
+packet|codec_type=audio|stream_index=0|pts=20480|pts_time=2.560000|dts=20480|dts_time=2.560000|duration=320|duration_time=0.040000|size=7|pos=448|flags=K__|data_hash=CRC32:8148366b
+packet|codec_type=audio|stream_index=0|pts=20800|pts_time=2.600000|dts=20800|dts_time=2.600000|duration=320|duration_time=0.040000|size=7|pos=455|flags=K__|data_hash=CRC32:93d893d9
+packet|codec_type=audio|stream_index=0|pts=21120|pts_time=2.640000|dts=21120|dts_time=2.640000|duration=320|duration_time=0.040000|size=7|pos=462|flags=K__|data_hash=CRC32:46f43603
+packet|codec_type=audio|stream_index=0|pts=21440|pts_time=2.680000|dts=21440|dts_time=2.680000|duration=320|duration_time=0.040000|size=7|pos=469|flags=K__|data_hash=CRC32:3a8f189a
+packet|codec_type=audio|stream_index=0|pts=21760|pts_time=2.720000|dts=21760|dts_time=2.720000|duration=320|duration_time=0.040000|size=7|pos=476|flags=K__|data_hash=CRC32:d0997cfa
+packet|codec_type=audio|stream_index=0|pts=22080|pts_time=2.760000|dts=22080|dts_time=2.760000|duration=320|duration_time=0.040000|size=7|pos=483|flags=K__|data_hash=CRC32:16948018
+packet|codec_type=audio|stream_index=0|pts=22400|pts_time=2.800000|dts=22400|dts_time=2.800000|duration=320|duration_time=0.040000|size=7|pos=490|flags=K__|data_hash=CRC32:5765c933
+packet|codec_type=audio|stream_index=0|pts=22720|pts_time=2.840000|dts=22720|dts_time=2.840000|duration=320|duration_time=0.040000|size=7|pos=497|flags=K__|data_hash=CRC32:8b1fb92e
+packet|codec_type=audio|stream_index=0|pts=23040|pts_time=2.880000|dts=23040|dts_time=2.880000|duration=320|duration_time=0.040000|size=7|pos=504|flags=K__|data_hash=CRC32:46ec5af7
+packet|codec_type=audio|stream_index=0|pts=23360|pts_time=2.920000|dts=23360|dts_time=2.920000|duration=320|duration_time=0.040000|size=7|pos=511|flags=K__|data_hash=CRC32:b070915d
+packet|codec_type=audio|stream_index=0|pts=23680|pts_time=2.960000|dts=23680|dts_time=2.960000|duration=320|duration_time=0.040000|size=7|pos=518|flags=K__|data_hash=CRC32:482e7f51
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=24000|duration=3.000000|bit_rate=1400|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=75|extradata_size=4|extradata_hash=CRC32:fd947d7d|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-1300.c2|nb_streams=1|nb_programs=0|format_name=codec2raw|start_time=N/A|duration=3.000000|size=525|bit_rate=1400|probe_score=0
diff --git a/tests/ref/fate/codec2raw-probe-1400 b/tests/ref/fate/codec2raw-probe-1400
new file mode 100644
index 0000000000..abbc66e7ed
--- /dev/null
+++ b/tests/ref/fate/codec2raw-probe-1400
@@ -0,0 +1,77 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=320|duration_time=0.040000|size=7|pos=0|flags=K__|data_hash=CRC32:d9be5755
+packet|codec_type=audio|stream_index=0|pts=320|pts_time=0.040000|dts=320|dts_time=0.040000|duration=320|duration_time=0.040000|size=7|pos=7|flags=K__|data_hash=CRC32:472ceccd
+packet|codec_type=audio|stream_index=0|pts=640|pts_time=0.080000|dts=640|dts_time=0.080000|duration=320|duration_time=0.040000|size=7|pos=14|flags=K__|data_hash=CRC32:303b21b6
+packet|codec_type=audio|stream_index=0|pts=960|pts_time=0.120000|dts=960|dts_time=0.120000|duration=320|duration_time=0.040000|size=7|pos=21|flags=K__|data_hash=CRC32:dc2b4dd6
+packet|codec_type=audio|stream_index=0|pts=1280|pts_time=0.160000|dts=1280|dts_time=0.160000|duration=320|duration_time=0.040000|size=7|pos=28|flags=K__|data_hash=CRC32:e8888eb2
+packet|codec_type=audio|stream_index=0|pts=1600|pts_time=0.200000|dts=1600|dts_time=0.200000|duration=320|duration_time=0.040000|size=7|pos=35|flags=K__|data_hash=CRC32:fa3d0618
+packet|codec_type=audio|stream_index=0|pts=1920|pts_time=0.240000|dts=1920|dts_time=0.240000|duration=320|duration_time=0.040000|size=7|pos=42|flags=K__|data_hash=CRC32:68478d05
+packet|codec_type=audio|stream_index=0|pts=2240|pts_time=0.280000|dts=2240|dts_time=0.280000|duration=320|duration_time=0.040000|size=7|pos=49|flags=K__|data_hash=CRC32:5801bcd3
+packet|codec_type=audio|stream_index=0|pts=2560|pts_time=0.320000|dts=2560|dts_time=0.320000|duration=320|duration_time=0.040000|size=7|pos=56|flags=K__|data_hash=CRC32:35119a8e
+packet|codec_type=audio|stream_index=0|pts=2880|pts_time=0.360000|dts=2880|dts_time=0.360000|duration=320|duration_time=0.040000|size=7|pos=63|flags=K__|data_hash=CRC32:7b36b9fd
+packet|codec_type=audio|stream_index=0|pts=3200|pts_time=0.400000|dts=3200|dts_time=0.400000|duration=320|duration_time=0.040000|size=7|pos=70|flags=K__|data_hash=CRC32:efa8ba25
+packet|codec_type=audio|stream_index=0|pts=3520|pts_time=0.440000|dts=3520|dts_time=0.440000|duration=320|duration_time=0.040000|size=7|pos=77|flags=K__|data_hash=CRC32:775b298f
+packet|codec_type=audio|stream_index=0|pts=3840|pts_time=0.480000|dts=3840|dts_time=0.480000|duration=320|duration_time=0.040000|size=7|pos=84|flags=K__|data_hash=CRC32:04a24aad
+packet|codec_type=audio|stream_index=0|pts=4160|pts_time=0.520000|dts=4160|dts_time=0.520000|duration=320|duration_time=0.040000|size=7|pos=91|flags=K__|data_hash=CRC32:a258e371
+packet|codec_type=audio|stream_index=0|pts=4480|pts_time=0.560000|dts=4480|dts_time=0.560000|duration=320|duration_time=0.040000|size=7|pos=98|flags=K__|data_hash=CRC32:0f7e2ff3
+packet|codec_type=audio|stream_index=0|pts=4800|pts_time=0.600000|dts=4800|dts_time=0.600000|duration=320|duration_time=0.040000|size=7|pos=105|flags=K__|data_hash=CRC32:161ebe16
+packet|codec_type=audio|stream_index=0|pts=5120|pts_time=0.640000|dts=5120|dts_time=0.640000|duration=320|duration_time=0.040000|size=7|pos=112|flags=K__|data_hash=CRC32:5bd34080
+packet|codec_type=audio|stream_index=0|pts=5440|pts_time=0.680000|dts=5440|dts_time=0.680000|duration=320|duration_time=0.040000|size=7|pos=119|flags=K__|data_hash=CRC32:de117321
+packet|codec_type=audio|stream_index=0|pts=5760|pts_time=0.720000|dts=5760|dts_time=0.720000|duration=320|duration_time=0.040000|size=7|pos=126|flags=K__|data_hash=CRC32:159ecd57
+packet|codec_type=audio|stream_index=0|pts=6080|pts_time=0.760000|dts=6080|dts_time=0.760000|duration=320|duration_time=0.040000|size=7|pos=133|flags=K__|data_hash=CRC32:d82dcfe8
+packet|codec_type=audio|stream_index=0|pts=6400|pts_time=0.800000|dts=6400|dts_time=0.800000|duration=320|duration_time=0.040000|size=7|pos=140|flags=K__|data_hash=CRC32:76485e5a
+packet|codec_type=audio|stream_index=0|pts=6720|pts_time=0.840000|dts=6720|dts_time=0.840000|duration=320|duration_time=0.040000|size=7|pos=147|flags=K__|data_hash=CRC32:75c2dbdf
+packet|codec_type=audio|stream_index=0|pts=7040|pts_time=0.880000|dts=7040|dts_time=0.880000|duration=320|duration_time=0.040000|size=7|pos=154|flags=K__|data_hash=CRC32:a2d1ff3d
+packet|codec_type=audio|stream_index=0|pts=7360|pts_time=0.920000|dts=7360|dts_time=0.920000|duration=320|duration_time=0.040000|size=7|pos=161|flags=K__|data_hash=CRC32:098c210e
+packet|codec_type=audio|stream_index=0|pts=7680|pts_time=0.960000|dts=7680|dts_time=0.960000|duration=320|duration_time=0.040000|size=7|pos=168|flags=K__|data_hash=CRC32:4fcefaed
+packet|codec_type=audio|stream_index=0|pts=8000|pts_time=1.000000|dts=8000|dts_time=1.000000|duration=320|duration_time=0.040000|size=7|pos=175|flags=K__|data_hash=CRC32:f381c04b
+packet|codec_type=audio|stream_index=0|pts=8320|pts_time=1.040000|dts=8320|dts_time=1.040000|duration=320|duration_time=0.040000|size=7|pos=182|flags=K__|data_hash=CRC32:8fc0de5d
+packet|codec_type=audio|stream_index=0|pts=8640|pts_time=1.080000|dts=8640|dts_time=1.080000|duration=320|duration_time=0.040000|size=7|pos=189|flags=K__|data_hash=CRC32:aa70458b
+packet|codec_type=audio|stream_index=0|pts=8960|pts_time=1.120000|dts=8960|dts_time=1.120000|duration=320|duration_time=0.040000|size=7|pos=196|flags=K__|data_hash=CRC32:972ef8a3
+packet|codec_type=audio|stream_index=0|pts=9280|pts_time=1.160000|dts=9280|dts_time=1.160000|duration=320|duration_time=0.040000|size=7|pos=203|flags=K__|data_hash=CRC32:3810e83b
+packet|codec_type=audio|stream_index=0|pts=9600|pts_time=1.200000|dts=9600|dts_time=1.200000|duration=320|duration_time=0.040000|size=7|pos=210|flags=K__|data_hash=CRC32:5662fe6d
+packet|codec_type=audio|stream_index=0|pts=9920|pts_time=1.240000|dts=9920|dts_time=1.240000|duration=320|duration_time=0.040000|size=7|pos=217|flags=K__|data_hash=CRC32:c5f12521
+packet|codec_type=audio|stream_index=0|pts=10240|pts_time=1.280000|dts=10240|dts_time=1.280000|duration=320|duration_time=0.040000|size=7|pos=224|flags=K__|data_hash=CRC32:3e48352a
+packet|codec_type=audio|stream_index=0|pts=10560|pts_time=1.320000|dts=10560|dts_time=1.320000|duration=320|duration_time=0.040000|size=7|pos=231|flags=K__|data_hash=CRC32:98734d7d
+packet|codec_type=audio|stream_index=0|pts=10880|pts_time=1.360000|dts=10880|dts_time=1.360000|duration=320|duration_time=0.040000|size=7|pos=238|flags=K__|data_hash=CRC32:ac3c7179
+packet|codec_type=audio|stream_index=0|pts=11200|pts_time=1.400000|dts=11200|dts_time=1.400000|duration=320|duration_time=0.040000|size=7|pos=245|flags=K__|data_hash=CRC32:eec579b0
+packet|codec_type=audio|stream_index=0|pts=11520|pts_time=1.440000|dts=11520|dts_time=1.440000|duration=320|duration_time=0.040000|size=7|pos=252|flags=K__|data_hash=CRC32:d510fdfc
+packet|codec_type=audio|stream_index=0|pts=11840|pts_time=1.480000|dts=11840|dts_time=1.480000|duration=320|duration_time=0.040000|size=7|pos=259|flags=K__|data_hash=CRC32:eb508488
+packet|codec_type=audio|stream_index=0|pts=12160|pts_time=1.520000|dts=12160|dts_time=1.520000|duration=320|duration_time=0.040000|size=7|pos=266|flags=K__|data_hash=CRC32:22cd882f
+packet|codec_type=audio|stream_index=0|pts=12480|pts_time=1.560000|dts=12480|dts_time=1.560000|duration=320|duration_time=0.040000|size=7|pos=273|flags=K__|data_hash=CRC32:10224a43
+packet|codec_type=audio|stream_index=0|pts=12800|pts_time=1.600000|dts=12800|dts_time=1.600000|duration=320|duration_time=0.040000|size=7|pos=280|flags=K__|data_hash=CRC32:f76a89a1
+packet|codec_type=audio|stream_index=0|pts=13120|pts_time=1.640000|dts=13120|dts_time=1.640000|duration=320|duration_time=0.040000|size=7|pos=287|flags=K__|data_hash=CRC32:1f797d63
+packet|codec_type=audio|stream_index=0|pts=13440|pts_time=1.680000|dts=13440|dts_time=1.680000|duration=320|duration_time=0.040000|size=7|pos=294|flags=K__|data_hash=CRC32:7d4e0867
+packet|codec_type=audio|stream_index=0|pts=13760|pts_time=1.720000|dts=13760|dts_time=1.720000|duration=320|duration_time=0.040000|size=7|pos=301|flags=K__|data_hash=CRC32:b13935b9
+packet|codec_type=audio|stream_index=0|pts=14080|pts_time=1.760000|dts=14080|dts_time=1.760000|duration=320|duration_time=0.040000|size=7|pos=308|flags=K__|data_hash=CRC32:42c4514a
+packet|codec_type=audio|stream_index=0|pts=14400|pts_time=1.800000|dts=14400|dts_time=1.800000|duration=320|duration_time=0.040000|size=7|pos=315|flags=K__|data_hash=CRC32:b400b03c
+packet|codec_type=audio|stream_index=0|pts=14720|pts_time=1.840000|dts=14720|dts_time=1.840000|duration=320|duration_time=0.040000|size=7|pos=322|flags=K__|data_hash=CRC32:0ef28876
+packet|codec_type=audio|stream_index=0|pts=15040|pts_time=1.880000|dts=15040|dts_time=1.880000|duration=320|duration_time=0.040000|size=7|pos=329|flags=K__|data_hash=CRC32:d352c764
+packet|codec_type=audio|stream_index=0|pts=15360|pts_time=1.920000|dts=15360|dts_time=1.920000|duration=320|duration_time=0.040000|size=7|pos=336|flags=K__|data_hash=CRC32:04675798
+packet|codec_type=audio|stream_index=0|pts=15680|pts_time=1.960000|dts=15680|dts_time=1.960000|duration=320|duration_time=0.040000|size=7|pos=343|flags=K__|data_hash=CRC32:2fdcc251
+packet|codec_type=audio|stream_index=0|pts=16000|pts_time=2.000000|dts=16000|dts_time=2.000000|duration=320|duration_time=0.040000|size=7|pos=350|flags=K__|data_hash=CRC32:3cf23ace
+packet|codec_type=audio|stream_index=0|pts=16320|pts_time=2.040000|dts=16320|dts_time=2.040000|duration=320|duration_time=0.040000|size=7|pos=357|flags=K__|data_hash=CRC32:646ec910
+packet|codec_type=audio|stream_index=0|pts=16640|pts_time=2.080000|dts=16640|dts_time=2.080000|duration=320|duration_time=0.040000|size=7|pos=364|flags=K__|data_hash=CRC32:ab718053
+packet|codec_type=audio|stream_index=0|pts=16960|pts_time=2.120000|dts=16960|dts_time=2.120000|duration=320|duration_time=0.040000|size=7|pos=371|flags=K__|data_hash=CRC32:fb932a4a
+packet|codec_type=audio|stream_index=0|pts=17280|pts_time=2.160000|dts=17280|dts_time=2.160000|duration=320|duration_time=0.040000|size=7|pos=378|flags=K__|data_hash=CRC32:252f0a1d
+packet|codec_type=audio|stream_index=0|pts=17600|pts_time=2.200000|dts=17600|dts_time=2.200000|duration=320|duration_time=0.040000|size=7|pos=385|flags=K__|data_hash=CRC32:17f60429
+packet|codec_type=audio|stream_index=0|pts=17920|pts_time=2.240000|dts=17920|dts_time=2.240000|duration=320|duration_time=0.040000|size=7|pos=392|flags=K__|data_hash=CRC32:027bdb7c
+packet|codec_type=audio|stream_index=0|pts=18240|pts_time=2.280000|dts=18240|dts_time=2.280000|duration=320|duration_time=0.040000|size=7|pos=399|flags=K__|data_hash=CRC32:e1cc43e5
+packet|codec_type=audio|stream_index=0|pts=18560|pts_time=2.320000|dts=18560|dts_time=2.320000|duration=320|duration_time=0.040000|size=7|pos=406|flags=K__|data_hash=CRC32:fa19cae9
+packet|codec_type=audio|stream_index=0|pts=18880|pts_time=2.360000|dts=18880|dts_time=2.360000|duration=320|duration_time=0.040000|size=7|pos=413|flags=K__|data_hash=CRC32:956865aa
+packet|codec_type=audio|stream_index=0|pts=19200|pts_time=2.400000|dts=19200|dts_time=2.400000|duration=320|duration_time=0.040000|size=7|pos=420|flags=K__|data_hash=CRC32:72700499
+packet|codec_type=audio|stream_index=0|pts=19520|pts_time=2.440000|dts=19520|dts_time=2.440000|duration=320|duration_time=0.040000|size=7|pos=427|flags=K__|data_hash=CRC32:f1a705a6
+packet|codec_type=audio|stream_index=0|pts=19840|pts_time=2.480000|dts=19840|dts_time=2.480000|duration=320|duration_time=0.040000|size=7|pos=434|flags=K__|data_hash=CRC32:5afc0537
+packet|codec_type=audio|stream_index=0|pts=20160|pts_time=2.520000|dts=20160|dts_time=2.520000|duration=320|duration_time=0.040000|size=7|pos=441|flags=K__|data_hash=CRC32:339a433c
+packet|codec_type=audio|stream_index=0|pts=20480|pts_time=2.560000|dts=20480|dts_time=2.560000|duration=320|duration_time=0.040000|size=7|pos=448|flags=K__|data_hash=CRC32:24d56b77
+packet|codec_type=audio|stream_index=0|pts=20800|pts_time=2.600000|dts=20800|dts_time=2.600000|duration=320|duration_time=0.040000|size=7|pos=455|flags=K__|data_hash=CRC32:5179f52b
+packet|codec_type=audio|stream_index=0|pts=21120|pts_time=2.640000|dts=21120|dts_time=2.640000|duration=320|duration_time=0.040000|size=7|pos=462|flags=K__|data_hash=CRC32:16950147
+packet|codec_type=audio|stream_index=0|pts=21440|pts_time=2.680000|dts=21440|dts_time=2.680000|duration=320|duration_time=0.040000|size=7|pos=469|flags=K__|data_hash=CRC32:3986102f
+packet|codec_type=audio|stream_index=0|pts=21760|pts_time=2.720000|dts=21760|dts_time=2.720000|duration=320|duration_time=0.040000|size=7|pos=476|flags=K__|data_hash=CRC32:c7936962
+packet|codec_type=audio|stream_index=0|pts=22080|pts_time=2.760000|dts=22080|dts_time=2.760000|duration=320|duration_time=0.040000|size=7|pos=483|flags=K__|data_hash=CRC32:c75c6477
+packet|codec_type=audio|stream_index=0|pts=22400|pts_time=2.800000|dts=22400|dts_time=2.800000|duration=320|duration_time=0.040000|size=7|pos=490|flags=K__|data_hash=CRC32:1f2173e9
+packet|codec_type=audio|stream_index=0|pts=22720|pts_time=2.840000|dts=22720|dts_time=2.840000|duration=320|duration_time=0.040000|size=7|pos=497|flags=K__|data_hash=CRC32:60be28ad
+packet|codec_type=audio|stream_index=0|pts=23040|pts_time=2.880000|dts=23040|dts_time=2.880000|duration=320|duration_time=0.040000|size=7|pos=504|flags=K__|data_hash=CRC32:f8b99b5c
+packet|codec_type=audio|stream_index=0|pts=23360|pts_time=2.920000|dts=23360|dts_time=2.920000|duration=320|duration_time=0.040000|size=7|pos=511|flags=K__|data_hash=CRC32:e0d00937
+packet|codec_type=audio|stream_index=0|pts=23680|pts_time=2.960000|dts=23680|dts_time=2.960000|duration=320|duration_time=0.040000|size=7|pos=518|flags=K__|data_hash=CRC32:a34e44ad
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=24000|duration=3.000000|bit_rate=1400|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=75|extradata_size=4|extradata_hash=CRC32:b2d5ebba|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-1400.c2|nb_streams=1|nb_programs=0|format_name=codec2raw|start_time=N/A|duration=3.000000|size=525|bit_rate=1400|probe_score=0
diff --git a/tests/ref/fate/codec2raw-probe-1600 b/tests/ref/fate/codec2raw-probe-1600
new file mode 100644
index 0000000000..61d4c278ad
--- /dev/null
+++ b/tests/ref/fate/codec2raw-probe-1600
@@ -0,0 +1,77 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=320|duration_time=0.040000|size=8|pos=0|flags=K__|data_hash=CRC32:5ee6636d
+packet|codec_type=audio|stream_index=0|pts=320|pts_time=0.040000|dts=320|dts_time=0.040000|duration=320|duration_time=0.040000|size=8|pos=8|flags=K__|data_hash=CRC32:be3e8ff8
+packet|codec_type=audio|stream_index=0|pts=640|pts_time=0.080000|dts=640|dts_time=0.080000|duration=320|duration_time=0.040000|size=8|pos=16|flags=K__|data_hash=CRC32:026dbc9a
+packet|codec_type=audio|stream_index=0|pts=960|pts_time=0.120000|dts=960|dts_time=0.120000|duration=320|duration_time=0.040000|size=8|pos=24|flags=K__|data_hash=CRC32:975599a2
+packet|codec_type=audio|stream_index=0|pts=1280|pts_time=0.160000|dts=1280|dts_time=0.160000|duration=320|duration_time=0.040000|size=8|pos=32|flags=K__|data_hash=CRC32:c55f65e7
+packet|codec_type=audio|stream_index=0|pts=1600|pts_time=0.200000|dts=1600|dts_time=0.200000|duration=320|duration_time=0.040000|size=8|pos=40|flags=K__|data_hash=CRC32:3731f5b3
+packet|codec_type=audio|stream_index=0|pts=1920|pts_time=0.240000|dts=1920|dts_time=0.240000|duration=320|duration_time=0.040000|size=8|pos=48|flags=K__|data_hash=CRC32:ac397199
+packet|codec_type=audio|stream_index=0|pts=2240|pts_time=0.280000|dts=2240|dts_time=0.280000|duration=320|duration_time=0.040000|size=8|pos=56|flags=K__|data_hash=CRC32:f4291bb5
+packet|codec_type=audio|stream_index=0|pts=2560|pts_time=0.320000|dts=2560|dts_time=0.320000|duration=320|duration_time=0.040000|size=8|pos=64|flags=K__|data_hash=CRC32:91d5ea5c
+packet|codec_type=audio|stream_index=0|pts=2880|pts_time=0.360000|dts=2880|dts_time=0.360000|duration=320|duration_time=0.040000|size=8|pos=72|flags=K__|data_hash=CRC32:a33f36db
+packet|codec_type=audio|stream_index=0|pts=3200|pts_time=0.400000|dts=3200|dts_time=0.400000|duration=320|duration_time=0.040000|size=8|pos=80|flags=K__|data_hash=CRC32:022e9118
+packet|codec_type=audio|stream_index=0|pts=3520|pts_time=0.440000|dts=3520|dts_time=0.440000|duration=320|duration_time=0.040000|size=8|pos=88|flags=K__|data_hash=CRC32:89470375
+packet|codec_type=audio|stream_index=0|pts=3840|pts_time=0.480000|dts=3840|dts_time=0.480000|duration=320|duration_time=0.040000|size=8|pos=96|flags=K__|data_hash=CRC32:9e9ce12c
+packet|codec_type=audio|stream_index=0|pts=4160|pts_time=0.520000|dts=4160|dts_time=0.520000|duration=320|duration_time=0.040000|size=8|pos=104|flags=K__|data_hash=CRC32:81049310
+packet|codec_type=audio|stream_index=0|pts=4480|pts_time=0.560000|dts=4480|dts_time=0.560000|duration=320|duration_time=0.040000|size=8|pos=112|flags=K__|data_hash=CRC32:f20d84a8
+packet|codec_type=audio|stream_index=0|pts=4800|pts_time=0.600000|dts=4800|dts_time=0.600000|duration=320|duration_time=0.040000|size=8|pos=120|flags=K__|data_hash=CRC32:b714b7e0
+packet|codec_type=audio|stream_index=0|pts=5120|pts_time=0.640000|dts=5120|dts_time=0.640000|duration=320|duration_time=0.040000|size=8|pos=128|flags=K__|data_hash=CRC32:22c2cdb8
+packet|codec_type=audio|stream_index=0|pts=5440|pts_time=0.680000|dts=5440|dts_time=0.680000|duration=320|duration_time=0.040000|size=8|pos=136|flags=K__|data_hash=CRC32:a2a3f33f
+packet|codec_type=audio|stream_index=0|pts=5760|pts_time=0.720000|dts=5760|dts_time=0.720000|duration=320|duration_time=0.040000|size=8|pos=144|flags=K__|data_hash=CRC32:e36b4816
+packet|codec_type=audio|stream_index=0|pts=6080|pts_time=0.760000|dts=6080|dts_time=0.760000|duration=320|duration_time=0.040000|size=8|pos=152|flags=K__|data_hash=CRC32:53903508
+packet|codec_type=audio|stream_index=0|pts=6400|pts_time=0.800000|dts=6400|dts_time=0.800000|duration=320|duration_time=0.040000|size=8|pos=160|flags=K__|data_hash=CRC32:a739c921
+packet|codec_type=audio|stream_index=0|pts=6720|pts_time=0.840000|dts=6720|dts_time=0.840000|duration=320|duration_time=0.040000|size=8|pos=168|flags=K__|data_hash=CRC32:c1cefb41
+packet|codec_type=audio|stream_index=0|pts=7040|pts_time=0.880000|dts=7040|dts_time=0.880000|duration=320|duration_time=0.040000|size=8|pos=176|flags=K__|data_hash=CRC32:544839bd
+packet|codec_type=audio|stream_index=0|pts=7360|pts_time=0.920000|dts=7360|dts_time=0.920000|duration=320|duration_time=0.040000|size=8|pos=184|flags=K__|data_hash=CRC32:9d72b84b
+packet|codec_type=audio|stream_index=0|pts=7680|pts_time=0.960000|dts=7680|dts_time=0.960000|duration=320|duration_time=0.040000|size=8|pos=192|flags=K__|data_hash=CRC32:e92e686b
+packet|codec_type=audio|stream_index=0|pts=8000|pts_time=1.000000|dts=8000|dts_time=1.000000|duration=320|duration_time=0.040000|size=8|pos=200|flags=K__|data_hash=CRC32:e8690e8e
+packet|codec_type=audio|stream_index=0|pts=8320|pts_time=1.040000|dts=8320|dts_time=1.040000|duration=320|duration_time=0.040000|size=8|pos=208|flags=K__|data_hash=CRC32:46906378
+packet|codec_type=audio|stream_index=0|pts=8640|pts_time=1.080000|dts=8640|dts_time=1.080000|duration=320|duration_time=0.040000|size=8|pos=216|flags=K__|data_hash=CRC32:20e26bd0
+packet|codec_type=audio|stream_index=0|pts=8960|pts_time=1.120000|dts=8960|dts_time=1.120000|duration=320|duration_time=0.040000|size=8|pos=224|flags=K__|data_hash=CRC32:a22670f2
+packet|codec_type=audio|stream_index=0|pts=9280|pts_time=1.160000|dts=9280|dts_time=1.160000|duration=320|duration_time=0.040000|size=8|pos=232|flags=K__|data_hash=CRC32:e017fbe1
+packet|codec_type=audio|stream_index=0|pts=9600|pts_time=1.200000|dts=9600|dts_time=1.200000|duration=320|duration_time=0.040000|size=8|pos=240|flags=K__|data_hash=CRC32:9a569bd0
+packet|codec_type=audio|stream_index=0|pts=9920|pts_time=1.240000|dts=9920|dts_time=1.240000|duration=320|duration_time=0.040000|size=8|pos=248|flags=K__|data_hash=CRC32:dc5e9ca1
+packet|codec_type=audio|stream_index=0|pts=10240|pts_time=1.280000|dts=10240|dts_time=1.280000|duration=320|duration_time=0.040000|size=8|pos=256|flags=K__|data_hash=CRC32:7e54c415
+packet|codec_type=audio|stream_index=0|pts=10560|pts_time=1.320000|dts=10560|dts_time=1.320000|duration=320|duration_time=0.040000|size=8|pos=264|flags=K__|data_hash=CRC32:ceff8d83
+packet|codec_type=audio|stream_index=0|pts=10880|pts_time=1.360000|dts=10880|dts_time=1.360000|duration=320|duration_time=0.040000|size=8|pos=272|flags=K__|data_hash=CRC32:93b9733c
+packet|codec_type=audio|stream_index=0|pts=11200|pts_time=1.400000|dts=11200|dts_time=1.400000|duration=320|duration_time=0.040000|size=8|pos=280|flags=K__|data_hash=CRC32:f325edd1
+packet|codec_type=audio|stream_index=0|pts=11520|pts_time=1.440000|dts=11520|dts_time=1.440000|duration=320|duration_time=0.040000|size=8|pos=288|flags=K__|data_hash=CRC32:064fa392
+packet|codec_type=audio|stream_index=0|pts=11840|pts_time=1.480000|dts=11840|dts_time=1.480000|duration=320|duration_time=0.040000|size=8|pos=296|flags=K__|data_hash=CRC32:489addc0
+packet|codec_type=audio|stream_index=0|pts=12160|pts_time=1.520000|dts=12160|dts_time=1.520000|duration=320|duration_time=0.040000|size=8|pos=304|flags=K__|data_hash=CRC32:62984863
+packet|codec_type=audio|stream_index=0|pts=12480|pts_time=1.560000|dts=12480|dts_time=1.560000|duration=320|duration_time=0.040000|size=8|pos=312|flags=K__|data_hash=CRC32:e6df3399
+packet|codec_type=audio|stream_index=0|pts=12800|pts_time=1.600000|dts=12800|dts_time=1.600000|duration=320|duration_time=0.040000|size=8|pos=320|flags=K__|data_hash=CRC32:884f30c5
+packet|codec_type=audio|stream_index=0|pts=13120|pts_time=1.640000|dts=13120|dts_time=1.640000|duration=320|duration_time=0.040000|size=8|pos=328|flags=K__|data_hash=CRC32:57ce7bce
+packet|codec_type=audio|stream_index=0|pts=13440|pts_time=1.680000|dts=13440|dts_time=1.680000|duration=320|duration_time=0.040000|size=8|pos=336|flags=K__|data_hash=CRC32:3f74ffe1
+packet|codec_type=audio|stream_index=0|pts=13760|pts_time=1.720000|dts=13760|dts_time=1.720000|duration=320|duration_time=0.040000|size=8|pos=344|flags=K__|data_hash=CRC32:421d5b56
+packet|codec_type=audio|stream_index=0|pts=14080|pts_time=1.760000|dts=14080|dts_time=1.760000|duration=320|duration_time=0.040000|size=8|pos=352|flags=K__|data_hash=CRC32:fa43a557
+packet|codec_type=audio|stream_index=0|pts=14400|pts_time=1.800000|dts=14400|dts_time=1.800000|duration=320|duration_time=0.040000|size=8|pos=360|flags=K__|data_hash=CRC32:a31e5662
+packet|codec_type=audio|stream_index=0|pts=14720|pts_time=1.840000|dts=14720|dts_time=1.840000|duration=320|duration_time=0.040000|size=8|pos=368|flags=K__|data_hash=CRC32:1d6c2d82
+packet|codec_type=audio|stream_index=0|pts=15040|pts_time=1.880000|dts=15040|dts_time=1.880000|duration=320|duration_time=0.040000|size=8|pos=376|flags=K__|data_hash=CRC32:d41c7355
+packet|codec_type=audio|stream_index=0|pts=15360|pts_time=1.920000|dts=15360|dts_time=1.920000|duration=320|duration_time=0.040000|size=8|pos=384|flags=K__|data_hash=CRC32:fd509a9f
+packet|codec_type=audio|stream_index=0|pts=15680|pts_time=1.960000|dts=15680|dts_time=1.960000|duration=320|duration_time=0.040000|size=8|pos=392|flags=K__|data_hash=CRC32:c4949fb0
+packet|codec_type=audio|stream_index=0|pts=16000|pts_time=2.000000|dts=16000|dts_time=2.000000|duration=320|duration_time=0.040000|size=8|pos=400|flags=K__|data_hash=CRC32:ea85ae46
+packet|codec_type=audio|stream_index=0|pts=16320|pts_time=2.040000|dts=16320|dts_time=2.040000|duration=320|duration_time=0.040000|size=8|pos=408|flags=K__|data_hash=CRC32:92011136
+packet|codec_type=audio|stream_index=0|pts=16640|pts_time=2.080000|dts=16640|dts_time=2.080000|duration=320|duration_time=0.040000|size=8|pos=416|flags=K__|data_hash=CRC32:1cecb7ed
+packet|codec_type=audio|stream_index=0|pts=16960|pts_time=2.120000|dts=16960|dts_time=2.120000|duration=320|duration_time=0.040000|size=8|pos=424|flags=K__|data_hash=CRC32:1965192e
+packet|codec_type=audio|stream_index=0|pts=17280|pts_time=2.160000|dts=17280|dts_time=2.160000|duration=320|duration_time=0.040000|size=8|pos=432|flags=K__|data_hash=CRC32:d9c6bd27
+packet|codec_type=audio|stream_index=0|pts=17600|pts_time=2.200000|dts=17600|dts_time=2.200000|duration=320|duration_time=0.040000|size=8|pos=440|flags=K__|data_hash=CRC32:919ca88a
+packet|codec_type=audio|stream_index=0|pts=17920|pts_time=2.240000|dts=17920|dts_time=2.240000|duration=320|duration_time=0.040000|size=8|pos=448|flags=K__|data_hash=CRC32:ca412c89
+packet|codec_type=audio|stream_index=0|pts=18240|pts_time=2.280000|dts=18240|dts_time=2.280000|duration=320|duration_time=0.040000|size=8|pos=456|flags=K__|data_hash=CRC32:eedd8de4
+packet|codec_type=audio|stream_index=0|pts=18560|pts_time=2.320000|dts=18560|dts_time=2.320000|duration=320|duration_time=0.040000|size=8|pos=464|flags=K__|data_hash=CRC32:3e2f328e
+packet|codec_type=audio|stream_index=0|pts=18880|pts_time=2.360000|dts=18880|dts_time=2.360000|duration=320|duration_time=0.040000|size=8|pos=472|flags=K__|data_hash=CRC32:fc6ab619
+packet|codec_type=audio|stream_index=0|pts=19200|pts_time=2.400000|dts=19200|dts_time=2.400000|duration=320|duration_time=0.040000|size=8|pos=480|flags=K__|data_hash=CRC32:2f181440
+packet|codec_type=audio|stream_index=0|pts=19520|pts_time=2.440000|dts=19520|dts_time=2.440000|duration=320|duration_time=0.040000|size=8|pos=488|flags=K__|data_hash=CRC32:b74ee980
+packet|codec_type=audio|stream_index=0|pts=19840|pts_time=2.480000|dts=19840|dts_time=2.480000|duration=320|duration_time=0.040000|size=8|pos=496|flags=K__|data_hash=CRC32:19093147
+packet|codec_type=audio|stream_index=0|pts=20160|pts_time=2.520000|dts=20160|dts_time=2.520000|duration=320|duration_time=0.040000|size=8|pos=504|flags=K__|data_hash=CRC32:0ce62839
+packet|codec_type=audio|stream_index=0|pts=20480|pts_time=2.560000|dts=20480|dts_time=2.560000|duration=320|duration_time=0.040000|size=8|pos=512|flags=K__|data_hash=CRC32:900b4646
+packet|codec_type=audio|stream_index=0|pts=20800|pts_time=2.600000|dts=20800|dts_time=2.600000|duration=320|duration_time=0.040000|size=8|pos=520|flags=K__|data_hash=CRC32:58fef2e8
+packet|codec_type=audio|stream_index=0|pts=21120|pts_time=2.640000|dts=21120|dts_time=2.640000|duration=320|duration_time=0.040000|size=8|pos=528|flags=K__|data_hash=CRC32:6a57260e
+packet|codec_type=audio|stream_index=0|pts=21440|pts_time=2.680000|dts=21440|dts_time=2.680000|duration=320|duration_time=0.040000|size=8|pos=536|flags=K__|data_hash=CRC32:cc96ecd8
+packet|codec_type=audio|stream_index=0|pts=21760|pts_time=2.720000|dts=21760|dts_time=2.720000|duration=320|duration_time=0.040000|size=8|pos=544|flags=K__|data_hash=CRC32:e1dda1d2
+packet|codec_type=audio|stream_index=0|pts=22080|pts_time=2.760000|dts=22080|dts_time=2.760000|duration=320|duration_time=0.040000|size=8|pos=552|flags=K__|data_hash=CRC32:0050e4b1
+packet|codec_type=audio|stream_index=0|pts=22400|pts_time=2.800000|dts=22400|dts_time=2.800000|duration=320|duration_time=0.040000|size=8|pos=560|flags=K__|data_hash=CRC32:160e5103
+packet|codec_type=audio|stream_index=0|pts=22720|pts_time=2.840000|dts=22720|dts_time=2.840000|duration=320|duration_time=0.040000|size=8|pos=568|flags=K__|data_hash=CRC32:08cf7f7c
+packet|codec_type=audio|stream_index=0|pts=23040|pts_time=2.880000|dts=23040|dts_time=2.880000|duration=320|duration_time=0.040000|size=8|pos=576|flags=K__|data_hash=CRC32:598eb897
+packet|codec_type=audio|stream_index=0|pts=23360|pts_time=2.920000|dts=23360|dts_time=2.920000|duration=320|duration_time=0.040000|size=8|pos=584|flags=K__|data_hash=CRC32:d9d702ff
+packet|codec_type=audio|stream_index=0|pts=23680|pts_time=2.960000|dts=23680|dts_time=2.960000|duration=320|duration_time=0.040000|size=8|pos=592|flags=K__|data_hash=CRC32:85f0fca4
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=24000|duration=3.000000|bit_rate=1600|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=75|extradata_size=4|extradata_hash=CRC32:abcedafb|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-1600.c2|nb_streams=1|nb_programs=0|format_name=codec2raw|start_time=N/A|duration=3.000000|size=600|bit_rate=1600|probe_score=0
diff --git a/tests/ref/fate/codec2raw-probe-2400 b/tests/ref/fate/codec2raw-probe-2400
new file mode 100644
index 0000000000..5c67f83a91
--- /dev/null
+++ b/tests/ref/fate/codec2raw-probe-2400
@@ -0,0 +1,152 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=160|duration_time=0.020000|size=6|pos=0|flags=K__|data_hash=CRC32:402e2751
+packet|codec_type=audio|stream_index=0|pts=160|pts_time=0.020000|dts=160|dts_time=0.020000|duration=160|duration_time=0.020000|size=6|pos=6|flags=K__|data_hash=CRC32:8be241bf
+packet|codec_type=audio|stream_index=0|pts=320|pts_time=0.040000|dts=320|dts_time=0.040000|duration=160|duration_time=0.020000|size=6|pos=12|flags=K__|data_hash=CRC32:affee1a4
+packet|codec_type=audio|stream_index=0|pts=480|pts_time=0.060000|dts=480|dts_time=0.060000|duration=160|duration_time=0.020000|size=6|pos=18|flags=K__|data_hash=CRC32:af3a2722
+packet|codec_type=audio|stream_index=0|pts=640|pts_time=0.080000|dts=640|dts_time=0.080000|duration=160|duration_time=0.020000|size=6|pos=24|flags=K__|data_hash=CRC32:ccde12cd
+packet|codec_type=audio|stream_index=0|pts=800|pts_time=0.100000|dts=800|dts_time=0.100000|duration=160|duration_time=0.020000|size=6|pos=30|flags=K__|data_hash=CRC32:53fa8852
+packet|codec_type=audio|stream_index=0|pts=960|pts_time=0.120000|dts=960|dts_time=0.120000|duration=160|duration_time=0.020000|size=6|pos=36|flags=K__|data_hash=CRC32:8a2715c3
+packet|codec_type=audio|stream_index=0|pts=1120|pts_time=0.140000|dts=1120|dts_time=0.140000|duration=160|duration_time=0.020000|size=6|pos=42|flags=K__|data_hash=CRC32:f5338fbe
+packet|codec_type=audio|stream_index=0|pts=1280|pts_time=0.160000|dts=1280|dts_time=0.160000|duration=160|duration_time=0.020000|size=6|pos=48|flags=K__|data_hash=CRC32:8c4f9b10
+packet|codec_type=audio|stream_index=0|pts=1440|pts_time=0.180000|dts=1440|dts_time=0.180000|duration=160|duration_time=0.020000|size=6|pos=54|flags=K__|data_hash=CRC32:d17ddf33
+packet|codec_type=audio|stream_index=0|pts=1600|pts_time=0.200000|dts=1600|dts_time=0.200000|duration=160|duration_time=0.020000|size=6|pos=60|flags=K__|data_hash=CRC32:1839685d
+packet|codec_type=audio|stream_index=0|pts=1760|pts_time=0.220000|dts=1760|dts_time=0.220000|duration=160|duration_time=0.020000|size=6|pos=66|flags=K__|data_hash=CRC32:fbd1489c
+packet|codec_type=audio|stream_index=0|pts=1920|pts_time=0.240000|dts=1920|dts_time=0.240000|duration=160|duration_time=0.020000|size=6|pos=72|flags=K__|data_hash=CRC32:55174066
+packet|codec_type=audio|stream_index=0|pts=2080|pts_time=0.260000|dts=2080|dts_time=0.260000|duration=160|duration_time=0.020000|size=6|pos=78|flags=K__|data_hash=CRC32:4931a27d
+packet|codec_type=audio|stream_index=0|pts=2240|pts_time=0.280000|dts=2240|dts_time=0.280000|duration=160|duration_time=0.020000|size=6|pos=84|flags=K__|data_hash=CRC32:87ef4f97
+packet|codec_type=audio|stream_index=0|pts=2400|pts_time=0.300000|dts=2400|dts_time=0.300000|duration=160|duration_time=0.020000|size=6|pos=90|flags=K__|data_hash=CRC32:2880b122
+packet|codec_type=audio|stream_index=0|pts=2560|pts_time=0.320000|dts=2560|dts_time=0.320000|duration=160|duration_time=0.020000|size=6|pos=96|flags=K__|data_hash=CRC32:b81f12ab
+packet|codec_type=audio|stream_index=0|pts=2720|pts_time=0.340000|dts=2720|dts_time=0.340000|duration=160|duration_time=0.020000|size=6|pos=102|flags=K__|data_hash=CRC32:88c6fbce
+packet|codec_type=audio|stream_index=0|pts=2880|pts_time=0.360000|dts=2880|dts_time=0.360000|duration=160|duration_time=0.020000|size=6|pos=108|flags=K__|data_hash=CRC32:18dd8acf
+packet|codec_type=audio|stream_index=0|pts=3040|pts_time=0.380000|dts=3040|dts_time=0.380000|duration=160|duration_time=0.020000|size=6|pos=114|flags=K__|data_hash=CRC32:1120be56
+packet|codec_type=audio|stream_index=0|pts=3200|pts_time=0.400000|dts=3200|dts_time=0.400000|duration=160|duration_time=0.020000|size=6|pos=120|flags=K__|data_hash=CRC32:a108d459
+packet|codec_type=audio|stream_index=0|pts=3360|pts_time=0.420000|dts=3360|dts_time=0.420000|duration=160|duration_time=0.020000|size=6|pos=126|flags=K__|data_hash=CRC32:faea488b
+packet|codec_type=audio|stream_index=0|pts=3520|pts_time=0.440000|dts=3520|dts_time=0.440000|duration=160|duration_time=0.020000|size=6|pos=132|flags=K__|data_hash=CRC32:ae3bda85
+packet|codec_type=audio|stream_index=0|pts=3680|pts_time=0.460000|dts=3680|dts_time=0.460000|duration=160|duration_time=0.020000|size=6|pos=138|flags=K__|data_hash=CRC32:27d2edc2
+packet|codec_type=audio|stream_index=0|pts=3840|pts_time=0.480000|dts=3840|dts_time=0.480000|duration=160|duration_time=0.020000|size=6|pos=144|flags=K__|data_hash=CRC32:03f15116
+packet|codec_type=audio|stream_index=0|pts=4000|pts_time=0.500000|dts=4000|dts_time=0.500000|duration=160|duration_time=0.020000|size=6|pos=150|flags=K__|data_hash=CRC32:98655fdb
+packet|codec_type=audio|stream_index=0|pts=4160|pts_time=0.520000|dts=4160|dts_time=0.520000|duration=160|duration_time=0.020000|size=6|pos=156|flags=K__|data_hash=CRC32:71b9a620
+packet|codec_type=audio|stream_index=0|pts=4320|pts_time=0.540000|dts=4320|dts_time=0.540000|duration=160|duration_time=0.020000|size=6|pos=162|flags=K__|data_hash=CRC32:6da8182b
+packet|codec_type=audio|stream_index=0|pts=4480|pts_time=0.560000|dts=4480|dts_time=0.560000|duration=160|duration_time=0.020000|size=6|pos=168|flags=K__|data_hash=CRC32:ccc47dcf
+packet|codec_type=audio|stream_index=0|pts=4640|pts_time=0.580000|dts=4640|dts_time=0.580000|duration=160|duration_time=0.020000|size=6|pos=174|flags=K__|data_hash=CRC32:40ce9cd8
+packet|codec_type=audio|stream_index=0|pts=4800|pts_time=0.600000|dts=4800|dts_time=0.600000|duration=160|duration_time=0.020000|size=6|pos=180|flags=K__|data_hash=CRC32:1935f03f
+packet|codec_type=audio|stream_index=0|pts=4960|pts_time=0.620000|dts=4960|dts_time=0.620000|duration=160|duration_time=0.020000|size=6|pos=186|flags=K__|data_hash=CRC32:3d858910
+packet|codec_type=audio|stream_index=0|pts=5120|pts_time=0.640000|dts=5120|dts_time=0.640000|duration=160|duration_time=0.020000|size=6|pos=192|flags=K__|data_hash=CRC32:fd5d8dcb
+packet|codec_type=audio|stream_index=0|pts=5280|pts_time=0.660000|dts=5280|dts_time=0.660000|duration=160|duration_time=0.020000|size=6|pos=198|flags=K__|data_hash=CRC32:e88808a0
+packet|codec_type=audio|stream_index=0|pts=5440|pts_time=0.680000|dts=5440|dts_time=0.680000|duration=160|duration_time=0.020000|size=6|pos=204|flags=K__|data_hash=CRC32:8dcaa27f
+packet|codec_type=audio|stream_index=0|pts=5600|pts_time=0.700000|dts=5600|dts_time=0.700000|duration=160|duration_time=0.020000|size=6|pos=210|flags=K__|data_hash=CRC32:ba604862
+packet|codec_type=audio|stream_index=0|pts=5760|pts_time=0.720000|dts=5760|dts_time=0.720000|duration=160|duration_time=0.020000|size=6|pos=216|flags=K__|data_hash=CRC32:f219dd08
+packet|codec_type=audio|stream_index=0|pts=5920|pts_time=0.740000|dts=5920|dts_time=0.740000|duration=160|duration_time=0.020000|size=6|pos=222|flags=K__|data_hash=CRC32:bddbe8c2
+packet|codec_type=audio|stream_index=0|pts=6080|pts_time=0.760000|dts=6080|dts_time=0.760000|duration=160|duration_time=0.020000|size=6|pos=228|flags=K__|data_hash=CRC32:77c2aa65
+packet|codec_type=audio|stream_index=0|pts=6240|pts_time=0.780000|dts=6240|dts_time=0.780000|duration=160|duration_time=0.020000|size=6|pos=234|flags=K__|data_hash=CRC32:4f2236ba
+packet|codec_type=audio|stream_index=0|pts=6400|pts_time=0.800000|dts=6400|dts_time=0.800000|duration=160|duration_time=0.020000|size=6|pos=240|flags=K__|data_hash=CRC32:19b740b5
+packet|codec_type=audio|stream_index=0|pts=6560|pts_time=0.820000|dts=6560|dts_time=0.820000|duration=160|duration_time=0.020000|size=6|pos=246|flags=K__|data_hash=CRC32:2d3d7b8b
+packet|codec_type=audio|stream_index=0|pts=6720|pts_time=0.840000|dts=6720|dts_time=0.840000|duration=160|duration_time=0.020000|size=6|pos=252|flags=K__|data_hash=CRC32:c8e01fca
+packet|codec_type=audio|stream_index=0|pts=6880|pts_time=0.860000|dts=6880|dts_time=0.860000|duration=160|duration_time=0.020000|size=6|pos=258|flags=K__|data_hash=CRC32:2d8e6d0c
+packet|codec_type=audio|stream_index=0|pts=7040|pts_time=0.880000|dts=7040|dts_time=0.880000|duration=160|duration_time=0.020000|size=6|pos=264|flags=K__|data_hash=CRC32:0fb7e084
+packet|codec_type=audio|stream_index=0|pts=7200|pts_time=0.900000|dts=7200|dts_time=0.900000|duration=160|duration_time=0.020000|size=6|pos=270|flags=K__|data_hash=CRC32:d55c3592
+packet|codec_type=audio|stream_index=0|pts=7360|pts_time=0.920000|dts=7360|dts_time=0.920000|duration=160|duration_time=0.020000|size=6|pos=276|flags=K__|data_hash=CRC32:bec93fa0
+packet|codec_type=audio|stream_index=0|pts=7520|pts_time=0.940000|dts=7520|dts_time=0.940000|duration=160|duration_time=0.020000|size=6|pos=282|flags=K__|data_hash=CRC32:eeb119cd
+packet|codec_type=audio|stream_index=0|pts=7680|pts_time=0.960000|dts=7680|dts_time=0.960000|duration=160|duration_time=0.020000|size=6|pos=288|flags=K__|data_hash=CRC32:8e91c0b0
+packet|codec_type=audio|stream_index=0|pts=7840|pts_time=0.980000|dts=7840|dts_time=0.980000|duration=160|duration_time=0.020000|size=6|pos=294|flags=K__|data_hash=CRC32:9f2b2447
+packet|codec_type=audio|stream_index=0|pts=8000|pts_time=1.000000|dts=8000|dts_time=1.000000|duration=160|duration_time=0.020000|size=6|pos=300|flags=K__|data_hash=CRC32:be48b6f6
+packet|codec_type=audio|stream_index=0|pts=8160|pts_time=1.020000|dts=8160|dts_time=1.020000|duration=160|duration_time=0.020000|size=6|pos=306|flags=K__|data_hash=CRC32:da6f4d59
+packet|codec_type=audio|stream_index=0|pts=8320|pts_time=1.040000|dts=8320|dts_time=1.040000|duration=160|duration_time=0.020000|size=6|pos=312|flags=K__|data_hash=CRC32:0b631241
+packet|codec_type=audio|stream_index=0|pts=8480|pts_time=1.060000|dts=8480|dts_time=1.060000|duration=160|duration_time=0.020000|size=6|pos=318|flags=K__|data_hash=CRC32:224860b9
+packet|codec_type=audio|stream_index=0|pts=8640|pts_time=1.080000|dts=8640|dts_time=1.080000|duration=160|duration_time=0.020000|size=6|pos=324|flags=K__|data_hash=CRC32:92165903
+packet|codec_type=audio|stream_index=0|pts=8800|pts_time=1.100000|dts=8800|dts_time=1.100000|duration=160|duration_time=0.020000|size=6|pos=330|flags=K__|data_hash=CRC32:de74d412
+packet|codec_type=audio|stream_index=0|pts=8960|pts_time=1.120000|dts=8960|dts_time=1.120000|duration=160|duration_time=0.020000|size=6|pos=336|flags=K__|data_hash=CRC32:eaf448b6
+packet|codec_type=audio|stream_index=0|pts=9120|pts_time=1.140000|dts=9120|dts_time=1.140000|duration=160|duration_time=0.020000|size=6|pos=342|flags=K__|data_hash=CRC32:65813b3f
+packet|codec_type=audio|stream_index=0|pts=9280|pts_time=1.160000|dts=9280|dts_time=1.160000|duration=160|duration_time=0.020000|size=6|pos=348|flags=K__|data_hash=CRC32:ea0b437c
+packet|codec_type=audio|stream_index=0|pts=9440|pts_time=1.180000|dts=9440|dts_time=1.180000|duration=160|duration_time=0.020000|size=6|pos=354|flags=K__|data_hash=CRC32:f1f24a3e
+packet|codec_type=audio|stream_index=0|pts=9600|pts_time=1.200000|dts=9600|dts_time=1.200000|duration=160|duration_time=0.020000|size=6|pos=360|flags=K__|data_hash=CRC32:fb104a8d
+packet|codec_type=audio|stream_index=0|pts=9760|pts_time=1.220000|dts=9760|dts_time=1.220000|duration=160|duration_time=0.020000|size=6|pos=366|flags=K__|data_hash=CRC32:baf7e25b
+packet|codec_type=audio|stream_index=0|pts=9920|pts_time=1.240000|dts=9920|dts_time=1.240000|duration=160|duration_time=0.020000|size=6|pos=372|flags=K__|data_hash=CRC32:e89acf40
+packet|codec_type=audio|stream_index=0|pts=10080|pts_time=1.260000|dts=10080|dts_time=1.260000|duration=160|duration_time=0.020000|size=6|pos=378|flags=K__|data_hash=CRC32:8d0a484c
+packet|codec_type=audio|stream_index=0|pts=10240|pts_time=1.280000|dts=10240|dts_time=1.280000|duration=160|duration_time=0.020000|size=6|pos=384|flags=K__|data_hash=CRC32:f4959014
+packet|codec_type=audio|stream_index=0|pts=10400|pts_time=1.300000|dts=10400|dts_time=1.300000|duration=160|duration_time=0.020000|size=6|pos=390|flags=K__|data_hash=CRC32:493e45dc
+packet|codec_type=audio|stream_index=0|pts=10560|pts_time=1.320000|dts=10560|dts_time=1.320000|duration=160|duration_time=0.020000|size=6|pos=396|flags=K__|data_hash=CRC32:8b3632d4
+packet|codec_type=audio|stream_index=0|pts=10720|pts_time=1.340000|dts=10720|dts_time=1.340000|duration=160|duration_time=0.020000|size=6|pos=402|flags=K__|data_hash=CRC32:b5b01e3c
+packet|codec_type=audio|stream_index=0|pts=10880|pts_time=1.360000|dts=10880|dts_time=1.360000|duration=160|duration_time=0.020000|size=6|pos=408|flags=K__|data_hash=CRC32:9df6603e
+packet|codec_type=audio|stream_index=0|pts=11040|pts_time=1.380000|dts=11040|dts_time=1.380000|duration=160|duration_time=0.020000|size=6|pos=414|flags=K__|data_hash=CRC32:d6b3c0b9
+packet|codec_type=audio|stream_index=0|pts=11200|pts_time=1.400000|dts=11200|dts_time=1.400000|duration=160|duration_time=0.020000|size=6|pos=420|flags=K__|data_hash=CRC32:70a5f8c6
+packet|codec_type=audio|stream_index=0|pts=11360|pts_time=1.420000|dts=11360|dts_time=1.420000|duration=160|duration_time=0.020000|size=6|pos=426|flags=K__|data_hash=CRC32:af88203d
+packet|codec_type=audio|stream_index=0|pts=11520|pts_time=1.440000|dts=11520|dts_time=1.440000|duration=160|duration_time=0.020000|size=6|pos=432|flags=K__|data_hash=CRC32:6c32cfdc
+packet|codec_type=audio|stream_index=0|pts=11680|pts_time=1.460000|dts=11680|dts_time=1.460000|duration=160|duration_time=0.020000|size=6|pos=438|flags=K__|data_hash=CRC32:9cf90956
+packet|codec_type=audio|stream_index=0|pts=11840|pts_time=1.480000|dts=11840|dts_time=1.480000|duration=160|duration_time=0.020000|size=6|pos=444|flags=K__|data_hash=CRC32:f5645f77
+packet|codec_type=audio|stream_index=0|pts=12000|pts_time=1.500000|dts=12000|dts_time=1.500000|duration=160|duration_time=0.020000|size=6|pos=450|flags=K__|data_hash=CRC32:f8fdf925
+packet|codec_type=audio|stream_index=0|pts=12160|pts_time=1.520000|dts=12160|dts_time=1.520000|duration=160|duration_time=0.020000|size=6|pos=456|flags=K__|data_hash=CRC32:ae74e340
+packet|codec_type=audio|stream_index=0|pts=12320|pts_time=1.540000|dts=12320|dts_time=1.540000|duration=160|duration_time=0.020000|size=6|pos=462|flags=K__|data_hash=CRC32:3c5a1592
+packet|codec_type=audio|stream_index=0|pts=12480|pts_time=1.560000|dts=12480|dts_time=1.560000|duration=160|duration_time=0.020000|size=6|pos=468|flags=K__|data_hash=CRC32:a75b0622
+packet|codec_type=audio|stream_index=0|pts=12640|pts_time=1.580000|dts=12640|dts_time=1.580000|duration=160|duration_time=0.020000|size=6|pos=474|flags=K__|data_hash=CRC32:2d9f7c6d
+packet|codec_type=audio|stream_index=0|pts=12800|pts_time=1.600000|dts=12800|dts_time=1.600000|duration=160|duration_time=0.020000|size=6|pos=480|flags=K__|data_hash=CRC32:320584d5
+packet|codec_type=audio|stream_index=0|pts=12960|pts_time=1.620000|dts=12960|dts_time=1.620000|duration=160|duration_time=0.020000|size=6|pos=486|flags=K__|data_hash=CRC32:4a739c01
+packet|codec_type=audio|stream_index=0|pts=13120|pts_time=1.640000|dts=13120|dts_time=1.640000|duration=160|duration_time=0.020000|size=6|pos=492|flags=K__|data_hash=CRC32:711dbcc9
+packet|codec_type=audio|stream_index=0|pts=13280|pts_time=1.660000|dts=13280|dts_time=1.660000|duration=160|duration_time=0.020000|size=6|pos=498|flags=K__|data_hash=CRC32:3ca47af5
+packet|codec_type=audio|stream_index=0|pts=13440|pts_time=1.680000|dts=13440|dts_time=1.680000|duration=160|duration_time=0.020000|size=6|pos=504|flags=K__|data_hash=CRC32:82de5ff5
+packet|codec_type=audio|stream_index=0|pts=13600|pts_time=1.700000|dts=13600|dts_time=1.700000|duration=160|duration_time=0.020000|size=6|pos=510|flags=K__|data_hash=CRC32:81e92684
+packet|codec_type=audio|stream_index=0|pts=13760|pts_time=1.720000|dts=13760|dts_time=1.720000|duration=160|duration_time=0.020000|size=6|pos=516|flags=K__|data_hash=CRC32:95e2cebb
+packet|codec_type=audio|stream_index=0|pts=13920|pts_time=1.740000|dts=13920|dts_time=1.740000|duration=160|duration_time=0.020000|size=6|pos=522|flags=K__|data_hash=CRC32:cbe74bb7
+packet|codec_type=audio|stream_index=0|pts=14080|pts_time=1.760000|dts=14080|dts_time=1.760000|duration=160|duration_time=0.020000|size=6|pos=528|flags=K__|data_hash=CRC32:b64ae6df
+packet|codec_type=audio|stream_index=0|pts=14240|pts_time=1.780000|dts=14240|dts_time=1.780000|duration=160|duration_time=0.020000|size=6|pos=534|flags=K__|data_hash=CRC32:63fc0221
+packet|codec_type=audio|stream_index=0|pts=14400|pts_time=1.800000|dts=14400|dts_time=1.800000|duration=160|duration_time=0.020000|size=6|pos=540|flags=K__|data_hash=CRC32:ec9e9576
+packet|codec_type=audio|stream_index=0|pts=14560|pts_time=1.820000|dts=14560|dts_time=1.820000|duration=160|duration_time=0.020000|size=6|pos=546|flags=K__|data_hash=CRC32:1e372cab
+packet|codec_type=audio|stream_index=0|pts=14720|pts_time=1.840000|dts=14720|dts_time=1.840000|duration=160|duration_time=0.020000|size=6|pos=552|flags=K__|data_hash=CRC32:7c4325b8
+packet|codec_type=audio|stream_index=0|pts=14880|pts_time=1.860000|dts=14880|dts_time=1.860000|duration=160|duration_time=0.020000|size=6|pos=558|flags=K__|data_hash=CRC32:300f6212
+packet|codec_type=audio|stream_index=0|pts=15040|pts_time=1.880000|dts=15040|dts_time=1.880000|duration=160|duration_time=0.020000|size=6|pos=564|flags=K__|data_hash=CRC32:58d56136
+packet|codec_type=audio|stream_index=0|pts=15200|pts_time=1.900000|dts=15200|dts_time=1.900000|duration=160|duration_time=0.020000|size=6|pos=570|flags=K__|data_hash=CRC32:be139dae
+packet|codec_type=audio|stream_index=0|pts=15360|pts_time=1.920000|dts=15360|dts_time=1.920000|duration=160|duration_time=0.020000|size=6|pos=576|flags=K__|data_hash=CRC32:c3193f37
+packet|codec_type=audio|stream_index=0|pts=15520|pts_time=1.940000|dts=15520|dts_time=1.940000|duration=160|duration_time=0.020000|size=6|pos=582|flags=K__|data_hash=CRC32:35a68936
+packet|codec_type=audio|stream_index=0|pts=15680|pts_time=1.960000|dts=15680|dts_time=1.960000|duration=160|duration_time=0.020000|size=6|pos=588|flags=K__|data_hash=CRC32:bbcf2d22
+packet|codec_type=audio|stream_index=0|pts=15840|pts_time=1.980000|dts=15840|dts_time=1.980000|duration=160|duration_time=0.020000|size=6|pos=594|flags=K__|data_hash=CRC32:05ffc3e6
+packet|codec_type=audio|stream_index=0|pts=16000|pts_time=2.000000|dts=16000|dts_time=2.000000|duration=160|duration_time=0.020000|size=6|pos=600|flags=K__|data_hash=CRC32:2eeb54dd
+packet|codec_type=audio|stream_index=0|pts=16160|pts_time=2.020000|dts=16160|dts_time=2.020000|duration=160|duration_time=0.020000|size=6|pos=606|flags=K__|data_hash=CRC32:aa82f7d9
+packet|codec_type=audio|stream_index=0|pts=16320|pts_time=2.040000|dts=16320|dts_time=2.040000|duration=160|duration_time=0.020000|size=6|pos=612|flags=K__|data_hash=CRC32:51a5a874
+packet|codec_type=audio|stream_index=0|pts=16480|pts_time=2.060000|dts=16480|dts_time=2.060000|duration=160|duration_time=0.020000|size=6|pos=618|flags=K__|data_hash=CRC32:f97d718b
+packet|codec_type=audio|stream_index=0|pts=16640|pts_time=2.080000|dts=16640|dts_time=2.080000|duration=160|duration_time=0.020000|size=6|pos=624|flags=K__|data_hash=CRC32:d0aded65
+packet|codec_type=audio|stream_index=0|pts=16800|pts_time=2.100000|dts=16800|dts_time=2.100000|duration=160|duration_time=0.020000|size=6|pos=630|flags=K__|data_hash=CRC32:cce5f343
+packet|codec_type=audio|stream_index=0|pts=16960|pts_time=2.120000|dts=16960|dts_time=2.120000|duration=160|duration_time=0.020000|size=6|pos=636|flags=K__|data_hash=CRC32:6dbbff59
+packet|codec_type=audio|stream_index=0|pts=17120|pts_time=2.140000|dts=17120|dts_time=2.140000|duration=160|duration_time=0.020000|size=6|pos=642|flags=K__|data_hash=CRC32:b89fea6b
+packet|codec_type=audio|stream_index=0|pts=17280|pts_time=2.160000|dts=17280|dts_time=2.160000|duration=160|duration_time=0.020000|size=6|pos=648|flags=K__|data_hash=CRC32:f53b6be6
+packet|codec_type=audio|stream_index=0|pts=17440|pts_time=2.180000|dts=17440|dts_time=2.180000|duration=160|duration_time=0.020000|size=6|pos=654|flags=K__|data_hash=CRC32:e62ac29e
+packet|codec_type=audio|stream_index=0|pts=17600|pts_time=2.200000|dts=17600|dts_time=2.200000|duration=160|duration_time=0.020000|size=6|pos=660|flags=K__|data_hash=CRC32:a58e3724
+packet|codec_type=audio|stream_index=0|pts=17760|pts_time=2.220000|dts=17760|dts_time=2.220000|duration=160|duration_time=0.020000|size=6|pos=666|flags=K__|data_hash=CRC32:cfaca7e0
+packet|codec_type=audio|stream_index=0|pts=17920|pts_time=2.240000|dts=17920|dts_time=2.240000|duration=160|duration_time=0.020000|size=6|pos=672|flags=K__|data_hash=CRC32:2aa80162
+packet|codec_type=audio|stream_index=0|pts=18080|pts_time=2.260000|dts=18080|dts_time=2.260000|duration=160|duration_time=0.020000|size=6|pos=678|flags=K__|data_hash=CRC32:d6194b5d
+packet|codec_type=audio|stream_index=0|pts=18240|pts_time=2.280000|dts=18240|dts_time=2.280000|duration=160|duration_time=0.020000|size=6|pos=684|flags=K__|data_hash=CRC32:a64477ad
+packet|codec_type=audio|stream_index=0|pts=18400|pts_time=2.300000|dts=18400|dts_time=2.300000|duration=160|duration_time=0.020000|size=6|pos=690|flags=K__|data_hash=CRC32:bc62d7fa
+packet|codec_type=audio|stream_index=0|pts=18560|pts_time=2.320000|dts=18560|dts_time=2.320000|duration=160|duration_time=0.020000|size=6|pos=696|flags=K__|data_hash=CRC32:074a6bba
+packet|codec_type=audio|stream_index=0|pts=18720|pts_time=2.340000|dts=18720|dts_time=2.340000|duration=160|duration_time=0.020000|size=6|pos=702|flags=K__|data_hash=CRC32:95682acc
+packet|codec_type=audio|stream_index=0|pts=18880|pts_time=2.360000|dts=18880|dts_time=2.360000|duration=160|duration_time=0.020000|size=6|pos=708|flags=K__|data_hash=CRC32:34fc937e
+packet|codec_type=audio|stream_index=0|pts=19040|pts_time=2.380000|dts=19040|dts_time=2.380000|duration=160|duration_time=0.020000|size=6|pos=714|flags=K__|data_hash=CRC32:38b52a3c
+packet|codec_type=audio|stream_index=0|pts=19200|pts_time=2.400000|dts=19200|dts_time=2.400000|duration=160|duration_time=0.020000|size=6|pos=720|flags=K__|data_hash=CRC32:1e72a60e
+packet|codec_type=audio|stream_index=0|pts=19360|pts_time=2.420000|dts=19360|dts_time=2.420000|duration=160|duration_time=0.020000|size=6|pos=726|flags=K__|data_hash=CRC32:c3009208
+packet|codec_type=audio|stream_index=0|pts=19520|pts_time=2.440000|dts=19520|dts_time=2.440000|duration=160|duration_time=0.020000|size=6|pos=732|flags=K__|data_hash=CRC32:7601ee4f
+packet|codec_type=audio|stream_index=0|pts=19680|pts_time=2.460000|dts=19680|dts_time=2.460000|duration=160|duration_time=0.020000|size=6|pos=738|flags=K__|data_hash=CRC32:b90922aa
+packet|codec_type=audio|stream_index=0|pts=19840|pts_time=2.480000|dts=19840|dts_time=2.480000|duration=160|duration_time=0.020000|size=6|pos=744|flags=K__|data_hash=CRC32:f0bea16a
+packet|codec_type=audio|stream_index=0|pts=20000|pts_time=2.500000|dts=20000|dts_time=2.500000|duration=160|duration_time=0.020000|size=6|pos=750|flags=K__|data_hash=CRC32:4f2609e9
+packet|codec_type=audio|stream_index=0|pts=20160|pts_time=2.520000|dts=20160|dts_time=2.520000|duration=160|duration_time=0.020000|size=6|pos=756|flags=K__|data_hash=CRC32:6972b21f
+packet|codec_type=audio|stream_index=0|pts=20320|pts_time=2.540000|dts=20320|dts_time=2.540000|duration=160|duration_time=0.020000|size=6|pos=762|flags=K__|data_hash=CRC32:3e761c95
+packet|codec_type=audio|stream_index=0|pts=20480|pts_time=2.560000|dts=20480|dts_time=2.560000|duration=160|duration_time=0.020000|size=6|pos=768|flags=K__|data_hash=CRC32:a2af0e16
+packet|codec_type=audio|stream_index=0|pts=20640|pts_time=2.580000|dts=20640|dts_time=2.580000|duration=160|duration_time=0.020000|size=6|pos=774|flags=K__|data_hash=CRC32:3ba2d588
+packet|codec_type=audio|stream_index=0|pts=20800|pts_time=2.600000|dts=20800|dts_time=2.600000|duration=160|duration_time=0.020000|size=6|pos=780|flags=K__|data_hash=CRC32:8ff827fa
+packet|codec_type=audio|stream_index=0|pts=20960|pts_time=2.620000|dts=20960|dts_time=2.620000|duration=160|duration_time=0.020000|size=6|pos=786|flags=K__|data_hash=CRC32:5c9d083c
+packet|codec_type=audio|stream_index=0|pts=21120|pts_time=2.640000|dts=21120|dts_time=2.640000|duration=160|duration_time=0.020000|size=6|pos=792|flags=K__|data_hash=CRC32:d160672b
+packet|codec_type=audio|stream_index=0|pts=21280|pts_time=2.660000|dts=21280|dts_time=2.660000|duration=160|duration_time=0.020000|size=6|pos=798|flags=K__|data_hash=CRC32:ad193206
+packet|codec_type=audio|stream_index=0|pts=21440|pts_time=2.680000|dts=21440|dts_time=2.680000|duration=160|duration_time=0.020000|size=6|pos=804|flags=K__|data_hash=CRC32:50b36f13
+packet|codec_type=audio|stream_index=0|pts=21600|pts_time=2.700000|dts=21600|dts_time=2.700000|duration=160|duration_time=0.020000|size=6|pos=810|flags=K__|data_hash=CRC32:3b976099
+packet|codec_type=audio|stream_index=0|pts=21760|pts_time=2.720000|dts=21760|dts_time=2.720000|duration=160|duration_time=0.020000|size=6|pos=816|flags=K__|data_hash=CRC32:29fed307
+packet|codec_type=audio|stream_index=0|pts=21920|pts_time=2.740000|dts=21920|dts_time=2.740000|duration=160|duration_time=0.020000|size=6|pos=822|flags=K__|data_hash=CRC32:a66ae1af
+packet|codec_type=audio|stream_index=0|pts=22080|pts_time=2.760000|dts=22080|dts_time=2.760000|duration=160|duration_time=0.020000|size=6|pos=828|flags=K__|data_hash=CRC32:3cc95c4b
+packet|codec_type=audio|stream_index=0|pts=22240|pts_time=2.780000|dts=22240|dts_time=2.780000|duration=160|duration_time=0.020000|size=6|pos=834|flags=K__|data_hash=CRC32:b72733f8
+packet|codec_type=audio|stream_index=0|pts=22400|pts_time=2.800000|dts=22400|dts_time=2.800000|duration=160|duration_time=0.020000|size=6|pos=840|flags=K__|data_hash=CRC32:0becac56
+packet|codec_type=audio|stream_index=0|pts=22560|pts_time=2.820000|dts=22560|dts_time=2.820000|duration=160|duration_time=0.020000|size=6|pos=846|flags=K__|data_hash=CRC32:353d07e3
+packet|codec_type=audio|stream_index=0|pts=22720|pts_time=2.840000|dts=22720|dts_time=2.840000|duration=160|duration_time=0.020000|size=6|pos=852|flags=K__|data_hash=CRC32:1d2448ea
+packet|codec_type=audio|stream_index=0|pts=22880|pts_time=2.860000|dts=22880|dts_time=2.860000|duration=160|duration_time=0.020000|size=6|pos=858|flags=K__|data_hash=CRC32:0e7b72ca
+packet|codec_type=audio|stream_index=0|pts=23040|pts_time=2.880000|dts=23040|dts_time=2.880000|duration=160|duration_time=0.020000|size=6|pos=864|flags=K__|data_hash=CRC32:2837dcb1
+packet|codec_type=audio|stream_index=0|pts=23200|pts_time=2.900000|dts=23200|dts_time=2.900000|duration=160|duration_time=0.020000|size=6|pos=870|flags=K__|data_hash=CRC32:9db710af
+packet|codec_type=audio|stream_index=0|pts=23360|pts_time=2.920000|dts=23360|dts_time=2.920000|duration=160|duration_time=0.020000|size=6|pos=876|flags=K__|data_hash=CRC32:a2ff0694
+packet|codec_type=audio|stream_index=0|pts=23520|pts_time=2.940000|dts=23520|dts_time=2.940000|duration=160|duration_time=0.020000|size=6|pos=882|flags=K__|data_hash=CRC32:6377f1b0
+packet|codec_type=audio|stream_index=0|pts=23680|pts_time=2.960000|dts=23680|dts_time=2.960000|duration=160|duration_time=0.020000|size=6|pos=888|flags=K__|data_hash=CRC32:7496f393
+packet|codec_type=audio|stream_index=0|pts=23840|pts_time=2.980000|dts=23840|dts_time=2.980000|duration=160|duration_time=0.020000|size=6|pos=894|flags=K__|data_hash=CRC32:2f84dbe8
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=24000|duration=3.000000|bit_rate=2400|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=150|extradata_size=4|extradata_hash=CRC32:80e38938|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-2400.c2|nb_streams=1|nb_programs=0|format_name=codec2raw|start_time=N/A|duration=3.000000|size=900|bit_rate=2400|probe_score=0
diff --git a/tests/ref/fate/codec2raw-probe-3200 b/tests/ref/fate/codec2raw-probe-3200
new file mode 100644
index 0000000000..e0b718d7bb
--- /dev/null
+++ b/tests/ref/fate/codec2raw-probe-3200
@@ -0,0 +1,152 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=160|duration_time=0.020000|size=8|pos=0|flags=K__|data_hash=CRC32:47b54c75
+packet|codec_type=audio|stream_index=0|pts=160|pts_time=0.020000|dts=160|dts_time=0.020000|duration=160|duration_time=0.020000|size=8|pos=8|flags=K__|data_hash=CRC32:7664d67c
+packet|codec_type=audio|stream_index=0|pts=320|pts_time=0.040000|dts=320|dts_time=0.040000|duration=160|duration_time=0.020000|size=8|pos=16|flags=K__|data_hash=CRC32:8661cfcf
+packet|codec_type=audio|stream_index=0|pts=480|pts_time=0.060000|dts=480|dts_time=0.060000|duration=160|duration_time=0.020000|size=8|pos=24|flags=K__|data_hash=CRC32:7058a9c8
+packet|codec_type=audio|stream_index=0|pts=640|pts_time=0.080000|dts=640|dts_time=0.080000|duration=160|duration_time=0.020000|size=8|pos=32|flags=K__|data_hash=CRC32:0ba5d0e8
+packet|codec_type=audio|stream_index=0|pts=800|pts_time=0.100000|dts=800|dts_time=0.100000|duration=160|duration_time=0.020000|size=8|pos=40|flags=K__|data_hash=CRC32:ca1b9e09
+packet|codec_type=audio|stream_index=0|pts=960|pts_time=0.120000|dts=960|dts_time=0.120000|duration=160|duration_time=0.020000|size=8|pos=48|flags=K__|data_hash=CRC32:cc6efcdb
+packet|codec_type=audio|stream_index=0|pts=1120|pts_time=0.140000|dts=1120|dts_time=0.140000|duration=160|duration_time=0.020000|size=8|pos=56|flags=K__|data_hash=CRC32:d38a7221
+packet|codec_type=audio|stream_index=0|pts=1280|pts_time=0.160000|dts=1280|dts_time=0.160000|duration=160|duration_time=0.020000|size=8|pos=64|flags=K__|data_hash=CRC32:c2890544
+packet|codec_type=audio|stream_index=0|pts=1440|pts_time=0.180000|dts=1440|dts_time=0.180000|duration=160|duration_time=0.020000|size=8|pos=72|flags=K__|data_hash=CRC32:ef6b161c
+packet|codec_type=audio|stream_index=0|pts=1600|pts_time=0.200000|dts=1600|dts_time=0.200000|duration=160|duration_time=0.020000|size=8|pos=80|flags=K__|data_hash=CRC32:0a8424a9
+packet|codec_type=audio|stream_index=0|pts=1760|pts_time=0.220000|dts=1760|dts_time=0.220000|duration=160|duration_time=0.020000|size=8|pos=88|flags=K__|data_hash=CRC32:e2fcc803
+packet|codec_type=audio|stream_index=0|pts=1920|pts_time=0.240000|dts=1920|dts_time=0.240000|duration=160|duration_time=0.020000|size=8|pos=96|flags=K__|data_hash=CRC32:93fba530
+packet|codec_type=audio|stream_index=0|pts=2080|pts_time=0.260000|dts=2080|dts_time=0.260000|duration=160|duration_time=0.020000|size=8|pos=104|flags=K__|data_hash=CRC32:51551839
+packet|codec_type=audio|stream_index=0|pts=2240|pts_time=0.280000|dts=2240|dts_time=0.280000|duration=160|duration_time=0.020000|size=8|pos=112|flags=K__|data_hash=CRC32:fff36795
+packet|codec_type=audio|stream_index=0|pts=2400|pts_time=0.300000|dts=2400|dts_time=0.300000|duration=160|duration_time=0.020000|size=8|pos=120|flags=K__|data_hash=CRC32:0e5c63bb
+packet|codec_type=audio|stream_index=0|pts=2560|pts_time=0.320000|dts=2560|dts_time=0.320000|duration=160|duration_time=0.020000|size=8|pos=128|flags=K__|data_hash=CRC32:d769159b
+packet|codec_type=audio|stream_index=0|pts=2720|pts_time=0.340000|dts=2720|dts_time=0.340000|duration=160|duration_time=0.020000|size=8|pos=136|flags=K__|data_hash=CRC32:11343ea9
+packet|codec_type=audio|stream_index=0|pts=2880|pts_time=0.360000|dts=2880|dts_time=0.360000|duration=160|duration_time=0.020000|size=8|pos=144|flags=K__|data_hash=CRC32:b4a85c0c
+packet|codec_type=audio|stream_index=0|pts=3040|pts_time=0.380000|dts=3040|dts_time=0.380000|duration=160|duration_time=0.020000|size=8|pos=152|flags=K__|data_hash=CRC32:3f5e482a
+packet|codec_type=audio|stream_index=0|pts=3200|pts_time=0.400000|dts=3200|dts_time=0.400000|duration=160|duration_time=0.020000|size=8|pos=160|flags=K__|data_hash=CRC32:d7ccac19
+packet|codec_type=audio|stream_index=0|pts=3360|pts_time=0.420000|dts=3360|dts_time=0.420000|duration=160|duration_time=0.020000|size=8|pos=168|flags=K__|data_hash=CRC32:bac75596
+packet|codec_type=audio|stream_index=0|pts=3520|pts_time=0.440000|dts=3520|dts_time=0.440000|duration=160|duration_time=0.020000|size=8|pos=176|flags=K__|data_hash=CRC32:c15a01e7
+packet|codec_type=audio|stream_index=0|pts=3680|pts_time=0.460000|dts=3680|dts_time=0.460000|duration=160|duration_time=0.020000|size=8|pos=184|flags=K__|data_hash=CRC32:e055d60e
+packet|codec_type=audio|stream_index=0|pts=3840|pts_time=0.480000|dts=3840|dts_time=0.480000|duration=160|duration_time=0.020000|size=8|pos=192|flags=K__|data_hash=CRC32:b8ad40fd
+packet|codec_type=audio|stream_index=0|pts=4000|pts_time=0.500000|dts=4000|dts_time=0.500000|duration=160|duration_time=0.020000|size=8|pos=200|flags=K__|data_hash=CRC32:5ca3022c
+packet|codec_type=audio|stream_index=0|pts=4160|pts_time=0.520000|dts=4160|dts_time=0.520000|duration=160|duration_time=0.020000|size=8|pos=208|flags=K__|data_hash=CRC32:cffb0ec4
+packet|codec_type=audio|stream_index=0|pts=4320|pts_time=0.540000|dts=4320|dts_time=0.540000|duration=160|duration_time=0.020000|size=8|pos=216|flags=K__|data_hash=CRC32:af8ee69f
+packet|codec_type=audio|stream_index=0|pts=4480|pts_time=0.560000|dts=4480|dts_time=0.560000|duration=160|duration_time=0.020000|size=8|pos=224|flags=K__|data_hash=CRC32:801bd028
+packet|codec_type=audio|stream_index=0|pts=4640|pts_time=0.580000|dts=4640|dts_time=0.580000|duration=160|duration_time=0.020000|size=8|pos=232|flags=K__|data_hash=CRC32:b341a2dc
+packet|codec_type=audio|stream_index=0|pts=4800|pts_time=0.600000|dts=4800|dts_time=0.600000|duration=160|duration_time=0.020000|size=8|pos=240|flags=K__|data_hash=CRC32:2efe16db
+packet|codec_type=audio|stream_index=0|pts=4960|pts_time=0.620000|dts=4960|dts_time=0.620000|duration=160|duration_time=0.020000|size=8|pos=248|flags=K__|data_hash=CRC32:56e06065
+packet|codec_type=audio|stream_index=0|pts=5120|pts_time=0.640000|dts=5120|dts_time=0.640000|duration=160|duration_time=0.020000|size=8|pos=256|flags=K__|data_hash=CRC32:d67395f0
+packet|codec_type=audio|stream_index=0|pts=5280|pts_time=0.660000|dts=5280|dts_time=0.660000|duration=160|duration_time=0.020000|size=8|pos=264|flags=K__|data_hash=CRC32:ea630299
+packet|codec_type=audio|stream_index=0|pts=5440|pts_time=0.680000|dts=5440|dts_time=0.680000|duration=160|duration_time=0.020000|size=8|pos=272|flags=K__|data_hash=CRC32:ad26cf3e
+packet|codec_type=audio|stream_index=0|pts=5600|pts_time=0.700000|dts=5600|dts_time=0.700000|duration=160|duration_time=0.020000|size=8|pos=280|flags=K__|data_hash=CRC32:0bce57d3
+packet|codec_type=audio|stream_index=0|pts=5760|pts_time=0.720000|dts=5760|dts_time=0.720000|duration=160|duration_time=0.020000|size=8|pos=288|flags=K__|data_hash=CRC32:91e4488f
+packet|codec_type=audio|stream_index=0|pts=5920|pts_time=0.740000|dts=5920|dts_time=0.740000|duration=160|duration_time=0.020000|size=8|pos=296|flags=K__|data_hash=CRC32:f959df52
+packet|codec_type=audio|stream_index=0|pts=6080|pts_time=0.760000|dts=6080|dts_time=0.760000|duration=160|duration_time=0.020000|size=8|pos=304|flags=K__|data_hash=CRC32:f65c4d6d
+packet|codec_type=audio|stream_index=0|pts=6240|pts_time=0.780000|dts=6240|dts_time=0.780000|duration=160|duration_time=0.020000|size=8|pos=312|flags=K__|data_hash=CRC32:bf19e990
+packet|codec_type=audio|stream_index=0|pts=6400|pts_time=0.800000|dts=6400|dts_time=0.800000|duration=160|duration_time=0.020000|size=8|pos=320|flags=K__|data_hash=CRC32:fbfe411c
+packet|codec_type=audio|stream_index=0|pts=6560|pts_time=0.820000|dts=6560|dts_time=0.820000|duration=160|duration_time=0.020000|size=8|pos=328|flags=K__|data_hash=CRC32:a11d6f6a
+packet|codec_type=audio|stream_index=0|pts=6720|pts_time=0.840000|dts=6720|dts_time=0.840000|duration=160|duration_time=0.020000|size=8|pos=336|flags=K__|data_hash=CRC32:194e2ca8
+packet|codec_type=audio|stream_index=0|pts=6880|pts_time=0.860000|dts=6880|dts_time=0.860000|duration=160|duration_time=0.020000|size=8|pos=344|flags=K__|data_hash=CRC32:aeeb8970
+packet|codec_type=audio|stream_index=0|pts=7040|pts_time=0.880000|dts=7040|dts_time=0.880000|duration=160|duration_time=0.020000|size=8|pos=352|flags=K__|data_hash=CRC32:b5c2835f
+packet|codec_type=audio|stream_index=0|pts=7200|pts_time=0.900000|dts=7200|dts_time=0.900000|duration=160|duration_time=0.020000|size=8|pos=360|flags=K__|data_hash=CRC32:53911676
+packet|codec_type=audio|stream_index=0|pts=7360|pts_time=0.920000|dts=7360|dts_time=0.920000|duration=160|duration_time=0.020000|size=8|pos=368|flags=K__|data_hash=CRC32:a65b4b7f
+packet|codec_type=audio|stream_index=0|pts=7520|pts_time=0.940000|dts=7520|dts_time=0.940000|duration=160|duration_time=0.020000|size=8|pos=376|flags=K__|data_hash=CRC32:7d137108
+packet|codec_type=audio|stream_index=0|pts=7680|pts_time=0.960000|dts=7680|dts_time=0.960000|duration=160|duration_time=0.020000|size=8|pos=384|flags=K__|data_hash=CRC32:d791c7e1
+packet|codec_type=audio|stream_index=0|pts=7840|pts_time=0.980000|dts=7840|dts_time=0.980000|duration=160|duration_time=0.020000|size=8|pos=392|flags=K__|data_hash=CRC32:8e83f20c
+packet|codec_type=audio|stream_index=0|pts=8000|pts_time=1.000000|dts=8000|dts_time=1.000000|duration=160|duration_time=0.020000|size=8|pos=400|flags=K__|data_hash=CRC32:fc0a40f8
+packet|codec_type=audio|stream_index=0|pts=8160|pts_time=1.020000|dts=8160|dts_time=1.020000|duration=160|duration_time=0.020000|size=8|pos=408|flags=K__|data_hash=CRC32:9e815f10
+packet|codec_type=audio|stream_index=0|pts=8320|pts_time=1.040000|dts=8320|dts_time=1.040000|duration=160|duration_time=0.020000|size=8|pos=416|flags=K__|data_hash=CRC32:88257108
+packet|codec_type=audio|stream_index=0|pts=8480|pts_time=1.060000|dts=8480|dts_time=1.060000|duration=160|duration_time=0.020000|size=8|pos=424|flags=K__|data_hash=CRC32:a3d5806d
+packet|codec_type=audio|stream_index=0|pts=8640|pts_time=1.080000|dts=8640|dts_time=1.080000|duration=160|duration_time=0.020000|size=8|pos=432|flags=K__|data_hash=CRC32:cd2a6050
+packet|codec_type=audio|stream_index=0|pts=8800|pts_time=1.100000|dts=8800|dts_time=1.100000|duration=160|duration_time=0.020000|size=8|pos=440|flags=K__|data_hash=CRC32:2039c87c
+packet|codec_type=audio|stream_index=0|pts=8960|pts_time=1.120000|dts=8960|dts_time=1.120000|duration=160|duration_time=0.020000|size=8|pos=448|flags=K__|data_hash=CRC32:680ce279
+packet|codec_type=audio|stream_index=0|pts=9120|pts_time=1.140000|dts=9120|dts_time=1.140000|duration=160|duration_time=0.020000|size=8|pos=456|flags=K__|data_hash=CRC32:9f59d8e3
+packet|codec_type=audio|stream_index=0|pts=9280|pts_time=1.160000|dts=9280|dts_time=1.160000|duration=160|duration_time=0.020000|size=8|pos=464|flags=K__|data_hash=CRC32:80e38773
+packet|codec_type=audio|stream_index=0|pts=9440|pts_time=1.180000|dts=9440|dts_time=1.180000|duration=160|duration_time=0.020000|size=8|pos=472|flags=K__|data_hash=CRC32:be7ee487
+packet|codec_type=audio|stream_index=0|pts=9600|pts_time=1.200000|dts=9600|dts_time=1.200000|duration=160|duration_time=0.020000|size=8|pos=480|flags=K__|data_hash=CRC32:20cde7e5
+packet|codec_type=audio|stream_index=0|pts=9760|pts_time=1.220000|dts=9760|dts_time=1.220000|duration=160|duration_time=0.020000|size=8|pos=488|flags=K__|data_hash=CRC32:be2a5d03
+packet|codec_type=audio|stream_index=0|pts=9920|pts_time=1.240000|dts=9920|dts_time=1.240000|duration=160|duration_time=0.020000|size=8|pos=496|flags=K__|data_hash=CRC32:bdf71e68
+packet|codec_type=audio|stream_index=0|pts=10080|pts_time=1.260000|dts=10080|dts_time=1.260000|duration=160|duration_time=0.020000|size=8|pos=504|flags=K__|data_hash=CRC32:789c59d4
+packet|codec_type=audio|stream_index=0|pts=10240|pts_time=1.280000|dts=10240|dts_time=1.280000|duration=160|duration_time=0.020000|size=8|pos=512|flags=K__|data_hash=CRC32:370d29cb
+packet|codec_type=audio|stream_index=0|pts=10400|pts_time=1.300000|dts=10400|dts_time=1.300000|duration=160|duration_time=0.020000|size=8|pos=520|flags=K__|data_hash=CRC32:6277e2b0
+packet|codec_type=audio|stream_index=0|pts=10560|pts_time=1.320000|dts=10560|dts_time=1.320000|duration=160|duration_time=0.020000|size=8|pos=528|flags=K__|data_hash=CRC32:40d368d8
+packet|codec_type=audio|stream_index=0|pts=10720|pts_time=1.340000|dts=10720|dts_time=1.340000|duration=160|duration_time=0.020000|size=8|pos=536|flags=K__|data_hash=CRC32:fc896dc9
+packet|codec_type=audio|stream_index=0|pts=10880|pts_time=1.360000|dts=10880|dts_time=1.360000|duration=160|duration_time=0.020000|size=8|pos=544|flags=K__|data_hash=CRC32:44664ab4
+packet|codec_type=audio|stream_index=0|pts=11040|pts_time=1.380000|dts=11040|dts_time=1.380000|duration=160|duration_time=0.020000|size=8|pos=552|flags=K__|data_hash=CRC32:7b74748f
+packet|codec_type=audio|stream_index=0|pts=11200|pts_time=1.400000|dts=11200|dts_time=1.400000|duration=160|duration_time=0.020000|size=8|pos=560|flags=K__|data_hash=CRC32:859edfa6
+packet|codec_type=audio|stream_index=0|pts=11360|pts_time=1.420000|dts=11360|dts_time=1.420000|duration=160|duration_time=0.020000|size=8|pos=568|flags=K__|data_hash=CRC32:cefdc5f3
+packet|codec_type=audio|stream_index=0|pts=11520|pts_time=1.440000|dts=11520|dts_time=1.440000|duration=160|duration_time=0.020000|size=8|pos=576|flags=K__|data_hash=CRC32:2a9a705c
+packet|codec_type=audio|stream_index=0|pts=11680|pts_time=1.460000|dts=11680|dts_time=1.460000|duration=160|duration_time=0.020000|size=8|pos=584|flags=K__|data_hash=CRC32:fa30bf2f
+packet|codec_type=audio|stream_index=0|pts=11840|pts_time=1.480000|dts=11840|dts_time=1.480000|duration=160|duration_time=0.020000|size=8|pos=592|flags=K__|data_hash=CRC32:a107bd55
+packet|codec_type=audio|stream_index=0|pts=12000|pts_time=1.500000|dts=12000|dts_time=1.500000|duration=160|duration_time=0.020000|size=8|pos=600|flags=K__|data_hash=CRC32:b419e854
+packet|codec_type=audio|stream_index=0|pts=12160|pts_time=1.520000|dts=12160|dts_time=1.520000|duration=160|duration_time=0.020000|size=8|pos=608|flags=K__|data_hash=CRC32:8282f45a
+packet|codec_type=audio|stream_index=0|pts=12320|pts_time=1.540000|dts=12320|dts_time=1.540000|duration=160|duration_time=0.020000|size=8|pos=616|flags=K__|data_hash=CRC32:88b8a885
+packet|codec_type=audio|stream_index=0|pts=12480|pts_time=1.560000|dts=12480|dts_time=1.560000|duration=160|duration_time=0.020000|size=8|pos=624|flags=K__|data_hash=CRC32:2b40fc69
+packet|codec_type=audio|stream_index=0|pts=12640|pts_time=1.580000|dts=12640|dts_time=1.580000|duration=160|duration_time=0.020000|size=8|pos=632|flags=K__|data_hash=CRC32:ecf3fa63
+packet|codec_type=audio|stream_index=0|pts=12800|pts_time=1.600000|dts=12800|dts_time=1.600000|duration=160|duration_time=0.020000|size=8|pos=640|flags=K__|data_hash=CRC32:fed084af
+packet|codec_type=audio|stream_index=0|pts=12960|pts_time=1.620000|dts=12960|dts_time=1.620000|duration=160|duration_time=0.020000|size=8|pos=648|flags=K__|data_hash=CRC32:34db7605
+packet|codec_type=audio|stream_index=0|pts=13120|pts_time=1.640000|dts=13120|dts_time=1.640000|duration=160|duration_time=0.020000|size=8|pos=656|flags=K__|data_hash=CRC32:98b02867
+packet|codec_type=audio|stream_index=0|pts=13280|pts_time=1.660000|dts=13280|dts_time=1.660000|duration=160|duration_time=0.020000|size=8|pos=664|flags=K__|data_hash=CRC32:dc1ba7d8
+packet|codec_type=audio|stream_index=0|pts=13440|pts_time=1.680000|dts=13440|dts_time=1.680000|duration=160|duration_time=0.020000|size=8|pos=672|flags=K__|data_hash=CRC32:c6d4f493
+packet|codec_type=audio|stream_index=0|pts=13600|pts_time=1.700000|dts=13600|dts_time=1.700000|duration=160|duration_time=0.020000|size=8|pos=680|flags=K__|data_hash=CRC32:893fef83
+packet|codec_type=audio|stream_index=0|pts=13760|pts_time=1.720000|dts=13760|dts_time=1.720000|duration=160|duration_time=0.020000|size=8|pos=688|flags=K__|data_hash=CRC32:363fad22
+packet|codec_type=audio|stream_index=0|pts=13920|pts_time=1.740000|dts=13920|dts_time=1.740000|duration=160|duration_time=0.020000|size=8|pos=696|flags=K__|data_hash=CRC32:68c171c3
+packet|codec_type=audio|stream_index=0|pts=14080|pts_time=1.760000|dts=14080|dts_time=1.760000|duration=160|duration_time=0.020000|size=8|pos=704|flags=K__|data_hash=CRC32:ef518c17
+packet|codec_type=audio|stream_index=0|pts=14240|pts_time=1.780000|dts=14240|dts_time=1.780000|duration=160|duration_time=0.020000|size=8|pos=712|flags=K__|data_hash=CRC32:aabef5df
+packet|codec_type=audio|stream_index=0|pts=14400|pts_time=1.800000|dts=14400|dts_time=1.800000|duration=160|duration_time=0.020000|size=8|pos=720|flags=K__|data_hash=CRC32:1e68fa09
+packet|codec_type=audio|stream_index=0|pts=14560|pts_time=1.820000|dts=14560|dts_time=1.820000|duration=160|duration_time=0.020000|size=8|pos=728|flags=K__|data_hash=CRC32:1b656207
+packet|codec_type=audio|stream_index=0|pts=14720|pts_time=1.840000|dts=14720|dts_time=1.840000|duration=160|duration_time=0.020000|size=8|pos=736|flags=K__|data_hash=CRC32:e62ca880
+packet|codec_type=audio|stream_index=0|pts=14880|pts_time=1.860000|dts=14880|dts_time=1.860000|duration=160|duration_time=0.020000|size=8|pos=744|flags=K__|data_hash=CRC32:35fc5ccc
+packet|codec_type=audio|stream_index=0|pts=15040|pts_time=1.880000|dts=15040|dts_time=1.880000|duration=160|duration_time=0.020000|size=8|pos=752|flags=K__|data_hash=CRC32:4c0a7559
+packet|codec_type=audio|stream_index=0|pts=15200|pts_time=1.900000|dts=15200|dts_time=1.900000|duration=160|duration_time=0.020000|size=8|pos=760|flags=K__|data_hash=CRC32:407332b8
+packet|codec_type=audio|stream_index=0|pts=15360|pts_time=1.920000|dts=15360|dts_time=1.920000|duration=160|duration_time=0.020000|size=8|pos=768|flags=K__|data_hash=CRC32:ee72d7be
+packet|codec_type=audio|stream_index=0|pts=15520|pts_time=1.940000|dts=15520|dts_time=1.940000|duration=160|duration_time=0.020000|size=8|pos=776|flags=K__|data_hash=CRC32:99e5ba29
+packet|codec_type=audio|stream_index=0|pts=15680|pts_time=1.960000|dts=15680|dts_time=1.960000|duration=160|duration_time=0.020000|size=8|pos=784|flags=K__|data_hash=CRC32:b46c2182
+packet|codec_type=audio|stream_index=0|pts=15840|pts_time=1.980000|dts=15840|dts_time=1.980000|duration=160|duration_time=0.020000|size=8|pos=792|flags=K__|data_hash=CRC32:7bc0ff30
+packet|codec_type=audio|stream_index=0|pts=16000|pts_time=2.000000|dts=16000|dts_time=2.000000|duration=160|duration_time=0.020000|size=8|pos=800|flags=K__|data_hash=CRC32:2a250506
+packet|codec_type=audio|stream_index=0|pts=16160|pts_time=2.020000|dts=16160|dts_time=2.020000|duration=160|duration_time=0.020000|size=8|pos=808|flags=K__|data_hash=CRC32:692cb5c1
+packet|codec_type=audio|stream_index=0|pts=16320|pts_time=2.040000|dts=16320|dts_time=2.040000|duration=160|duration_time=0.020000|size=8|pos=816|flags=K__|data_hash=CRC32:e96d9f46
+packet|codec_type=audio|stream_index=0|pts=16480|pts_time=2.060000|dts=16480|dts_time=2.060000|duration=160|duration_time=0.020000|size=8|pos=824|flags=K__|data_hash=CRC32:cf89302f
+packet|codec_type=audio|stream_index=0|pts=16640|pts_time=2.080000|dts=16640|dts_time=2.080000|duration=160|duration_time=0.020000|size=8|pos=832|flags=K__|data_hash=CRC32:9ce949ff
+packet|codec_type=audio|stream_index=0|pts=16800|pts_time=2.100000|dts=16800|dts_time=2.100000|duration=160|duration_time=0.020000|size=8|pos=840|flags=K__|data_hash=CRC32:2fbd2ad7
+packet|codec_type=audio|stream_index=0|pts=16960|pts_time=2.120000|dts=16960|dts_time=2.120000|duration=160|duration_time=0.020000|size=8|pos=848|flags=K__|data_hash=CRC32:5cdb3473
+packet|codec_type=audio|stream_index=0|pts=17120|pts_time=2.140000|dts=17120|dts_time=2.140000|duration=160|duration_time=0.020000|size=8|pos=856|flags=K__|data_hash=CRC32:7e2da2aa
+packet|codec_type=audio|stream_index=0|pts=17280|pts_time=2.160000|dts=17280|dts_time=2.160000|duration=160|duration_time=0.020000|size=8|pos=864|flags=K__|data_hash=CRC32:de4f030f
+packet|codec_type=audio|stream_index=0|pts=17440|pts_time=2.180000|dts=17440|dts_time=2.180000|duration=160|duration_time=0.020000|size=8|pos=872|flags=K__|data_hash=CRC32:dd087894
+packet|codec_type=audio|stream_index=0|pts=17600|pts_time=2.200000|dts=17600|dts_time=2.200000|duration=160|duration_time=0.020000|size=8|pos=880|flags=K__|data_hash=CRC32:45353c9d
+packet|codec_type=audio|stream_index=0|pts=17760|pts_time=2.220000|dts=17760|dts_time=2.220000|duration=160|duration_time=0.020000|size=8|pos=888|flags=K__|data_hash=CRC32:bc1edba8
+packet|codec_type=audio|stream_index=0|pts=17920|pts_time=2.240000|dts=17920|dts_time=2.240000|duration=160|duration_time=0.020000|size=8|pos=896|flags=K__|data_hash=CRC32:b2a3abca
+packet|codec_type=audio|stream_index=0|pts=18080|pts_time=2.260000|dts=18080|dts_time=2.260000|duration=160|duration_time=0.020000|size=8|pos=904|flags=K__|data_hash=CRC32:30e293f8
+packet|codec_type=audio|stream_index=0|pts=18240|pts_time=2.280000|dts=18240|dts_time=2.280000|duration=160|duration_time=0.020000|size=8|pos=912|flags=K__|data_hash=CRC32:14c3a2ab
+packet|codec_type=audio|stream_index=0|pts=18400|pts_time=2.300000|dts=18400|dts_time=2.300000|duration=160|duration_time=0.020000|size=8|pos=920|flags=K__|data_hash=CRC32:8db10f4e
+packet|codec_type=audio|stream_index=0|pts=18560|pts_time=2.320000|dts=18560|dts_time=2.320000|duration=160|duration_time=0.020000|size=8|pos=928|flags=K__|data_hash=CRC32:1d254096
+packet|codec_type=audio|stream_index=0|pts=18720|pts_time=2.340000|dts=18720|dts_time=2.340000|duration=160|duration_time=0.020000|size=8|pos=936|flags=K__|data_hash=CRC32:49e8c884
+packet|codec_type=audio|stream_index=0|pts=18880|pts_time=2.360000|dts=18880|dts_time=2.360000|duration=160|duration_time=0.020000|size=8|pos=944|flags=K__|data_hash=CRC32:d36923e0
+packet|codec_type=audio|stream_index=0|pts=19040|pts_time=2.380000|dts=19040|dts_time=2.380000|duration=160|duration_time=0.020000|size=8|pos=952|flags=K__|data_hash=CRC32:d893b966
+packet|codec_type=audio|stream_index=0|pts=19200|pts_time=2.400000|dts=19200|dts_time=2.400000|duration=160|duration_time=0.020000|size=8|pos=960|flags=K__|data_hash=CRC32:0e121744
+packet|codec_type=audio|stream_index=0|pts=19360|pts_time=2.420000|dts=19360|dts_time=2.420000|duration=160|duration_time=0.020000|size=8|pos=968|flags=K__|data_hash=CRC32:683ac084
+packet|codec_type=audio|stream_index=0|pts=19520|pts_time=2.440000|dts=19520|dts_time=2.440000|duration=160|duration_time=0.020000|size=8|pos=976|flags=K__|data_hash=CRC32:693c530f
+packet|codec_type=audio|stream_index=0|pts=19680|pts_time=2.460000|dts=19680|dts_time=2.460000|duration=160|duration_time=0.020000|size=8|pos=984|flags=K__|data_hash=CRC32:419bda2b
+packet|codec_type=audio|stream_index=0|pts=19840|pts_time=2.480000|dts=19840|dts_time=2.480000|duration=160|duration_time=0.020000|size=8|pos=992|flags=K__|data_hash=CRC32:31e5fdb6
+packet|codec_type=audio|stream_index=0|pts=20000|pts_time=2.500000|dts=20000|dts_time=2.500000|duration=160|duration_time=0.020000|size=8|pos=1000|flags=K__|data_hash=CRC32:246a56c7
+packet|codec_type=audio|stream_index=0|pts=20160|pts_time=2.520000|dts=20160|dts_time=2.520000|duration=160|duration_time=0.020000|size=8|pos=1008|flags=K__|data_hash=CRC32:d08cd880
+packet|codec_type=audio|stream_index=0|pts=20320|pts_time=2.540000|dts=20320|dts_time=2.540000|duration=160|duration_time=0.020000|size=8|pos=1016|flags=K__|data_hash=CRC32:7ace8362
+packet|codec_type=audio|stream_index=0|pts=20480|pts_time=2.560000|dts=20480|dts_time=2.560000|duration=160|duration_time=0.020000|size=8|pos=1024|flags=K__|data_hash=CRC32:57f5b70f
+packet|codec_type=audio|stream_index=0|pts=20640|pts_time=2.580000|dts=20640|dts_time=2.580000|duration=160|duration_time=0.020000|size=8|pos=1032|flags=K__|data_hash=CRC32:09a45a11
+packet|codec_type=audio|stream_index=0|pts=20800|pts_time=2.600000|dts=20800|dts_time=2.600000|duration=160|duration_time=0.020000|size=8|pos=1040|flags=K__|data_hash=CRC32:9a4f6bc7
+packet|codec_type=audio|stream_index=0|pts=20960|pts_time=2.620000|dts=20960|dts_time=2.620000|duration=160|duration_time=0.020000|size=8|pos=1048|flags=K__|data_hash=CRC32:2f5e9c55
+packet|codec_type=audio|stream_index=0|pts=21120|pts_time=2.640000|dts=21120|dts_time=2.640000|duration=160|duration_time=0.020000|size=8|pos=1056|flags=K__|data_hash=CRC32:773a038d
+packet|codec_type=audio|stream_index=0|pts=21280|pts_time=2.660000|dts=21280|dts_time=2.660000|duration=160|duration_time=0.020000|size=8|pos=1064|flags=K__|data_hash=CRC32:cfe79cc6
+packet|codec_type=audio|stream_index=0|pts=21440|pts_time=2.680000|dts=21440|dts_time=2.680000|duration=160|duration_time=0.020000|size=8|pos=1072|flags=K__|data_hash=CRC32:1282d3cd
+packet|codec_type=audio|stream_index=0|pts=21600|pts_time=2.700000|dts=21600|dts_time=2.700000|duration=160|duration_time=0.020000|size=8|pos=1080|flags=K__|data_hash=CRC32:5bc49731
+packet|codec_type=audio|stream_index=0|pts=21760|pts_time=2.720000|dts=21760|dts_time=2.720000|duration=160|duration_time=0.020000|size=8|pos=1088|flags=K__|data_hash=CRC32:b4868685
+packet|codec_type=audio|stream_index=0|pts=21920|pts_time=2.740000|dts=21920|dts_time=2.740000|duration=160|duration_time=0.020000|size=8|pos=1096|flags=K__|data_hash=CRC32:a3dde91a
+packet|codec_type=audio|stream_index=0|pts=22080|pts_time=2.760000|dts=22080|dts_time=2.760000|duration=160|duration_time=0.020000|size=8|pos=1104|flags=K__|data_hash=CRC32:0208e0a0
+packet|codec_type=audio|stream_index=0|pts=22240|pts_time=2.780000|dts=22240|dts_time=2.780000|duration=160|duration_time=0.020000|size=8|pos=1112|flags=K__|data_hash=CRC32:6331af71
+packet|codec_type=audio|stream_index=0|pts=22400|pts_time=2.800000|dts=22400|dts_time=2.800000|duration=160|duration_time=0.020000|size=8|pos=1120|flags=K__|data_hash=CRC32:f7fcfab5
+packet|codec_type=audio|stream_index=0|pts=22560|pts_time=2.820000|dts=22560|dts_time=2.820000|duration=160|duration_time=0.020000|size=8|pos=1128|flags=K__|data_hash=CRC32:92885203
+packet|codec_type=audio|stream_index=0|pts=22720|pts_time=2.840000|dts=22720|dts_time=2.840000|duration=160|duration_time=0.020000|size=8|pos=1136|flags=K__|data_hash=CRC32:a445f2e5
+packet|codec_type=audio|stream_index=0|pts=22880|pts_time=2.860000|dts=22880|dts_time=2.860000|duration=160|duration_time=0.020000|size=8|pos=1144|flags=K__|data_hash=CRC32:b50e5ec5
+packet|codec_type=audio|stream_index=0|pts=23040|pts_time=2.880000|dts=23040|dts_time=2.880000|duration=160|duration_time=0.020000|size=8|pos=1152|flags=K__|data_hash=CRC32:e81acb12
+packet|codec_type=audio|stream_index=0|pts=23200|pts_time=2.900000|dts=23200|dts_time=2.900000|duration=160|duration_time=0.020000|size=8|pos=1160|flags=K__|data_hash=CRC32:ff613b12
+packet|codec_type=audio|stream_index=0|pts=23360|pts_time=2.920000|dts=23360|dts_time=2.920000|duration=160|duration_time=0.020000|size=8|pos=1168|flags=K__|data_hash=CRC32:f0c1139c
+packet|codec_type=audio|stream_index=0|pts=23520|pts_time=2.940000|dts=23520|dts_time=2.940000|duration=160|duration_time=0.020000|size=8|pos=1176|flags=K__|data_hash=CRC32:cab01701
+packet|codec_type=audio|stream_index=0|pts=23680|pts_time=2.960000|dts=23680|dts_time=2.960000|duration=160|duration_time=0.020000|size=8|pos=1184|flags=K__|data_hash=CRC32:2c29e78a
+packet|codec_type=audio|stream_index=0|pts=23840|pts_time=2.980000|dts=23840|dts_time=2.980000|duration=160|duration_time=0.020000|size=8|pos=1192|flags=K__|data_hash=CRC32:9f0dc252
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=24000|duration=3.000000|bit_rate=3200|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=150|extradata_size=4|extradata_hash=CRC32:99f8b879|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-3200.c2|nb_streams=1|nb_programs=0|format_name=codec2raw|start_time=N/A|duration=3.000000|size=1200|bit_rate=3200|probe_score=0
diff --git a/tests/ref/fate/codec2raw-probe-700C b/tests/ref/fate/codec2raw-probe-700C
new file mode 100644
index 0000000000..2b5ba995d3
--- /dev/null
+++ b/tests/ref/fate/codec2raw-probe-700C
@@ -0,0 +1,77 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=320|duration_time=0.040000|size=4|pos=0|flags=K__|data_hash=CRC32:ba74a8a8
+packet|codec_type=audio|stream_index=0|pts=320|pts_time=0.040000|dts=320|dts_time=0.040000|duration=320|duration_time=0.040000|size=4|pos=4|flags=K__|data_hash=CRC32:88da7b69
+packet|codec_type=audio|stream_index=0|pts=640|pts_time=0.080000|dts=640|dts_time=0.080000|duration=320|duration_time=0.040000|size=4|pos=8|flags=K__|data_hash=CRC32:e051f29c
+packet|codec_type=audio|stream_index=0|pts=960|pts_time=0.120000|dts=960|dts_time=0.120000|duration=320|duration_time=0.040000|size=4|pos=12|flags=K__|data_hash=CRC32:7a67dfb3
+packet|codec_type=audio|stream_index=0|pts=1280|pts_time=0.160000|dts=1280|dts_time=0.160000|duration=320|duration_time=0.040000|size=4|pos=16|flags=K__|data_hash=CRC32:6a5e99e7
+packet|codec_type=audio|stream_index=0|pts=1600|pts_time=0.200000|dts=1600|dts_time=0.200000|duration=320|duration_time=0.040000|size=4|pos=20|flags=K__|data_hash=CRC32:2eeae614
+packet|codec_type=audio|stream_index=0|pts=1920|pts_time=0.240000|dts=1920|dts_time=0.240000|duration=320|duration_time=0.040000|size=4|pos=24|flags=K__|data_hash=CRC32:1f05af30
+packet|codec_type=audio|stream_index=0|pts=2240|pts_time=0.280000|dts=2240|dts_time=0.280000|duration=320|duration_time=0.040000|size=4|pos=28|flags=K__|data_hash=CRC32:82db6a54
+packet|codec_type=audio|stream_index=0|pts=2560|pts_time=0.320000|dts=2560|dts_time=0.320000|duration=320|duration_time=0.040000|size=4|pos=32|flags=K__|data_hash=CRC32:618586f0
+packet|codec_type=audio|stream_index=0|pts=2880|pts_time=0.360000|dts=2880|dts_time=0.360000|duration=320|duration_time=0.040000|size=4|pos=36|flags=K__|data_hash=CRC32:2d71324f
+packet|codec_type=audio|stream_index=0|pts=3200|pts_time=0.400000|dts=3200|dts_time=0.400000|duration=320|duration_time=0.040000|size=4|pos=40|flags=K__|data_hash=CRC32:2507f5d3
+packet|codec_type=audio|stream_index=0|pts=3520|pts_time=0.440000|dts=3520|dts_time=0.440000|duration=320|duration_time=0.040000|size=4|pos=44|flags=K__|data_hash=CRC32:b813d1ef
+packet|codec_type=audio|stream_index=0|pts=3840|pts_time=0.480000|dts=3840|dts_time=0.480000|duration=320|duration_time=0.040000|size=4|pos=48|flags=K__|data_hash=CRC32:0850d097
+packet|codec_type=audio|stream_index=0|pts=4160|pts_time=0.520000|dts=4160|dts_time=0.520000|duration=320|duration_time=0.040000|size=4|pos=52|flags=K__|data_hash=CRC32:1271a7df
+packet|codec_type=audio|stream_index=0|pts=4480|pts_time=0.560000|dts=4480|dts_time=0.560000|duration=320|duration_time=0.040000|size=4|pos=56|flags=K__|data_hash=CRC32:bd28b85d
+packet|codec_type=audio|stream_index=0|pts=4800|pts_time=0.600000|dts=4800|dts_time=0.600000|duration=320|duration_time=0.040000|size=4|pos=60|flags=K__|data_hash=CRC32:41126e67
+packet|codec_type=audio|stream_index=0|pts=5120|pts_time=0.640000|dts=5120|dts_time=0.640000|duration=320|duration_time=0.040000|size=4|pos=64|flags=K__|data_hash=CRC32:5e4ac580
+packet|codec_type=audio|stream_index=0|pts=5440|pts_time=0.680000|dts=5440|dts_time=0.680000|duration=320|duration_time=0.040000|size=4|pos=68|flags=K__|data_hash=CRC32:8a072bbe
+packet|codec_type=audio|stream_index=0|pts=5760|pts_time=0.720000|dts=5760|dts_time=0.720000|duration=320|duration_time=0.040000|size=4|pos=72|flags=K__|data_hash=CRC32:2844a6ee
+packet|codec_type=audio|stream_index=0|pts=6080|pts_time=0.760000|dts=6080|dts_time=0.760000|duration=320|duration_time=0.040000|size=4|pos=76|flags=K__|data_hash=CRC32:22f21815
+packet|codec_type=audio|stream_index=0|pts=6400|pts_time=0.800000|dts=6400|dts_time=0.800000|duration=320|duration_time=0.040000|size=4|pos=80|flags=K__|data_hash=CRC32:d6ad2b7f
+packet|codec_type=audio|stream_index=0|pts=6720|pts_time=0.840000|dts=6720|dts_time=0.840000|duration=320|duration_time=0.040000|size=4|pos=84|flags=K__|data_hash=CRC32:cd952e76
+packet|codec_type=audio|stream_index=0|pts=7040|pts_time=0.880000|dts=7040|dts_time=0.880000|duration=320|duration_time=0.040000|size=4|pos=88|flags=K__|data_hash=CRC32:b3b92f90
+packet|codec_type=audio|stream_index=0|pts=7360|pts_time=0.920000|dts=7360|dts_time=0.920000|duration=320|duration_time=0.040000|size=4|pos=92|flags=K__|data_hash=CRC32:a65f7a4b
+packet|codec_type=audio|stream_index=0|pts=7680|pts_time=0.960000|dts=7680|dts_time=0.960000|duration=320|duration_time=0.040000|size=4|pos=96|flags=K__|data_hash=CRC32:ff5cb26d
+packet|codec_type=audio|stream_index=0|pts=8000|pts_time=1.000000|dts=8000|dts_time=1.000000|duration=320|duration_time=0.040000|size=4|pos=100|flags=K__|data_hash=CRC32:bc77c2a5
+packet|codec_type=audio|stream_index=0|pts=8320|pts_time=1.040000|dts=8320|dts_time=1.040000|duration=320|duration_time=0.040000|size=4|pos=104|flags=K__|data_hash=CRC32:b26f7c9b
+packet|codec_type=audio|stream_index=0|pts=8640|pts_time=1.080000|dts=8640|dts_time=1.080000|duration=320|duration_time=0.040000|size=4|pos=108|flags=K__|data_hash=CRC32:808f786a
+packet|codec_type=audio|stream_index=0|pts=8960|pts_time=1.120000|dts=8960|dts_time=1.120000|duration=320|duration_time=0.040000|size=4|pos=112|flags=K__|data_hash=CRC32:718a0796
+packet|codec_type=audio|stream_index=0|pts=9280|pts_time=1.160000|dts=9280|dts_time=1.160000|duration=320|duration_time=0.040000|size=4|pos=116|flags=K__|data_hash=CRC32:57486574
+packet|codec_type=audio|stream_index=0|pts=9600|pts_time=1.200000|dts=9600|dts_time=1.200000|duration=320|duration_time=0.040000|size=4|pos=120|flags=K__|data_hash=CRC32:3fcc8689
+packet|codec_type=audio|stream_index=0|pts=9920|pts_time=1.240000|dts=9920|dts_time=1.240000|duration=320|duration_time=0.040000|size=4|pos=124|flags=K__|data_hash=CRC32:867b2a72
+packet|codec_type=audio|stream_index=0|pts=10240|pts_time=1.280000|dts=10240|dts_time=1.280000|duration=320|duration_time=0.040000|size=4|pos=128|flags=K__|data_hash=CRC32:4ad0edb1
+packet|codec_type=audio|stream_index=0|pts=10560|pts_time=1.320000|dts=10560|dts_time=1.320000|duration=320|duration_time=0.040000|size=4|pos=132|flags=K__|data_hash=CRC32:a8997530
+packet|codec_type=audio|stream_index=0|pts=10880|pts_time=1.360000|dts=10880|dts_time=1.360000|duration=320|duration_time=0.040000|size=4|pos=136|flags=K__|data_hash=CRC32:629bd7ea
+packet|codec_type=audio|stream_index=0|pts=11200|pts_time=1.400000|dts=11200|dts_time=1.400000|duration=320|duration_time=0.040000|size=4|pos=140|flags=K__|data_hash=CRC32:d6f6b5b7
+packet|codec_type=audio|stream_index=0|pts=11520|pts_time=1.440000|dts=11520|dts_time=1.440000|duration=320|duration_time=0.040000|size=4|pos=144|flags=K__|data_hash=CRC32:c7f2297f
+packet|codec_type=audio|stream_index=0|pts=11840|pts_time=1.480000|dts=11840|dts_time=1.480000|duration=320|duration_time=0.040000|size=4|pos=148|flags=K__|data_hash=CRC32:0ae4c6b2
+packet|codec_type=audio|stream_index=0|pts=12160|pts_time=1.520000|dts=12160|dts_time=1.520000|duration=320|duration_time=0.040000|size=4|pos=152|flags=K__|data_hash=CRC32:b9afc05e
+packet|codec_type=audio|stream_index=0|pts=12480|pts_time=1.560000|dts=12480|dts_time=1.560000|duration=320|duration_time=0.040000|size=4|pos=156|flags=K__|data_hash=CRC32:450020be
+packet|codec_type=audio|stream_index=0|pts=12800|pts_time=1.600000|dts=12800|dts_time=1.600000|duration=320|duration_time=0.040000|size=4|pos=160|flags=K__|data_hash=CRC32:c05b5fa8
+packet|codec_type=audio|stream_index=0|pts=13120|pts_time=1.640000|dts=13120|dts_time=1.640000|duration=320|duration_time=0.040000|size=4|pos=164|flags=K__|data_hash=CRC32:3c550858
+packet|codec_type=audio|stream_index=0|pts=13440|pts_time=1.680000|dts=13440|dts_time=1.680000|duration=320|duration_time=0.040000|size=4|pos=168|flags=K__|data_hash=CRC32:53873576
+packet|codec_type=audio|stream_index=0|pts=13760|pts_time=1.720000|dts=13760|dts_time=1.720000|duration=320|duration_time=0.040000|size=4|pos=172|flags=K__|data_hash=CRC32:7eb457ad
+packet|codec_type=audio|stream_index=0|pts=14080|pts_time=1.760000|dts=14080|dts_time=1.760000|duration=320|duration_time=0.040000|size=4|pos=176|flags=K__|data_hash=CRC32:f8cf8ea0
+packet|codec_type=audio|stream_index=0|pts=14400|pts_time=1.800000|dts=14400|dts_time=1.800000|duration=320|duration_time=0.040000|size=4|pos=180|flags=K__|data_hash=CRC32:4c45d460
+packet|codec_type=audio|stream_index=0|pts=14720|pts_time=1.840000|dts=14720|dts_time=1.840000|duration=320|duration_time=0.040000|size=4|pos=184|flags=K__|data_hash=CRC32:bdcda527
+packet|codec_type=audio|stream_index=0|pts=15040|pts_time=1.880000|dts=15040|dts_time=1.880000|duration=320|duration_time=0.040000|size=4|pos=188|flags=K__|data_hash=CRC32:971c41b6
+packet|codec_type=audio|stream_index=0|pts=15360|pts_time=1.920000|dts=15360|dts_time=1.920000|duration=320|duration_time=0.040000|size=4|pos=192|flags=K__|data_hash=CRC32:091db650
+packet|codec_type=audio|stream_index=0|pts=15680|pts_time=1.960000|dts=15680|dts_time=1.960000|duration=320|duration_time=0.040000|size=4|pos=196|flags=K__|data_hash=CRC32:3e214057
+packet|codec_type=audio|stream_index=0|pts=16000|pts_time=2.000000|dts=16000|dts_time=2.000000|duration=320|duration_time=0.040000|size=4|pos=200|flags=K__|data_hash=CRC32:af7b7f6f
+packet|codec_type=audio|stream_index=0|pts=16320|pts_time=2.040000|dts=16320|dts_time=2.040000|duration=320|duration_time=0.040000|size=4|pos=204|flags=K__|data_hash=CRC32:5091da7b
+packet|codec_type=audio|stream_index=0|pts=16640|pts_time=2.080000|dts=16640|dts_time=2.080000|duration=320|duration_time=0.040000|size=4|pos=208|flags=K__|data_hash=CRC32:5ec88106
+packet|codec_type=audio|stream_index=0|pts=16960|pts_time=2.120000|dts=16960|dts_time=2.120000|duration=320|duration_time=0.040000|size=4|pos=212|flags=K__|data_hash=CRC32:d8561d0a
+packet|codec_type=audio|stream_index=0|pts=17280|pts_time=2.160000|dts=17280|dts_time=2.160000|duration=320|duration_time=0.040000|size=4|pos=216|flags=K__|data_hash=CRC32:1730a3fc
+packet|codec_type=audio|stream_index=0|pts=17600|pts_time=2.200000|dts=17600|dts_time=2.200000|duration=320|duration_time=0.040000|size=4|pos=220|flags=K__|data_hash=CRC32:53da58ed
+packet|codec_type=audio|stream_index=0|pts=17920|pts_time=2.240000|dts=17920|dts_time=2.240000|duration=320|duration_time=0.040000|size=4|pos=224|flags=K__|data_hash=CRC32:bcc878a7
+packet|codec_type=audio|stream_index=0|pts=18240|pts_time=2.280000|dts=18240|dts_time=2.280000|duration=320|duration_time=0.040000|size=4|pos=228|flags=K__|data_hash=CRC32:92ff45b1
+packet|codec_type=audio|stream_index=0|pts=18560|pts_time=2.320000|dts=18560|dts_time=2.320000|duration=320|duration_time=0.040000|size=4|pos=232|flags=K__|data_hash=CRC32:6cdf51c9
+packet|codec_type=audio|stream_index=0|pts=18880|pts_time=2.360000|dts=18880|dts_time=2.360000|duration=320|duration_time=0.040000|size=4|pos=236|flags=K__|data_hash=CRC32:87bffa67
+packet|codec_type=audio|stream_index=0|pts=19200|pts_time=2.400000|dts=19200|dts_time=2.400000|duration=320|duration_time=0.040000|size=4|pos=240|flags=K__|data_hash=CRC32:49926f0b
+packet|codec_type=audio|stream_index=0|pts=19520|pts_time=2.440000|dts=19520|dts_time=2.440000|duration=320|duration_time=0.040000|size=4|pos=244|flags=K__|data_hash=CRC32:746efec4
+packet|codec_type=audio|stream_index=0|pts=19840|pts_time=2.480000|dts=19840|dts_time=2.480000|duration=320|duration_time=0.040000|size=4|pos=248|flags=K__|data_hash=CRC32:6f5b85a7
+packet|codec_type=audio|stream_index=0|pts=20160|pts_time=2.520000|dts=20160|dts_time=2.520000|duration=320|duration_time=0.040000|size=4|pos=252|flags=K__|data_hash=CRC32:cf14d485
+packet|codec_type=audio|stream_index=0|pts=20480|pts_time=2.560000|dts=20480|dts_time=2.560000|duration=320|duration_time=0.040000|size=4|pos=256|flags=K__|data_hash=CRC32:97df5c93
+packet|codec_type=audio|stream_index=0|pts=20800|pts_time=2.600000|dts=20800|dts_time=2.600000|duration=320|duration_time=0.040000|size=4|pos=260|flags=K__|data_hash=CRC32:ccd5b3b1
+packet|codec_type=audio|stream_index=0|pts=21120|pts_time=2.640000|dts=21120|dts_time=2.640000|duration=320|duration_time=0.040000|size=4|pos=264|flags=K__|data_hash=CRC32:c1cfda7e
+packet|codec_type=audio|stream_index=0|pts=21440|pts_time=2.680000|dts=21440|dts_time=2.680000|duration=320|duration_time=0.040000|size=4|pos=268|flags=K__|data_hash=CRC32:5ca3640c
+packet|codec_type=audio|stream_index=0|pts=21760|pts_time=2.720000|dts=21760|dts_time=2.720000|duration=320|duration_time=0.040000|size=4|pos=272|flags=K__|data_hash=CRC32:86898adb
+packet|codec_type=audio|stream_index=0|pts=22080|pts_time=2.760000|dts=22080|dts_time=2.760000|duration=320|duration_time=0.040000|size=4|pos=276|flags=K__|data_hash=CRC32:12b10cb1
+packet|codec_type=audio|stream_index=0|pts=22400|pts_time=2.800000|dts=22400|dts_time=2.800000|duration=320|duration_time=0.040000|size=4|pos=280|flags=K__|data_hash=CRC32:bad3ec5b
+packet|codec_type=audio|stream_index=0|pts=22720|pts_time=2.840000|dts=22720|dts_time=2.840000|duration=320|duration_time=0.040000|size=4|pos=284|flags=K__|data_hash=CRC32:a0224b4f
+packet|codec_type=audio|stream_index=0|pts=23040|pts_time=2.880000|dts=23040|dts_time=2.880000|duration=320|duration_time=0.040000|size=4|pos=288|flags=K__|data_hash=CRC32:acd584da
+packet|codec_type=audio|stream_index=0|pts=23360|pts_time=2.920000|dts=23360|dts_time=2.920000|duration=320|duration_time=0.040000|size=4|pos=292|flags=K__|data_hash=CRC32:aba0df88
+packet|codec_type=audio|stream_index=0|pts=23680|pts_time=2.960000|dts=23680|dts_time=2.960000|duration=320|duration_time=0.040000|size=4|pos=296|flags=K__|data_hash=CRC32:69992e4e
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=24000|duration=3.000000|bit_rate=800|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=75|extradata_size=4|extradata_hash=CRC32:51213271|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-700C.c2|nb_streams=1|nb_programs=0|format_name=codec2raw|start_time=N/A|duration=3.000000|size=300|bit_rate=800|probe_score=0
diff --git a/tests/ref/fate/codec2raw-probe-cut-1200 b/tests/ref/fate/codec2raw-probe-cut-1200
new file mode 100644
index 0000000000..d24c008cdc
--- /dev/null
+++ b/tests/ref/fate/codec2raw-probe-cut-1200
@@ -0,0 +1,18 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=320|duration_time=0.040000|size=6|pos=0|flags=K__|data_hash=CRC32:221d0fc7
+packet|codec_type=audio|stream_index=0|pts=320|pts_time=0.040000|dts=320|dts_time=0.040000|duration=320|duration_time=0.040000|size=6|pos=6|flags=K__|data_hash=CRC32:2bf167b8
+packet|codec_type=audio|stream_index=0|pts=640|pts_time=0.080000|dts=640|dts_time=0.080000|duration=320|duration_time=0.040000|size=6|pos=12|flags=K__|data_hash=CRC32:a7156a29
+packet|codec_type=audio|stream_index=0|pts=960|pts_time=0.120000|dts=960|dts_time=0.120000|duration=320|duration_time=0.040000|size=6|pos=18|flags=K__|data_hash=CRC32:268c4e72
+packet|codec_type=audio|stream_index=0|pts=1280|pts_time=0.160000|dts=1280|dts_time=0.160000|duration=320|duration_time=0.040000|size=6|pos=24|flags=K__|data_hash=CRC32:5a23ffe0
+packet|codec_type=audio|stream_index=0|pts=1600|pts_time=0.200000|dts=1600|dts_time=0.200000|duration=320|duration_time=0.040000|size=6|pos=30|flags=K__|data_hash=CRC32:ed696a9b
+packet|codec_type=audio|stream_index=0|pts=1920|pts_time=0.240000|dts=1920|dts_time=0.240000|duration=320|duration_time=0.040000|size=6|pos=36|flags=K__|data_hash=CRC32:8c2de44f
+packet|codec_type=audio|stream_index=0|pts=2240|pts_time=0.280000|dts=2240|dts_time=0.280000|duration=320|duration_time=0.040000|size=6|pos=42|flags=K__|data_hash=CRC32:46dcc273
+packet|codec_type=audio|stream_index=0|pts=2560|pts_time=0.320000|dts=2560|dts_time=0.320000|duration=320|duration_time=0.040000|size=6|pos=48|flags=K__|data_hash=CRC32:7c6fd6bd
+packet|codec_type=audio|stream_index=0|pts=2880|pts_time=0.360000|dts=2880|dts_time=0.360000|duration=320|duration_time=0.040000|size=6|pos=54|flags=K__|data_hash=CRC32:54794fd6
+packet|codec_type=audio|stream_index=0|pts=3200|pts_time=0.400000|dts=3200|dts_time=0.400000|duration=320|duration_time=0.040000|size=6|pos=60|flags=K__|data_hash=CRC32:f56e65a6
+packet|codec_type=audio|stream_index=0|pts=3520|pts_time=0.440000|dts=3520|dts_time=0.440000|duration=320|duration_time=0.040000|size=6|pos=66|flags=K__|data_hash=CRC32:5a22ccb3
+packet|codec_type=audio|stream_index=0|pts=3840|pts_time=0.480000|dts=3840|dts_time=0.480000|duration=320|duration_time=0.040000|size=6|pos=72|flags=K__|data_hash=CRC32:80096180
+packet|codec_type=audio|stream_index=0|pts=4160|pts_time=0.520000|dts=4160|dts_time=0.520000|duration=320|duration_time=0.040000|size=6|pos=78|flags=K__|data_hash=CRC32:8959f4e8
+packet|codec_type=audio|stream_index=0|pts=4480|pts_time=0.560000|dts=4480|dts_time=0.560000|duration=320|duration_time=0.040000|size=6|pos=84|flags=K__|data_hash=CRC32:cc92a5ce
+packet|codec_type=audio|stream_index=0|pts=4800|pts_time=0.600000|dts=4800|dts_time=0.600000|duration=320|duration_time=0.040000|size=3|pos=90|flags=K_C|data_hash=CRC32:5575a889
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=4800|duration=0.600000|bit_rate=1200|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=16|extradata_size=4|extradata_hash=CRC32:e48f4c3c|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-1200.c2|nb_streams=1|nb_programs=0|format_name=codec2raw|start_time=N/A|duration=0.600000|size=93|bit_rate=1240|probe_score=0
diff --git a/tests/ref/fate/codec2raw-probe-cut-1300 b/tests/ref/fate/codec2raw-probe-cut-1300
new file mode 100644
index 0000000000..383abd1c8b
--- /dev/null
+++ b/tests/ref/fate/codec2raw-probe-cut-1300
@@ -0,0 +1,16 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=320|duration_time=0.040000|size=7|pos=0|flags=K__|data_hash=CRC32:e1c986d9
+packet|codec_type=audio|stream_index=0|pts=320|pts_time=0.040000|dts=320|dts_time=0.040000|duration=320|duration_time=0.040000|size=7|pos=7|flags=K__|data_hash=CRC32:d19871aa
+packet|codec_type=audio|stream_index=0|pts=640|pts_time=0.080000|dts=640|dts_time=0.080000|duration=320|duration_time=0.040000|size=7|pos=14|flags=K__|data_hash=CRC32:720c8431
+packet|codec_type=audio|stream_index=0|pts=960|pts_time=0.120000|dts=960|dts_time=0.120000|duration=320|duration_time=0.040000|size=7|pos=21|flags=K__|data_hash=CRC32:5e0cab28
+packet|codec_type=audio|stream_index=0|pts=1280|pts_time=0.160000|dts=1280|dts_time=0.160000|duration=320|duration_time=0.040000|size=7|pos=28|flags=K__|data_hash=CRC32:431d4805
+packet|codec_type=audio|stream_index=0|pts=1600|pts_time=0.200000|dts=1600|dts_time=0.200000|duration=320|duration_time=0.040000|size=7|pos=35|flags=K__|data_hash=CRC32:e506c285
+packet|codec_type=audio|stream_index=0|pts=1920|pts_time=0.240000|dts=1920|dts_time=0.240000|duration=320|duration_time=0.040000|size=7|pos=42|flags=K__|data_hash=CRC32:b0ca6019
+packet|codec_type=audio|stream_index=0|pts=2240|pts_time=0.280000|dts=2240|dts_time=0.280000|duration=320|duration_time=0.040000|size=7|pos=49|flags=K__|data_hash=CRC32:25ef5865
+packet|codec_type=audio|stream_index=0|pts=2560|pts_time=0.320000|dts=2560|dts_time=0.320000|duration=320|duration_time=0.040000|size=7|pos=56|flags=K__|data_hash=CRC32:230d8966
+packet|codec_type=audio|stream_index=0|pts=2880|pts_time=0.360000|dts=2880|dts_time=0.360000|duration=320|duration_time=0.040000|size=7|pos=63|flags=K__|data_hash=CRC32:f552d25c
+packet|codec_type=audio|stream_index=0|pts=3200|pts_time=0.400000|dts=3200|dts_time=0.400000|duration=320|duration_time=0.040000|size=7|pos=70|flags=K__|data_hash=CRC32:9a0c149d
+packet|codec_type=audio|stream_index=0|pts=3520|pts_time=0.440000|dts=3520|dts_time=0.440000|duration=320|duration_time=0.040000|size=7|pos=77|flags=K__|data_hash=CRC32:c0332732
+packet|codec_type=audio|stream_index=0|pts=3840|pts_time=0.480000|dts=3840|dts_time=0.480000|duration=320|duration_time=0.040000|size=7|pos=84|flags=K__|data_hash=CRC32:7500143a
+packet|codec_type=audio|stream_index=0|pts=4160|pts_time=0.520000|dts=4160|dts_time=0.520000|duration=320|duration_time=0.040000|size=2|pos=91|flags=K_C|data_hash=CRC32:bc065677
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=4160|duration=0.520000|bit_rate=1400|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=14|extradata_size=4|extradata_hash=CRC32:fd947d7d|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-1300.c2|nb_streams=1|nb_programs=0|format_name=codec2raw|start_time=N/A|duration=0.520000|size=93|bit_rate=1430|probe_score=0
diff --git a/tests/ref/fate/codec2raw-probe-cut-1400 b/tests/ref/fate/codec2raw-probe-cut-1400
new file mode 100644
index 0000000000..163c56b9e3
--- /dev/null
+++ b/tests/ref/fate/codec2raw-probe-cut-1400
@@ -0,0 +1,16 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=320|duration_time=0.040000|size=7|pos=0|flags=K__|data_hash=CRC32:d9be5755
+packet|codec_type=audio|stream_index=0|pts=320|pts_time=0.040000|dts=320|dts_time=0.040000|duration=320|duration_time=0.040000|size=7|pos=7|flags=K__|data_hash=CRC32:472ceccd
+packet|codec_type=audio|stream_index=0|pts=640|pts_time=0.080000|dts=640|dts_time=0.080000|duration=320|duration_time=0.040000|size=7|pos=14|flags=K__|data_hash=CRC32:303b21b6
+packet|codec_type=audio|stream_index=0|pts=960|pts_time=0.120000|dts=960|dts_time=0.120000|duration=320|duration_time=0.040000|size=7|pos=21|flags=K__|data_hash=CRC32:dc2b4dd6
+packet|codec_type=audio|stream_index=0|pts=1280|pts_time=0.160000|dts=1280|dts_time=0.160000|duration=320|duration_time=0.040000|size=7|pos=28|flags=K__|data_hash=CRC32:e8888eb2
+packet|codec_type=audio|stream_index=0|pts=1600|pts_time=0.200000|dts=1600|dts_time=0.200000|duration=320|duration_time=0.040000|size=7|pos=35|flags=K__|data_hash=CRC32:fa3d0618
+packet|codec_type=audio|stream_index=0|pts=1920|pts_time=0.240000|dts=1920|dts_time=0.240000|duration=320|duration_time=0.040000|size=7|pos=42|flags=K__|data_hash=CRC32:68478d05
+packet|codec_type=audio|stream_index=0|pts=2240|pts_time=0.280000|dts=2240|dts_time=0.280000|duration=320|duration_time=0.040000|size=7|pos=49|flags=K__|data_hash=CRC32:5801bcd3
+packet|codec_type=audio|stream_index=0|pts=2560|pts_time=0.320000|dts=2560|dts_time=0.320000|duration=320|duration_time=0.040000|size=7|pos=56|flags=K__|data_hash=CRC32:35119a8e
+packet|codec_type=audio|stream_index=0|pts=2880|pts_time=0.360000|dts=2880|dts_time=0.360000|duration=320|duration_time=0.040000|size=7|pos=63|flags=K__|data_hash=CRC32:7b36b9fd
+packet|codec_type=audio|stream_index=0|pts=3200|pts_time=0.400000|dts=3200|dts_time=0.400000|duration=320|duration_time=0.040000|size=7|pos=70|flags=K__|data_hash=CRC32:efa8ba25
+packet|codec_type=audio|stream_index=0|pts=3520|pts_time=0.440000|dts=3520|dts_time=0.440000|duration=320|duration_time=0.040000|size=7|pos=77|flags=K__|data_hash=CRC32:775b298f
+packet|codec_type=audio|stream_index=0|pts=3840|pts_time=0.480000|dts=3840|dts_time=0.480000|duration=320|duration_time=0.040000|size=7|pos=84|flags=K__|data_hash=CRC32:04a24aad
+packet|codec_type=audio|stream_index=0|pts=4160|pts_time=0.520000|dts=4160|dts_time=0.520000|duration=320|duration_time=0.040000|size=2|pos=91|flags=K_C|data_hash=CRC32:511cb226
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=4160|duration=0.520000|bit_rate=1400|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=14|extradata_size=4|extradata_hash=CRC32:b2d5ebba|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-1400.c2|nb_streams=1|nb_programs=0|format_name=codec2raw|start_time=N/A|duration=0.520000|size=93|bit_rate=1430|probe_score=0
diff --git a/tests/ref/fate/codec2raw-probe-cut-1600 b/tests/ref/fate/codec2raw-probe-cut-1600
new file mode 100644
index 0000000000..93ed2ec999
--- /dev/null
+++ b/tests/ref/fate/codec2raw-probe-cut-1600
@@ -0,0 +1,14 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=320|duration_time=0.040000|size=8|pos=0|flags=K__|data_hash=CRC32:5ee6636d
+packet|codec_type=audio|stream_index=0|pts=320|pts_time=0.040000|dts=320|dts_time=0.040000|duration=320|duration_time=0.040000|size=8|pos=8|flags=K__|data_hash=CRC32:be3e8ff8
+packet|codec_type=audio|stream_index=0|pts=640|pts_time=0.080000|dts=640|dts_time=0.080000|duration=320|duration_time=0.040000|size=8|pos=16|flags=K__|data_hash=CRC32:026dbc9a
+packet|codec_type=audio|stream_index=0|pts=960|pts_time=0.120000|dts=960|dts_time=0.120000|duration=320|duration_time=0.040000|size=8|pos=24|flags=K__|data_hash=CRC32:975599a2
+packet|codec_type=audio|stream_index=0|pts=1280|pts_time=0.160000|dts=1280|dts_time=0.160000|duration=320|duration_time=0.040000|size=8|pos=32|flags=K__|data_hash=CRC32:c55f65e7
+packet|codec_type=audio|stream_index=0|pts=1600|pts_time=0.200000|dts=1600|dts_time=0.200000|duration=320|duration_time=0.040000|size=8|pos=40|flags=K__|data_hash=CRC32:3731f5b3
+packet|codec_type=audio|stream_index=0|pts=1920|pts_time=0.240000|dts=1920|dts_time=0.240000|duration=320|duration_time=0.040000|size=8|pos=48|flags=K__|data_hash=CRC32:ac397199
+packet|codec_type=audio|stream_index=0|pts=2240|pts_time=0.280000|dts=2240|dts_time=0.280000|duration=320|duration_time=0.040000|size=8|pos=56|flags=K__|data_hash=CRC32:f4291bb5
+packet|codec_type=audio|stream_index=0|pts=2560|pts_time=0.320000|dts=2560|dts_time=0.320000|duration=320|duration_time=0.040000|size=8|pos=64|flags=K__|data_hash=CRC32:91d5ea5c
+packet|codec_type=audio|stream_index=0|pts=2880|pts_time=0.360000|dts=2880|dts_time=0.360000|duration=320|duration_time=0.040000|size=8|pos=72|flags=K__|data_hash=CRC32:a33f36db
+packet|codec_type=audio|stream_index=0|pts=3200|pts_time=0.400000|dts=3200|dts_time=0.400000|duration=320|duration_time=0.040000|size=8|pos=80|flags=K__|data_hash=CRC32:022e9118
+packet|codec_type=audio|stream_index=0|pts=3520|pts_time=0.440000|dts=3520|dts_time=0.440000|duration=320|duration_time=0.040000|size=5|pos=88|flags=K_C|data_hash=CRC32:9b0ed102
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=3520|duration=0.440000|bit_rate=1600|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=12|extradata_size=4|extradata_hash=CRC32:abcedafb|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-1600.c2|nb_streams=1|nb_programs=0|format_name=codec2raw|start_time=N/A|duration=0.440000|size=93|bit_rate=1690|probe_score=0
diff --git a/tests/ref/fate/codec2raw-probe-cut-2400 b/tests/ref/fate/codec2raw-probe-cut-2400
new file mode 100644
index 0000000000..c2634e1565
--- /dev/null
+++ b/tests/ref/fate/codec2raw-probe-cut-2400
@@ -0,0 +1,18 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=160|duration_time=0.020000|size=6|pos=0|flags=K__|data_hash=CRC32:402e2751
+packet|codec_type=audio|stream_index=0|pts=160|pts_time=0.020000|dts=160|dts_time=0.020000|duration=160|duration_time=0.020000|size=6|pos=6|flags=K__|data_hash=CRC32:8be241bf
+packet|codec_type=audio|stream_index=0|pts=320|pts_time=0.040000|dts=320|dts_time=0.040000|duration=160|duration_time=0.020000|size=6|pos=12|flags=K__|data_hash=CRC32:affee1a4
+packet|codec_type=audio|stream_index=0|pts=480|pts_time=0.060000|dts=480|dts_time=0.060000|duration=160|duration_time=0.020000|size=6|pos=18|flags=K__|data_hash=CRC32:af3a2722
+packet|codec_type=audio|stream_index=0|pts=640|pts_time=0.080000|dts=640|dts_time=0.080000|duration=160|duration_time=0.020000|size=6|pos=24|flags=K__|data_hash=CRC32:ccde12cd
+packet|codec_type=audio|stream_index=0|pts=800|pts_time=0.100000|dts=800|dts_time=0.100000|duration=160|duration_time=0.020000|size=6|pos=30|flags=K__|data_hash=CRC32:53fa8852
+packet|codec_type=audio|stream_index=0|pts=960|pts_time=0.120000|dts=960|dts_time=0.120000|duration=160|duration_time=0.020000|size=6|pos=36|flags=K__|data_hash=CRC32:8a2715c3
+packet|codec_type=audio|stream_index=0|pts=1120|pts_time=0.140000|dts=1120|dts_time=0.140000|duration=160|duration_time=0.020000|size=6|pos=42|flags=K__|data_hash=CRC32:f5338fbe
+packet|codec_type=audio|stream_index=0|pts=1280|pts_time=0.160000|dts=1280|dts_time=0.160000|duration=160|duration_time=0.020000|size=6|pos=48|flags=K__|data_hash=CRC32:8c4f9b10
+packet|codec_type=audio|stream_index=0|pts=1440|pts_time=0.180000|dts=1440|dts_time=0.180000|duration=160|duration_time=0.020000|size=6|pos=54|flags=K__|data_hash=CRC32:d17ddf33
+packet|codec_type=audio|stream_index=0|pts=1600|pts_time=0.200000|dts=1600|dts_time=0.200000|duration=160|duration_time=0.020000|size=6|pos=60|flags=K__|data_hash=CRC32:1839685d
+packet|codec_type=audio|stream_index=0|pts=1760|pts_time=0.220000|dts=1760|dts_time=0.220000|duration=160|duration_time=0.020000|size=6|pos=66|flags=K__|data_hash=CRC32:fbd1489c
+packet|codec_type=audio|stream_index=0|pts=1920|pts_time=0.240000|dts=1920|dts_time=0.240000|duration=160|duration_time=0.020000|size=6|pos=72|flags=K__|data_hash=CRC32:55174066
+packet|codec_type=audio|stream_index=0|pts=2080|pts_time=0.260000|dts=2080|dts_time=0.260000|duration=160|duration_time=0.020000|size=6|pos=78|flags=K__|data_hash=CRC32:4931a27d
+packet|codec_type=audio|stream_index=0|pts=2240|pts_time=0.280000|dts=2240|dts_time=0.280000|duration=160|duration_time=0.020000|size=6|pos=84|flags=K__|data_hash=CRC32:87ef4f97
+packet|codec_type=audio|stream_index=0|pts=2400|pts_time=0.300000|dts=2400|dts_time=0.300000|duration=160|duration_time=0.020000|size=3|pos=90|flags=K_C|data_hash=CRC32:cf91772c
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=2400|duration=0.300000|bit_rate=2400|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=16|extradata_size=4|extradata_hash=CRC32:80e38938|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-2400.c2|nb_streams=1|nb_programs=0|format_name=codec2raw|start_time=N/A|duration=0.300000|size=93|bit_rate=2480|probe_score=0
diff --git a/tests/ref/fate/codec2raw-probe-cut-3200 b/tests/ref/fate/codec2raw-probe-cut-3200
new file mode 100644
index 0000000000..3b39a2b133
--- /dev/null
+++ b/tests/ref/fate/codec2raw-probe-cut-3200
@@ -0,0 +1,14 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=160|duration_time=0.020000|size=8|pos=0|flags=K__|data_hash=CRC32:47b54c75
+packet|codec_type=audio|stream_index=0|pts=160|pts_time=0.020000|dts=160|dts_time=0.020000|duration=160|duration_time=0.020000|size=8|pos=8|flags=K__|data_hash=CRC32:7664d67c
+packet|codec_type=audio|stream_index=0|pts=320|pts_time=0.040000|dts=320|dts_time=0.040000|duration=160|duration_time=0.020000|size=8|pos=16|flags=K__|data_hash=CRC32:8661cfcf
+packet|codec_type=audio|stream_index=0|pts=480|pts_time=0.060000|dts=480|dts_time=0.060000|duration=160|duration_time=0.020000|size=8|pos=24|flags=K__|data_hash=CRC32:7058a9c8
+packet|codec_type=audio|stream_index=0|pts=640|pts_time=0.080000|dts=640|dts_time=0.080000|duration=160|duration_time=0.020000|size=8|pos=32|flags=K__|data_hash=CRC32:0ba5d0e8
+packet|codec_type=audio|stream_index=0|pts=800|pts_time=0.100000|dts=800|dts_time=0.100000|duration=160|duration_time=0.020000|size=8|pos=40|flags=K__|data_hash=CRC32:ca1b9e09
+packet|codec_type=audio|stream_index=0|pts=960|pts_time=0.120000|dts=960|dts_time=0.120000|duration=160|duration_time=0.020000|size=8|pos=48|flags=K__|data_hash=CRC32:cc6efcdb
+packet|codec_type=audio|stream_index=0|pts=1120|pts_time=0.140000|dts=1120|dts_time=0.140000|duration=160|duration_time=0.020000|size=8|pos=56|flags=K__|data_hash=CRC32:d38a7221
+packet|codec_type=audio|stream_index=0|pts=1280|pts_time=0.160000|dts=1280|dts_time=0.160000|duration=160|duration_time=0.020000|size=8|pos=64|flags=K__|data_hash=CRC32:c2890544
+packet|codec_type=audio|stream_index=0|pts=1440|pts_time=0.180000|dts=1440|dts_time=0.180000|duration=160|duration_time=0.020000|size=8|pos=72|flags=K__|data_hash=CRC32:ef6b161c
+packet|codec_type=audio|stream_index=0|pts=1600|pts_time=0.200000|dts=1600|dts_time=0.200000|duration=160|duration_time=0.020000|size=8|pos=80|flags=K__|data_hash=CRC32:0a8424a9
+packet|codec_type=audio|stream_index=0|pts=1760|pts_time=0.220000|dts=1760|dts_time=0.220000|duration=160|duration_time=0.020000|size=5|pos=88|flags=K_C|data_hash=CRC32:004d2db4
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=1760|duration=0.220000|bit_rate=3200|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=12|extradata_size=4|extradata_hash=CRC32:99f8b879|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-3200.c2|nb_streams=1|nb_programs=0|format_name=codec2raw|start_time=N/A|duration=0.220000|size=93|bit_rate=3381|probe_score=0
diff --git a/tests/ref/fate/codec2raw-probe-cut-700C b/tests/ref/fate/codec2raw-probe-cut-700C
new file mode 100644
index 0000000000..8afae57ffd
--- /dev/null
+++ b/tests/ref/fate/codec2raw-probe-cut-700C
@@ -0,0 +1,26 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=320|duration_time=0.040000|size=4|pos=0|flags=K__|data_hash=CRC32:ba74a8a8
+packet|codec_type=audio|stream_index=0|pts=320|pts_time=0.040000|dts=320|dts_time=0.040000|duration=320|duration_time=0.040000|size=4|pos=4|flags=K__|data_hash=CRC32:88da7b69
+packet|codec_type=audio|stream_index=0|pts=640|pts_time=0.080000|dts=640|dts_time=0.080000|duration=320|duration_time=0.040000|size=4|pos=8|flags=K__|data_hash=CRC32:e051f29c
+packet|codec_type=audio|stream_index=0|pts=960|pts_time=0.120000|dts=960|dts_time=0.120000|duration=320|duration_time=0.040000|size=4|pos=12|flags=K__|data_hash=CRC32:7a67dfb3
+packet|codec_type=audio|stream_index=0|pts=1280|pts_time=0.160000|dts=1280|dts_time=0.160000|duration=320|duration_time=0.040000|size=4|pos=16|flags=K__|data_hash=CRC32:6a5e99e7
+packet|codec_type=audio|stream_index=0|pts=1600|pts_time=0.200000|dts=1600|dts_time=0.200000|duration=320|duration_time=0.040000|size=4|pos=20|flags=K__|data_hash=CRC32:2eeae614
+packet|codec_type=audio|stream_index=0|pts=1920|pts_time=0.240000|dts=1920|dts_time=0.240000|duration=320|duration_time=0.040000|size=4|pos=24|flags=K__|data_hash=CRC32:1f05af30
+packet|codec_type=audio|stream_index=0|pts=2240|pts_time=0.280000|dts=2240|dts_time=0.280000|duration=320|duration_time=0.040000|size=4|pos=28|flags=K__|data_hash=CRC32:82db6a54
+packet|codec_type=audio|stream_index=0|pts=2560|pts_time=0.320000|dts=2560|dts_time=0.320000|duration=320|duration_time=0.040000|size=4|pos=32|flags=K__|data_hash=CRC32:618586f0
+packet|codec_type=audio|stream_index=0|pts=2880|pts_time=0.360000|dts=2880|dts_time=0.360000|duration=320|duration_time=0.040000|size=4|pos=36|flags=K__|data_hash=CRC32:2d71324f
+packet|codec_type=audio|stream_index=0|pts=3200|pts_time=0.400000|dts=3200|dts_time=0.400000|duration=320|duration_time=0.040000|size=4|pos=40|flags=K__|data_hash=CRC32:2507f5d3
+packet|codec_type=audio|stream_index=0|pts=3520|pts_time=0.440000|dts=3520|dts_time=0.440000|duration=320|duration_time=0.040000|size=4|pos=44|flags=K__|data_hash=CRC32:b813d1ef
+packet|codec_type=audio|stream_index=0|pts=3840|pts_time=0.480000|dts=3840|dts_time=0.480000|duration=320|duration_time=0.040000|size=4|pos=48|flags=K__|data_hash=CRC32:0850d097
+packet|codec_type=audio|stream_index=0|pts=4160|pts_time=0.520000|dts=4160|dts_time=0.520000|duration=320|duration_time=0.040000|size=4|pos=52|flags=K__|data_hash=CRC32:1271a7df
+packet|codec_type=audio|stream_index=0|pts=4480|pts_time=0.560000|dts=4480|dts_time=0.560000|duration=320|duration_time=0.040000|size=4|pos=56|flags=K__|data_hash=CRC32:bd28b85d
+packet|codec_type=audio|stream_index=0|pts=4800|pts_time=0.600000|dts=4800|dts_time=0.600000|duration=320|duration_time=0.040000|size=4|pos=60|flags=K__|data_hash=CRC32:41126e67
+packet|codec_type=audio|stream_index=0|pts=5120|pts_time=0.640000|dts=5120|dts_time=0.640000|duration=320|duration_time=0.040000|size=4|pos=64|flags=K__|data_hash=CRC32:5e4ac580
+packet|codec_type=audio|stream_index=0|pts=5440|pts_time=0.680000|dts=5440|dts_time=0.680000|duration=320|duration_time=0.040000|size=4|pos=68|flags=K__|data_hash=CRC32:8a072bbe
+packet|codec_type=audio|stream_index=0|pts=5760|pts_time=0.720000|dts=5760|dts_time=0.720000|duration=320|duration_time=0.040000|size=4|pos=72|flags=K__|data_hash=CRC32:2844a6ee
+packet|codec_type=audio|stream_index=0|pts=6080|pts_time=0.760000|dts=6080|dts_time=0.760000|duration=320|duration_time=0.040000|size=4|pos=76|flags=K__|data_hash=CRC32:22f21815
+packet|codec_type=audio|stream_index=0|pts=6400|pts_time=0.800000|dts=6400|dts_time=0.800000|duration=320|duration_time=0.040000|size=4|pos=80|flags=K__|data_hash=CRC32:d6ad2b7f
+packet|codec_type=audio|stream_index=0|pts=6720|pts_time=0.840000|dts=6720|dts_time=0.840000|duration=320|duration_time=0.040000|size=4|pos=84|flags=K__|data_hash=CRC32:cd952e76
+packet|codec_type=audio|stream_index=0|pts=7040|pts_time=0.880000|dts=7040|dts_time=0.880000|duration=320|duration_time=0.040000|size=4|pos=88|flags=K__|data_hash=CRC32:b3b92f90
+packet|codec_type=audio|stream_index=0|pts=7360|pts_time=0.920000|dts=7360|dts_time=0.920000|duration=320|duration_time=0.040000|size=1|pos=92|flags=K_C|data_hash=CRC32:7f6567cb
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=7360|duration=0.920000|bit_rate=800|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=24|extradata_size=4|extradata_hash=CRC32:51213271|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-700C.c2|nb_streams=1|nb_programs=0|format_name=codec2raw|start_time=N/A|duration=0.920000|size=93|bit_rate=808|probe_score=0
diff --git a/tests/ref/fate/codec2raw-probe-multi-1200 b/tests/ref/fate/codec2raw-probe-multi-1200
new file mode 100644
index 0000000000..610c1b42ef
--- /dev/null
+++ b/tests/ref/fate/codec2raw-probe-multi-1200
@@ -0,0 +1,10 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=3200|duration_time=0.400000|size=60|pos=0|flags=K__|data_hash=CRC32:97712e59
+packet|codec_type=audio|stream_index=0|pts=3200|pts_time=0.400000|dts=3200|dts_time=0.400000|duration=3200|duration_time=0.400000|size=60|pos=60|flags=K__|data_hash=CRC32:ead75c0d
+packet|codec_type=audio|stream_index=0|pts=6400|pts_time=0.800000|dts=6400|dts_time=0.800000|duration=3200|duration_time=0.400000|size=60|pos=120|flags=K__|data_hash=CRC32:1fc51feb
+packet|codec_type=audio|stream_index=0|pts=9600|pts_time=1.200000|dts=9600|dts_time=1.200000|duration=3200|duration_time=0.400000|size=60|pos=180|flags=K__|data_hash=CRC32:9f97ee6b
+packet|codec_type=audio|stream_index=0|pts=12800|pts_time=1.600000|dts=12800|dts_time=1.600000|duration=3200|duration_time=0.400000|size=60|pos=240|flags=K__|data_hash=CRC32:3705d086
+packet|codec_type=audio|stream_index=0|pts=16000|pts_time=2.000000|dts=16000|dts_time=2.000000|duration=3200|duration_time=0.400000|size=60|pos=300|flags=K__|data_hash=CRC32:4ad7b6d0
+packet|codec_type=audio|stream_index=0|pts=19200|pts_time=2.400000|dts=19200|dts_time=2.400000|duration=3200|duration_time=0.400000|size=60|pos=360|flags=K__|data_hash=CRC32:20338c8c
+packet|codec_type=audio|stream_index=0|pts=22400|pts_time=2.800000|dts=22400|dts_time=2.800000|duration=1600|duration_time=0.200000|size=30|pos=420|flags=K__|data_hash=CRC32:3101b117
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=24000|duration=3.000000|bit_rate=1200|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=8|extradata_size=4|extradata_hash=CRC32:e48f4c3c|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-1200.c2|nb_streams=1|nb_programs=0|format_name=codec2raw|start_time=N/A|duration=3.000000|size=450|bit_rate=1200|probe_score=0
diff --git a/tests/ref/fate/codec2raw-probe-multi-1300 b/tests/ref/fate/codec2raw-probe-multi-1300
new file mode 100644
index 0000000000..65285f484a
--- /dev/null
+++ b/tests/ref/fate/codec2raw-probe-multi-1300
@@ -0,0 +1,10 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=3200|duration_time=0.400000|size=70|pos=0|flags=K__|data_hash=CRC32:5e784ba8
+packet|codec_type=audio|stream_index=0|pts=3200|pts_time=0.400000|dts=3200|dts_time=0.400000|duration=3200|duration_time=0.400000|size=70|pos=70|flags=K__|data_hash=CRC32:bc4c87ee
+packet|codec_type=audio|stream_index=0|pts=6400|pts_time=0.800000|dts=6400|dts_time=0.800000|duration=3200|duration_time=0.400000|size=70|pos=140|flags=K__|data_hash=CRC32:0424e8e4
+packet|codec_type=audio|stream_index=0|pts=9600|pts_time=1.200000|dts=9600|dts_time=1.200000|duration=3200|duration_time=0.400000|size=70|pos=210|flags=K__|data_hash=CRC32:c96f3946
+packet|codec_type=audio|stream_index=0|pts=12800|pts_time=1.600000|dts=12800|dts_time=1.600000|duration=3200|duration_time=0.400000|size=70|pos=280|flags=K__|data_hash=CRC32:ddc45481
+packet|codec_type=audio|stream_index=0|pts=16000|pts_time=2.000000|dts=16000|dts_time=2.000000|duration=3200|duration_time=0.400000|size=70|pos=350|flags=K__|data_hash=CRC32:972e3eb2
+packet|codec_type=audio|stream_index=0|pts=19200|pts_time=2.400000|dts=19200|dts_time=2.400000|duration=3200|duration_time=0.400000|size=70|pos=420|flags=K__|data_hash=CRC32:6c36af24
+packet|codec_type=audio|stream_index=0|pts=22400|pts_time=2.800000|dts=22400|dts_time=2.800000|duration=1600|duration_time=0.200000|size=35|pos=490|flags=K__|data_hash=CRC32:4e8805d3
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=24000|duration=3.000000|bit_rate=1400|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=8|extradata_size=4|extradata_hash=CRC32:fd947d7d|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-1300.c2|nb_streams=1|nb_programs=0|format_name=codec2raw|start_time=N/A|duration=3.000000|size=525|bit_rate=1400|probe_score=0
diff --git a/tests/ref/fate/codec2raw-probe-multi-1400 b/tests/ref/fate/codec2raw-probe-multi-1400
new file mode 100644
index 0000000000..97802c015f
--- /dev/null
+++ b/tests/ref/fate/codec2raw-probe-multi-1400
@@ -0,0 +1,10 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=3200|duration_time=0.400000|size=70|pos=0|flags=K__|data_hash=CRC32:de42f68f
+packet|codec_type=audio|stream_index=0|pts=3200|pts_time=0.400000|dts=3200|dts_time=0.400000|duration=3200|duration_time=0.400000|size=70|pos=70|flags=K__|data_hash=CRC32:c283c3cb
+packet|codec_type=audio|stream_index=0|pts=6400|pts_time=0.800000|dts=6400|dts_time=0.800000|duration=3200|duration_time=0.400000|size=70|pos=140|flags=K__|data_hash=CRC32:84fe588d
+packet|codec_type=audio|stream_index=0|pts=9600|pts_time=1.200000|dts=9600|dts_time=1.200000|duration=3200|duration_time=0.400000|size=70|pos=210|flags=K__|data_hash=CRC32:efe4a245
+packet|codec_type=audio|stream_index=0|pts=12800|pts_time=1.600000|dts=12800|dts_time=1.600000|duration=3200|duration_time=0.400000|size=70|pos=280|flags=K__|data_hash=CRC32:c31f9770
+packet|codec_type=audio|stream_index=0|pts=16000|pts_time=2.000000|dts=16000|dts_time=2.000000|duration=3200|duration_time=0.400000|size=70|pos=350|flags=K__|data_hash=CRC32:151692a9
+packet|codec_type=audio|stream_index=0|pts=19200|pts_time=2.400000|dts=19200|dts_time=2.400000|duration=3200|duration_time=0.400000|size=70|pos=420|flags=K__|data_hash=CRC32:eec5b59a
+packet|codec_type=audio|stream_index=0|pts=22400|pts_time=2.800000|dts=22400|dts_time=2.800000|duration=1600|duration_time=0.200000|size=35|pos=490|flags=K__|data_hash=CRC32:68f492a8
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=24000|duration=3.000000|bit_rate=1400|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=8|extradata_size=4|extradata_hash=CRC32:b2d5ebba|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-1400.c2|nb_streams=1|nb_programs=0|format_name=codec2raw|start_time=N/A|duration=3.000000|size=525|bit_rate=1400|probe_score=0
diff --git a/tests/ref/fate/codec2raw-probe-multi-1600 b/tests/ref/fate/codec2raw-probe-multi-1600
new file mode 100644
index 0000000000..c26ff812bb
--- /dev/null
+++ b/tests/ref/fate/codec2raw-probe-multi-1600
@@ -0,0 +1,10 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=3200|duration_time=0.400000|size=80|pos=0|flags=K__|data_hash=CRC32:74196300
+packet|codec_type=audio|stream_index=0|pts=3200|pts_time=0.400000|dts=3200|dts_time=0.400000|duration=3200|duration_time=0.400000|size=80|pos=80|flags=K__|data_hash=CRC32:13fdb6e5
+packet|codec_type=audio|stream_index=0|pts=6400|pts_time=0.800000|dts=6400|dts_time=0.800000|duration=3200|duration_time=0.400000|size=80|pos=160|flags=K__|data_hash=CRC32:8b1c3219
+packet|codec_type=audio|stream_index=0|pts=9600|pts_time=1.200000|dts=9600|dts_time=1.200000|duration=3200|duration_time=0.400000|size=80|pos=240|flags=K__|data_hash=CRC32:c2639e6e
+packet|codec_type=audio|stream_index=0|pts=12800|pts_time=1.600000|dts=12800|dts_time=1.600000|duration=3200|duration_time=0.400000|size=80|pos=320|flags=K__|data_hash=CRC32:e37eabc6
+packet|codec_type=audio|stream_index=0|pts=16000|pts_time=2.000000|dts=16000|dts_time=2.000000|duration=3200|duration_time=0.400000|size=80|pos=400|flags=K__|data_hash=CRC32:ade0886c
+packet|codec_type=audio|stream_index=0|pts=19200|pts_time=2.400000|dts=19200|dts_time=2.400000|duration=3200|duration_time=0.400000|size=80|pos=480|flags=K__|data_hash=CRC32:2ab5600a
+packet|codec_type=audio|stream_index=0|pts=22400|pts_time=2.800000|dts=22400|dts_time=2.800000|duration=1600|duration_time=0.200000|size=40|pos=560|flags=K__|data_hash=CRC32:e378558d
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=24000|duration=3.000000|bit_rate=1600|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=8|extradata_size=4|extradata_hash=CRC32:abcedafb|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-1600.c2|nb_streams=1|nb_programs=0|format_name=codec2raw|start_time=N/A|duration=3.000000|size=600|bit_rate=1600|probe_score=0
diff --git a/tests/ref/fate/codec2raw-probe-multi-2400 b/tests/ref/fate/codec2raw-probe-multi-2400
new file mode 100644
index 0000000000..b6d0f8c10b
--- /dev/null
+++ b/tests/ref/fate/codec2raw-probe-multi-2400
@@ -0,0 +1,17 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=1600|duration_time=0.200000|size=60|pos=0|flags=K__|data_hash=CRC32:7283101b
+packet|codec_type=audio|stream_index=0|pts=1600|pts_time=0.200000|dts=1600|dts_time=0.200000|duration=1600|duration_time=0.200000|size=60|pos=60|flags=K__|data_hash=CRC32:b60d32b9
+packet|codec_type=audio|stream_index=0|pts=3200|pts_time=0.400000|dts=3200|dts_time=0.400000|duration=1600|duration_time=0.200000|size=60|pos=120|flags=K__|data_hash=CRC32:23321384
+packet|codec_type=audio|stream_index=0|pts=4800|pts_time=0.600000|dts=4800|dts_time=0.600000|duration=1600|duration_time=0.200000|size=60|pos=180|flags=K__|data_hash=CRC32:05a4af80
+packet|codec_type=audio|stream_index=0|pts=6400|pts_time=0.800000|dts=6400|dts_time=0.800000|duration=1600|duration_time=0.200000|size=60|pos=240|flags=K__|data_hash=CRC32:d012a0f0
+packet|codec_type=audio|stream_index=0|pts=8000|pts_time=1.000000|dts=8000|dts_time=1.000000|duration=1600|duration_time=0.200000|size=60|pos=300|flags=K__|data_hash=CRC32:b0cffe2a
+packet|codec_type=audio|stream_index=0|pts=9600|pts_time=1.200000|dts=9600|dts_time=1.200000|duration=1600|duration_time=0.200000|size=60|pos=360|flags=K__|data_hash=CRC32:4750fd61
+packet|codec_type=audio|stream_index=0|pts=11200|pts_time=1.400000|dts=11200|dts_time=1.400000|duration=1600|duration_time=0.200000|size=60|pos=420|flags=K__|data_hash=CRC32:d901d843
+packet|codec_type=audio|stream_index=0|pts=12800|pts_time=1.600000|dts=12800|dts_time=1.600000|duration=1600|duration_time=0.200000|size=60|pos=480|flags=K__|data_hash=CRC32:db968789
+packet|codec_type=audio|stream_index=0|pts=14400|pts_time=1.800000|dts=14400|dts_time=1.800000|duration=1600|duration_time=0.200000|size=60|pos=540|flags=K__|data_hash=CRC32:a4ef5efc
+packet|codec_type=audio|stream_index=0|pts=16000|pts_time=2.000000|dts=16000|dts_time=2.000000|duration=1600|duration_time=0.200000|size=60|pos=600|flags=K__|data_hash=CRC32:3062461d
+packet|codec_type=audio|stream_index=0|pts=17600|pts_time=2.200000|dts=17600|dts_time=2.200000|duration=1600|duration_time=0.200000|size=60|pos=660|flags=K__|data_hash=CRC32:8232537a
+packet|codec_type=audio|stream_index=0|pts=19200|pts_time=2.400000|dts=19200|dts_time=2.400000|duration=1600|duration_time=0.200000|size=60|pos=720|flags=K__|data_hash=CRC32:fb52665c
+packet|codec_type=audio|stream_index=0|pts=20800|pts_time=2.600000|dts=20800|dts_time=2.600000|duration=1600|duration_time=0.200000|size=60|pos=780|flags=K__|data_hash=CRC32:14e8d636
+packet|codec_type=audio|stream_index=0|pts=22400|pts_time=2.800000|dts=22400|dts_time=2.800000|duration=1600|duration_time=0.200000|size=60|pos=840|flags=K__|data_hash=CRC32:416fffb7
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=24000|duration=3.000000|bit_rate=2400|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=15|extradata_size=4|extradata_hash=CRC32:80e38938|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-2400.c2|nb_streams=1|nb_programs=0|format_name=codec2raw|start_time=N/A|duration=3.000000|size=900|bit_rate=2400|probe_score=0
diff --git a/tests/ref/fate/codec2raw-probe-multi-3200 b/tests/ref/fate/codec2raw-probe-multi-3200
new file mode 100644
index 0000000000..7ab0937c02
--- /dev/null
+++ b/tests/ref/fate/codec2raw-probe-multi-3200
@@ -0,0 +1,17 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=1600|duration_time=0.200000|size=80|pos=0|flags=K__|data_hash=CRC32:5f0b44d5
+packet|codec_type=audio|stream_index=0|pts=1600|pts_time=0.200000|dts=1600|dts_time=0.200000|duration=1600|duration_time=0.200000|size=80|pos=80|flags=K__|data_hash=CRC32:746132c5
+packet|codec_type=audio|stream_index=0|pts=3200|pts_time=0.400000|dts=3200|dts_time=0.400000|duration=1600|duration_time=0.200000|size=80|pos=160|flags=K__|data_hash=CRC32:cbe22ba3
+packet|codec_type=audio|stream_index=0|pts=4800|pts_time=0.600000|dts=4800|dts_time=0.600000|duration=1600|duration_time=0.200000|size=80|pos=240|flags=K__|data_hash=CRC32:2803be77
+packet|codec_type=audio|stream_index=0|pts=6400|pts_time=0.800000|dts=6400|dts_time=0.800000|duration=1600|duration_time=0.200000|size=80|pos=320|flags=K__|data_hash=CRC32:37dcc107
+packet|codec_type=audio|stream_index=0|pts=8000|pts_time=1.000000|dts=8000|dts_time=1.000000|duration=1600|duration_time=0.200000|size=80|pos=400|flags=K__|data_hash=CRC32:9137ae4f
+packet|codec_type=audio|stream_index=0|pts=9600|pts_time=1.200000|dts=9600|dts_time=1.200000|duration=1600|duration_time=0.200000|size=80|pos=480|flags=K__|data_hash=CRC32:f7595349
+packet|codec_type=audio|stream_index=0|pts=11200|pts_time=1.400000|dts=11200|dts_time=1.400000|duration=1600|duration_time=0.200000|size=80|pos=560|flags=K__|data_hash=CRC32:dfca2c27
+packet|codec_type=audio|stream_index=0|pts=12800|pts_time=1.600000|dts=12800|dts_time=1.600000|duration=1600|duration_time=0.200000|size=80|pos=640|flags=K__|data_hash=CRC32:05123c92
+packet|codec_type=audio|stream_index=0|pts=14400|pts_time=1.800000|dts=14400|dts_time=1.800000|duration=1600|duration_time=0.200000|size=80|pos=720|flags=K__|data_hash=CRC32:51061a8f
+packet|codec_type=audio|stream_index=0|pts=16000|pts_time=2.000000|dts=16000|dts_time=2.000000|duration=1600|duration_time=0.200000|size=80|pos=800|flags=K__|data_hash=CRC32:6ded78d0
+packet|codec_type=audio|stream_index=0|pts=17600|pts_time=2.200000|dts=17600|dts_time=2.200000|duration=1600|duration_time=0.200000|size=80|pos=880|flags=K__|data_hash=CRC32:223d4a63
+packet|codec_type=audio|stream_index=0|pts=19200|pts_time=2.400000|dts=19200|dts_time=2.400000|duration=1600|duration_time=0.200000|size=80|pos=960|flags=K__|data_hash=CRC32:991f4258
+packet|codec_type=audio|stream_index=0|pts=20800|pts_time=2.600000|dts=20800|dts_time=2.600000|duration=1600|duration_time=0.200000|size=80|pos=1040|flags=K__|data_hash=CRC32:8122bc3d
+packet|codec_type=audio|stream_index=0|pts=22400|pts_time=2.800000|dts=22400|dts_time=2.800000|duration=1600|duration_time=0.200000|size=80|pos=1120|flags=K__|data_hash=CRC32:bfaf16ca
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=24000|duration=3.000000|bit_rate=3200|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=15|extradata_size=4|extradata_hash=CRC32:99f8b879|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-3200.c2|nb_streams=1|nb_programs=0|format_name=codec2raw|start_time=N/A|duration=3.000000|size=1200|bit_rate=3200|probe_score=0
diff --git a/tests/ref/fate/codec2raw-probe-multi-700C b/tests/ref/fate/codec2raw-probe-multi-700C
new file mode 100644
index 0000000000..bb3d414f15
--- /dev/null
+++ b/tests/ref/fate/codec2raw-probe-multi-700C
@@ -0,0 +1,10 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=3200|duration_time=0.400000|size=40|pos=0|flags=K__|data_hash=CRC32:810ddca5
+packet|codec_type=audio|stream_index=0|pts=3200|pts_time=0.400000|dts=3200|dts_time=0.400000|duration=3200|duration_time=0.400000|size=40|pos=40|flags=K__|data_hash=CRC32:4d955a6f
+packet|codec_type=audio|stream_index=0|pts=6400|pts_time=0.800000|dts=6400|dts_time=0.800000|duration=3200|duration_time=0.400000|size=40|pos=80|flags=K__|data_hash=CRC32:86f6efa9
+packet|codec_type=audio|stream_index=0|pts=9600|pts_time=1.200000|dts=9600|dts_time=1.200000|duration=3200|duration_time=0.400000|size=40|pos=120|flags=K__|data_hash=CRC32:134dcdcf
+packet|codec_type=audio|stream_index=0|pts=12800|pts_time=1.600000|dts=12800|dts_time=1.600000|duration=3200|duration_time=0.400000|size=40|pos=160|flags=K__|data_hash=CRC32:697284ab
+packet|codec_type=audio|stream_index=0|pts=16000|pts_time=2.000000|dts=16000|dts_time=2.000000|duration=3200|duration_time=0.400000|size=40|pos=200|flags=K__|data_hash=CRC32:19e9ecbb
+packet|codec_type=audio|stream_index=0|pts=19200|pts_time=2.400000|dts=19200|dts_time=2.400000|duration=3200|duration_time=0.400000|size=40|pos=240|flags=K__|data_hash=CRC32:047bbaf1
+packet|codec_type=audio|stream_index=0|pts=22400|pts_time=2.800000|dts=22400|dts_time=2.800000|duration=1600|duration_time=0.200000|size=20|pos=280|flags=K__|data_hash=CRC32:b20be8d4
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=24000|duration=3.000000|bit_rate=800|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=8|extradata_size=4|extradata_hash=CRC32:51213271|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-700C.c2|nb_streams=1|nb_programs=0|format_name=codec2raw|start_time=N/A|duration=3.000000|size=300|bit_rate=800|probe_score=0
diff --git a/tests/ref/fate/codec2raw-probe-multi-cut-1200 b/tests/ref/fate/codec2raw-probe-multi-cut-1200
new file mode 100644
index 0000000000..8bc8ed5d5d
--- /dev/null
+++ b/tests/ref/fate/codec2raw-probe-multi-cut-1200
@@ -0,0 +1,4 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=3200|duration_time=0.400000|size=60|pos=0|flags=K__|data_hash=CRC32:97712e59
+packet|codec_type=audio|stream_index=0|pts=3200|pts_time=0.400000|dts=3200|dts_time=0.400000|duration=1600|duration_time=0.200000|size=33|pos=60|flags=K_C|data_hash=CRC32:54020dae
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=4800|duration=0.600000|bit_rate=1200|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=2|extradata_size=4|extradata_hash=CRC32:e48f4c3c|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-1200.c2|nb_streams=1|nb_programs=0|format_name=codec2raw|start_time=N/A|duration=0.600000|size=93|bit_rate=1240|probe_score=0
diff --git a/tests/ref/fate/codec2raw-probe-multi-cut-1300 b/tests/ref/fate/codec2raw-probe-multi-cut-1300
new file mode 100644
index 0000000000..637f606744
--- /dev/null
+++ b/tests/ref/fate/codec2raw-probe-multi-cut-1300
@@ -0,0 +1,4 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=3200|duration_time=0.400000|size=70|pos=0|flags=K__|data_hash=CRC32:5e784ba8
+packet|codec_type=audio|stream_index=0|pts=3200|pts_time=0.400000|dts=3200|dts_time=0.400000|duration=960|duration_time=0.120000|size=23|pos=70|flags=K_C|data_hash=CRC32:812b14ca
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=4160|duration=0.520000|bit_rate=1400|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=2|extradata_size=4|extradata_hash=CRC32:fd947d7d|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-1300.c2|nb_streams=1|nb_programs=0|format_name=codec2raw|start_time=N/A|duration=0.520000|size=93|bit_rate=1430|probe_score=0
diff --git a/tests/ref/fate/codec2raw-probe-multi-cut-1400 b/tests/ref/fate/codec2raw-probe-multi-cut-1400
new file mode 100644
index 0000000000..63c2dbabc9
--- /dev/null
+++ b/tests/ref/fate/codec2raw-probe-multi-cut-1400
@@ -0,0 +1,4 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=3200|duration_time=0.400000|size=70|pos=0|flags=K__|data_hash=CRC32:de42f68f
+packet|codec_type=audio|stream_index=0|pts=3200|pts_time=0.400000|dts=3200|dts_time=0.400000|duration=960|duration_time=0.120000|size=23|pos=70|flags=K_C|data_hash=CRC32:c872c31e
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=4160|duration=0.520000|bit_rate=1400|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=2|extradata_size=4|extradata_hash=CRC32:b2d5ebba|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-1400.c2|nb_streams=1|nb_programs=0|format_name=codec2raw|start_time=N/A|duration=0.520000|size=93|bit_rate=1430|probe_score=0
diff --git a/tests/ref/fate/codec2raw-probe-multi-cut-1600 b/tests/ref/fate/codec2raw-probe-multi-cut-1600
new file mode 100644
index 0000000000..a9fa7a950b
--- /dev/null
+++ b/tests/ref/fate/codec2raw-probe-multi-cut-1600
@@ -0,0 +1,4 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=3200|duration_time=0.400000|size=80|pos=0|flags=K__|data_hash=CRC32:74196300
+packet|codec_type=audio|stream_index=0|pts=3200|pts_time=0.400000|dts=3200|dts_time=0.400000|duration=320|duration_time=0.040000|size=13|pos=80|flags=K_C|data_hash=CRC32:ce8782e8
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=3520|duration=0.440000|bit_rate=1600|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=2|extradata_size=4|extradata_hash=CRC32:abcedafb|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-1600.c2|nb_streams=1|nb_programs=0|format_name=codec2raw|start_time=N/A|duration=0.440000|size=93|bit_rate=1690|probe_score=0
diff --git a/tests/ref/fate/codec2raw-probe-multi-cut-2400 b/tests/ref/fate/codec2raw-probe-multi-cut-2400
new file mode 100644
index 0000000000..c706004ab7
--- /dev/null
+++ b/tests/ref/fate/codec2raw-probe-multi-cut-2400
@@ -0,0 +1,4 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=1600|duration_time=0.200000|size=60|pos=0|flags=K__|data_hash=CRC32:7283101b
+packet|codec_type=audio|stream_index=0|pts=1600|pts_time=0.200000|dts=1600|dts_time=0.200000|duration=800|duration_time=0.100000|size=33|pos=60|flags=K_C|data_hash=CRC32:7ffca071
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=2400|duration=0.300000|bit_rate=2400|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=2|extradata_size=4|extradata_hash=CRC32:80e38938|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-2400.c2|nb_streams=1|nb_programs=0|format_name=codec2raw|start_time=N/A|duration=0.300000|size=93|bit_rate=2480|probe_score=0
diff --git a/tests/ref/fate/codec2raw-probe-multi-cut-3200 b/tests/ref/fate/codec2raw-probe-multi-cut-3200
new file mode 100644
index 0000000000..2769efbe73
--- /dev/null
+++ b/tests/ref/fate/codec2raw-probe-multi-cut-3200
@@ -0,0 +1,4 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=1600|duration_time=0.200000|size=80|pos=0|flags=K__|data_hash=CRC32:5f0b44d5
+packet|codec_type=audio|stream_index=0|pts=1600|pts_time=0.200000|dts=1600|dts_time=0.200000|duration=160|duration_time=0.020000|size=13|pos=80|flags=K_C|data_hash=CRC32:4ef9b3ec
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=1760|duration=0.220000|bit_rate=3200|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=2|extradata_size=4|extradata_hash=CRC32:99f8b879|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-3200.c2|nb_streams=1|nb_programs=0|format_name=codec2raw|start_time=N/A|duration=0.220000|size=93|bit_rate=3381|probe_score=0
diff --git a/tests/ref/fate/codec2raw-probe-multi-cut-700C b/tests/ref/fate/codec2raw-probe-multi-cut-700C
new file mode 100644
index 0000000000..9742fbfea2
--- /dev/null
+++ b/tests/ref/fate/codec2raw-probe-multi-cut-700C
@@ -0,0 +1,5 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=3200|duration_time=0.400000|size=40|pos=0|flags=K__|data_hash=CRC32:810ddca5
+packet|codec_type=audio|stream_index=0|pts=3200|pts_time=0.400000|dts=3200|dts_time=0.400000|duration=3200|duration_time=0.400000|size=40|pos=40|flags=K__|data_hash=CRC32:4d955a6f
+packet|codec_type=audio|stream_index=0|pts=6400|pts_time=0.800000|dts=6400|dts_time=0.800000|duration=960|duration_time=0.120000|size=13|pos=80|flags=K_C|data_hash=CRC32:55376c42
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=7360|duration=0.920000|bit_rate=800|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=3|extradata_size=4|extradata_hash=CRC32:51213271|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-700C.c2|nb_streams=1|nb_programs=0|format_name=codec2raw|start_time=N/A|duration=0.920000|size=93|bit_rate=808|probe_score=0
diff --git a/tests/ref/fate/libcodec2-1200 b/tests/ref/fate/libcodec2-1200
new file mode 100644
index 0000000000..975035985c
--- /dev/null
+++ b/tests/ref/fate/libcodec2-1200
@@ -0,0 +1,12 @@
+frames.frame.0.pkt_dts=0
+frames.frame.1.pkt_dts=3200
+frames.frame.2.pkt_dts=6400
+frames.frame.3.pkt_dts=9600
+frames.frame.4.pkt_dts=12800
+frames.frame.5.pkt_dts=16000
+frames.frame.6.pkt_dts=19200
+frames.frame.7.pkt_dts=22400
+streams.stream.0.codec_name="codec2"
+streams.stream.0.sample_rate="8000"
+streams.stream.0.channels=1
+streams.stream.0.duration="3.000000"
diff --git a/tests/ref/fate/libcodec2-1300 b/tests/ref/fate/libcodec2-1300
new file mode 100644
index 0000000000..975035985c
--- /dev/null
+++ b/tests/ref/fate/libcodec2-1300
@@ -0,0 +1,12 @@
+frames.frame.0.pkt_dts=0
+frames.frame.1.pkt_dts=3200
+frames.frame.2.pkt_dts=6400
+frames.frame.3.pkt_dts=9600
+frames.frame.4.pkt_dts=12800
+frames.frame.5.pkt_dts=16000
+frames.frame.6.pkt_dts=19200
+frames.frame.7.pkt_dts=22400
+streams.stream.0.codec_name="codec2"
+streams.stream.0.sample_rate="8000"
+streams.stream.0.channels=1
+streams.stream.0.duration="3.000000"
diff --git a/tests/ref/fate/libcodec2-1400 b/tests/ref/fate/libcodec2-1400
new file mode 100644
index 0000000000..975035985c
--- /dev/null
+++ b/tests/ref/fate/libcodec2-1400
@@ -0,0 +1,12 @@
+frames.frame.0.pkt_dts=0
+frames.frame.1.pkt_dts=3200
+frames.frame.2.pkt_dts=6400
+frames.frame.3.pkt_dts=9600
+frames.frame.4.pkt_dts=12800
+frames.frame.5.pkt_dts=16000
+frames.frame.6.pkt_dts=19200
+frames.frame.7.pkt_dts=22400
+streams.stream.0.codec_name="codec2"
+streams.stream.0.sample_rate="8000"
+streams.stream.0.channels=1
+streams.stream.0.duration="3.000000"
diff --git a/tests/ref/fate/libcodec2-1600 b/tests/ref/fate/libcodec2-1600
new file mode 100644
index 0000000000..975035985c
--- /dev/null
+++ b/tests/ref/fate/libcodec2-1600
@@ -0,0 +1,12 @@
+frames.frame.0.pkt_dts=0
+frames.frame.1.pkt_dts=3200
+frames.frame.2.pkt_dts=6400
+frames.frame.3.pkt_dts=9600
+frames.frame.4.pkt_dts=12800
+frames.frame.5.pkt_dts=16000
+frames.frame.6.pkt_dts=19200
+frames.frame.7.pkt_dts=22400
+streams.stream.0.codec_name="codec2"
+streams.stream.0.sample_rate="8000"
+streams.stream.0.channels=1
+streams.stream.0.duration="3.000000"
diff --git a/tests/ref/fate/libcodec2-2400 b/tests/ref/fate/libcodec2-2400
new file mode 100644
index 0000000000..54164aef8b
--- /dev/null
+++ b/tests/ref/fate/libcodec2-2400
@@ -0,0 +1,19 @@
+frames.frame.0.pkt_dts=0
+frames.frame.1.pkt_dts=1600
+frames.frame.2.pkt_dts=3200
+frames.frame.3.pkt_dts=4800
+frames.frame.4.pkt_dts=6400
+frames.frame.5.pkt_dts=8000
+frames.frame.6.pkt_dts=9600
+frames.frame.7.pkt_dts=11200
+frames.frame.8.pkt_dts=12800
+frames.frame.9.pkt_dts=14400
+frames.frame.10.pkt_dts=16000
+frames.frame.11.pkt_dts=17600
+frames.frame.12.pkt_dts=19200
+frames.frame.13.pkt_dts=20800
+frames.frame.14.pkt_dts=22400
+streams.stream.0.codec_name="codec2"
+streams.stream.0.sample_rate="8000"
+streams.stream.0.channels=1
+streams.stream.0.duration="3.000000"
diff --git a/tests/ref/fate/libcodec2-3200 b/tests/ref/fate/libcodec2-3200
new file mode 100644
index 0000000000..54164aef8b
--- /dev/null
+++ b/tests/ref/fate/libcodec2-3200
@@ -0,0 +1,19 @@
+frames.frame.0.pkt_dts=0
+frames.frame.1.pkt_dts=1600
+frames.frame.2.pkt_dts=3200
+frames.frame.3.pkt_dts=4800
+frames.frame.4.pkt_dts=6400
+frames.frame.5.pkt_dts=8000
+frames.frame.6.pkt_dts=9600
+frames.frame.7.pkt_dts=11200
+frames.frame.8.pkt_dts=12800
+frames.frame.9.pkt_dts=14400
+frames.frame.10.pkt_dts=16000
+frames.frame.11.pkt_dts=17600
+frames.frame.12.pkt_dts=19200
+frames.frame.13.pkt_dts=20800
+frames.frame.14.pkt_dts=22400
+streams.stream.0.codec_name="codec2"
+streams.stream.0.sample_rate="8000"
+streams.stream.0.channels=1
+streams.stream.0.duration="3.000000"
diff --git a/tests/ref/fate/libcodec2-700C b/tests/ref/fate/libcodec2-700C
new file mode 100644
index 0000000000..975035985c
--- /dev/null
+++ b/tests/ref/fate/libcodec2-700C
@@ -0,0 +1,12 @@
+frames.frame.0.pkt_dts=0
+frames.frame.1.pkt_dts=3200
+frames.frame.2.pkt_dts=6400
+frames.frame.3.pkt_dts=9600
+frames.frame.4.pkt_dts=12800
+frames.frame.5.pkt_dts=16000
+frames.frame.6.pkt_dts=19200
+frames.frame.7.pkt_dts=22400
+streams.stream.0.codec_name="codec2"
+streams.stream.0.sample_rate="8000"
+streams.stream.0.channels=1
+streams.stream.0.duration="3.000000"
diff --git a/tests/ref/fate/libcodec2-cut-1200 b/tests/ref/fate/libcodec2-cut-1200
new file mode 100644
index 0000000000..ca7b841943
--- /dev/null
+++ b/tests/ref/fate/libcodec2-cut-1200
@@ -0,0 +1,6 @@
+frames.frame.0.pkt_dts=0
+frames.frame.1.pkt_dts=3200
+streams.stream.0.codec_name="codec2"
+streams.stream.0.sample_rate="8000"
+streams.stream.0.channels=1
+streams.stream.0.duration="0.600000"
diff --git a/tests/ref/fate/libcodec2-cut-1300 b/tests/ref/fate/libcodec2-cut-1300
new file mode 100644
index 0000000000..96ed128cab
--- /dev/null
+++ b/tests/ref/fate/libcodec2-cut-1300
@@ -0,0 +1,6 @@
+frames.frame.0.pkt_dts=0
+frames.frame.1.pkt_dts=3200
+streams.stream.0.codec_name="codec2"
+streams.stream.0.sample_rate="8000"
+streams.stream.0.channels=1
+streams.stream.0.duration="0.520000"
diff --git a/tests/ref/fate/libcodec2-cut-1400 b/tests/ref/fate/libcodec2-cut-1400
new file mode 100644
index 0000000000..96ed128cab
--- /dev/null
+++ b/tests/ref/fate/libcodec2-cut-1400
@@ -0,0 +1,6 @@
+frames.frame.0.pkt_dts=0
+frames.frame.1.pkt_dts=3200
+streams.stream.0.codec_name="codec2"
+streams.stream.0.sample_rate="8000"
+streams.stream.0.channels=1
+streams.stream.0.duration="0.520000"
diff --git a/tests/ref/fate/libcodec2-cut-1600 b/tests/ref/fate/libcodec2-cut-1600
new file mode 100644
index 0000000000..556d2be87d
--- /dev/null
+++ b/tests/ref/fate/libcodec2-cut-1600
@@ -0,0 +1,6 @@
+frames.frame.0.pkt_dts=0
+frames.frame.1.pkt_dts=3200
+streams.stream.0.codec_name="codec2"
+streams.stream.0.sample_rate="8000"
+streams.stream.0.channels=1
+streams.stream.0.duration="0.440000"
diff --git a/tests/ref/fate/libcodec2-cut-2400 b/tests/ref/fate/libcodec2-cut-2400
new file mode 100644
index 0000000000..84133a8224
--- /dev/null
+++ b/tests/ref/fate/libcodec2-cut-2400
@@ -0,0 +1,6 @@
+frames.frame.0.pkt_dts=0
+frames.frame.1.pkt_dts=1600
+streams.stream.0.codec_name="codec2"
+streams.stream.0.sample_rate="8000"
+streams.stream.0.channels=1
+streams.stream.0.duration="0.300000"
diff --git a/tests/ref/fate/libcodec2-cut-3200 b/tests/ref/fate/libcodec2-cut-3200
new file mode 100644
index 0000000000..db93abdb36
--- /dev/null
+++ b/tests/ref/fate/libcodec2-cut-3200
@@ -0,0 +1,6 @@
+frames.frame.0.pkt_dts=0
+frames.frame.1.pkt_dts=1600
+streams.stream.0.codec_name="codec2"
+streams.stream.0.sample_rate="8000"
+streams.stream.0.channels=1
+streams.stream.0.duration="0.220000"
diff --git a/tests/ref/fate/libcodec2-cut-700C b/tests/ref/fate/libcodec2-cut-700C
new file mode 100644
index 0000000000..61a5cf9b66
--- /dev/null
+++ b/tests/ref/fate/libcodec2-cut-700C
@@ -0,0 +1,7 @@
+frames.frame.0.pkt_dts=0
+frames.frame.1.pkt_dts=3200
+frames.frame.2.pkt_dts=6400
+streams.stream.0.codec_name="codec2"
+streams.stream.0.sample_rate="8000"
+streams.stream.0.channels=1
+streams.stream.0.duration="0.920000"
--
2.39.2
[-- Attachment #3: Type: text/plain, Size: 251 bytes --]
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [FFmpeg-devel] [PATCH 6/6] Add FATE tests for codec2, codec2raw and libcodec2 wrapper
2023-12-30 16:02 ` Tomas Härdin
@ 2023-12-30 16:55 ` Tomas Härdin
0 siblings, 0 replies; 15+ messages in thread
From: Tomas Härdin @ 2023-12-30 16:55 UTC (permalink / raw)
To: FFmpeg development discussions and patches
[-- Attachment #1: Type: text/plain, Size: 956 bytes --]
lör 2023-12-30 klockan 17:02 +0100 skrev Tomas Härdin:
> fre 2023-12-29 klockan 11:40 +0100 skrev Andreas Rheinhardt:
> > Tomas Härdin:
> > > Tests all modes, both demuxers, the muxer, the decoder and the
> > > encoder.
> > > Also tests both well-formed files and slightly broken truncated
> > > files
> > >
> > > The raw files are just the .c2 files with the header stripped.
> > > Therefore the relevant tests reuse the .c2 ref files.
> > >
> >
> > If they are the same, then can't you reuse the c2 files with the
> > subfile
> > protocol for the raw tests? (This might necessitate some changes to
> > fate-run.sh, but it would provide coverage for the subfile
> > protocol.)
>
> Updated patch attached. I also discovered some bugs in the previous
> version
>
> I'm thinking maybe not writing positions to the ref files. That way a
> bunch of tests can share refs again
I did just this. Updated patch attached
/Tomas
[-- Attachment #2: 0007-Add-FATE-tests-for-codec2-codec2raw-and-libcodec2-wr.patch --]
[-- Type: text/x-patch, Size: 208229 bytes --]
From a0fd95173c4ef574305e0bbf022f7e1413e0273a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Tomas=20H=C3=A4rdin?= <git@haerdin.se>
Date: Wed, 27 Dec 2023 18:35:38 +0100
Subject: [PATCH 7/7] Add FATE tests for codec2, codec2raw and libcodec2
wrapper
---
tests/Makefile | 1 +
tests/fate-run.sh | 37 +++--
tests/fate/codec2.mak | 80 +++++++++++
tests/ref/fate/codec2-demux-1200 | 1 +
tests/ref/fate/codec2-demux-1300 | 1 +
tests/ref/fate/codec2-demux-1400 | 1 +
tests/ref/fate/codec2-demux-1600 | 1 +
tests/ref/fate/codec2-demux-2400 | 1 +
tests/ref/fate/codec2-demux-3200 | 1 +
tests/ref/fate/codec2-demux-700C | 1 +
tests/ref/fate/codec2-demux-cut-1200 | 1 +
tests/ref/fate/codec2-demux-cut-1300 | 1 +
tests/ref/fate/codec2-demux-cut-1400 | 1 +
tests/ref/fate/codec2-demux-cut-1600 | 1 +
tests/ref/fate/codec2-demux-cut-2400 | 1 +
tests/ref/fate/codec2-demux-cut-3200 | 1 +
tests/ref/fate/codec2-demux-cut-700C | 1 +
tests/ref/fate/codec2-probe-1200 | 77 +++++++++++
tests/ref/fate/codec2-probe-1300 | 77 +++++++++++
tests/ref/fate/codec2-probe-1400 | 77 +++++++++++
tests/ref/fate/codec2-probe-1600 | 77 +++++++++++
tests/ref/fate/codec2-probe-2400 | 152 +++++++++++++++++++++
tests/ref/fate/codec2-probe-3200 | 152 +++++++++++++++++++++
tests/ref/fate/codec2-probe-700C | 77 +++++++++++
tests/ref/fate/codec2-probe-cut-1200 | 18 +++
tests/ref/fate/codec2-probe-cut-1300 | 16 +++
tests/ref/fate/codec2-probe-cut-1400 | 16 +++
tests/ref/fate/codec2-probe-cut-1600 | 14 ++
tests/ref/fate/codec2-probe-cut-2400 | 18 +++
tests/ref/fate/codec2-probe-cut-3200 | 14 ++
tests/ref/fate/codec2-probe-cut-700C | 26 ++++
tests/ref/fate/codec2-probe-multi-1200 | 10 ++
tests/ref/fate/codec2-probe-multi-1300 | 10 ++
tests/ref/fate/codec2-probe-multi-1400 | 10 ++
tests/ref/fate/codec2-probe-multi-1600 | 10 ++
tests/ref/fate/codec2-probe-multi-2400 | 17 +++
tests/ref/fate/codec2-probe-multi-3200 | 17 +++
tests/ref/fate/codec2-probe-multi-700C | 10 ++
tests/ref/fate/codec2-probe-multi-cut-1200 | 4 +
tests/ref/fate/codec2-probe-multi-cut-1300 | 4 +
tests/ref/fate/codec2-probe-multi-cut-1400 | 4 +
tests/ref/fate/codec2-probe-multi-cut-1600 | 4 +
tests/ref/fate/codec2-probe-multi-cut-2400 | 4 +
tests/ref/fate/codec2-probe-multi-cut-3200 | 4 +
tests/ref/fate/codec2-probe-multi-cut-700C | 5 +
tests/ref/fate/libcodec2-1200 | 12 ++
tests/ref/fate/libcodec2-1300 | 12 ++
tests/ref/fate/libcodec2-1400 | 12 ++
tests/ref/fate/libcodec2-1600 | 12 ++
tests/ref/fate/libcodec2-2400 | 19 +++
tests/ref/fate/libcodec2-3200 | 19 +++
tests/ref/fate/libcodec2-700C | 12 ++
tests/ref/fate/libcodec2-cut-1200 | 6 +
tests/ref/fate/libcodec2-cut-1300 | 6 +
tests/ref/fate/libcodec2-cut-1400 | 6 +
tests/ref/fate/libcodec2-cut-1600 | 6 +
tests/ref/fate/libcodec2-cut-2400 | 6 +
tests/ref/fate/libcodec2-cut-3200 | 6 +
tests/ref/fate/libcodec2-cut-700C | 7 +
59 files changed, 1187 insertions(+), 10 deletions(-)
create mode 100644 tests/fate/codec2.mak
create mode 100644 tests/ref/fate/codec2-demux-1200
create mode 100644 tests/ref/fate/codec2-demux-1300
create mode 100644 tests/ref/fate/codec2-demux-1400
create mode 100644 tests/ref/fate/codec2-demux-1600
create mode 100644 tests/ref/fate/codec2-demux-2400
create mode 100644 tests/ref/fate/codec2-demux-3200
create mode 100644 tests/ref/fate/codec2-demux-700C
create mode 100644 tests/ref/fate/codec2-demux-cut-1200
create mode 100644 tests/ref/fate/codec2-demux-cut-1300
create mode 100644 tests/ref/fate/codec2-demux-cut-1400
create mode 100644 tests/ref/fate/codec2-demux-cut-1600
create mode 100644 tests/ref/fate/codec2-demux-cut-2400
create mode 100644 tests/ref/fate/codec2-demux-cut-3200
create mode 100644 tests/ref/fate/codec2-demux-cut-700C
create mode 100644 tests/ref/fate/codec2-probe-1200
create mode 100644 tests/ref/fate/codec2-probe-1300
create mode 100644 tests/ref/fate/codec2-probe-1400
create mode 100644 tests/ref/fate/codec2-probe-1600
create mode 100644 tests/ref/fate/codec2-probe-2400
create mode 100644 tests/ref/fate/codec2-probe-3200
create mode 100644 tests/ref/fate/codec2-probe-700C
create mode 100644 tests/ref/fate/codec2-probe-cut-1200
create mode 100644 tests/ref/fate/codec2-probe-cut-1300
create mode 100644 tests/ref/fate/codec2-probe-cut-1400
create mode 100644 tests/ref/fate/codec2-probe-cut-1600
create mode 100644 tests/ref/fate/codec2-probe-cut-2400
create mode 100644 tests/ref/fate/codec2-probe-cut-3200
create mode 100644 tests/ref/fate/codec2-probe-cut-700C
create mode 100644 tests/ref/fate/codec2-probe-multi-1200
create mode 100644 tests/ref/fate/codec2-probe-multi-1300
create mode 100644 tests/ref/fate/codec2-probe-multi-1400
create mode 100644 tests/ref/fate/codec2-probe-multi-1600
create mode 100644 tests/ref/fate/codec2-probe-multi-2400
create mode 100644 tests/ref/fate/codec2-probe-multi-3200
create mode 100644 tests/ref/fate/codec2-probe-multi-700C
create mode 100644 tests/ref/fate/codec2-probe-multi-cut-1200
create mode 100644 tests/ref/fate/codec2-probe-multi-cut-1300
create mode 100644 tests/ref/fate/codec2-probe-multi-cut-1400
create mode 100644 tests/ref/fate/codec2-probe-multi-cut-1600
create mode 100644 tests/ref/fate/codec2-probe-multi-cut-2400
create mode 100644 tests/ref/fate/codec2-probe-multi-cut-3200
create mode 100644 tests/ref/fate/codec2-probe-multi-cut-700C
create mode 100644 tests/ref/fate/libcodec2-1200
create mode 100644 tests/ref/fate/libcodec2-1300
create mode 100644 tests/ref/fate/libcodec2-1400
create mode 100644 tests/ref/fate/libcodec2-1600
create mode 100644 tests/ref/fate/libcodec2-2400
create mode 100644 tests/ref/fate/libcodec2-3200
create mode 100644 tests/ref/fate/libcodec2-700C
create mode 100644 tests/ref/fate/libcodec2-cut-1200
create mode 100644 tests/ref/fate/libcodec2-cut-1300
create mode 100644 tests/ref/fate/libcodec2-cut-1400
create mode 100644 tests/ref/fate/libcodec2-cut-1600
create mode 100644 tests/ref/fate/libcodec2-cut-2400
create mode 100644 tests/ref/fate/libcodec2-cut-3200
create mode 100644 tests/ref/fate/libcodec2-cut-700C
diff --git a/tests/Makefile b/tests/Makefile
index 744dbcdfb3..cec8388aec 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -166,6 +166,7 @@ include $(SRC_PATH)/tests/fate/canopus.mak
include $(SRC_PATH)/tests/fate/cbs.mak
include $(SRC_PATH)/tests/fate/cdxl.mak
include $(SRC_PATH)/tests/fate/checkasm.mak
+include $(SRC_PATH)/tests/fate/codec2.mak
# Must be included after lavf-container.mak
include $(SRC_PATH)/tests/fate/concatdec.mak
include $(SRC_PATH)/tests/fate/cover-art.mak
diff --git a/tests/fate-run.sh b/tests/fate-run.sh
index 8efb1586b8..d18eab8849 100755
--- a/tests/fate-run.sh
+++ b/tests/fate-run.sh
@@ -144,15 +144,25 @@ ffmpeg(){
run ffmpeg${PROGSUF}${EXECSUF} ${ffmpeg_args}
}
-ffprobe_demux(){
- filename=$1
- shift
+ffprobe_demux_common(){
+ fmtops=$1
+ filename=$2
+ shift 2
print_filename=$(basename "$filename")
run ffprobe${PROGSUF}${EXECSUF} -print_filename "${print_filename}" \
- -of compact -bitexact -show_format -show_streams -show_packets \
+ -of compact -bitexact -show_format -show_streams -show_packets $fmtops \
-show_data_hash CRC32 "$filename" "$@"
}
+ffprobe_demux(){
+ ffprobe_demux_common "" "$@"
+}
+
+ffprobe_demux_codec2(){
+ # Do not output packet=pos stream=extradata_hash,disposition format=size,format_name,probe_score,bit_rate
+ ffprobe_demux_common "-show_entries packet=codec_type,stream_index,pts,pts_time,dts,dts_time,duration,duration_time,size,flags,data_hash -show_entries stream=index,codec_name,profile,codec_type,codec_tag_string,codec_tag,sample_fmt,sample_rate,channels,channel_layout,bits_per_sample,initial_padding,id,r_frame_rate,avg_frame_rate,time_base,start_pts,start_time,duration_ts,duration,bit_rate,max_bit_rate,bits_per_raw_sample,nb_frames,nb_read_frames,nb_read_packets,extradata_size -show_entries format=filename,nb_streams,nb_programs,start_time,duration" "$@"
+}
+
framecrc(){
ffmpeg "$@" -bitexact -f framecrc -
}
@@ -295,19 +305,26 @@ stream_remux(){
# this function is for testing external encoders,
# where the precise output is not controlled by us
# we can still test e.g. that the output can be decoded correctly
-enc_external(){
- srcfile=$1
- enc_fmt=$2
- enc_opt=$3
- probe_opt=$4
+enc_external_subfile(){
+ start=$1
+ end=$2
+ srcfile=$3
+ enc_fmt=$4
+ enc_opt=$5
+ probe_opt=$6
srcfile=$(target_path $srcfile)
encfile=$(target_path "${outdir}/${test}.${enc_fmt}")
- ffmpeg -i $srcfile $enc_opt -f $enc_fmt -y $encfile || return
+ ffmpeg -i "subfile,,start,$start,end,$end,,:$srcfile" $enc_opt -f $enc_fmt -y $encfile || return
run ffprobe${PROGSUF}${EXECSUF} -bitexact $probe_opt $encfile || return
}
+enc_external(){
+ enc_external_subfile 0 0 "$@"
+}
+
+
# FIXME: There is a certain duplication between the avconv-related helper
# functions above and below that should be refactored.
ffmpeg2="$target_exec ${target_path}/ffmpeg${PROGSUF}${EXECSUF}"
diff --git a/tests/fate/codec2.mak b/tests/fate/codec2.mak
new file mode 100644
index 0000000000..d3f1308afa
--- /dev/null
+++ b/tests/fate/codec2.mak
@@ -0,0 +1,80 @@
+# Modes 700 and 700B no longer exist
+CODEC2_MODES = 3200 2400 1600 1400 1300 1200 700C
+
+# This exercises both the decode and encode side of the libcodec2 binding for all modes listed above
+FATE_LIBCODEC2-$(call ENCDEC, LIBCODEC2, CODEC2) += $(foreach mode,$(CODEC2_MODES), \
+ fate-libcodec2-$(mode) \
+ fate-libcodec2-cut-$(mode) \
+)
+
+define make-codec2-targets
+ $(foreach mode,$(CODEC2_MODES), \
+ fate-$(1)-probe-$(mode) \
+ fate-$(1)-probe-cut-$(mode) \
+ fate-$(1)-probe-multi-$(mode) \
+ fate-$(1)-probe-multi-cut-$(mode) \
+ fate-$(1)-demux-$(mode) \
+ fate-$(1)-demux-cut-$(mode) \
+ )
+endef
+
+FATE_CODEC2-$(CONFIG_CODEC2_DEMUXER) += $(call make-codec2-targets,codec2)
+FATE_CODEC2RAW-$(CONFIG_CODEC2RAW_DEMUXER) += $(call make-codec2-targets,codec2raw)
+
+define make-codec2-args
+ enc_external_subfile 0 $(2) $(TARGET_SAMPLES)/codec2/cross-$(1).c2 codec2 "-mode $(1)" "-frames_per_packet 10 -show_entries stream=codec_name,sample_rate,channels,duration -show_entries frame=pkt_dts -of flat"
+endef
+
+## Transcoding tests
+# Well-formed files
+fate-libcodec2-%: CMD = $(call make-codec2-args,$(@:fate-libcodec2-%=%),0)
+# Truncated files
+fate-libcodec2-cut-%: MODE = $(@:fate-libcodec2-cut-%=%)
+fate-libcodec2-cut-%: CMD = $(call make-codec2-args,$(@:fate-libcodec2-cut-%=%),100)
+
+## Demuxer tests
+fate-codec2-probe-%: END = 0
+fate-codec2-probe-%: FPP = 1
+fate-codec2-probe-%: FMT = codec2
+fate-codec2-probe-%: MODE = $(@:fate-codec2-probe-%=%)
+fate-codec2-probe-%: CMD = ffprobe_demux_codec2 subfile,,start,0,end,$(END),,:$(TARGET_SAMPLES)/codec2/cross-$(MODE).c2 -frames_per_packet $(FPP) -mode $(MODE)
+fate-codec2-probe-cut-%: MODE = $(@:fate-codec2-probe-cut-%=%)
+fate-codec2-probe-cut-%: END = 100
+fate-codec2-probe-multi-%: MODE = $(@:fate-codec2-probe-multi-%=%)
+fate-codec2-probe-multi-%: FPP = 10
+fate-codec2-probe-multi-cut-%: MODE = $(@:fate-codec2-probe-multi-cut-%=%)
+fate-codec2-probe-multi-cut-%: END = 100
+# Similar to above but with start=7
+fate-codec2raw-probe-%: END = 0
+fate-codec2raw-probe-%: FPP = 1
+fate-codec2raw-probe-%: MODE = $(@:fate-codec2raw-probe-%=%)
+fate-codec2raw-probe-%: REF = tests/ref/fate/codec2-probe-$(MODE)
+fate-codec2raw-probe-%: CMD = ffprobe_demux_codec2 subfile,,start,7,end,$(END),,:$(TARGET_SAMPLES)/codec2/cross-$(MODE).c2 -frames_per_packet $(FPP) -mode $(MODE) -f codec2raw
+fate-codec2raw-probe-cut-%: MODE = $(@:fate-codec2raw-probe-cut-%=%)
+fate-codec2raw-probe-cut-%: END = 100
+fate-codec2raw-probe-cut-%: REF = tests/ref/fate/codec2-probe-cut-$(MODE)
+fate-codec2raw-probe-multi-%: MODE = $(@:fate-codec2raw-probe-multi-%=%)
+fate-codec2raw-probe-multi-%: FPP = 10
+fate-codec2raw-probe-multi-%: REF = tests/ref/fate/codec2-probe-multi-$(MODE)
+fate-codec2raw-probe-multi-cut-%: MODE = $(@:fate-codec2raw-probe-multi-cut-%=%)
+fate-codec2raw-probe-multi-cut-%: END = 100
+fate-codec2raw-probe-multi-cut-%: REF = tests/ref/fate/codec2-probe-multi-cut-$(MODE)
+# Normal CRC tests
+fate-codec2-demux-%: MODE = $(@:fate-codec2-demux-%=%)
+fate-codec2-demux-%: END = 0
+fate-codec2-demux-%: CMD = crc -i subfile,,start,0,end,$(END),,:$(TARGET_SAMPLES)/codec2/cross-$(MODE).c2 -c:a copy
+fate-codec2-demux-cut-%: MODE = $(@:fate-codec2-demux-cut-%=%)
+fate-codec2-demux-cut-%: END = 100
+# Reuse refs
+fate-codec2raw-demux-%: MODE = $(@:fate-codec2raw-demux-%=%)
+fate-codec2raw-demux-%: REF = tests/ref/fate/codec2-demux-$(MODE)
+fate-codec2raw-demux-%: END = 0
+fate-codec2raw-demux-%: CMD = crc -f codec2raw -mode $(MODE) -i subfile,,start,7,end,$(END),,:$(TARGET_SAMPLES)/codec2/cross-$(MODE).c2 -c:a copy
+fate-codec2raw-demux-cut-%: MODE = $(@:fate-codec2raw-demux-cut-%=%)
+fate-codec2raw-demux-cut-%: REF = tests/ref/fate/codec2-demux-cut-$(MODE)
+fate-codec2raw-demux-cut-%: END = 100
+
+FATE_SAMPLES_FFMPEG_FFPROBE += $(FATE_CODEC2-yes) $(FATE_CODEC2RAW-yes) $(FATE_LIBCODEC2-yes)
+fate-codec2: $(FATE_CODEC2-yes)
+fate-codec2raw: $(FATE_CODEC2RAW-yes)
+fate-libcodec2: $(FATE_LIBCODEC2-yes)
diff --git a/tests/ref/fate/codec2-demux-1200 b/tests/ref/fate/codec2-demux-1200
new file mode 100644
index 0000000000..e73da85898
--- /dev/null
+++ b/tests/ref/fate/codec2-demux-1200
@@ -0,0 +1 @@
+CRC=0x585af733
diff --git a/tests/ref/fate/codec2-demux-1300 b/tests/ref/fate/codec2-demux-1300
new file mode 100644
index 0000000000..8a387d0c5c
--- /dev/null
+++ b/tests/ref/fate/codec2-demux-1300
@@ -0,0 +1 @@
+CRC=0x1e44f99a
diff --git a/tests/ref/fate/codec2-demux-1400 b/tests/ref/fate/codec2-demux-1400
new file mode 100644
index 0000000000..8e16ed218f
--- /dev/null
+++ b/tests/ref/fate/codec2-demux-1400
@@ -0,0 +1 @@
+CRC=0xaea43a6b
diff --git a/tests/ref/fate/codec2-demux-1600 b/tests/ref/fate/codec2-demux-1600
new file mode 100644
index 0000000000..cf39a1f33c
--- /dev/null
+++ b/tests/ref/fate/codec2-demux-1600
@@ -0,0 +1 @@
+CRC=0xd30a231f
diff --git a/tests/ref/fate/codec2-demux-2400 b/tests/ref/fate/codec2-demux-2400
new file mode 100644
index 0000000000..3207059686
--- /dev/null
+++ b/tests/ref/fate/codec2-demux-2400
@@ -0,0 +1 @@
+CRC=0x6445f5bd
diff --git a/tests/ref/fate/codec2-demux-3200 b/tests/ref/fate/codec2-demux-3200
new file mode 100644
index 0000000000..a6d1c663df
--- /dev/null
+++ b/tests/ref/fate/codec2-demux-3200
@@ -0,0 +1 @@
+CRC=0x27b3654f
diff --git a/tests/ref/fate/codec2-demux-700C b/tests/ref/fate/codec2-demux-700C
new file mode 100644
index 0000000000..9277e69200
--- /dev/null
+++ b/tests/ref/fate/codec2-demux-700C
@@ -0,0 +1 @@
+CRC=0x7f9493cc
diff --git a/tests/ref/fate/codec2-demux-cut-1200 b/tests/ref/fate/codec2-demux-cut-1200
new file mode 100644
index 0000000000..f3032b0c24
--- /dev/null
+++ b/tests/ref/fate/codec2-demux-cut-1200
@@ -0,0 +1 @@
+CRC=0xc86c3291
diff --git a/tests/ref/fate/codec2-demux-cut-1300 b/tests/ref/fate/codec2-demux-cut-1300
new file mode 100644
index 0000000000..bf4f1b0a75
--- /dev/null
+++ b/tests/ref/fate/codec2-demux-cut-1300
@@ -0,0 +1 @@
+CRC=0x68b92ddf
diff --git a/tests/ref/fate/codec2-demux-cut-1400 b/tests/ref/fate/codec2-demux-cut-1400
new file mode 100644
index 0000000000..83de78745c
--- /dev/null
+++ b/tests/ref/fate/codec2-demux-cut-1400
@@ -0,0 +1 @@
+CRC=0x323239c6
diff --git a/tests/ref/fate/codec2-demux-cut-1600 b/tests/ref/fate/codec2-demux-cut-1600
new file mode 100644
index 0000000000..33f30b9b9c
--- /dev/null
+++ b/tests/ref/fate/codec2-demux-cut-1600
@@ -0,0 +1 @@
+CRC=0x3e10298c
diff --git a/tests/ref/fate/codec2-demux-cut-2400 b/tests/ref/fate/codec2-demux-cut-2400
new file mode 100644
index 0000000000..e364ab19e7
--- /dev/null
+++ b/tests/ref/fate/codec2-demux-cut-2400
@@ -0,0 +1 @@
+CRC=0x190736f0
diff --git a/tests/ref/fate/codec2-demux-cut-3200 b/tests/ref/fate/codec2-demux-cut-3200
new file mode 100644
index 0000000000..f70d1adb56
--- /dev/null
+++ b/tests/ref/fate/codec2-demux-cut-3200
@@ -0,0 +1 @@
+CRC=0xc17c31ae
diff --git a/tests/ref/fate/codec2-demux-cut-700C b/tests/ref/fate/codec2-demux-cut-700C
new file mode 100644
index 0000000000..8cc9cf9e94
--- /dev/null
+++ b/tests/ref/fate/codec2-demux-cut-700C
@@ -0,0 +1 @@
+CRC=0x912a2def
diff --git a/tests/ref/fate/codec2-probe-1200 b/tests/ref/fate/codec2-probe-1200
new file mode 100644
index 0000000000..f4671d8bc9
--- /dev/null
+++ b/tests/ref/fate/codec2-probe-1200
@@ -0,0 +1,77 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=320|duration_time=0.040000|size=6|flags=K__|data_hash=CRC32:221d0fc7
+packet|codec_type=audio|stream_index=0|pts=320|pts_time=0.040000|dts=320|dts_time=0.040000|duration=320|duration_time=0.040000|size=6|flags=K__|data_hash=CRC32:2bf167b8
+packet|codec_type=audio|stream_index=0|pts=640|pts_time=0.080000|dts=640|dts_time=0.080000|duration=320|duration_time=0.040000|size=6|flags=K__|data_hash=CRC32:a7156a29
+packet|codec_type=audio|stream_index=0|pts=960|pts_time=0.120000|dts=960|dts_time=0.120000|duration=320|duration_time=0.040000|size=6|flags=K__|data_hash=CRC32:268c4e72
+packet|codec_type=audio|stream_index=0|pts=1280|pts_time=0.160000|dts=1280|dts_time=0.160000|duration=320|duration_time=0.040000|size=6|flags=K__|data_hash=CRC32:5a23ffe0
+packet|codec_type=audio|stream_index=0|pts=1600|pts_time=0.200000|dts=1600|dts_time=0.200000|duration=320|duration_time=0.040000|size=6|flags=K__|data_hash=CRC32:ed696a9b
+packet|codec_type=audio|stream_index=0|pts=1920|pts_time=0.240000|dts=1920|dts_time=0.240000|duration=320|duration_time=0.040000|size=6|flags=K__|data_hash=CRC32:8c2de44f
+packet|codec_type=audio|stream_index=0|pts=2240|pts_time=0.280000|dts=2240|dts_time=0.280000|duration=320|duration_time=0.040000|size=6|flags=K__|data_hash=CRC32:46dcc273
+packet|codec_type=audio|stream_index=0|pts=2560|pts_time=0.320000|dts=2560|dts_time=0.320000|duration=320|duration_time=0.040000|size=6|flags=K__|data_hash=CRC32:7c6fd6bd
+packet|codec_type=audio|stream_index=0|pts=2880|pts_time=0.360000|dts=2880|dts_time=0.360000|duration=320|duration_time=0.040000|size=6|flags=K__|data_hash=CRC32:54794fd6
+packet|codec_type=audio|stream_index=0|pts=3200|pts_time=0.400000|dts=3200|dts_time=0.400000|duration=320|duration_time=0.040000|size=6|flags=K__|data_hash=CRC32:f56e65a6
+packet|codec_type=audio|stream_index=0|pts=3520|pts_time=0.440000|dts=3520|dts_time=0.440000|duration=320|duration_time=0.040000|size=6|flags=K__|data_hash=CRC32:5a22ccb3
+packet|codec_type=audio|stream_index=0|pts=3840|pts_time=0.480000|dts=3840|dts_time=0.480000|duration=320|duration_time=0.040000|size=6|flags=K__|data_hash=CRC32:80096180
+packet|codec_type=audio|stream_index=0|pts=4160|pts_time=0.520000|dts=4160|dts_time=0.520000|duration=320|duration_time=0.040000|size=6|flags=K__|data_hash=CRC32:8959f4e8
+packet|codec_type=audio|stream_index=0|pts=4480|pts_time=0.560000|dts=4480|dts_time=0.560000|duration=320|duration_time=0.040000|size=6|flags=K__|data_hash=CRC32:cc92a5ce
+packet|codec_type=audio|stream_index=0|pts=4800|pts_time=0.600000|dts=4800|dts_time=0.600000|duration=320|duration_time=0.040000|size=6|flags=K__|data_hash=CRC32:6d4ea619
+packet|codec_type=audio|stream_index=0|pts=5120|pts_time=0.640000|dts=5120|dts_time=0.640000|duration=320|duration_time=0.040000|size=6|flags=K__|data_hash=CRC32:0d8606b8
+packet|codec_type=audio|stream_index=0|pts=5440|pts_time=0.680000|dts=5440|dts_time=0.680000|duration=320|duration_time=0.040000|size=6|flags=K__|data_hash=CRC32:c95cfb1a
+packet|codec_type=audio|stream_index=0|pts=5760|pts_time=0.720000|dts=5760|dts_time=0.720000|duration=320|duration_time=0.040000|size=6|flags=K__|data_hash=CRC32:7ff40dc6
+packet|codec_type=audio|stream_index=0|pts=6080|pts_time=0.760000|dts=6080|dts_time=0.760000|duration=320|duration_time=0.040000|size=6|flags=K__|data_hash=CRC32:866ff055
+packet|codec_type=audio|stream_index=0|pts=6400|pts_time=0.800000|dts=6400|dts_time=0.800000|duration=320|duration_time=0.040000|size=6|flags=K__|data_hash=CRC32:935e0eab
+packet|codec_type=audio|stream_index=0|pts=6720|pts_time=0.840000|dts=6720|dts_time=0.840000|duration=320|duration_time=0.040000|size=6|flags=K__|data_hash=CRC32:7a0342ca
+packet|codec_type=audio|stream_index=0|pts=7040|pts_time=0.880000|dts=7040|dts_time=0.880000|duration=320|duration_time=0.040000|size=6|flags=K__|data_hash=CRC32:8097ae9a
+packet|codec_type=audio|stream_index=0|pts=7360|pts_time=0.920000|dts=7360|dts_time=0.920000|duration=320|duration_time=0.040000|size=6|flags=K__|data_hash=CRC32:7e775861
+packet|codec_type=audio|stream_index=0|pts=7680|pts_time=0.960000|dts=7680|dts_time=0.960000|duration=320|duration_time=0.040000|size=6|flags=K__|data_hash=CRC32:bdeb9b36
+packet|codec_type=audio|stream_index=0|pts=8000|pts_time=1.000000|dts=8000|dts_time=1.000000|duration=320|duration_time=0.040000|size=6|flags=K__|data_hash=CRC32:3794e84b
+packet|codec_type=audio|stream_index=0|pts=8320|pts_time=1.040000|dts=8320|dts_time=1.040000|duration=320|duration_time=0.040000|size=6|flags=K__|data_hash=CRC32:86431715
+packet|codec_type=audio|stream_index=0|pts=8640|pts_time=1.080000|dts=8640|dts_time=1.080000|duration=320|duration_time=0.040000|size=6|flags=K__|data_hash=CRC32:d922dfa1
+packet|codec_type=audio|stream_index=0|pts=8960|pts_time=1.120000|dts=8960|dts_time=1.120000|duration=320|duration_time=0.040000|size=6|flags=K__|data_hash=CRC32:dfbf9e96
+packet|codec_type=audio|stream_index=0|pts=9280|pts_time=1.160000|dts=9280|dts_time=1.160000|duration=320|duration_time=0.040000|size=6|flags=K__|data_hash=CRC32:d3b29b12
+packet|codec_type=audio|stream_index=0|pts=9600|pts_time=1.200000|dts=9600|dts_time=1.200000|duration=320|duration_time=0.040000|size=6|flags=K__|data_hash=CRC32:6e0f0822
+packet|codec_type=audio|stream_index=0|pts=9920|pts_time=1.240000|dts=9920|dts_time=1.240000|duration=320|duration_time=0.040000|size=6|flags=K__|data_hash=CRC32:a79fff26
+packet|codec_type=audio|stream_index=0|pts=10240|pts_time=1.280000|dts=10240|dts_time=1.280000|duration=320|duration_time=0.040000|size=6|flags=K__|data_hash=CRC32:31b1c3b2
+packet|codec_type=audio|stream_index=0|pts=10560|pts_time=1.320000|dts=10560|dts_time=1.320000|duration=320|duration_time=0.040000|size=6|flags=K__|data_hash=CRC32:be077bea
+packet|codec_type=audio|stream_index=0|pts=10880|pts_time=1.360000|dts=10880|dts_time=1.360000|duration=320|duration_time=0.040000|size=6|flags=K__|data_hash=CRC32:f81e55e2
+packet|codec_type=audio|stream_index=0|pts=11200|pts_time=1.400000|dts=11200|dts_time=1.400000|duration=320|duration_time=0.040000|size=6|flags=K__|data_hash=CRC32:ac3f6f73
+packet|codec_type=audio|stream_index=0|pts=11520|pts_time=1.440000|dts=11520|dts_time=1.440000|duration=320|duration_time=0.040000|size=6|flags=K__|data_hash=CRC32:8729d498
+packet|codec_type=audio|stream_index=0|pts=11840|pts_time=1.480000|dts=11840|dts_time=1.480000|duration=320|duration_time=0.040000|size=6|flags=K__|data_hash=CRC32:66f3e351
+packet|codec_type=audio|stream_index=0|pts=12160|pts_time=1.520000|dts=12160|dts_time=1.520000|duration=320|duration_time=0.040000|size=6|flags=K__|data_hash=CRC32:33664141
+packet|codec_type=audio|stream_index=0|pts=12480|pts_time=1.560000|dts=12480|dts_time=1.560000|duration=320|duration_time=0.040000|size=6|flags=K__|data_hash=CRC32:a47da932
+packet|codec_type=audio|stream_index=0|pts=12800|pts_time=1.600000|dts=12800|dts_time=1.600000|duration=320|duration_time=0.040000|size=6|flags=K__|data_hash=CRC32:25ba973c
+packet|codec_type=audio|stream_index=0|pts=13120|pts_time=1.640000|dts=13120|dts_time=1.640000|duration=320|duration_time=0.040000|size=6|flags=K__|data_hash=CRC32:48416905
+packet|codec_type=audio|stream_index=0|pts=13440|pts_time=1.680000|dts=13440|dts_time=1.680000|duration=320|duration_time=0.040000|size=6|flags=K__|data_hash=CRC32:d4389bf2
+packet|codec_type=audio|stream_index=0|pts=13760|pts_time=1.720000|dts=13760|dts_time=1.720000|duration=320|duration_time=0.040000|size=6|flags=K__|data_hash=CRC32:80beba6e
+packet|codec_type=audio|stream_index=0|pts=14080|pts_time=1.760000|dts=14080|dts_time=1.760000|duration=320|duration_time=0.040000|size=6|flags=K__|data_hash=CRC32:87a45a57
+packet|codec_type=audio|stream_index=0|pts=14400|pts_time=1.800000|dts=14400|dts_time=1.800000|duration=320|duration_time=0.040000|size=6|flags=K__|data_hash=CRC32:f942adf5
+packet|codec_type=audio|stream_index=0|pts=14720|pts_time=1.840000|dts=14720|dts_time=1.840000|duration=320|duration_time=0.040000|size=6|flags=K__|data_hash=CRC32:e8d81c23
+packet|codec_type=audio|stream_index=0|pts=15040|pts_time=1.880000|dts=15040|dts_time=1.880000|duration=320|duration_time=0.040000|size=6|flags=K__|data_hash=CRC32:0366c5b1
+packet|codec_type=audio|stream_index=0|pts=15360|pts_time=1.920000|dts=15360|dts_time=1.920000|duration=320|duration_time=0.040000|size=6|flags=K__|data_hash=CRC32:4a5f7c10
+packet|codec_type=audio|stream_index=0|pts=15680|pts_time=1.960000|dts=15680|dts_time=1.960000|duration=320|duration_time=0.040000|size=6|flags=K__|data_hash=CRC32:f88879e6
+packet|codec_type=audio|stream_index=0|pts=16000|pts_time=2.000000|dts=16000|dts_time=2.000000|duration=320|duration_time=0.040000|size=6|flags=K__|data_hash=CRC32:0c1bd8f8
+packet|codec_type=audio|stream_index=0|pts=16320|pts_time=2.040000|dts=16320|dts_time=2.040000|duration=320|duration_time=0.040000|size=6|flags=K__|data_hash=CRC32:c3a3fe7b
+packet|codec_type=audio|stream_index=0|pts=16640|pts_time=2.080000|dts=16640|dts_time=2.080000|duration=320|duration_time=0.040000|size=6|flags=K__|data_hash=CRC32:2f51770a
+packet|codec_type=audio|stream_index=0|pts=16960|pts_time=2.120000|dts=16960|dts_time=2.120000|duration=320|duration_time=0.040000|size=6|flags=K__|data_hash=CRC32:112e75a2
+packet|codec_type=audio|stream_index=0|pts=17280|pts_time=2.160000|dts=17280|dts_time=2.160000|duration=320|duration_time=0.040000|size=6|flags=K__|data_hash=CRC32:a88f3e44
+packet|codec_type=audio|stream_index=0|pts=17600|pts_time=2.200000|dts=17600|dts_time=2.200000|duration=320|duration_time=0.040000|size=6|flags=K__|data_hash=CRC32:b5a038d5
+packet|codec_type=audio|stream_index=0|pts=17920|pts_time=2.240000|dts=17920|dts_time=2.240000|duration=320|duration_time=0.040000|size=6|flags=K__|data_hash=CRC32:a081bf18
+packet|codec_type=audio|stream_index=0|pts=18240|pts_time=2.280000|dts=18240|dts_time=2.280000|duration=320|duration_time=0.040000|size=6|flags=K__|data_hash=CRC32:e735914e
+packet|codec_type=audio|stream_index=0|pts=18560|pts_time=2.320000|dts=18560|dts_time=2.320000|duration=320|duration_time=0.040000|size=6|flags=K__|data_hash=CRC32:9e1a7144
+packet|codec_type=audio|stream_index=0|pts=18880|pts_time=2.360000|dts=18880|dts_time=2.360000|duration=320|duration_time=0.040000|size=6|flags=K__|data_hash=CRC32:868f522c
+packet|codec_type=audio|stream_index=0|pts=19200|pts_time=2.400000|dts=19200|dts_time=2.400000|duration=320|duration_time=0.040000|size=6|flags=K__|data_hash=CRC32:d212c855
+packet|codec_type=audio|stream_index=0|pts=19520|pts_time=2.440000|dts=19520|dts_time=2.440000|duration=320|duration_time=0.040000|size=6|flags=K__|data_hash=CRC32:bca14856
+packet|codec_type=audio|stream_index=0|pts=19840|pts_time=2.480000|dts=19840|dts_time=2.480000|duration=320|duration_time=0.040000|size=6|flags=K__|data_hash=CRC32:53b4fc98
+packet|codec_type=audio|stream_index=0|pts=20160|pts_time=2.520000|dts=20160|dts_time=2.520000|duration=320|duration_time=0.040000|size=6|flags=K__|data_hash=CRC32:7df44774
+packet|codec_type=audio|stream_index=0|pts=20480|pts_time=2.560000|dts=20480|dts_time=2.560000|duration=320|duration_time=0.040000|size=6|flags=K__|data_hash=CRC32:59760848
+packet|codec_type=audio|stream_index=0|pts=20800|pts_time=2.600000|dts=20800|dts_time=2.600000|duration=320|duration_time=0.040000|size=6|flags=K__|data_hash=CRC32:6c4e5c92
+packet|codec_type=audio|stream_index=0|pts=21120|pts_time=2.640000|dts=21120|dts_time=2.640000|duration=320|duration_time=0.040000|size=6|flags=K__|data_hash=CRC32:73629588
+packet|codec_type=audio|stream_index=0|pts=21440|pts_time=2.680000|dts=21440|dts_time=2.680000|duration=320|duration_time=0.040000|size=6|flags=K__|data_hash=CRC32:e0b588c1
+packet|codec_type=audio|stream_index=0|pts=21760|pts_time=2.720000|dts=21760|dts_time=2.720000|duration=320|duration_time=0.040000|size=6|flags=K__|data_hash=CRC32:227d2375
+packet|codec_type=audio|stream_index=0|pts=22080|pts_time=2.760000|dts=22080|dts_time=2.760000|duration=320|duration_time=0.040000|size=6|flags=K__|data_hash=CRC32:fd70ce6f
+packet|codec_type=audio|stream_index=0|pts=22400|pts_time=2.800000|dts=22400|dts_time=2.800000|duration=320|duration_time=0.040000|size=6|flags=K__|data_hash=CRC32:e923fe4c
+packet|codec_type=audio|stream_index=0|pts=22720|pts_time=2.840000|dts=22720|dts_time=2.840000|duration=320|duration_time=0.040000|size=6|flags=K__|data_hash=CRC32:52cecd8a
+packet|codec_type=audio|stream_index=0|pts=23040|pts_time=2.880000|dts=23040|dts_time=2.880000|duration=320|duration_time=0.040000|size=6|flags=K__|data_hash=CRC32:32d67e82
+packet|codec_type=audio|stream_index=0|pts=23360|pts_time=2.920000|dts=23360|dts_time=2.920000|duration=320|duration_time=0.040000|size=6|flags=K__|data_hash=CRC32:1baa02d6
+packet|codec_type=audio|stream_index=0|pts=23680|pts_time=2.960000|dts=23680|dts_time=2.960000|duration=320|duration_time=0.040000|size=6|flags=K__|data_hash=CRC32:d5df290e
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=24000|duration=3.000000|bit_rate=1200|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=75|extradata_size=4|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-1200.c2|nb_streams=1|nb_programs=0|start_time=N/A|duration=3.000000
diff --git a/tests/ref/fate/codec2-probe-1300 b/tests/ref/fate/codec2-probe-1300
new file mode 100644
index 0000000000..91894a3ee9
--- /dev/null
+++ b/tests/ref/fate/codec2-probe-1300
@@ -0,0 +1,77 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:e1c986d9
+packet|codec_type=audio|stream_index=0|pts=320|pts_time=0.040000|dts=320|dts_time=0.040000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:d19871aa
+packet|codec_type=audio|stream_index=0|pts=640|pts_time=0.080000|dts=640|dts_time=0.080000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:720c8431
+packet|codec_type=audio|stream_index=0|pts=960|pts_time=0.120000|dts=960|dts_time=0.120000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:5e0cab28
+packet|codec_type=audio|stream_index=0|pts=1280|pts_time=0.160000|dts=1280|dts_time=0.160000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:431d4805
+packet|codec_type=audio|stream_index=0|pts=1600|pts_time=0.200000|dts=1600|dts_time=0.200000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:e506c285
+packet|codec_type=audio|stream_index=0|pts=1920|pts_time=0.240000|dts=1920|dts_time=0.240000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:b0ca6019
+packet|codec_type=audio|stream_index=0|pts=2240|pts_time=0.280000|dts=2240|dts_time=0.280000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:25ef5865
+packet|codec_type=audio|stream_index=0|pts=2560|pts_time=0.320000|dts=2560|dts_time=0.320000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:230d8966
+packet|codec_type=audio|stream_index=0|pts=2880|pts_time=0.360000|dts=2880|dts_time=0.360000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:f552d25c
+packet|codec_type=audio|stream_index=0|pts=3200|pts_time=0.400000|dts=3200|dts_time=0.400000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:9a0c149d
+packet|codec_type=audio|stream_index=0|pts=3520|pts_time=0.440000|dts=3520|dts_time=0.440000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:c0332732
+packet|codec_type=audio|stream_index=0|pts=3840|pts_time=0.480000|dts=3840|dts_time=0.480000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:7500143a
+packet|codec_type=audio|stream_index=0|pts=4160|pts_time=0.520000|dts=4160|dts_time=0.520000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:18995637
+packet|codec_type=audio|stream_index=0|pts=4480|pts_time=0.560000|dts=4480|dts_time=0.560000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:6dbc7758
+packet|codec_type=audio|stream_index=0|pts=4800|pts_time=0.600000|dts=4800|dts_time=0.600000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:660dc59a
+packet|codec_type=audio|stream_index=0|pts=5120|pts_time=0.640000|dts=5120|dts_time=0.640000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:c017b895
+packet|codec_type=audio|stream_index=0|pts=5440|pts_time=0.680000|dts=5440|dts_time=0.680000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:0caa37a8
+packet|codec_type=audio|stream_index=0|pts=5760|pts_time=0.720000|dts=5760|dts_time=0.720000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:4b119869
+packet|codec_type=audio|stream_index=0|pts=6080|pts_time=0.760000|dts=6080|dts_time=0.760000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:ab9a64ff
+packet|codec_type=audio|stream_index=0|pts=6400|pts_time=0.800000|dts=6400|dts_time=0.800000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:0f810c26
+packet|codec_type=audio|stream_index=0|pts=6720|pts_time=0.840000|dts=6720|dts_time=0.840000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:d70a38ae
+packet|codec_type=audio|stream_index=0|pts=7040|pts_time=0.880000|dts=7040|dts_time=0.880000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:7bf8e78c
+packet|codec_type=audio|stream_index=0|pts=7360|pts_time=0.920000|dts=7360|dts_time=0.920000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:427523e8
+packet|codec_type=audio|stream_index=0|pts=7680|pts_time=0.960000|dts=7680|dts_time=0.960000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:e2252aac
+packet|codec_type=audio|stream_index=0|pts=8000|pts_time=1.000000|dts=8000|dts_time=1.000000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:3e1a854a
+packet|codec_type=audio|stream_index=0|pts=8320|pts_time=1.040000|dts=8320|dts_time=1.040000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:4713a92d
+packet|codec_type=audio|stream_index=0|pts=8640|pts_time=1.080000|dts=8640|dts_time=1.080000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:960e5b90
+packet|codec_type=audio|stream_index=0|pts=8960|pts_time=1.120000|dts=8960|dts_time=1.120000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:2e9e2162
+packet|codec_type=audio|stream_index=0|pts=9280|pts_time=1.160000|dts=9280|dts_time=1.160000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:ad34d068
+packet|codec_type=audio|stream_index=0|pts=9600|pts_time=1.200000|dts=9600|dts_time=1.200000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:1856a76b
+packet|codec_type=audio|stream_index=0|pts=9920|pts_time=1.240000|dts=9920|dts_time=1.240000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:0485b25e
+packet|codec_type=audio|stream_index=0|pts=10240|pts_time=1.280000|dts=10240|dts_time=1.280000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:64af8bd3
+packet|codec_type=audio|stream_index=0|pts=10560|pts_time=1.320000|dts=10560|dts_time=1.320000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:96ac0e38
+packet|codec_type=audio|stream_index=0|pts=10880|pts_time=1.360000|dts=10880|dts_time=1.360000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:7bbfa18d
+packet|codec_type=audio|stream_index=0|pts=11200|pts_time=1.400000|dts=11200|dts_time=1.400000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:4f86117c
+packet|codec_type=audio|stream_index=0|pts=11520|pts_time=1.440000|dts=11520|dts_time=1.440000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:2fd11b3b
+packet|codec_type=audio|stream_index=0|pts=11840|pts_time=1.480000|dts=11840|dts_time=1.480000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:9a76d5be
+packet|codec_type=audio|stream_index=0|pts=12160|pts_time=1.520000|dts=12160|dts_time=1.520000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:dd58ca6e
+packet|codec_type=audio|stream_index=0|pts=12480|pts_time=1.560000|dts=12480|dts_time=1.560000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:57722d71
+packet|codec_type=audio|stream_index=0|pts=12800|pts_time=1.600000|dts=12800|dts_time=1.600000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:256b90be
+packet|codec_type=audio|stream_index=0|pts=13120|pts_time=1.640000|dts=13120|dts_time=1.640000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:c80df4af
+packet|codec_type=audio|stream_index=0|pts=13440|pts_time=1.680000|dts=13440|dts_time=1.680000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:63d22090
+packet|codec_type=audio|stream_index=0|pts=13760|pts_time=1.720000|dts=13760|dts_time=1.720000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:59355513
+packet|codec_type=audio|stream_index=0|pts=14080|pts_time=1.760000|dts=14080|dts_time=1.760000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:4fa2449b
+packet|codec_type=audio|stream_index=0|pts=14400|pts_time=1.800000|dts=14400|dts_time=1.800000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:19b717bf
+packet|codec_type=audio|stream_index=0|pts=14720|pts_time=1.840000|dts=14720|dts_time=1.840000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:9e9b2064
+packet|codec_type=audio|stream_index=0|pts=15040|pts_time=1.880000|dts=15040|dts_time=1.880000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:8ccf6e4c
+packet|codec_type=audio|stream_index=0|pts=15360|pts_time=1.920000|dts=15360|dts_time=1.920000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:63e90a7a
+packet|codec_type=audio|stream_index=0|pts=15680|pts_time=1.960000|dts=15680|dts_time=1.960000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:5ebaf71f
+packet|codec_type=audio|stream_index=0|pts=16000|pts_time=2.000000|dts=16000|dts_time=2.000000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:664d87e3
+packet|codec_type=audio|stream_index=0|pts=16320|pts_time=2.040000|dts=16320|dts_time=2.040000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:2ba4f36d
+packet|codec_type=audio|stream_index=0|pts=16640|pts_time=2.080000|dts=16640|dts_time=2.080000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:905d3a66
+packet|codec_type=audio|stream_index=0|pts=16960|pts_time=2.120000|dts=16960|dts_time=2.120000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:7531b467
+packet|codec_type=audio|stream_index=0|pts=17280|pts_time=2.160000|dts=17280|dts_time=2.160000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:c6b57380
+packet|codec_type=audio|stream_index=0|pts=17600|pts_time=2.200000|dts=17600|dts_time=2.200000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:04e359d8
+packet|codec_type=audio|stream_index=0|pts=17920|pts_time=2.240000|dts=17920|dts_time=2.240000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:c13c3444
+packet|codec_type=audio|stream_index=0|pts=18240|pts_time=2.280000|dts=18240|dts_time=2.280000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:40d7078a
+packet|codec_type=audio|stream_index=0|pts=18560|pts_time=2.320000|dts=18560|dts_time=2.320000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:0462f263
+packet|codec_type=audio|stream_index=0|pts=18880|pts_time=2.360000|dts=18880|dts_time=2.360000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:726503cc
+packet|codec_type=audio|stream_index=0|pts=19200|pts_time=2.400000|dts=19200|dts_time=2.400000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:e2b95cd5
+packet|codec_type=audio|stream_index=0|pts=19520|pts_time=2.440000|dts=19520|dts_time=2.440000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:f430dec4
+packet|codec_type=audio|stream_index=0|pts=19840|pts_time=2.480000|dts=19840|dts_time=2.480000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:1f2cf671
+packet|codec_type=audio|stream_index=0|pts=20160|pts_time=2.520000|dts=20160|dts_time=2.520000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:ca210722
+packet|codec_type=audio|stream_index=0|pts=20480|pts_time=2.560000|dts=20480|dts_time=2.560000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:8148366b
+packet|codec_type=audio|stream_index=0|pts=20800|pts_time=2.600000|dts=20800|dts_time=2.600000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:93d893d9
+packet|codec_type=audio|stream_index=0|pts=21120|pts_time=2.640000|dts=21120|dts_time=2.640000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:46f43603
+packet|codec_type=audio|stream_index=0|pts=21440|pts_time=2.680000|dts=21440|dts_time=2.680000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:3a8f189a
+packet|codec_type=audio|stream_index=0|pts=21760|pts_time=2.720000|dts=21760|dts_time=2.720000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:d0997cfa
+packet|codec_type=audio|stream_index=0|pts=22080|pts_time=2.760000|dts=22080|dts_time=2.760000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:16948018
+packet|codec_type=audio|stream_index=0|pts=22400|pts_time=2.800000|dts=22400|dts_time=2.800000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:5765c933
+packet|codec_type=audio|stream_index=0|pts=22720|pts_time=2.840000|dts=22720|dts_time=2.840000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:8b1fb92e
+packet|codec_type=audio|stream_index=0|pts=23040|pts_time=2.880000|dts=23040|dts_time=2.880000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:46ec5af7
+packet|codec_type=audio|stream_index=0|pts=23360|pts_time=2.920000|dts=23360|dts_time=2.920000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:b070915d
+packet|codec_type=audio|stream_index=0|pts=23680|pts_time=2.960000|dts=23680|dts_time=2.960000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:482e7f51
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=24000|duration=3.000000|bit_rate=1400|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=75|extradata_size=4|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-1300.c2|nb_streams=1|nb_programs=0|start_time=N/A|duration=3.000000
diff --git a/tests/ref/fate/codec2-probe-1400 b/tests/ref/fate/codec2-probe-1400
new file mode 100644
index 0000000000..46d0adafda
--- /dev/null
+++ b/tests/ref/fate/codec2-probe-1400
@@ -0,0 +1,77 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:d9be5755
+packet|codec_type=audio|stream_index=0|pts=320|pts_time=0.040000|dts=320|dts_time=0.040000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:472ceccd
+packet|codec_type=audio|stream_index=0|pts=640|pts_time=0.080000|dts=640|dts_time=0.080000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:303b21b6
+packet|codec_type=audio|stream_index=0|pts=960|pts_time=0.120000|dts=960|dts_time=0.120000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:dc2b4dd6
+packet|codec_type=audio|stream_index=0|pts=1280|pts_time=0.160000|dts=1280|dts_time=0.160000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:e8888eb2
+packet|codec_type=audio|stream_index=0|pts=1600|pts_time=0.200000|dts=1600|dts_time=0.200000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:fa3d0618
+packet|codec_type=audio|stream_index=0|pts=1920|pts_time=0.240000|dts=1920|dts_time=0.240000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:68478d05
+packet|codec_type=audio|stream_index=0|pts=2240|pts_time=0.280000|dts=2240|dts_time=0.280000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:5801bcd3
+packet|codec_type=audio|stream_index=0|pts=2560|pts_time=0.320000|dts=2560|dts_time=0.320000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:35119a8e
+packet|codec_type=audio|stream_index=0|pts=2880|pts_time=0.360000|dts=2880|dts_time=0.360000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:7b36b9fd
+packet|codec_type=audio|stream_index=0|pts=3200|pts_time=0.400000|dts=3200|dts_time=0.400000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:efa8ba25
+packet|codec_type=audio|stream_index=0|pts=3520|pts_time=0.440000|dts=3520|dts_time=0.440000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:775b298f
+packet|codec_type=audio|stream_index=0|pts=3840|pts_time=0.480000|dts=3840|dts_time=0.480000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:04a24aad
+packet|codec_type=audio|stream_index=0|pts=4160|pts_time=0.520000|dts=4160|dts_time=0.520000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:a258e371
+packet|codec_type=audio|stream_index=0|pts=4480|pts_time=0.560000|dts=4480|dts_time=0.560000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:0f7e2ff3
+packet|codec_type=audio|stream_index=0|pts=4800|pts_time=0.600000|dts=4800|dts_time=0.600000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:161ebe16
+packet|codec_type=audio|stream_index=0|pts=5120|pts_time=0.640000|dts=5120|dts_time=0.640000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:5bd34080
+packet|codec_type=audio|stream_index=0|pts=5440|pts_time=0.680000|dts=5440|dts_time=0.680000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:de117321
+packet|codec_type=audio|stream_index=0|pts=5760|pts_time=0.720000|dts=5760|dts_time=0.720000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:159ecd57
+packet|codec_type=audio|stream_index=0|pts=6080|pts_time=0.760000|dts=6080|dts_time=0.760000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:d82dcfe8
+packet|codec_type=audio|stream_index=0|pts=6400|pts_time=0.800000|dts=6400|dts_time=0.800000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:76485e5a
+packet|codec_type=audio|stream_index=0|pts=6720|pts_time=0.840000|dts=6720|dts_time=0.840000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:75c2dbdf
+packet|codec_type=audio|stream_index=0|pts=7040|pts_time=0.880000|dts=7040|dts_time=0.880000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:a2d1ff3d
+packet|codec_type=audio|stream_index=0|pts=7360|pts_time=0.920000|dts=7360|dts_time=0.920000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:098c210e
+packet|codec_type=audio|stream_index=0|pts=7680|pts_time=0.960000|dts=7680|dts_time=0.960000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:4fcefaed
+packet|codec_type=audio|stream_index=0|pts=8000|pts_time=1.000000|dts=8000|dts_time=1.000000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:f381c04b
+packet|codec_type=audio|stream_index=0|pts=8320|pts_time=1.040000|dts=8320|dts_time=1.040000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:8fc0de5d
+packet|codec_type=audio|stream_index=0|pts=8640|pts_time=1.080000|dts=8640|dts_time=1.080000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:aa70458b
+packet|codec_type=audio|stream_index=0|pts=8960|pts_time=1.120000|dts=8960|dts_time=1.120000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:972ef8a3
+packet|codec_type=audio|stream_index=0|pts=9280|pts_time=1.160000|dts=9280|dts_time=1.160000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:3810e83b
+packet|codec_type=audio|stream_index=0|pts=9600|pts_time=1.200000|dts=9600|dts_time=1.200000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:5662fe6d
+packet|codec_type=audio|stream_index=0|pts=9920|pts_time=1.240000|dts=9920|dts_time=1.240000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:c5f12521
+packet|codec_type=audio|stream_index=0|pts=10240|pts_time=1.280000|dts=10240|dts_time=1.280000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:3e48352a
+packet|codec_type=audio|stream_index=0|pts=10560|pts_time=1.320000|dts=10560|dts_time=1.320000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:98734d7d
+packet|codec_type=audio|stream_index=0|pts=10880|pts_time=1.360000|dts=10880|dts_time=1.360000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:ac3c7179
+packet|codec_type=audio|stream_index=0|pts=11200|pts_time=1.400000|dts=11200|dts_time=1.400000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:eec579b0
+packet|codec_type=audio|stream_index=0|pts=11520|pts_time=1.440000|dts=11520|dts_time=1.440000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:d510fdfc
+packet|codec_type=audio|stream_index=0|pts=11840|pts_time=1.480000|dts=11840|dts_time=1.480000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:eb508488
+packet|codec_type=audio|stream_index=0|pts=12160|pts_time=1.520000|dts=12160|dts_time=1.520000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:22cd882f
+packet|codec_type=audio|stream_index=0|pts=12480|pts_time=1.560000|dts=12480|dts_time=1.560000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:10224a43
+packet|codec_type=audio|stream_index=0|pts=12800|pts_time=1.600000|dts=12800|dts_time=1.600000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:f76a89a1
+packet|codec_type=audio|stream_index=0|pts=13120|pts_time=1.640000|dts=13120|dts_time=1.640000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:1f797d63
+packet|codec_type=audio|stream_index=0|pts=13440|pts_time=1.680000|dts=13440|dts_time=1.680000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:7d4e0867
+packet|codec_type=audio|stream_index=0|pts=13760|pts_time=1.720000|dts=13760|dts_time=1.720000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:b13935b9
+packet|codec_type=audio|stream_index=0|pts=14080|pts_time=1.760000|dts=14080|dts_time=1.760000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:42c4514a
+packet|codec_type=audio|stream_index=0|pts=14400|pts_time=1.800000|dts=14400|dts_time=1.800000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:b400b03c
+packet|codec_type=audio|stream_index=0|pts=14720|pts_time=1.840000|dts=14720|dts_time=1.840000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:0ef28876
+packet|codec_type=audio|stream_index=0|pts=15040|pts_time=1.880000|dts=15040|dts_time=1.880000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:d352c764
+packet|codec_type=audio|stream_index=0|pts=15360|pts_time=1.920000|dts=15360|dts_time=1.920000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:04675798
+packet|codec_type=audio|stream_index=0|pts=15680|pts_time=1.960000|dts=15680|dts_time=1.960000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:2fdcc251
+packet|codec_type=audio|stream_index=0|pts=16000|pts_time=2.000000|dts=16000|dts_time=2.000000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:3cf23ace
+packet|codec_type=audio|stream_index=0|pts=16320|pts_time=2.040000|dts=16320|dts_time=2.040000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:646ec910
+packet|codec_type=audio|stream_index=0|pts=16640|pts_time=2.080000|dts=16640|dts_time=2.080000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:ab718053
+packet|codec_type=audio|stream_index=0|pts=16960|pts_time=2.120000|dts=16960|dts_time=2.120000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:fb932a4a
+packet|codec_type=audio|stream_index=0|pts=17280|pts_time=2.160000|dts=17280|dts_time=2.160000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:252f0a1d
+packet|codec_type=audio|stream_index=0|pts=17600|pts_time=2.200000|dts=17600|dts_time=2.200000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:17f60429
+packet|codec_type=audio|stream_index=0|pts=17920|pts_time=2.240000|dts=17920|dts_time=2.240000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:027bdb7c
+packet|codec_type=audio|stream_index=0|pts=18240|pts_time=2.280000|dts=18240|dts_time=2.280000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:e1cc43e5
+packet|codec_type=audio|stream_index=0|pts=18560|pts_time=2.320000|dts=18560|dts_time=2.320000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:fa19cae9
+packet|codec_type=audio|stream_index=0|pts=18880|pts_time=2.360000|dts=18880|dts_time=2.360000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:956865aa
+packet|codec_type=audio|stream_index=0|pts=19200|pts_time=2.400000|dts=19200|dts_time=2.400000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:72700499
+packet|codec_type=audio|stream_index=0|pts=19520|pts_time=2.440000|dts=19520|dts_time=2.440000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:f1a705a6
+packet|codec_type=audio|stream_index=0|pts=19840|pts_time=2.480000|dts=19840|dts_time=2.480000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:5afc0537
+packet|codec_type=audio|stream_index=0|pts=20160|pts_time=2.520000|dts=20160|dts_time=2.520000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:339a433c
+packet|codec_type=audio|stream_index=0|pts=20480|pts_time=2.560000|dts=20480|dts_time=2.560000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:24d56b77
+packet|codec_type=audio|stream_index=0|pts=20800|pts_time=2.600000|dts=20800|dts_time=2.600000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:5179f52b
+packet|codec_type=audio|stream_index=0|pts=21120|pts_time=2.640000|dts=21120|dts_time=2.640000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:16950147
+packet|codec_type=audio|stream_index=0|pts=21440|pts_time=2.680000|dts=21440|dts_time=2.680000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:3986102f
+packet|codec_type=audio|stream_index=0|pts=21760|pts_time=2.720000|dts=21760|dts_time=2.720000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:c7936962
+packet|codec_type=audio|stream_index=0|pts=22080|pts_time=2.760000|dts=22080|dts_time=2.760000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:c75c6477
+packet|codec_type=audio|stream_index=0|pts=22400|pts_time=2.800000|dts=22400|dts_time=2.800000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:1f2173e9
+packet|codec_type=audio|stream_index=0|pts=22720|pts_time=2.840000|dts=22720|dts_time=2.840000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:60be28ad
+packet|codec_type=audio|stream_index=0|pts=23040|pts_time=2.880000|dts=23040|dts_time=2.880000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:f8b99b5c
+packet|codec_type=audio|stream_index=0|pts=23360|pts_time=2.920000|dts=23360|dts_time=2.920000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:e0d00937
+packet|codec_type=audio|stream_index=0|pts=23680|pts_time=2.960000|dts=23680|dts_time=2.960000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:a34e44ad
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=24000|duration=3.000000|bit_rate=1400|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=75|extradata_size=4|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-1400.c2|nb_streams=1|nb_programs=0|start_time=N/A|duration=3.000000
diff --git a/tests/ref/fate/codec2-probe-1600 b/tests/ref/fate/codec2-probe-1600
new file mode 100644
index 0000000000..b5026b48c3
--- /dev/null
+++ b/tests/ref/fate/codec2-probe-1600
@@ -0,0 +1,77 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=320|duration_time=0.040000|size=8|flags=K__|data_hash=CRC32:5ee6636d
+packet|codec_type=audio|stream_index=0|pts=320|pts_time=0.040000|dts=320|dts_time=0.040000|duration=320|duration_time=0.040000|size=8|flags=K__|data_hash=CRC32:be3e8ff8
+packet|codec_type=audio|stream_index=0|pts=640|pts_time=0.080000|dts=640|dts_time=0.080000|duration=320|duration_time=0.040000|size=8|flags=K__|data_hash=CRC32:026dbc9a
+packet|codec_type=audio|stream_index=0|pts=960|pts_time=0.120000|dts=960|dts_time=0.120000|duration=320|duration_time=0.040000|size=8|flags=K__|data_hash=CRC32:975599a2
+packet|codec_type=audio|stream_index=0|pts=1280|pts_time=0.160000|dts=1280|dts_time=0.160000|duration=320|duration_time=0.040000|size=8|flags=K__|data_hash=CRC32:c55f65e7
+packet|codec_type=audio|stream_index=0|pts=1600|pts_time=0.200000|dts=1600|dts_time=0.200000|duration=320|duration_time=0.040000|size=8|flags=K__|data_hash=CRC32:3731f5b3
+packet|codec_type=audio|stream_index=0|pts=1920|pts_time=0.240000|dts=1920|dts_time=0.240000|duration=320|duration_time=0.040000|size=8|flags=K__|data_hash=CRC32:ac397199
+packet|codec_type=audio|stream_index=0|pts=2240|pts_time=0.280000|dts=2240|dts_time=0.280000|duration=320|duration_time=0.040000|size=8|flags=K__|data_hash=CRC32:f4291bb5
+packet|codec_type=audio|stream_index=0|pts=2560|pts_time=0.320000|dts=2560|dts_time=0.320000|duration=320|duration_time=0.040000|size=8|flags=K__|data_hash=CRC32:91d5ea5c
+packet|codec_type=audio|stream_index=0|pts=2880|pts_time=0.360000|dts=2880|dts_time=0.360000|duration=320|duration_time=0.040000|size=8|flags=K__|data_hash=CRC32:a33f36db
+packet|codec_type=audio|stream_index=0|pts=3200|pts_time=0.400000|dts=3200|dts_time=0.400000|duration=320|duration_time=0.040000|size=8|flags=K__|data_hash=CRC32:022e9118
+packet|codec_type=audio|stream_index=0|pts=3520|pts_time=0.440000|dts=3520|dts_time=0.440000|duration=320|duration_time=0.040000|size=8|flags=K__|data_hash=CRC32:89470375
+packet|codec_type=audio|stream_index=0|pts=3840|pts_time=0.480000|dts=3840|dts_time=0.480000|duration=320|duration_time=0.040000|size=8|flags=K__|data_hash=CRC32:9e9ce12c
+packet|codec_type=audio|stream_index=0|pts=4160|pts_time=0.520000|dts=4160|dts_time=0.520000|duration=320|duration_time=0.040000|size=8|flags=K__|data_hash=CRC32:81049310
+packet|codec_type=audio|stream_index=0|pts=4480|pts_time=0.560000|dts=4480|dts_time=0.560000|duration=320|duration_time=0.040000|size=8|flags=K__|data_hash=CRC32:f20d84a8
+packet|codec_type=audio|stream_index=0|pts=4800|pts_time=0.600000|dts=4800|dts_time=0.600000|duration=320|duration_time=0.040000|size=8|flags=K__|data_hash=CRC32:b714b7e0
+packet|codec_type=audio|stream_index=0|pts=5120|pts_time=0.640000|dts=5120|dts_time=0.640000|duration=320|duration_time=0.040000|size=8|flags=K__|data_hash=CRC32:22c2cdb8
+packet|codec_type=audio|stream_index=0|pts=5440|pts_time=0.680000|dts=5440|dts_time=0.680000|duration=320|duration_time=0.040000|size=8|flags=K__|data_hash=CRC32:a2a3f33f
+packet|codec_type=audio|stream_index=0|pts=5760|pts_time=0.720000|dts=5760|dts_time=0.720000|duration=320|duration_time=0.040000|size=8|flags=K__|data_hash=CRC32:e36b4816
+packet|codec_type=audio|stream_index=0|pts=6080|pts_time=0.760000|dts=6080|dts_time=0.760000|duration=320|duration_time=0.040000|size=8|flags=K__|data_hash=CRC32:53903508
+packet|codec_type=audio|stream_index=0|pts=6400|pts_time=0.800000|dts=6400|dts_time=0.800000|duration=320|duration_time=0.040000|size=8|flags=K__|data_hash=CRC32:a739c921
+packet|codec_type=audio|stream_index=0|pts=6720|pts_time=0.840000|dts=6720|dts_time=0.840000|duration=320|duration_time=0.040000|size=8|flags=K__|data_hash=CRC32:c1cefb41
+packet|codec_type=audio|stream_index=0|pts=7040|pts_time=0.880000|dts=7040|dts_time=0.880000|duration=320|duration_time=0.040000|size=8|flags=K__|data_hash=CRC32:544839bd
+packet|codec_type=audio|stream_index=0|pts=7360|pts_time=0.920000|dts=7360|dts_time=0.920000|duration=320|duration_time=0.040000|size=8|flags=K__|data_hash=CRC32:9d72b84b
+packet|codec_type=audio|stream_index=0|pts=7680|pts_time=0.960000|dts=7680|dts_time=0.960000|duration=320|duration_time=0.040000|size=8|flags=K__|data_hash=CRC32:e92e686b
+packet|codec_type=audio|stream_index=0|pts=8000|pts_time=1.000000|dts=8000|dts_time=1.000000|duration=320|duration_time=0.040000|size=8|flags=K__|data_hash=CRC32:e8690e8e
+packet|codec_type=audio|stream_index=0|pts=8320|pts_time=1.040000|dts=8320|dts_time=1.040000|duration=320|duration_time=0.040000|size=8|flags=K__|data_hash=CRC32:46906378
+packet|codec_type=audio|stream_index=0|pts=8640|pts_time=1.080000|dts=8640|dts_time=1.080000|duration=320|duration_time=0.040000|size=8|flags=K__|data_hash=CRC32:20e26bd0
+packet|codec_type=audio|stream_index=0|pts=8960|pts_time=1.120000|dts=8960|dts_time=1.120000|duration=320|duration_time=0.040000|size=8|flags=K__|data_hash=CRC32:a22670f2
+packet|codec_type=audio|stream_index=0|pts=9280|pts_time=1.160000|dts=9280|dts_time=1.160000|duration=320|duration_time=0.040000|size=8|flags=K__|data_hash=CRC32:e017fbe1
+packet|codec_type=audio|stream_index=0|pts=9600|pts_time=1.200000|dts=9600|dts_time=1.200000|duration=320|duration_time=0.040000|size=8|flags=K__|data_hash=CRC32:9a569bd0
+packet|codec_type=audio|stream_index=0|pts=9920|pts_time=1.240000|dts=9920|dts_time=1.240000|duration=320|duration_time=0.040000|size=8|flags=K__|data_hash=CRC32:dc5e9ca1
+packet|codec_type=audio|stream_index=0|pts=10240|pts_time=1.280000|dts=10240|dts_time=1.280000|duration=320|duration_time=0.040000|size=8|flags=K__|data_hash=CRC32:7e54c415
+packet|codec_type=audio|stream_index=0|pts=10560|pts_time=1.320000|dts=10560|dts_time=1.320000|duration=320|duration_time=0.040000|size=8|flags=K__|data_hash=CRC32:ceff8d83
+packet|codec_type=audio|stream_index=0|pts=10880|pts_time=1.360000|dts=10880|dts_time=1.360000|duration=320|duration_time=0.040000|size=8|flags=K__|data_hash=CRC32:93b9733c
+packet|codec_type=audio|stream_index=0|pts=11200|pts_time=1.400000|dts=11200|dts_time=1.400000|duration=320|duration_time=0.040000|size=8|flags=K__|data_hash=CRC32:f325edd1
+packet|codec_type=audio|stream_index=0|pts=11520|pts_time=1.440000|dts=11520|dts_time=1.440000|duration=320|duration_time=0.040000|size=8|flags=K__|data_hash=CRC32:064fa392
+packet|codec_type=audio|stream_index=0|pts=11840|pts_time=1.480000|dts=11840|dts_time=1.480000|duration=320|duration_time=0.040000|size=8|flags=K__|data_hash=CRC32:489addc0
+packet|codec_type=audio|stream_index=0|pts=12160|pts_time=1.520000|dts=12160|dts_time=1.520000|duration=320|duration_time=0.040000|size=8|flags=K__|data_hash=CRC32:62984863
+packet|codec_type=audio|stream_index=0|pts=12480|pts_time=1.560000|dts=12480|dts_time=1.560000|duration=320|duration_time=0.040000|size=8|flags=K__|data_hash=CRC32:e6df3399
+packet|codec_type=audio|stream_index=0|pts=12800|pts_time=1.600000|dts=12800|dts_time=1.600000|duration=320|duration_time=0.040000|size=8|flags=K__|data_hash=CRC32:884f30c5
+packet|codec_type=audio|stream_index=0|pts=13120|pts_time=1.640000|dts=13120|dts_time=1.640000|duration=320|duration_time=0.040000|size=8|flags=K__|data_hash=CRC32:57ce7bce
+packet|codec_type=audio|stream_index=0|pts=13440|pts_time=1.680000|dts=13440|dts_time=1.680000|duration=320|duration_time=0.040000|size=8|flags=K__|data_hash=CRC32:3f74ffe1
+packet|codec_type=audio|stream_index=0|pts=13760|pts_time=1.720000|dts=13760|dts_time=1.720000|duration=320|duration_time=0.040000|size=8|flags=K__|data_hash=CRC32:421d5b56
+packet|codec_type=audio|stream_index=0|pts=14080|pts_time=1.760000|dts=14080|dts_time=1.760000|duration=320|duration_time=0.040000|size=8|flags=K__|data_hash=CRC32:fa43a557
+packet|codec_type=audio|stream_index=0|pts=14400|pts_time=1.800000|dts=14400|dts_time=1.800000|duration=320|duration_time=0.040000|size=8|flags=K__|data_hash=CRC32:a31e5662
+packet|codec_type=audio|stream_index=0|pts=14720|pts_time=1.840000|dts=14720|dts_time=1.840000|duration=320|duration_time=0.040000|size=8|flags=K__|data_hash=CRC32:1d6c2d82
+packet|codec_type=audio|stream_index=0|pts=15040|pts_time=1.880000|dts=15040|dts_time=1.880000|duration=320|duration_time=0.040000|size=8|flags=K__|data_hash=CRC32:d41c7355
+packet|codec_type=audio|stream_index=0|pts=15360|pts_time=1.920000|dts=15360|dts_time=1.920000|duration=320|duration_time=0.040000|size=8|flags=K__|data_hash=CRC32:fd509a9f
+packet|codec_type=audio|stream_index=0|pts=15680|pts_time=1.960000|dts=15680|dts_time=1.960000|duration=320|duration_time=0.040000|size=8|flags=K__|data_hash=CRC32:c4949fb0
+packet|codec_type=audio|stream_index=0|pts=16000|pts_time=2.000000|dts=16000|dts_time=2.000000|duration=320|duration_time=0.040000|size=8|flags=K__|data_hash=CRC32:ea85ae46
+packet|codec_type=audio|stream_index=0|pts=16320|pts_time=2.040000|dts=16320|dts_time=2.040000|duration=320|duration_time=0.040000|size=8|flags=K__|data_hash=CRC32:92011136
+packet|codec_type=audio|stream_index=0|pts=16640|pts_time=2.080000|dts=16640|dts_time=2.080000|duration=320|duration_time=0.040000|size=8|flags=K__|data_hash=CRC32:1cecb7ed
+packet|codec_type=audio|stream_index=0|pts=16960|pts_time=2.120000|dts=16960|dts_time=2.120000|duration=320|duration_time=0.040000|size=8|flags=K__|data_hash=CRC32:1965192e
+packet|codec_type=audio|stream_index=0|pts=17280|pts_time=2.160000|dts=17280|dts_time=2.160000|duration=320|duration_time=0.040000|size=8|flags=K__|data_hash=CRC32:d9c6bd27
+packet|codec_type=audio|stream_index=0|pts=17600|pts_time=2.200000|dts=17600|dts_time=2.200000|duration=320|duration_time=0.040000|size=8|flags=K__|data_hash=CRC32:919ca88a
+packet|codec_type=audio|stream_index=0|pts=17920|pts_time=2.240000|dts=17920|dts_time=2.240000|duration=320|duration_time=0.040000|size=8|flags=K__|data_hash=CRC32:ca412c89
+packet|codec_type=audio|stream_index=0|pts=18240|pts_time=2.280000|dts=18240|dts_time=2.280000|duration=320|duration_time=0.040000|size=8|flags=K__|data_hash=CRC32:eedd8de4
+packet|codec_type=audio|stream_index=0|pts=18560|pts_time=2.320000|dts=18560|dts_time=2.320000|duration=320|duration_time=0.040000|size=8|flags=K__|data_hash=CRC32:3e2f328e
+packet|codec_type=audio|stream_index=0|pts=18880|pts_time=2.360000|dts=18880|dts_time=2.360000|duration=320|duration_time=0.040000|size=8|flags=K__|data_hash=CRC32:fc6ab619
+packet|codec_type=audio|stream_index=0|pts=19200|pts_time=2.400000|dts=19200|dts_time=2.400000|duration=320|duration_time=0.040000|size=8|flags=K__|data_hash=CRC32:2f181440
+packet|codec_type=audio|stream_index=0|pts=19520|pts_time=2.440000|dts=19520|dts_time=2.440000|duration=320|duration_time=0.040000|size=8|flags=K__|data_hash=CRC32:b74ee980
+packet|codec_type=audio|stream_index=0|pts=19840|pts_time=2.480000|dts=19840|dts_time=2.480000|duration=320|duration_time=0.040000|size=8|flags=K__|data_hash=CRC32:19093147
+packet|codec_type=audio|stream_index=0|pts=20160|pts_time=2.520000|dts=20160|dts_time=2.520000|duration=320|duration_time=0.040000|size=8|flags=K__|data_hash=CRC32:0ce62839
+packet|codec_type=audio|stream_index=0|pts=20480|pts_time=2.560000|dts=20480|dts_time=2.560000|duration=320|duration_time=0.040000|size=8|flags=K__|data_hash=CRC32:900b4646
+packet|codec_type=audio|stream_index=0|pts=20800|pts_time=2.600000|dts=20800|dts_time=2.600000|duration=320|duration_time=0.040000|size=8|flags=K__|data_hash=CRC32:58fef2e8
+packet|codec_type=audio|stream_index=0|pts=21120|pts_time=2.640000|dts=21120|dts_time=2.640000|duration=320|duration_time=0.040000|size=8|flags=K__|data_hash=CRC32:6a57260e
+packet|codec_type=audio|stream_index=0|pts=21440|pts_time=2.680000|dts=21440|dts_time=2.680000|duration=320|duration_time=0.040000|size=8|flags=K__|data_hash=CRC32:cc96ecd8
+packet|codec_type=audio|stream_index=0|pts=21760|pts_time=2.720000|dts=21760|dts_time=2.720000|duration=320|duration_time=0.040000|size=8|flags=K__|data_hash=CRC32:e1dda1d2
+packet|codec_type=audio|stream_index=0|pts=22080|pts_time=2.760000|dts=22080|dts_time=2.760000|duration=320|duration_time=0.040000|size=8|flags=K__|data_hash=CRC32:0050e4b1
+packet|codec_type=audio|stream_index=0|pts=22400|pts_time=2.800000|dts=22400|dts_time=2.800000|duration=320|duration_time=0.040000|size=8|flags=K__|data_hash=CRC32:160e5103
+packet|codec_type=audio|stream_index=0|pts=22720|pts_time=2.840000|dts=22720|dts_time=2.840000|duration=320|duration_time=0.040000|size=8|flags=K__|data_hash=CRC32:08cf7f7c
+packet|codec_type=audio|stream_index=0|pts=23040|pts_time=2.880000|dts=23040|dts_time=2.880000|duration=320|duration_time=0.040000|size=8|flags=K__|data_hash=CRC32:598eb897
+packet|codec_type=audio|stream_index=0|pts=23360|pts_time=2.920000|dts=23360|dts_time=2.920000|duration=320|duration_time=0.040000|size=8|flags=K__|data_hash=CRC32:d9d702ff
+packet|codec_type=audio|stream_index=0|pts=23680|pts_time=2.960000|dts=23680|dts_time=2.960000|duration=320|duration_time=0.040000|size=8|flags=K__|data_hash=CRC32:85f0fca4
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=24000|duration=3.000000|bit_rate=1600|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=75|extradata_size=4|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-1600.c2|nb_streams=1|nb_programs=0|start_time=N/A|duration=3.000000
diff --git a/tests/ref/fate/codec2-probe-2400 b/tests/ref/fate/codec2-probe-2400
new file mode 100644
index 0000000000..f0740bfd61
--- /dev/null
+++ b/tests/ref/fate/codec2-probe-2400
@@ -0,0 +1,152 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:402e2751
+packet|codec_type=audio|stream_index=0|pts=160|pts_time=0.020000|dts=160|dts_time=0.020000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:8be241bf
+packet|codec_type=audio|stream_index=0|pts=320|pts_time=0.040000|dts=320|dts_time=0.040000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:affee1a4
+packet|codec_type=audio|stream_index=0|pts=480|pts_time=0.060000|dts=480|dts_time=0.060000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:af3a2722
+packet|codec_type=audio|stream_index=0|pts=640|pts_time=0.080000|dts=640|dts_time=0.080000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:ccde12cd
+packet|codec_type=audio|stream_index=0|pts=800|pts_time=0.100000|dts=800|dts_time=0.100000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:53fa8852
+packet|codec_type=audio|stream_index=0|pts=960|pts_time=0.120000|dts=960|dts_time=0.120000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:8a2715c3
+packet|codec_type=audio|stream_index=0|pts=1120|pts_time=0.140000|dts=1120|dts_time=0.140000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:f5338fbe
+packet|codec_type=audio|stream_index=0|pts=1280|pts_time=0.160000|dts=1280|dts_time=0.160000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:8c4f9b10
+packet|codec_type=audio|stream_index=0|pts=1440|pts_time=0.180000|dts=1440|dts_time=0.180000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:d17ddf33
+packet|codec_type=audio|stream_index=0|pts=1600|pts_time=0.200000|dts=1600|dts_time=0.200000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:1839685d
+packet|codec_type=audio|stream_index=0|pts=1760|pts_time=0.220000|dts=1760|dts_time=0.220000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:fbd1489c
+packet|codec_type=audio|stream_index=0|pts=1920|pts_time=0.240000|dts=1920|dts_time=0.240000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:55174066
+packet|codec_type=audio|stream_index=0|pts=2080|pts_time=0.260000|dts=2080|dts_time=0.260000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:4931a27d
+packet|codec_type=audio|stream_index=0|pts=2240|pts_time=0.280000|dts=2240|dts_time=0.280000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:87ef4f97
+packet|codec_type=audio|stream_index=0|pts=2400|pts_time=0.300000|dts=2400|dts_time=0.300000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:2880b122
+packet|codec_type=audio|stream_index=0|pts=2560|pts_time=0.320000|dts=2560|dts_time=0.320000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:b81f12ab
+packet|codec_type=audio|stream_index=0|pts=2720|pts_time=0.340000|dts=2720|dts_time=0.340000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:88c6fbce
+packet|codec_type=audio|stream_index=0|pts=2880|pts_time=0.360000|dts=2880|dts_time=0.360000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:18dd8acf
+packet|codec_type=audio|stream_index=0|pts=3040|pts_time=0.380000|dts=3040|dts_time=0.380000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:1120be56
+packet|codec_type=audio|stream_index=0|pts=3200|pts_time=0.400000|dts=3200|dts_time=0.400000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:a108d459
+packet|codec_type=audio|stream_index=0|pts=3360|pts_time=0.420000|dts=3360|dts_time=0.420000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:faea488b
+packet|codec_type=audio|stream_index=0|pts=3520|pts_time=0.440000|dts=3520|dts_time=0.440000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:ae3bda85
+packet|codec_type=audio|stream_index=0|pts=3680|pts_time=0.460000|dts=3680|dts_time=0.460000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:27d2edc2
+packet|codec_type=audio|stream_index=0|pts=3840|pts_time=0.480000|dts=3840|dts_time=0.480000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:03f15116
+packet|codec_type=audio|stream_index=0|pts=4000|pts_time=0.500000|dts=4000|dts_time=0.500000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:98655fdb
+packet|codec_type=audio|stream_index=0|pts=4160|pts_time=0.520000|dts=4160|dts_time=0.520000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:71b9a620
+packet|codec_type=audio|stream_index=0|pts=4320|pts_time=0.540000|dts=4320|dts_time=0.540000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:6da8182b
+packet|codec_type=audio|stream_index=0|pts=4480|pts_time=0.560000|dts=4480|dts_time=0.560000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:ccc47dcf
+packet|codec_type=audio|stream_index=0|pts=4640|pts_time=0.580000|dts=4640|dts_time=0.580000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:40ce9cd8
+packet|codec_type=audio|stream_index=0|pts=4800|pts_time=0.600000|dts=4800|dts_time=0.600000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:1935f03f
+packet|codec_type=audio|stream_index=0|pts=4960|pts_time=0.620000|dts=4960|dts_time=0.620000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:3d858910
+packet|codec_type=audio|stream_index=0|pts=5120|pts_time=0.640000|dts=5120|dts_time=0.640000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:fd5d8dcb
+packet|codec_type=audio|stream_index=0|pts=5280|pts_time=0.660000|dts=5280|dts_time=0.660000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:e88808a0
+packet|codec_type=audio|stream_index=0|pts=5440|pts_time=0.680000|dts=5440|dts_time=0.680000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:8dcaa27f
+packet|codec_type=audio|stream_index=0|pts=5600|pts_time=0.700000|dts=5600|dts_time=0.700000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:ba604862
+packet|codec_type=audio|stream_index=0|pts=5760|pts_time=0.720000|dts=5760|dts_time=0.720000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:f219dd08
+packet|codec_type=audio|stream_index=0|pts=5920|pts_time=0.740000|dts=5920|dts_time=0.740000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:bddbe8c2
+packet|codec_type=audio|stream_index=0|pts=6080|pts_time=0.760000|dts=6080|dts_time=0.760000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:77c2aa65
+packet|codec_type=audio|stream_index=0|pts=6240|pts_time=0.780000|dts=6240|dts_time=0.780000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:4f2236ba
+packet|codec_type=audio|stream_index=0|pts=6400|pts_time=0.800000|dts=6400|dts_time=0.800000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:19b740b5
+packet|codec_type=audio|stream_index=0|pts=6560|pts_time=0.820000|dts=6560|dts_time=0.820000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:2d3d7b8b
+packet|codec_type=audio|stream_index=0|pts=6720|pts_time=0.840000|dts=6720|dts_time=0.840000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:c8e01fca
+packet|codec_type=audio|stream_index=0|pts=6880|pts_time=0.860000|dts=6880|dts_time=0.860000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:2d8e6d0c
+packet|codec_type=audio|stream_index=0|pts=7040|pts_time=0.880000|dts=7040|dts_time=0.880000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:0fb7e084
+packet|codec_type=audio|stream_index=0|pts=7200|pts_time=0.900000|dts=7200|dts_time=0.900000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:d55c3592
+packet|codec_type=audio|stream_index=0|pts=7360|pts_time=0.920000|dts=7360|dts_time=0.920000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:bec93fa0
+packet|codec_type=audio|stream_index=0|pts=7520|pts_time=0.940000|dts=7520|dts_time=0.940000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:eeb119cd
+packet|codec_type=audio|stream_index=0|pts=7680|pts_time=0.960000|dts=7680|dts_time=0.960000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:8e91c0b0
+packet|codec_type=audio|stream_index=0|pts=7840|pts_time=0.980000|dts=7840|dts_time=0.980000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:9f2b2447
+packet|codec_type=audio|stream_index=0|pts=8000|pts_time=1.000000|dts=8000|dts_time=1.000000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:be48b6f6
+packet|codec_type=audio|stream_index=0|pts=8160|pts_time=1.020000|dts=8160|dts_time=1.020000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:da6f4d59
+packet|codec_type=audio|stream_index=0|pts=8320|pts_time=1.040000|dts=8320|dts_time=1.040000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:0b631241
+packet|codec_type=audio|stream_index=0|pts=8480|pts_time=1.060000|dts=8480|dts_time=1.060000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:224860b9
+packet|codec_type=audio|stream_index=0|pts=8640|pts_time=1.080000|dts=8640|dts_time=1.080000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:92165903
+packet|codec_type=audio|stream_index=0|pts=8800|pts_time=1.100000|dts=8800|dts_time=1.100000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:de74d412
+packet|codec_type=audio|stream_index=0|pts=8960|pts_time=1.120000|dts=8960|dts_time=1.120000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:eaf448b6
+packet|codec_type=audio|stream_index=0|pts=9120|pts_time=1.140000|dts=9120|dts_time=1.140000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:65813b3f
+packet|codec_type=audio|stream_index=0|pts=9280|pts_time=1.160000|dts=9280|dts_time=1.160000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:ea0b437c
+packet|codec_type=audio|stream_index=0|pts=9440|pts_time=1.180000|dts=9440|dts_time=1.180000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:f1f24a3e
+packet|codec_type=audio|stream_index=0|pts=9600|pts_time=1.200000|dts=9600|dts_time=1.200000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:fb104a8d
+packet|codec_type=audio|stream_index=0|pts=9760|pts_time=1.220000|dts=9760|dts_time=1.220000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:baf7e25b
+packet|codec_type=audio|stream_index=0|pts=9920|pts_time=1.240000|dts=9920|dts_time=1.240000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:e89acf40
+packet|codec_type=audio|stream_index=0|pts=10080|pts_time=1.260000|dts=10080|dts_time=1.260000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:8d0a484c
+packet|codec_type=audio|stream_index=0|pts=10240|pts_time=1.280000|dts=10240|dts_time=1.280000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:f4959014
+packet|codec_type=audio|stream_index=0|pts=10400|pts_time=1.300000|dts=10400|dts_time=1.300000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:493e45dc
+packet|codec_type=audio|stream_index=0|pts=10560|pts_time=1.320000|dts=10560|dts_time=1.320000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:8b3632d4
+packet|codec_type=audio|stream_index=0|pts=10720|pts_time=1.340000|dts=10720|dts_time=1.340000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:b5b01e3c
+packet|codec_type=audio|stream_index=0|pts=10880|pts_time=1.360000|dts=10880|dts_time=1.360000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:9df6603e
+packet|codec_type=audio|stream_index=0|pts=11040|pts_time=1.380000|dts=11040|dts_time=1.380000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:d6b3c0b9
+packet|codec_type=audio|stream_index=0|pts=11200|pts_time=1.400000|dts=11200|dts_time=1.400000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:70a5f8c6
+packet|codec_type=audio|stream_index=0|pts=11360|pts_time=1.420000|dts=11360|dts_time=1.420000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:af88203d
+packet|codec_type=audio|stream_index=0|pts=11520|pts_time=1.440000|dts=11520|dts_time=1.440000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:6c32cfdc
+packet|codec_type=audio|stream_index=0|pts=11680|pts_time=1.460000|dts=11680|dts_time=1.460000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:9cf90956
+packet|codec_type=audio|stream_index=0|pts=11840|pts_time=1.480000|dts=11840|dts_time=1.480000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:f5645f77
+packet|codec_type=audio|stream_index=0|pts=12000|pts_time=1.500000|dts=12000|dts_time=1.500000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:f8fdf925
+packet|codec_type=audio|stream_index=0|pts=12160|pts_time=1.520000|dts=12160|dts_time=1.520000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:ae74e340
+packet|codec_type=audio|stream_index=0|pts=12320|pts_time=1.540000|dts=12320|dts_time=1.540000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:3c5a1592
+packet|codec_type=audio|stream_index=0|pts=12480|pts_time=1.560000|dts=12480|dts_time=1.560000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:a75b0622
+packet|codec_type=audio|stream_index=0|pts=12640|pts_time=1.580000|dts=12640|dts_time=1.580000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:2d9f7c6d
+packet|codec_type=audio|stream_index=0|pts=12800|pts_time=1.600000|dts=12800|dts_time=1.600000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:320584d5
+packet|codec_type=audio|stream_index=0|pts=12960|pts_time=1.620000|dts=12960|dts_time=1.620000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:4a739c01
+packet|codec_type=audio|stream_index=0|pts=13120|pts_time=1.640000|dts=13120|dts_time=1.640000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:711dbcc9
+packet|codec_type=audio|stream_index=0|pts=13280|pts_time=1.660000|dts=13280|dts_time=1.660000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:3ca47af5
+packet|codec_type=audio|stream_index=0|pts=13440|pts_time=1.680000|dts=13440|dts_time=1.680000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:82de5ff5
+packet|codec_type=audio|stream_index=0|pts=13600|pts_time=1.700000|dts=13600|dts_time=1.700000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:81e92684
+packet|codec_type=audio|stream_index=0|pts=13760|pts_time=1.720000|dts=13760|dts_time=1.720000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:95e2cebb
+packet|codec_type=audio|stream_index=0|pts=13920|pts_time=1.740000|dts=13920|dts_time=1.740000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:cbe74bb7
+packet|codec_type=audio|stream_index=0|pts=14080|pts_time=1.760000|dts=14080|dts_time=1.760000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:b64ae6df
+packet|codec_type=audio|stream_index=0|pts=14240|pts_time=1.780000|dts=14240|dts_time=1.780000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:63fc0221
+packet|codec_type=audio|stream_index=0|pts=14400|pts_time=1.800000|dts=14400|dts_time=1.800000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:ec9e9576
+packet|codec_type=audio|stream_index=0|pts=14560|pts_time=1.820000|dts=14560|dts_time=1.820000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:1e372cab
+packet|codec_type=audio|stream_index=0|pts=14720|pts_time=1.840000|dts=14720|dts_time=1.840000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:7c4325b8
+packet|codec_type=audio|stream_index=0|pts=14880|pts_time=1.860000|dts=14880|dts_time=1.860000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:300f6212
+packet|codec_type=audio|stream_index=0|pts=15040|pts_time=1.880000|dts=15040|dts_time=1.880000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:58d56136
+packet|codec_type=audio|stream_index=0|pts=15200|pts_time=1.900000|dts=15200|dts_time=1.900000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:be139dae
+packet|codec_type=audio|stream_index=0|pts=15360|pts_time=1.920000|dts=15360|dts_time=1.920000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:c3193f37
+packet|codec_type=audio|stream_index=0|pts=15520|pts_time=1.940000|dts=15520|dts_time=1.940000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:35a68936
+packet|codec_type=audio|stream_index=0|pts=15680|pts_time=1.960000|dts=15680|dts_time=1.960000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:bbcf2d22
+packet|codec_type=audio|stream_index=0|pts=15840|pts_time=1.980000|dts=15840|dts_time=1.980000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:05ffc3e6
+packet|codec_type=audio|stream_index=0|pts=16000|pts_time=2.000000|dts=16000|dts_time=2.000000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:2eeb54dd
+packet|codec_type=audio|stream_index=0|pts=16160|pts_time=2.020000|dts=16160|dts_time=2.020000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:aa82f7d9
+packet|codec_type=audio|stream_index=0|pts=16320|pts_time=2.040000|dts=16320|dts_time=2.040000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:51a5a874
+packet|codec_type=audio|stream_index=0|pts=16480|pts_time=2.060000|dts=16480|dts_time=2.060000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:f97d718b
+packet|codec_type=audio|stream_index=0|pts=16640|pts_time=2.080000|dts=16640|dts_time=2.080000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:d0aded65
+packet|codec_type=audio|stream_index=0|pts=16800|pts_time=2.100000|dts=16800|dts_time=2.100000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:cce5f343
+packet|codec_type=audio|stream_index=0|pts=16960|pts_time=2.120000|dts=16960|dts_time=2.120000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:6dbbff59
+packet|codec_type=audio|stream_index=0|pts=17120|pts_time=2.140000|dts=17120|dts_time=2.140000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:b89fea6b
+packet|codec_type=audio|stream_index=0|pts=17280|pts_time=2.160000|dts=17280|dts_time=2.160000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:f53b6be6
+packet|codec_type=audio|stream_index=0|pts=17440|pts_time=2.180000|dts=17440|dts_time=2.180000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:e62ac29e
+packet|codec_type=audio|stream_index=0|pts=17600|pts_time=2.200000|dts=17600|dts_time=2.200000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:a58e3724
+packet|codec_type=audio|stream_index=0|pts=17760|pts_time=2.220000|dts=17760|dts_time=2.220000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:cfaca7e0
+packet|codec_type=audio|stream_index=0|pts=17920|pts_time=2.240000|dts=17920|dts_time=2.240000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:2aa80162
+packet|codec_type=audio|stream_index=0|pts=18080|pts_time=2.260000|dts=18080|dts_time=2.260000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:d6194b5d
+packet|codec_type=audio|stream_index=0|pts=18240|pts_time=2.280000|dts=18240|dts_time=2.280000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:a64477ad
+packet|codec_type=audio|stream_index=0|pts=18400|pts_time=2.300000|dts=18400|dts_time=2.300000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:bc62d7fa
+packet|codec_type=audio|stream_index=0|pts=18560|pts_time=2.320000|dts=18560|dts_time=2.320000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:074a6bba
+packet|codec_type=audio|stream_index=0|pts=18720|pts_time=2.340000|dts=18720|dts_time=2.340000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:95682acc
+packet|codec_type=audio|stream_index=0|pts=18880|pts_time=2.360000|dts=18880|dts_time=2.360000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:34fc937e
+packet|codec_type=audio|stream_index=0|pts=19040|pts_time=2.380000|dts=19040|dts_time=2.380000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:38b52a3c
+packet|codec_type=audio|stream_index=0|pts=19200|pts_time=2.400000|dts=19200|dts_time=2.400000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:1e72a60e
+packet|codec_type=audio|stream_index=0|pts=19360|pts_time=2.420000|dts=19360|dts_time=2.420000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:c3009208
+packet|codec_type=audio|stream_index=0|pts=19520|pts_time=2.440000|dts=19520|dts_time=2.440000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:7601ee4f
+packet|codec_type=audio|stream_index=0|pts=19680|pts_time=2.460000|dts=19680|dts_time=2.460000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:b90922aa
+packet|codec_type=audio|stream_index=0|pts=19840|pts_time=2.480000|dts=19840|dts_time=2.480000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:f0bea16a
+packet|codec_type=audio|stream_index=0|pts=20000|pts_time=2.500000|dts=20000|dts_time=2.500000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:4f2609e9
+packet|codec_type=audio|stream_index=0|pts=20160|pts_time=2.520000|dts=20160|dts_time=2.520000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:6972b21f
+packet|codec_type=audio|stream_index=0|pts=20320|pts_time=2.540000|dts=20320|dts_time=2.540000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:3e761c95
+packet|codec_type=audio|stream_index=0|pts=20480|pts_time=2.560000|dts=20480|dts_time=2.560000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:a2af0e16
+packet|codec_type=audio|stream_index=0|pts=20640|pts_time=2.580000|dts=20640|dts_time=2.580000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:3ba2d588
+packet|codec_type=audio|stream_index=0|pts=20800|pts_time=2.600000|dts=20800|dts_time=2.600000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:8ff827fa
+packet|codec_type=audio|stream_index=0|pts=20960|pts_time=2.620000|dts=20960|dts_time=2.620000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:5c9d083c
+packet|codec_type=audio|stream_index=0|pts=21120|pts_time=2.640000|dts=21120|dts_time=2.640000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:d160672b
+packet|codec_type=audio|stream_index=0|pts=21280|pts_time=2.660000|dts=21280|dts_time=2.660000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:ad193206
+packet|codec_type=audio|stream_index=0|pts=21440|pts_time=2.680000|dts=21440|dts_time=2.680000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:50b36f13
+packet|codec_type=audio|stream_index=0|pts=21600|pts_time=2.700000|dts=21600|dts_time=2.700000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:3b976099
+packet|codec_type=audio|stream_index=0|pts=21760|pts_time=2.720000|dts=21760|dts_time=2.720000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:29fed307
+packet|codec_type=audio|stream_index=0|pts=21920|pts_time=2.740000|dts=21920|dts_time=2.740000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:a66ae1af
+packet|codec_type=audio|stream_index=0|pts=22080|pts_time=2.760000|dts=22080|dts_time=2.760000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:3cc95c4b
+packet|codec_type=audio|stream_index=0|pts=22240|pts_time=2.780000|dts=22240|dts_time=2.780000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:b72733f8
+packet|codec_type=audio|stream_index=0|pts=22400|pts_time=2.800000|dts=22400|dts_time=2.800000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:0becac56
+packet|codec_type=audio|stream_index=0|pts=22560|pts_time=2.820000|dts=22560|dts_time=2.820000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:353d07e3
+packet|codec_type=audio|stream_index=0|pts=22720|pts_time=2.840000|dts=22720|dts_time=2.840000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:1d2448ea
+packet|codec_type=audio|stream_index=0|pts=22880|pts_time=2.860000|dts=22880|dts_time=2.860000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:0e7b72ca
+packet|codec_type=audio|stream_index=0|pts=23040|pts_time=2.880000|dts=23040|dts_time=2.880000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:2837dcb1
+packet|codec_type=audio|stream_index=0|pts=23200|pts_time=2.900000|dts=23200|dts_time=2.900000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:9db710af
+packet|codec_type=audio|stream_index=0|pts=23360|pts_time=2.920000|dts=23360|dts_time=2.920000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:a2ff0694
+packet|codec_type=audio|stream_index=0|pts=23520|pts_time=2.940000|dts=23520|dts_time=2.940000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:6377f1b0
+packet|codec_type=audio|stream_index=0|pts=23680|pts_time=2.960000|dts=23680|dts_time=2.960000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:7496f393
+packet|codec_type=audio|stream_index=0|pts=23840|pts_time=2.980000|dts=23840|dts_time=2.980000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:2f84dbe8
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=24000|duration=3.000000|bit_rate=2400|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=150|extradata_size=4|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-2400.c2|nb_streams=1|nb_programs=0|start_time=N/A|duration=3.000000
diff --git a/tests/ref/fate/codec2-probe-3200 b/tests/ref/fate/codec2-probe-3200
new file mode 100644
index 0000000000..bbbbaa7db3
--- /dev/null
+++ b/tests/ref/fate/codec2-probe-3200
@@ -0,0 +1,152 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:47b54c75
+packet|codec_type=audio|stream_index=0|pts=160|pts_time=0.020000|dts=160|dts_time=0.020000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:7664d67c
+packet|codec_type=audio|stream_index=0|pts=320|pts_time=0.040000|dts=320|dts_time=0.040000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:8661cfcf
+packet|codec_type=audio|stream_index=0|pts=480|pts_time=0.060000|dts=480|dts_time=0.060000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:7058a9c8
+packet|codec_type=audio|stream_index=0|pts=640|pts_time=0.080000|dts=640|dts_time=0.080000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:0ba5d0e8
+packet|codec_type=audio|stream_index=0|pts=800|pts_time=0.100000|dts=800|dts_time=0.100000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:ca1b9e09
+packet|codec_type=audio|stream_index=0|pts=960|pts_time=0.120000|dts=960|dts_time=0.120000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:cc6efcdb
+packet|codec_type=audio|stream_index=0|pts=1120|pts_time=0.140000|dts=1120|dts_time=0.140000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:d38a7221
+packet|codec_type=audio|stream_index=0|pts=1280|pts_time=0.160000|dts=1280|dts_time=0.160000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:c2890544
+packet|codec_type=audio|stream_index=0|pts=1440|pts_time=0.180000|dts=1440|dts_time=0.180000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:ef6b161c
+packet|codec_type=audio|stream_index=0|pts=1600|pts_time=0.200000|dts=1600|dts_time=0.200000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:0a8424a9
+packet|codec_type=audio|stream_index=0|pts=1760|pts_time=0.220000|dts=1760|dts_time=0.220000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:e2fcc803
+packet|codec_type=audio|stream_index=0|pts=1920|pts_time=0.240000|dts=1920|dts_time=0.240000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:93fba530
+packet|codec_type=audio|stream_index=0|pts=2080|pts_time=0.260000|dts=2080|dts_time=0.260000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:51551839
+packet|codec_type=audio|stream_index=0|pts=2240|pts_time=0.280000|dts=2240|dts_time=0.280000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:fff36795
+packet|codec_type=audio|stream_index=0|pts=2400|pts_time=0.300000|dts=2400|dts_time=0.300000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:0e5c63bb
+packet|codec_type=audio|stream_index=0|pts=2560|pts_time=0.320000|dts=2560|dts_time=0.320000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:d769159b
+packet|codec_type=audio|stream_index=0|pts=2720|pts_time=0.340000|dts=2720|dts_time=0.340000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:11343ea9
+packet|codec_type=audio|stream_index=0|pts=2880|pts_time=0.360000|dts=2880|dts_time=0.360000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:b4a85c0c
+packet|codec_type=audio|stream_index=0|pts=3040|pts_time=0.380000|dts=3040|dts_time=0.380000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:3f5e482a
+packet|codec_type=audio|stream_index=0|pts=3200|pts_time=0.400000|dts=3200|dts_time=0.400000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:d7ccac19
+packet|codec_type=audio|stream_index=0|pts=3360|pts_time=0.420000|dts=3360|dts_time=0.420000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:bac75596
+packet|codec_type=audio|stream_index=0|pts=3520|pts_time=0.440000|dts=3520|dts_time=0.440000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:c15a01e7
+packet|codec_type=audio|stream_index=0|pts=3680|pts_time=0.460000|dts=3680|dts_time=0.460000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:e055d60e
+packet|codec_type=audio|stream_index=0|pts=3840|pts_time=0.480000|dts=3840|dts_time=0.480000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:b8ad40fd
+packet|codec_type=audio|stream_index=0|pts=4000|pts_time=0.500000|dts=4000|dts_time=0.500000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:5ca3022c
+packet|codec_type=audio|stream_index=0|pts=4160|pts_time=0.520000|dts=4160|dts_time=0.520000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:cffb0ec4
+packet|codec_type=audio|stream_index=0|pts=4320|pts_time=0.540000|dts=4320|dts_time=0.540000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:af8ee69f
+packet|codec_type=audio|stream_index=0|pts=4480|pts_time=0.560000|dts=4480|dts_time=0.560000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:801bd028
+packet|codec_type=audio|stream_index=0|pts=4640|pts_time=0.580000|dts=4640|dts_time=0.580000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:b341a2dc
+packet|codec_type=audio|stream_index=0|pts=4800|pts_time=0.600000|dts=4800|dts_time=0.600000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:2efe16db
+packet|codec_type=audio|stream_index=0|pts=4960|pts_time=0.620000|dts=4960|dts_time=0.620000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:56e06065
+packet|codec_type=audio|stream_index=0|pts=5120|pts_time=0.640000|dts=5120|dts_time=0.640000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:d67395f0
+packet|codec_type=audio|stream_index=0|pts=5280|pts_time=0.660000|dts=5280|dts_time=0.660000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:ea630299
+packet|codec_type=audio|stream_index=0|pts=5440|pts_time=0.680000|dts=5440|dts_time=0.680000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:ad26cf3e
+packet|codec_type=audio|stream_index=0|pts=5600|pts_time=0.700000|dts=5600|dts_time=0.700000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:0bce57d3
+packet|codec_type=audio|stream_index=0|pts=5760|pts_time=0.720000|dts=5760|dts_time=0.720000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:91e4488f
+packet|codec_type=audio|stream_index=0|pts=5920|pts_time=0.740000|dts=5920|dts_time=0.740000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:f959df52
+packet|codec_type=audio|stream_index=0|pts=6080|pts_time=0.760000|dts=6080|dts_time=0.760000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:f65c4d6d
+packet|codec_type=audio|stream_index=0|pts=6240|pts_time=0.780000|dts=6240|dts_time=0.780000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:bf19e990
+packet|codec_type=audio|stream_index=0|pts=6400|pts_time=0.800000|dts=6400|dts_time=0.800000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:fbfe411c
+packet|codec_type=audio|stream_index=0|pts=6560|pts_time=0.820000|dts=6560|dts_time=0.820000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:a11d6f6a
+packet|codec_type=audio|stream_index=0|pts=6720|pts_time=0.840000|dts=6720|dts_time=0.840000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:194e2ca8
+packet|codec_type=audio|stream_index=0|pts=6880|pts_time=0.860000|dts=6880|dts_time=0.860000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:aeeb8970
+packet|codec_type=audio|stream_index=0|pts=7040|pts_time=0.880000|dts=7040|dts_time=0.880000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:b5c2835f
+packet|codec_type=audio|stream_index=0|pts=7200|pts_time=0.900000|dts=7200|dts_time=0.900000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:53911676
+packet|codec_type=audio|stream_index=0|pts=7360|pts_time=0.920000|dts=7360|dts_time=0.920000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:a65b4b7f
+packet|codec_type=audio|stream_index=0|pts=7520|pts_time=0.940000|dts=7520|dts_time=0.940000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:7d137108
+packet|codec_type=audio|stream_index=0|pts=7680|pts_time=0.960000|dts=7680|dts_time=0.960000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:d791c7e1
+packet|codec_type=audio|stream_index=0|pts=7840|pts_time=0.980000|dts=7840|dts_time=0.980000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:8e83f20c
+packet|codec_type=audio|stream_index=0|pts=8000|pts_time=1.000000|dts=8000|dts_time=1.000000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:fc0a40f8
+packet|codec_type=audio|stream_index=0|pts=8160|pts_time=1.020000|dts=8160|dts_time=1.020000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:9e815f10
+packet|codec_type=audio|stream_index=0|pts=8320|pts_time=1.040000|dts=8320|dts_time=1.040000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:88257108
+packet|codec_type=audio|stream_index=0|pts=8480|pts_time=1.060000|dts=8480|dts_time=1.060000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:a3d5806d
+packet|codec_type=audio|stream_index=0|pts=8640|pts_time=1.080000|dts=8640|dts_time=1.080000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:cd2a6050
+packet|codec_type=audio|stream_index=0|pts=8800|pts_time=1.100000|dts=8800|dts_time=1.100000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:2039c87c
+packet|codec_type=audio|stream_index=0|pts=8960|pts_time=1.120000|dts=8960|dts_time=1.120000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:680ce279
+packet|codec_type=audio|stream_index=0|pts=9120|pts_time=1.140000|dts=9120|dts_time=1.140000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:9f59d8e3
+packet|codec_type=audio|stream_index=0|pts=9280|pts_time=1.160000|dts=9280|dts_time=1.160000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:80e38773
+packet|codec_type=audio|stream_index=0|pts=9440|pts_time=1.180000|dts=9440|dts_time=1.180000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:be7ee487
+packet|codec_type=audio|stream_index=0|pts=9600|pts_time=1.200000|dts=9600|dts_time=1.200000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:20cde7e5
+packet|codec_type=audio|stream_index=0|pts=9760|pts_time=1.220000|dts=9760|dts_time=1.220000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:be2a5d03
+packet|codec_type=audio|stream_index=0|pts=9920|pts_time=1.240000|dts=9920|dts_time=1.240000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:bdf71e68
+packet|codec_type=audio|stream_index=0|pts=10080|pts_time=1.260000|dts=10080|dts_time=1.260000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:789c59d4
+packet|codec_type=audio|stream_index=0|pts=10240|pts_time=1.280000|dts=10240|dts_time=1.280000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:370d29cb
+packet|codec_type=audio|stream_index=0|pts=10400|pts_time=1.300000|dts=10400|dts_time=1.300000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:6277e2b0
+packet|codec_type=audio|stream_index=0|pts=10560|pts_time=1.320000|dts=10560|dts_time=1.320000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:40d368d8
+packet|codec_type=audio|stream_index=0|pts=10720|pts_time=1.340000|dts=10720|dts_time=1.340000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:fc896dc9
+packet|codec_type=audio|stream_index=0|pts=10880|pts_time=1.360000|dts=10880|dts_time=1.360000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:44664ab4
+packet|codec_type=audio|stream_index=0|pts=11040|pts_time=1.380000|dts=11040|dts_time=1.380000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:7b74748f
+packet|codec_type=audio|stream_index=0|pts=11200|pts_time=1.400000|dts=11200|dts_time=1.400000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:859edfa6
+packet|codec_type=audio|stream_index=0|pts=11360|pts_time=1.420000|dts=11360|dts_time=1.420000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:cefdc5f3
+packet|codec_type=audio|stream_index=0|pts=11520|pts_time=1.440000|dts=11520|dts_time=1.440000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:2a9a705c
+packet|codec_type=audio|stream_index=0|pts=11680|pts_time=1.460000|dts=11680|dts_time=1.460000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:fa30bf2f
+packet|codec_type=audio|stream_index=0|pts=11840|pts_time=1.480000|dts=11840|dts_time=1.480000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:a107bd55
+packet|codec_type=audio|stream_index=0|pts=12000|pts_time=1.500000|dts=12000|dts_time=1.500000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:b419e854
+packet|codec_type=audio|stream_index=0|pts=12160|pts_time=1.520000|dts=12160|dts_time=1.520000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:8282f45a
+packet|codec_type=audio|stream_index=0|pts=12320|pts_time=1.540000|dts=12320|dts_time=1.540000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:88b8a885
+packet|codec_type=audio|stream_index=0|pts=12480|pts_time=1.560000|dts=12480|dts_time=1.560000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:2b40fc69
+packet|codec_type=audio|stream_index=0|pts=12640|pts_time=1.580000|dts=12640|dts_time=1.580000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:ecf3fa63
+packet|codec_type=audio|stream_index=0|pts=12800|pts_time=1.600000|dts=12800|dts_time=1.600000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:fed084af
+packet|codec_type=audio|stream_index=0|pts=12960|pts_time=1.620000|dts=12960|dts_time=1.620000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:34db7605
+packet|codec_type=audio|stream_index=0|pts=13120|pts_time=1.640000|dts=13120|dts_time=1.640000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:98b02867
+packet|codec_type=audio|stream_index=0|pts=13280|pts_time=1.660000|dts=13280|dts_time=1.660000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:dc1ba7d8
+packet|codec_type=audio|stream_index=0|pts=13440|pts_time=1.680000|dts=13440|dts_time=1.680000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:c6d4f493
+packet|codec_type=audio|stream_index=0|pts=13600|pts_time=1.700000|dts=13600|dts_time=1.700000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:893fef83
+packet|codec_type=audio|stream_index=0|pts=13760|pts_time=1.720000|dts=13760|dts_time=1.720000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:363fad22
+packet|codec_type=audio|stream_index=0|pts=13920|pts_time=1.740000|dts=13920|dts_time=1.740000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:68c171c3
+packet|codec_type=audio|stream_index=0|pts=14080|pts_time=1.760000|dts=14080|dts_time=1.760000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:ef518c17
+packet|codec_type=audio|stream_index=0|pts=14240|pts_time=1.780000|dts=14240|dts_time=1.780000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:aabef5df
+packet|codec_type=audio|stream_index=0|pts=14400|pts_time=1.800000|dts=14400|dts_time=1.800000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:1e68fa09
+packet|codec_type=audio|stream_index=0|pts=14560|pts_time=1.820000|dts=14560|dts_time=1.820000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:1b656207
+packet|codec_type=audio|stream_index=0|pts=14720|pts_time=1.840000|dts=14720|dts_time=1.840000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:e62ca880
+packet|codec_type=audio|stream_index=0|pts=14880|pts_time=1.860000|dts=14880|dts_time=1.860000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:35fc5ccc
+packet|codec_type=audio|stream_index=0|pts=15040|pts_time=1.880000|dts=15040|dts_time=1.880000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:4c0a7559
+packet|codec_type=audio|stream_index=0|pts=15200|pts_time=1.900000|dts=15200|dts_time=1.900000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:407332b8
+packet|codec_type=audio|stream_index=0|pts=15360|pts_time=1.920000|dts=15360|dts_time=1.920000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:ee72d7be
+packet|codec_type=audio|stream_index=0|pts=15520|pts_time=1.940000|dts=15520|dts_time=1.940000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:99e5ba29
+packet|codec_type=audio|stream_index=0|pts=15680|pts_time=1.960000|dts=15680|dts_time=1.960000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:b46c2182
+packet|codec_type=audio|stream_index=0|pts=15840|pts_time=1.980000|dts=15840|dts_time=1.980000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:7bc0ff30
+packet|codec_type=audio|stream_index=0|pts=16000|pts_time=2.000000|dts=16000|dts_time=2.000000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:2a250506
+packet|codec_type=audio|stream_index=0|pts=16160|pts_time=2.020000|dts=16160|dts_time=2.020000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:692cb5c1
+packet|codec_type=audio|stream_index=0|pts=16320|pts_time=2.040000|dts=16320|dts_time=2.040000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:e96d9f46
+packet|codec_type=audio|stream_index=0|pts=16480|pts_time=2.060000|dts=16480|dts_time=2.060000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:cf89302f
+packet|codec_type=audio|stream_index=0|pts=16640|pts_time=2.080000|dts=16640|dts_time=2.080000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:9ce949ff
+packet|codec_type=audio|stream_index=0|pts=16800|pts_time=2.100000|dts=16800|dts_time=2.100000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:2fbd2ad7
+packet|codec_type=audio|stream_index=0|pts=16960|pts_time=2.120000|dts=16960|dts_time=2.120000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:5cdb3473
+packet|codec_type=audio|stream_index=0|pts=17120|pts_time=2.140000|dts=17120|dts_time=2.140000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:7e2da2aa
+packet|codec_type=audio|stream_index=0|pts=17280|pts_time=2.160000|dts=17280|dts_time=2.160000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:de4f030f
+packet|codec_type=audio|stream_index=0|pts=17440|pts_time=2.180000|dts=17440|dts_time=2.180000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:dd087894
+packet|codec_type=audio|stream_index=0|pts=17600|pts_time=2.200000|dts=17600|dts_time=2.200000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:45353c9d
+packet|codec_type=audio|stream_index=0|pts=17760|pts_time=2.220000|dts=17760|dts_time=2.220000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:bc1edba8
+packet|codec_type=audio|stream_index=0|pts=17920|pts_time=2.240000|dts=17920|dts_time=2.240000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:b2a3abca
+packet|codec_type=audio|stream_index=0|pts=18080|pts_time=2.260000|dts=18080|dts_time=2.260000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:30e293f8
+packet|codec_type=audio|stream_index=0|pts=18240|pts_time=2.280000|dts=18240|dts_time=2.280000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:14c3a2ab
+packet|codec_type=audio|stream_index=0|pts=18400|pts_time=2.300000|dts=18400|dts_time=2.300000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:8db10f4e
+packet|codec_type=audio|stream_index=0|pts=18560|pts_time=2.320000|dts=18560|dts_time=2.320000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:1d254096
+packet|codec_type=audio|stream_index=0|pts=18720|pts_time=2.340000|dts=18720|dts_time=2.340000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:49e8c884
+packet|codec_type=audio|stream_index=0|pts=18880|pts_time=2.360000|dts=18880|dts_time=2.360000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:d36923e0
+packet|codec_type=audio|stream_index=0|pts=19040|pts_time=2.380000|dts=19040|dts_time=2.380000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:d893b966
+packet|codec_type=audio|stream_index=0|pts=19200|pts_time=2.400000|dts=19200|dts_time=2.400000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:0e121744
+packet|codec_type=audio|stream_index=0|pts=19360|pts_time=2.420000|dts=19360|dts_time=2.420000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:683ac084
+packet|codec_type=audio|stream_index=0|pts=19520|pts_time=2.440000|dts=19520|dts_time=2.440000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:693c530f
+packet|codec_type=audio|stream_index=0|pts=19680|pts_time=2.460000|dts=19680|dts_time=2.460000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:419bda2b
+packet|codec_type=audio|stream_index=0|pts=19840|pts_time=2.480000|dts=19840|dts_time=2.480000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:31e5fdb6
+packet|codec_type=audio|stream_index=0|pts=20000|pts_time=2.500000|dts=20000|dts_time=2.500000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:246a56c7
+packet|codec_type=audio|stream_index=0|pts=20160|pts_time=2.520000|dts=20160|dts_time=2.520000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:d08cd880
+packet|codec_type=audio|stream_index=0|pts=20320|pts_time=2.540000|dts=20320|dts_time=2.540000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:7ace8362
+packet|codec_type=audio|stream_index=0|pts=20480|pts_time=2.560000|dts=20480|dts_time=2.560000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:57f5b70f
+packet|codec_type=audio|stream_index=0|pts=20640|pts_time=2.580000|dts=20640|dts_time=2.580000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:09a45a11
+packet|codec_type=audio|stream_index=0|pts=20800|pts_time=2.600000|dts=20800|dts_time=2.600000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:9a4f6bc7
+packet|codec_type=audio|stream_index=0|pts=20960|pts_time=2.620000|dts=20960|dts_time=2.620000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:2f5e9c55
+packet|codec_type=audio|stream_index=0|pts=21120|pts_time=2.640000|dts=21120|dts_time=2.640000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:773a038d
+packet|codec_type=audio|stream_index=0|pts=21280|pts_time=2.660000|dts=21280|dts_time=2.660000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:cfe79cc6
+packet|codec_type=audio|stream_index=0|pts=21440|pts_time=2.680000|dts=21440|dts_time=2.680000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:1282d3cd
+packet|codec_type=audio|stream_index=0|pts=21600|pts_time=2.700000|dts=21600|dts_time=2.700000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:5bc49731
+packet|codec_type=audio|stream_index=0|pts=21760|pts_time=2.720000|dts=21760|dts_time=2.720000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:b4868685
+packet|codec_type=audio|stream_index=0|pts=21920|pts_time=2.740000|dts=21920|dts_time=2.740000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:a3dde91a
+packet|codec_type=audio|stream_index=0|pts=22080|pts_time=2.760000|dts=22080|dts_time=2.760000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:0208e0a0
+packet|codec_type=audio|stream_index=0|pts=22240|pts_time=2.780000|dts=22240|dts_time=2.780000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:6331af71
+packet|codec_type=audio|stream_index=0|pts=22400|pts_time=2.800000|dts=22400|dts_time=2.800000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:f7fcfab5
+packet|codec_type=audio|stream_index=0|pts=22560|pts_time=2.820000|dts=22560|dts_time=2.820000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:92885203
+packet|codec_type=audio|stream_index=0|pts=22720|pts_time=2.840000|dts=22720|dts_time=2.840000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:a445f2e5
+packet|codec_type=audio|stream_index=0|pts=22880|pts_time=2.860000|dts=22880|dts_time=2.860000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:b50e5ec5
+packet|codec_type=audio|stream_index=0|pts=23040|pts_time=2.880000|dts=23040|dts_time=2.880000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:e81acb12
+packet|codec_type=audio|stream_index=0|pts=23200|pts_time=2.900000|dts=23200|dts_time=2.900000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:ff613b12
+packet|codec_type=audio|stream_index=0|pts=23360|pts_time=2.920000|dts=23360|dts_time=2.920000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:f0c1139c
+packet|codec_type=audio|stream_index=0|pts=23520|pts_time=2.940000|dts=23520|dts_time=2.940000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:cab01701
+packet|codec_type=audio|stream_index=0|pts=23680|pts_time=2.960000|dts=23680|dts_time=2.960000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:2c29e78a
+packet|codec_type=audio|stream_index=0|pts=23840|pts_time=2.980000|dts=23840|dts_time=2.980000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:9f0dc252
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=24000|duration=3.000000|bit_rate=3200|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=150|extradata_size=4|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-3200.c2|nb_streams=1|nb_programs=0|start_time=N/A|duration=3.000000
diff --git a/tests/ref/fate/codec2-probe-700C b/tests/ref/fate/codec2-probe-700C
new file mode 100644
index 0000000000..b5142a156a
--- /dev/null
+++ b/tests/ref/fate/codec2-probe-700C
@@ -0,0 +1,77 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=320|duration_time=0.040000|size=4|flags=K__|data_hash=CRC32:ba74a8a8
+packet|codec_type=audio|stream_index=0|pts=320|pts_time=0.040000|dts=320|dts_time=0.040000|duration=320|duration_time=0.040000|size=4|flags=K__|data_hash=CRC32:88da7b69
+packet|codec_type=audio|stream_index=0|pts=640|pts_time=0.080000|dts=640|dts_time=0.080000|duration=320|duration_time=0.040000|size=4|flags=K__|data_hash=CRC32:e051f29c
+packet|codec_type=audio|stream_index=0|pts=960|pts_time=0.120000|dts=960|dts_time=0.120000|duration=320|duration_time=0.040000|size=4|flags=K__|data_hash=CRC32:7a67dfb3
+packet|codec_type=audio|stream_index=0|pts=1280|pts_time=0.160000|dts=1280|dts_time=0.160000|duration=320|duration_time=0.040000|size=4|flags=K__|data_hash=CRC32:6a5e99e7
+packet|codec_type=audio|stream_index=0|pts=1600|pts_time=0.200000|dts=1600|dts_time=0.200000|duration=320|duration_time=0.040000|size=4|flags=K__|data_hash=CRC32:2eeae614
+packet|codec_type=audio|stream_index=0|pts=1920|pts_time=0.240000|dts=1920|dts_time=0.240000|duration=320|duration_time=0.040000|size=4|flags=K__|data_hash=CRC32:1f05af30
+packet|codec_type=audio|stream_index=0|pts=2240|pts_time=0.280000|dts=2240|dts_time=0.280000|duration=320|duration_time=0.040000|size=4|flags=K__|data_hash=CRC32:82db6a54
+packet|codec_type=audio|stream_index=0|pts=2560|pts_time=0.320000|dts=2560|dts_time=0.320000|duration=320|duration_time=0.040000|size=4|flags=K__|data_hash=CRC32:618586f0
+packet|codec_type=audio|stream_index=0|pts=2880|pts_time=0.360000|dts=2880|dts_time=0.360000|duration=320|duration_time=0.040000|size=4|flags=K__|data_hash=CRC32:2d71324f
+packet|codec_type=audio|stream_index=0|pts=3200|pts_time=0.400000|dts=3200|dts_time=0.400000|duration=320|duration_time=0.040000|size=4|flags=K__|data_hash=CRC32:2507f5d3
+packet|codec_type=audio|stream_index=0|pts=3520|pts_time=0.440000|dts=3520|dts_time=0.440000|duration=320|duration_time=0.040000|size=4|flags=K__|data_hash=CRC32:b813d1ef
+packet|codec_type=audio|stream_index=0|pts=3840|pts_time=0.480000|dts=3840|dts_time=0.480000|duration=320|duration_time=0.040000|size=4|flags=K__|data_hash=CRC32:0850d097
+packet|codec_type=audio|stream_index=0|pts=4160|pts_time=0.520000|dts=4160|dts_time=0.520000|duration=320|duration_time=0.040000|size=4|flags=K__|data_hash=CRC32:1271a7df
+packet|codec_type=audio|stream_index=0|pts=4480|pts_time=0.560000|dts=4480|dts_time=0.560000|duration=320|duration_time=0.040000|size=4|flags=K__|data_hash=CRC32:bd28b85d
+packet|codec_type=audio|stream_index=0|pts=4800|pts_time=0.600000|dts=4800|dts_time=0.600000|duration=320|duration_time=0.040000|size=4|flags=K__|data_hash=CRC32:41126e67
+packet|codec_type=audio|stream_index=0|pts=5120|pts_time=0.640000|dts=5120|dts_time=0.640000|duration=320|duration_time=0.040000|size=4|flags=K__|data_hash=CRC32:5e4ac580
+packet|codec_type=audio|stream_index=0|pts=5440|pts_time=0.680000|dts=5440|dts_time=0.680000|duration=320|duration_time=0.040000|size=4|flags=K__|data_hash=CRC32:8a072bbe
+packet|codec_type=audio|stream_index=0|pts=5760|pts_time=0.720000|dts=5760|dts_time=0.720000|duration=320|duration_time=0.040000|size=4|flags=K__|data_hash=CRC32:2844a6ee
+packet|codec_type=audio|stream_index=0|pts=6080|pts_time=0.760000|dts=6080|dts_time=0.760000|duration=320|duration_time=0.040000|size=4|flags=K__|data_hash=CRC32:22f21815
+packet|codec_type=audio|stream_index=0|pts=6400|pts_time=0.800000|dts=6400|dts_time=0.800000|duration=320|duration_time=0.040000|size=4|flags=K__|data_hash=CRC32:d6ad2b7f
+packet|codec_type=audio|stream_index=0|pts=6720|pts_time=0.840000|dts=6720|dts_time=0.840000|duration=320|duration_time=0.040000|size=4|flags=K__|data_hash=CRC32:cd952e76
+packet|codec_type=audio|stream_index=0|pts=7040|pts_time=0.880000|dts=7040|dts_time=0.880000|duration=320|duration_time=0.040000|size=4|flags=K__|data_hash=CRC32:b3b92f90
+packet|codec_type=audio|stream_index=0|pts=7360|pts_time=0.920000|dts=7360|dts_time=0.920000|duration=320|duration_time=0.040000|size=4|flags=K__|data_hash=CRC32:a65f7a4b
+packet|codec_type=audio|stream_index=0|pts=7680|pts_time=0.960000|dts=7680|dts_time=0.960000|duration=320|duration_time=0.040000|size=4|flags=K__|data_hash=CRC32:ff5cb26d
+packet|codec_type=audio|stream_index=0|pts=8000|pts_time=1.000000|dts=8000|dts_time=1.000000|duration=320|duration_time=0.040000|size=4|flags=K__|data_hash=CRC32:bc77c2a5
+packet|codec_type=audio|stream_index=0|pts=8320|pts_time=1.040000|dts=8320|dts_time=1.040000|duration=320|duration_time=0.040000|size=4|flags=K__|data_hash=CRC32:b26f7c9b
+packet|codec_type=audio|stream_index=0|pts=8640|pts_time=1.080000|dts=8640|dts_time=1.080000|duration=320|duration_time=0.040000|size=4|flags=K__|data_hash=CRC32:808f786a
+packet|codec_type=audio|stream_index=0|pts=8960|pts_time=1.120000|dts=8960|dts_time=1.120000|duration=320|duration_time=0.040000|size=4|flags=K__|data_hash=CRC32:718a0796
+packet|codec_type=audio|stream_index=0|pts=9280|pts_time=1.160000|dts=9280|dts_time=1.160000|duration=320|duration_time=0.040000|size=4|flags=K__|data_hash=CRC32:57486574
+packet|codec_type=audio|stream_index=0|pts=9600|pts_time=1.200000|dts=9600|dts_time=1.200000|duration=320|duration_time=0.040000|size=4|flags=K__|data_hash=CRC32:3fcc8689
+packet|codec_type=audio|stream_index=0|pts=9920|pts_time=1.240000|dts=9920|dts_time=1.240000|duration=320|duration_time=0.040000|size=4|flags=K__|data_hash=CRC32:867b2a72
+packet|codec_type=audio|stream_index=0|pts=10240|pts_time=1.280000|dts=10240|dts_time=1.280000|duration=320|duration_time=0.040000|size=4|flags=K__|data_hash=CRC32:4ad0edb1
+packet|codec_type=audio|stream_index=0|pts=10560|pts_time=1.320000|dts=10560|dts_time=1.320000|duration=320|duration_time=0.040000|size=4|flags=K__|data_hash=CRC32:a8997530
+packet|codec_type=audio|stream_index=0|pts=10880|pts_time=1.360000|dts=10880|dts_time=1.360000|duration=320|duration_time=0.040000|size=4|flags=K__|data_hash=CRC32:629bd7ea
+packet|codec_type=audio|stream_index=0|pts=11200|pts_time=1.400000|dts=11200|dts_time=1.400000|duration=320|duration_time=0.040000|size=4|flags=K__|data_hash=CRC32:d6f6b5b7
+packet|codec_type=audio|stream_index=0|pts=11520|pts_time=1.440000|dts=11520|dts_time=1.440000|duration=320|duration_time=0.040000|size=4|flags=K__|data_hash=CRC32:c7f2297f
+packet|codec_type=audio|stream_index=0|pts=11840|pts_time=1.480000|dts=11840|dts_time=1.480000|duration=320|duration_time=0.040000|size=4|flags=K__|data_hash=CRC32:0ae4c6b2
+packet|codec_type=audio|stream_index=0|pts=12160|pts_time=1.520000|dts=12160|dts_time=1.520000|duration=320|duration_time=0.040000|size=4|flags=K__|data_hash=CRC32:b9afc05e
+packet|codec_type=audio|stream_index=0|pts=12480|pts_time=1.560000|dts=12480|dts_time=1.560000|duration=320|duration_time=0.040000|size=4|flags=K__|data_hash=CRC32:450020be
+packet|codec_type=audio|stream_index=0|pts=12800|pts_time=1.600000|dts=12800|dts_time=1.600000|duration=320|duration_time=0.040000|size=4|flags=K__|data_hash=CRC32:c05b5fa8
+packet|codec_type=audio|stream_index=0|pts=13120|pts_time=1.640000|dts=13120|dts_time=1.640000|duration=320|duration_time=0.040000|size=4|flags=K__|data_hash=CRC32:3c550858
+packet|codec_type=audio|stream_index=0|pts=13440|pts_time=1.680000|dts=13440|dts_time=1.680000|duration=320|duration_time=0.040000|size=4|flags=K__|data_hash=CRC32:53873576
+packet|codec_type=audio|stream_index=0|pts=13760|pts_time=1.720000|dts=13760|dts_time=1.720000|duration=320|duration_time=0.040000|size=4|flags=K__|data_hash=CRC32:7eb457ad
+packet|codec_type=audio|stream_index=0|pts=14080|pts_time=1.760000|dts=14080|dts_time=1.760000|duration=320|duration_time=0.040000|size=4|flags=K__|data_hash=CRC32:f8cf8ea0
+packet|codec_type=audio|stream_index=0|pts=14400|pts_time=1.800000|dts=14400|dts_time=1.800000|duration=320|duration_time=0.040000|size=4|flags=K__|data_hash=CRC32:4c45d460
+packet|codec_type=audio|stream_index=0|pts=14720|pts_time=1.840000|dts=14720|dts_time=1.840000|duration=320|duration_time=0.040000|size=4|flags=K__|data_hash=CRC32:bdcda527
+packet|codec_type=audio|stream_index=0|pts=15040|pts_time=1.880000|dts=15040|dts_time=1.880000|duration=320|duration_time=0.040000|size=4|flags=K__|data_hash=CRC32:971c41b6
+packet|codec_type=audio|stream_index=0|pts=15360|pts_time=1.920000|dts=15360|dts_time=1.920000|duration=320|duration_time=0.040000|size=4|flags=K__|data_hash=CRC32:091db650
+packet|codec_type=audio|stream_index=0|pts=15680|pts_time=1.960000|dts=15680|dts_time=1.960000|duration=320|duration_time=0.040000|size=4|flags=K__|data_hash=CRC32:3e214057
+packet|codec_type=audio|stream_index=0|pts=16000|pts_time=2.000000|dts=16000|dts_time=2.000000|duration=320|duration_time=0.040000|size=4|flags=K__|data_hash=CRC32:af7b7f6f
+packet|codec_type=audio|stream_index=0|pts=16320|pts_time=2.040000|dts=16320|dts_time=2.040000|duration=320|duration_time=0.040000|size=4|flags=K__|data_hash=CRC32:5091da7b
+packet|codec_type=audio|stream_index=0|pts=16640|pts_time=2.080000|dts=16640|dts_time=2.080000|duration=320|duration_time=0.040000|size=4|flags=K__|data_hash=CRC32:5ec88106
+packet|codec_type=audio|stream_index=0|pts=16960|pts_time=2.120000|dts=16960|dts_time=2.120000|duration=320|duration_time=0.040000|size=4|flags=K__|data_hash=CRC32:d8561d0a
+packet|codec_type=audio|stream_index=0|pts=17280|pts_time=2.160000|dts=17280|dts_time=2.160000|duration=320|duration_time=0.040000|size=4|flags=K__|data_hash=CRC32:1730a3fc
+packet|codec_type=audio|stream_index=0|pts=17600|pts_time=2.200000|dts=17600|dts_time=2.200000|duration=320|duration_time=0.040000|size=4|flags=K__|data_hash=CRC32:53da58ed
+packet|codec_type=audio|stream_index=0|pts=17920|pts_time=2.240000|dts=17920|dts_time=2.240000|duration=320|duration_time=0.040000|size=4|flags=K__|data_hash=CRC32:bcc878a7
+packet|codec_type=audio|stream_index=0|pts=18240|pts_time=2.280000|dts=18240|dts_time=2.280000|duration=320|duration_time=0.040000|size=4|flags=K__|data_hash=CRC32:92ff45b1
+packet|codec_type=audio|stream_index=0|pts=18560|pts_time=2.320000|dts=18560|dts_time=2.320000|duration=320|duration_time=0.040000|size=4|flags=K__|data_hash=CRC32:6cdf51c9
+packet|codec_type=audio|stream_index=0|pts=18880|pts_time=2.360000|dts=18880|dts_time=2.360000|duration=320|duration_time=0.040000|size=4|flags=K__|data_hash=CRC32:87bffa67
+packet|codec_type=audio|stream_index=0|pts=19200|pts_time=2.400000|dts=19200|dts_time=2.400000|duration=320|duration_time=0.040000|size=4|flags=K__|data_hash=CRC32:49926f0b
+packet|codec_type=audio|stream_index=0|pts=19520|pts_time=2.440000|dts=19520|dts_time=2.440000|duration=320|duration_time=0.040000|size=4|flags=K__|data_hash=CRC32:746efec4
+packet|codec_type=audio|stream_index=0|pts=19840|pts_time=2.480000|dts=19840|dts_time=2.480000|duration=320|duration_time=0.040000|size=4|flags=K__|data_hash=CRC32:6f5b85a7
+packet|codec_type=audio|stream_index=0|pts=20160|pts_time=2.520000|dts=20160|dts_time=2.520000|duration=320|duration_time=0.040000|size=4|flags=K__|data_hash=CRC32:cf14d485
+packet|codec_type=audio|stream_index=0|pts=20480|pts_time=2.560000|dts=20480|dts_time=2.560000|duration=320|duration_time=0.040000|size=4|flags=K__|data_hash=CRC32:97df5c93
+packet|codec_type=audio|stream_index=0|pts=20800|pts_time=2.600000|dts=20800|dts_time=2.600000|duration=320|duration_time=0.040000|size=4|flags=K__|data_hash=CRC32:ccd5b3b1
+packet|codec_type=audio|stream_index=0|pts=21120|pts_time=2.640000|dts=21120|dts_time=2.640000|duration=320|duration_time=0.040000|size=4|flags=K__|data_hash=CRC32:c1cfda7e
+packet|codec_type=audio|stream_index=0|pts=21440|pts_time=2.680000|dts=21440|dts_time=2.680000|duration=320|duration_time=0.040000|size=4|flags=K__|data_hash=CRC32:5ca3640c
+packet|codec_type=audio|stream_index=0|pts=21760|pts_time=2.720000|dts=21760|dts_time=2.720000|duration=320|duration_time=0.040000|size=4|flags=K__|data_hash=CRC32:86898adb
+packet|codec_type=audio|stream_index=0|pts=22080|pts_time=2.760000|dts=22080|dts_time=2.760000|duration=320|duration_time=0.040000|size=4|flags=K__|data_hash=CRC32:12b10cb1
+packet|codec_type=audio|stream_index=0|pts=22400|pts_time=2.800000|dts=22400|dts_time=2.800000|duration=320|duration_time=0.040000|size=4|flags=K__|data_hash=CRC32:bad3ec5b
+packet|codec_type=audio|stream_index=0|pts=22720|pts_time=2.840000|dts=22720|dts_time=2.840000|duration=320|duration_time=0.040000|size=4|flags=K__|data_hash=CRC32:a0224b4f
+packet|codec_type=audio|stream_index=0|pts=23040|pts_time=2.880000|dts=23040|dts_time=2.880000|duration=320|duration_time=0.040000|size=4|flags=K__|data_hash=CRC32:acd584da
+packet|codec_type=audio|stream_index=0|pts=23360|pts_time=2.920000|dts=23360|dts_time=2.920000|duration=320|duration_time=0.040000|size=4|flags=K__|data_hash=CRC32:aba0df88
+packet|codec_type=audio|stream_index=0|pts=23680|pts_time=2.960000|dts=23680|dts_time=2.960000|duration=320|duration_time=0.040000|size=4|flags=K__|data_hash=CRC32:69992e4e
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=24000|duration=3.000000|bit_rate=800|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=75|extradata_size=4|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-700C.c2|nb_streams=1|nb_programs=0|start_time=N/A|duration=3.000000
diff --git a/tests/ref/fate/codec2-probe-cut-1200 b/tests/ref/fate/codec2-probe-cut-1200
new file mode 100644
index 0000000000..7ff63655c2
--- /dev/null
+++ b/tests/ref/fate/codec2-probe-cut-1200
@@ -0,0 +1,18 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=320|duration_time=0.040000|size=6|flags=K__|data_hash=CRC32:221d0fc7
+packet|codec_type=audio|stream_index=0|pts=320|pts_time=0.040000|dts=320|dts_time=0.040000|duration=320|duration_time=0.040000|size=6|flags=K__|data_hash=CRC32:2bf167b8
+packet|codec_type=audio|stream_index=0|pts=640|pts_time=0.080000|dts=640|dts_time=0.080000|duration=320|duration_time=0.040000|size=6|flags=K__|data_hash=CRC32:a7156a29
+packet|codec_type=audio|stream_index=0|pts=960|pts_time=0.120000|dts=960|dts_time=0.120000|duration=320|duration_time=0.040000|size=6|flags=K__|data_hash=CRC32:268c4e72
+packet|codec_type=audio|stream_index=0|pts=1280|pts_time=0.160000|dts=1280|dts_time=0.160000|duration=320|duration_time=0.040000|size=6|flags=K__|data_hash=CRC32:5a23ffe0
+packet|codec_type=audio|stream_index=0|pts=1600|pts_time=0.200000|dts=1600|dts_time=0.200000|duration=320|duration_time=0.040000|size=6|flags=K__|data_hash=CRC32:ed696a9b
+packet|codec_type=audio|stream_index=0|pts=1920|pts_time=0.240000|dts=1920|dts_time=0.240000|duration=320|duration_time=0.040000|size=6|flags=K__|data_hash=CRC32:8c2de44f
+packet|codec_type=audio|stream_index=0|pts=2240|pts_time=0.280000|dts=2240|dts_time=0.280000|duration=320|duration_time=0.040000|size=6|flags=K__|data_hash=CRC32:46dcc273
+packet|codec_type=audio|stream_index=0|pts=2560|pts_time=0.320000|dts=2560|dts_time=0.320000|duration=320|duration_time=0.040000|size=6|flags=K__|data_hash=CRC32:7c6fd6bd
+packet|codec_type=audio|stream_index=0|pts=2880|pts_time=0.360000|dts=2880|dts_time=0.360000|duration=320|duration_time=0.040000|size=6|flags=K__|data_hash=CRC32:54794fd6
+packet|codec_type=audio|stream_index=0|pts=3200|pts_time=0.400000|dts=3200|dts_time=0.400000|duration=320|duration_time=0.040000|size=6|flags=K__|data_hash=CRC32:f56e65a6
+packet|codec_type=audio|stream_index=0|pts=3520|pts_time=0.440000|dts=3520|dts_time=0.440000|duration=320|duration_time=0.040000|size=6|flags=K__|data_hash=CRC32:5a22ccb3
+packet|codec_type=audio|stream_index=0|pts=3840|pts_time=0.480000|dts=3840|dts_time=0.480000|duration=320|duration_time=0.040000|size=6|flags=K__|data_hash=CRC32:80096180
+packet|codec_type=audio|stream_index=0|pts=4160|pts_time=0.520000|dts=4160|dts_time=0.520000|duration=320|duration_time=0.040000|size=6|flags=K__|data_hash=CRC32:8959f4e8
+packet|codec_type=audio|stream_index=0|pts=4480|pts_time=0.560000|dts=4480|dts_time=0.560000|duration=320|duration_time=0.040000|size=6|flags=K__|data_hash=CRC32:cc92a5ce
+packet|codec_type=audio|stream_index=0|pts=4800|pts_time=0.600000|dts=4800|dts_time=0.600000|duration=320|duration_time=0.040000|size=3|flags=K_C|data_hash=CRC32:5575a889
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=4800|duration=0.600000|bit_rate=1200|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=16|extradata_size=4|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-1200.c2|nb_streams=1|nb_programs=0|start_time=N/A|duration=0.600000
diff --git a/tests/ref/fate/codec2-probe-cut-1300 b/tests/ref/fate/codec2-probe-cut-1300
new file mode 100644
index 0000000000..e734aca2c5
--- /dev/null
+++ b/tests/ref/fate/codec2-probe-cut-1300
@@ -0,0 +1,16 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:e1c986d9
+packet|codec_type=audio|stream_index=0|pts=320|pts_time=0.040000|dts=320|dts_time=0.040000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:d19871aa
+packet|codec_type=audio|stream_index=0|pts=640|pts_time=0.080000|dts=640|dts_time=0.080000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:720c8431
+packet|codec_type=audio|stream_index=0|pts=960|pts_time=0.120000|dts=960|dts_time=0.120000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:5e0cab28
+packet|codec_type=audio|stream_index=0|pts=1280|pts_time=0.160000|dts=1280|dts_time=0.160000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:431d4805
+packet|codec_type=audio|stream_index=0|pts=1600|pts_time=0.200000|dts=1600|dts_time=0.200000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:e506c285
+packet|codec_type=audio|stream_index=0|pts=1920|pts_time=0.240000|dts=1920|dts_time=0.240000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:b0ca6019
+packet|codec_type=audio|stream_index=0|pts=2240|pts_time=0.280000|dts=2240|dts_time=0.280000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:25ef5865
+packet|codec_type=audio|stream_index=0|pts=2560|pts_time=0.320000|dts=2560|dts_time=0.320000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:230d8966
+packet|codec_type=audio|stream_index=0|pts=2880|pts_time=0.360000|dts=2880|dts_time=0.360000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:f552d25c
+packet|codec_type=audio|stream_index=0|pts=3200|pts_time=0.400000|dts=3200|dts_time=0.400000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:9a0c149d
+packet|codec_type=audio|stream_index=0|pts=3520|pts_time=0.440000|dts=3520|dts_time=0.440000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:c0332732
+packet|codec_type=audio|stream_index=0|pts=3840|pts_time=0.480000|dts=3840|dts_time=0.480000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:7500143a
+packet|codec_type=audio|stream_index=0|pts=4160|pts_time=0.520000|dts=4160|dts_time=0.520000|duration=320|duration_time=0.040000|size=2|flags=K_C|data_hash=CRC32:bc065677
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=4160|duration=0.520000|bit_rate=1400|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=14|extradata_size=4|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-1300.c2|nb_streams=1|nb_programs=0|start_time=N/A|duration=0.520000
diff --git a/tests/ref/fate/codec2-probe-cut-1400 b/tests/ref/fate/codec2-probe-cut-1400
new file mode 100644
index 0000000000..4d0af823d7
--- /dev/null
+++ b/tests/ref/fate/codec2-probe-cut-1400
@@ -0,0 +1,16 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:d9be5755
+packet|codec_type=audio|stream_index=0|pts=320|pts_time=0.040000|dts=320|dts_time=0.040000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:472ceccd
+packet|codec_type=audio|stream_index=0|pts=640|pts_time=0.080000|dts=640|dts_time=0.080000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:303b21b6
+packet|codec_type=audio|stream_index=0|pts=960|pts_time=0.120000|dts=960|dts_time=0.120000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:dc2b4dd6
+packet|codec_type=audio|stream_index=0|pts=1280|pts_time=0.160000|dts=1280|dts_time=0.160000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:e8888eb2
+packet|codec_type=audio|stream_index=0|pts=1600|pts_time=0.200000|dts=1600|dts_time=0.200000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:fa3d0618
+packet|codec_type=audio|stream_index=0|pts=1920|pts_time=0.240000|dts=1920|dts_time=0.240000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:68478d05
+packet|codec_type=audio|stream_index=0|pts=2240|pts_time=0.280000|dts=2240|dts_time=0.280000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:5801bcd3
+packet|codec_type=audio|stream_index=0|pts=2560|pts_time=0.320000|dts=2560|dts_time=0.320000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:35119a8e
+packet|codec_type=audio|stream_index=0|pts=2880|pts_time=0.360000|dts=2880|dts_time=0.360000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:7b36b9fd
+packet|codec_type=audio|stream_index=0|pts=3200|pts_time=0.400000|dts=3200|dts_time=0.400000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:efa8ba25
+packet|codec_type=audio|stream_index=0|pts=3520|pts_time=0.440000|dts=3520|dts_time=0.440000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:775b298f
+packet|codec_type=audio|stream_index=0|pts=3840|pts_time=0.480000|dts=3840|dts_time=0.480000|duration=320|duration_time=0.040000|size=7|flags=K__|data_hash=CRC32:04a24aad
+packet|codec_type=audio|stream_index=0|pts=4160|pts_time=0.520000|dts=4160|dts_time=0.520000|duration=320|duration_time=0.040000|size=2|flags=K_C|data_hash=CRC32:511cb226
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=4160|duration=0.520000|bit_rate=1400|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=14|extradata_size=4|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-1400.c2|nb_streams=1|nb_programs=0|start_time=N/A|duration=0.520000
diff --git a/tests/ref/fate/codec2-probe-cut-1600 b/tests/ref/fate/codec2-probe-cut-1600
new file mode 100644
index 0000000000..13ddf47ab6
--- /dev/null
+++ b/tests/ref/fate/codec2-probe-cut-1600
@@ -0,0 +1,14 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=320|duration_time=0.040000|size=8|flags=K__|data_hash=CRC32:5ee6636d
+packet|codec_type=audio|stream_index=0|pts=320|pts_time=0.040000|dts=320|dts_time=0.040000|duration=320|duration_time=0.040000|size=8|flags=K__|data_hash=CRC32:be3e8ff8
+packet|codec_type=audio|stream_index=0|pts=640|pts_time=0.080000|dts=640|dts_time=0.080000|duration=320|duration_time=0.040000|size=8|flags=K__|data_hash=CRC32:026dbc9a
+packet|codec_type=audio|stream_index=0|pts=960|pts_time=0.120000|dts=960|dts_time=0.120000|duration=320|duration_time=0.040000|size=8|flags=K__|data_hash=CRC32:975599a2
+packet|codec_type=audio|stream_index=0|pts=1280|pts_time=0.160000|dts=1280|dts_time=0.160000|duration=320|duration_time=0.040000|size=8|flags=K__|data_hash=CRC32:c55f65e7
+packet|codec_type=audio|stream_index=0|pts=1600|pts_time=0.200000|dts=1600|dts_time=0.200000|duration=320|duration_time=0.040000|size=8|flags=K__|data_hash=CRC32:3731f5b3
+packet|codec_type=audio|stream_index=0|pts=1920|pts_time=0.240000|dts=1920|dts_time=0.240000|duration=320|duration_time=0.040000|size=8|flags=K__|data_hash=CRC32:ac397199
+packet|codec_type=audio|stream_index=0|pts=2240|pts_time=0.280000|dts=2240|dts_time=0.280000|duration=320|duration_time=0.040000|size=8|flags=K__|data_hash=CRC32:f4291bb5
+packet|codec_type=audio|stream_index=0|pts=2560|pts_time=0.320000|dts=2560|dts_time=0.320000|duration=320|duration_time=0.040000|size=8|flags=K__|data_hash=CRC32:91d5ea5c
+packet|codec_type=audio|stream_index=0|pts=2880|pts_time=0.360000|dts=2880|dts_time=0.360000|duration=320|duration_time=0.040000|size=8|flags=K__|data_hash=CRC32:a33f36db
+packet|codec_type=audio|stream_index=0|pts=3200|pts_time=0.400000|dts=3200|dts_time=0.400000|duration=320|duration_time=0.040000|size=8|flags=K__|data_hash=CRC32:022e9118
+packet|codec_type=audio|stream_index=0|pts=3520|pts_time=0.440000|dts=3520|dts_time=0.440000|duration=320|duration_time=0.040000|size=5|flags=K_C|data_hash=CRC32:9b0ed102
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=3520|duration=0.440000|bit_rate=1600|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=12|extradata_size=4|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-1600.c2|nb_streams=1|nb_programs=0|start_time=N/A|duration=0.440000
diff --git a/tests/ref/fate/codec2-probe-cut-2400 b/tests/ref/fate/codec2-probe-cut-2400
new file mode 100644
index 0000000000..7ba74ff9a7
--- /dev/null
+++ b/tests/ref/fate/codec2-probe-cut-2400
@@ -0,0 +1,18 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:402e2751
+packet|codec_type=audio|stream_index=0|pts=160|pts_time=0.020000|dts=160|dts_time=0.020000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:8be241bf
+packet|codec_type=audio|stream_index=0|pts=320|pts_time=0.040000|dts=320|dts_time=0.040000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:affee1a4
+packet|codec_type=audio|stream_index=0|pts=480|pts_time=0.060000|dts=480|dts_time=0.060000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:af3a2722
+packet|codec_type=audio|stream_index=0|pts=640|pts_time=0.080000|dts=640|dts_time=0.080000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:ccde12cd
+packet|codec_type=audio|stream_index=0|pts=800|pts_time=0.100000|dts=800|dts_time=0.100000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:53fa8852
+packet|codec_type=audio|stream_index=0|pts=960|pts_time=0.120000|dts=960|dts_time=0.120000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:8a2715c3
+packet|codec_type=audio|stream_index=0|pts=1120|pts_time=0.140000|dts=1120|dts_time=0.140000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:f5338fbe
+packet|codec_type=audio|stream_index=0|pts=1280|pts_time=0.160000|dts=1280|dts_time=0.160000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:8c4f9b10
+packet|codec_type=audio|stream_index=0|pts=1440|pts_time=0.180000|dts=1440|dts_time=0.180000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:d17ddf33
+packet|codec_type=audio|stream_index=0|pts=1600|pts_time=0.200000|dts=1600|dts_time=0.200000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:1839685d
+packet|codec_type=audio|stream_index=0|pts=1760|pts_time=0.220000|dts=1760|dts_time=0.220000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:fbd1489c
+packet|codec_type=audio|stream_index=0|pts=1920|pts_time=0.240000|dts=1920|dts_time=0.240000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:55174066
+packet|codec_type=audio|stream_index=0|pts=2080|pts_time=0.260000|dts=2080|dts_time=0.260000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:4931a27d
+packet|codec_type=audio|stream_index=0|pts=2240|pts_time=0.280000|dts=2240|dts_time=0.280000|duration=160|duration_time=0.020000|size=6|flags=K__|data_hash=CRC32:87ef4f97
+packet|codec_type=audio|stream_index=0|pts=2400|pts_time=0.300000|dts=2400|dts_time=0.300000|duration=160|duration_time=0.020000|size=3|flags=K_C|data_hash=CRC32:cf91772c
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=2400|duration=0.300000|bit_rate=2400|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=16|extradata_size=4|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-2400.c2|nb_streams=1|nb_programs=0|start_time=N/A|duration=0.300000
diff --git a/tests/ref/fate/codec2-probe-cut-3200 b/tests/ref/fate/codec2-probe-cut-3200
new file mode 100644
index 0000000000..0d7a447735
--- /dev/null
+++ b/tests/ref/fate/codec2-probe-cut-3200
@@ -0,0 +1,14 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:47b54c75
+packet|codec_type=audio|stream_index=0|pts=160|pts_time=0.020000|dts=160|dts_time=0.020000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:7664d67c
+packet|codec_type=audio|stream_index=0|pts=320|pts_time=0.040000|dts=320|dts_time=0.040000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:8661cfcf
+packet|codec_type=audio|stream_index=0|pts=480|pts_time=0.060000|dts=480|dts_time=0.060000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:7058a9c8
+packet|codec_type=audio|stream_index=0|pts=640|pts_time=0.080000|dts=640|dts_time=0.080000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:0ba5d0e8
+packet|codec_type=audio|stream_index=0|pts=800|pts_time=0.100000|dts=800|dts_time=0.100000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:ca1b9e09
+packet|codec_type=audio|stream_index=0|pts=960|pts_time=0.120000|dts=960|dts_time=0.120000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:cc6efcdb
+packet|codec_type=audio|stream_index=0|pts=1120|pts_time=0.140000|dts=1120|dts_time=0.140000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:d38a7221
+packet|codec_type=audio|stream_index=0|pts=1280|pts_time=0.160000|dts=1280|dts_time=0.160000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:c2890544
+packet|codec_type=audio|stream_index=0|pts=1440|pts_time=0.180000|dts=1440|dts_time=0.180000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:ef6b161c
+packet|codec_type=audio|stream_index=0|pts=1600|pts_time=0.200000|dts=1600|dts_time=0.200000|duration=160|duration_time=0.020000|size=8|flags=K__|data_hash=CRC32:0a8424a9
+packet|codec_type=audio|stream_index=0|pts=1760|pts_time=0.220000|dts=1760|dts_time=0.220000|duration=160|duration_time=0.020000|size=5|flags=K_C|data_hash=CRC32:004d2db4
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=1760|duration=0.220000|bit_rate=3200|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=12|extradata_size=4|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-3200.c2|nb_streams=1|nb_programs=0|start_time=N/A|duration=0.220000
diff --git a/tests/ref/fate/codec2-probe-cut-700C b/tests/ref/fate/codec2-probe-cut-700C
new file mode 100644
index 0000000000..d39f57c204
--- /dev/null
+++ b/tests/ref/fate/codec2-probe-cut-700C
@@ -0,0 +1,26 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=320|duration_time=0.040000|size=4|flags=K__|data_hash=CRC32:ba74a8a8
+packet|codec_type=audio|stream_index=0|pts=320|pts_time=0.040000|dts=320|dts_time=0.040000|duration=320|duration_time=0.040000|size=4|flags=K__|data_hash=CRC32:88da7b69
+packet|codec_type=audio|stream_index=0|pts=640|pts_time=0.080000|dts=640|dts_time=0.080000|duration=320|duration_time=0.040000|size=4|flags=K__|data_hash=CRC32:e051f29c
+packet|codec_type=audio|stream_index=0|pts=960|pts_time=0.120000|dts=960|dts_time=0.120000|duration=320|duration_time=0.040000|size=4|flags=K__|data_hash=CRC32:7a67dfb3
+packet|codec_type=audio|stream_index=0|pts=1280|pts_time=0.160000|dts=1280|dts_time=0.160000|duration=320|duration_time=0.040000|size=4|flags=K__|data_hash=CRC32:6a5e99e7
+packet|codec_type=audio|stream_index=0|pts=1600|pts_time=0.200000|dts=1600|dts_time=0.200000|duration=320|duration_time=0.040000|size=4|flags=K__|data_hash=CRC32:2eeae614
+packet|codec_type=audio|stream_index=0|pts=1920|pts_time=0.240000|dts=1920|dts_time=0.240000|duration=320|duration_time=0.040000|size=4|flags=K__|data_hash=CRC32:1f05af30
+packet|codec_type=audio|stream_index=0|pts=2240|pts_time=0.280000|dts=2240|dts_time=0.280000|duration=320|duration_time=0.040000|size=4|flags=K__|data_hash=CRC32:82db6a54
+packet|codec_type=audio|stream_index=0|pts=2560|pts_time=0.320000|dts=2560|dts_time=0.320000|duration=320|duration_time=0.040000|size=4|flags=K__|data_hash=CRC32:618586f0
+packet|codec_type=audio|stream_index=0|pts=2880|pts_time=0.360000|dts=2880|dts_time=0.360000|duration=320|duration_time=0.040000|size=4|flags=K__|data_hash=CRC32:2d71324f
+packet|codec_type=audio|stream_index=0|pts=3200|pts_time=0.400000|dts=3200|dts_time=0.400000|duration=320|duration_time=0.040000|size=4|flags=K__|data_hash=CRC32:2507f5d3
+packet|codec_type=audio|stream_index=0|pts=3520|pts_time=0.440000|dts=3520|dts_time=0.440000|duration=320|duration_time=0.040000|size=4|flags=K__|data_hash=CRC32:b813d1ef
+packet|codec_type=audio|stream_index=0|pts=3840|pts_time=0.480000|dts=3840|dts_time=0.480000|duration=320|duration_time=0.040000|size=4|flags=K__|data_hash=CRC32:0850d097
+packet|codec_type=audio|stream_index=0|pts=4160|pts_time=0.520000|dts=4160|dts_time=0.520000|duration=320|duration_time=0.040000|size=4|flags=K__|data_hash=CRC32:1271a7df
+packet|codec_type=audio|stream_index=0|pts=4480|pts_time=0.560000|dts=4480|dts_time=0.560000|duration=320|duration_time=0.040000|size=4|flags=K__|data_hash=CRC32:bd28b85d
+packet|codec_type=audio|stream_index=0|pts=4800|pts_time=0.600000|dts=4800|dts_time=0.600000|duration=320|duration_time=0.040000|size=4|flags=K__|data_hash=CRC32:41126e67
+packet|codec_type=audio|stream_index=0|pts=5120|pts_time=0.640000|dts=5120|dts_time=0.640000|duration=320|duration_time=0.040000|size=4|flags=K__|data_hash=CRC32:5e4ac580
+packet|codec_type=audio|stream_index=0|pts=5440|pts_time=0.680000|dts=5440|dts_time=0.680000|duration=320|duration_time=0.040000|size=4|flags=K__|data_hash=CRC32:8a072bbe
+packet|codec_type=audio|stream_index=0|pts=5760|pts_time=0.720000|dts=5760|dts_time=0.720000|duration=320|duration_time=0.040000|size=4|flags=K__|data_hash=CRC32:2844a6ee
+packet|codec_type=audio|stream_index=0|pts=6080|pts_time=0.760000|dts=6080|dts_time=0.760000|duration=320|duration_time=0.040000|size=4|flags=K__|data_hash=CRC32:22f21815
+packet|codec_type=audio|stream_index=0|pts=6400|pts_time=0.800000|dts=6400|dts_time=0.800000|duration=320|duration_time=0.040000|size=4|flags=K__|data_hash=CRC32:d6ad2b7f
+packet|codec_type=audio|stream_index=0|pts=6720|pts_time=0.840000|dts=6720|dts_time=0.840000|duration=320|duration_time=0.040000|size=4|flags=K__|data_hash=CRC32:cd952e76
+packet|codec_type=audio|stream_index=0|pts=7040|pts_time=0.880000|dts=7040|dts_time=0.880000|duration=320|duration_time=0.040000|size=4|flags=K__|data_hash=CRC32:b3b92f90
+packet|codec_type=audio|stream_index=0|pts=7360|pts_time=0.920000|dts=7360|dts_time=0.920000|duration=320|duration_time=0.040000|size=1|flags=K_C|data_hash=CRC32:7f6567cb
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=7360|duration=0.920000|bit_rate=800|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=24|extradata_size=4|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-700C.c2|nb_streams=1|nb_programs=0|start_time=N/A|duration=0.920000
diff --git a/tests/ref/fate/codec2-probe-multi-1200 b/tests/ref/fate/codec2-probe-multi-1200
new file mode 100644
index 0000000000..603c29c7fd
--- /dev/null
+++ b/tests/ref/fate/codec2-probe-multi-1200
@@ -0,0 +1,10 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=3200|duration_time=0.400000|size=60|flags=K__|data_hash=CRC32:97712e59
+packet|codec_type=audio|stream_index=0|pts=3200|pts_time=0.400000|dts=3200|dts_time=0.400000|duration=3200|duration_time=0.400000|size=60|flags=K__|data_hash=CRC32:ead75c0d
+packet|codec_type=audio|stream_index=0|pts=6400|pts_time=0.800000|dts=6400|dts_time=0.800000|duration=3200|duration_time=0.400000|size=60|flags=K__|data_hash=CRC32:1fc51feb
+packet|codec_type=audio|stream_index=0|pts=9600|pts_time=1.200000|dts=9600|dts_time=1.200000|duration=3200|duration_time=0.400000|size=60|flags=K__|data_hash=CRC32:9f97ee6b
+packet|codec_type=audio|stream_index=0|pts=12800|pts_time=1.600000|dts=12800|dts_time=1.600000|duration=3200|duration_time=0.400000|size=60|flags=K__|data_hash=CRC32:3705d086
+packet|codec_type=audio|stream_index=0|pts=16000|pts_time=2.000000|dts=16000|dts_time=2.000000|duration=3200|duration_time=0.400000|size=60|flags=K__|data_hash=CRC32:4ad7b6d0
+packet|codec_type=audio|stream_index=0|pts=19200|pts_time=2.400000|dts=19200|dts_time=2.400000|duration=3200|duration_time=0.400000|size=60|flags=K__|data_hash=CRC32:20338c8c
+packet|codec_type=audio|stream_index=0|pts=22400|pts_time=2.800000|dts=22400|dts_time=2.800000|duration=1600|duration_time=0.200000|size=30|flags=K__|data_hash=CRC32:3101b117
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=24000|duration=3.000000|bit_rate=1200|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=8|extradata_size=4|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-1200.c2|nb_streams=1|nb_programs=0|start_time=N/A|duration=3.000000
diff --git a/tests/ref/fate/codec2-probe-multi-1300 b/tests/ref/fate/codec2-probe-multi-1300
new file mode 100644
index 0000000000..8c0b4c117e
--- /dev/null
+++ b/tests/ref/fate/codec2-probe-multi-1300
@@ -0,0 +1,10 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=3200|duration_time=0.400000|size=70|flags=K__|data_hash=CRC32:5e784ba8
+packet|codec_type=audio|stream_index=0|pts=3200|pts_time=0.400000|dts=3200|dts_time=0.400000|duration=3200|duration_time=0.400000|size=70|flags=K__|data_hash=CRC32:bc4c87ee
+packet|codec_type=audio|stream_index=0|pts=6400|pts_time=0.800000|dts=6400|dts_time=0.800000|duration=3200|duration_time=0.400000|size=70|flags=K__|data_hash=CRC32:0424e8e4
+packet|codec_type=audio|stream_index=0|pts=9600|pts_time=1.200000|dts=9600|dts_time=1.200000|duration=3200|duration_time=0.400000|size=70|flags=K__|data_hash=CRC32:c96f3946
+packet|codec_type=audio|stream_index=0|pts=12800|pts_time=1.600000|dts=12800|dts_time=1.600000|duration=3200|duration_time=0.400000|size=70|flags=K__|data_hash=CRC32:ddc45481
+packet|codec_type=audio|stream_index=0|pts=16000|pts_time=2.000000|dts=16000|dts_time=2.000000|duration=3200|duration_time=0.400000|size=70|flags=K__|data_hash=CRC32:972e3eb2
+packet|codec_type=audio|stream_index=0|pts=19200|pts_time=2.400000|dts=19200|dts_time=2.400000|duration=3200|duration_time=0.400000|size=70|flags=K__|data_hash=CRC32:6c36af24
+packet|codec_type=audio|stream_index=0|pts=22400|pts_time=2.800000|dts=22400|dts_time=2.800000|duration=1600|duration_time=0.200000|size=35|flags=K__|data_hash=CRC32:4e8805d3
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=24000|duration=3.000000|bit_rate=1400|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=8|extradata_size=4|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-1300.c2|nb_streams=1|nb_programs=0|start_time=N/A|duration=3.000000
diff --git a/tests/ref/fate/codec2-probe-multi-1400 b/tests/ref/fate/codec2-probe-multi-1400
new file mode 100644
index 0000000000..1f63cc82af
--- /dev/null
+++ b/tests/ref/fate/codec2-probe-multi-1400
@@ -0,0 +1,10 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=3200|duration_time=0.400000|size=70|flags=K__|data_hash=CRC32:de42f68f
+packet|codec_type=audio|stream_index=0|pts=3200|pts_time=0.400000|dts=3200|dts_time=0.400000|duration=3200|duration_time=0.400000|size=70|flags=K__|data_hash=CRC32:c283c3cb
+packet|codec_type=audio|stream_index=0|pts=6400|pts_time=0.800000|dts=6400|dts_time=0.800000|duration=3200|duration_time=0.400000|size=70|flags=K__|data_hash=CRC32:84fe588d
+packet|codec_type=audio|stream_index=0|pts=9600|pts_time=1.200000|dts=9600|dts_time=1.200000|duration=3200|duration_time=0.400000|size=70|flags=K__|data_hash=CRC32:efe4a245
+packet|codec_type=audio|stream_index=0|pts=12800|pts_time=1.600000|dts=12800|dts_time=1.600000|duration=3200|duration_time=0.400000|size=70|flags=K__|data_hash=CRC32:c31f9770
+packet|codec_type=audio|stream_index=0|pts=16000|pts_time=2.000000|dts=16000|dts_time=2.000000|duration=3200|duration_time=0.400000|size=70|flags=K__|data_hash=CRC32:151692a9
+packet|codec_type=audio|stream_index=0|pts=19200|pts_time=2.400000|dts=19200|dts_time=2.400000|duration=3200|duration_time=0.400000|size=70|flags=K__|data_hash=CRC32:eec5b59a
+packet|codec_type=audio|stream_index=0|pts=22400|pts_time=2.800000|dts=22400|dts_time=2.800000|duration=1600|duration_time=0.200000|size=35|flags=K__|data_hash=CRC32:68f492a8
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=24000|duration=3.000000|bit_rate=1400|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=8|extradata_size=4|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-1400.c2|nb_streams=1|nb_programs=0|start_time=N/A|duration=3.000000
diff --git a/tests/ref/fate/codec2-probe-multi-1600 b/tests/ref/fate/codec2-probe-multi-1600
new file mode 100644
index 0000000000..91d2358117
--- /dev/null
+++ b/tests/ref/fate/codec2-probe-multi-1600
@@ -0,0 +1,10 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=3200|duration_time=0.400000|size=80|flags=K__|data_hash=CRC32:74196300
+packet|codec_type=audio|stream_index=0|pts=3200|pts_time=0.400000|dts=3200|dts_time=0.400000|duration=3200|duration_time=0.400000|size=80|flags=K__|data_hash=CRC32:13fdb6e5
+packet|codec_type=audio|stream_index=0|pts=6400|pts_time=0.800000|dts=6400|dts_time=0.800000|duration=3200|duration_time=0.400000|size=80|flags=K__|data_hash=CRC32:8b1c3219
+packet|codec_type=audio|stream_index=0|pts=9600|pts_time=1.200000|dts=9600|dts_time=1.200000|duration=3200|duration_time=0.400000|size=80|flags=K__|data_hash=CRC32:c2639e6e
+packet|codec_type=audio|stream_index=0|pts=12800|pts_time=1.600000|dts=12800|dts_time=1.600000|duration=3200|duration_time=0.400000|size=80|flags=K__|data_hash=CRC32:e37eabc6
+packet|codec_type=audio|stream_index=0|pts=16000|pts_time=2.000000|dts=16000|dts_time=2.000000|duration=3200|duration_time=0.400000|size=80|flags=K__|data_hash=CRC32:ade0886c
+packet|codec_type=audio|stream_index=0|pts=19200|pts_time=2.400000|dts=19200|dts_time=2.400000|duration=3200|duration_time=0.400000|size=80|flags=K__|data_hash=CRC32:2ab5600a
+packet|codec_type=audio|stream_index=0|pts=22400|pts_time=2.800000|dts=22400|dts_time=2.800000|duration=1600|duration_time=0.200000|size=40|flags=K__|data_hash=CRC32:e378558d
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=24000|duration=3.000000|bit_rate=1600|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=8|extradata_size=4|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-1600.c2|nb_streams=1|nb_programs=0|start_time=N/A|duration=3.000000
diff --git a/tests/ref/fate/codec2-probe-multi-2400 b/tests/ref/fate/codec2-probe-multi-2400
new file mode 100644
index 0000000000..d5ada228bf
--- /dev/null
+++ b/tests/ref/fate/codec2-probe-multi-2400
@@ -0,0 +1,17 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=1600|duration_time=0.200000|size=60|flags=K__|data_hash=CRC32:7283101b
+packet|codec_type=audio|stream_index=0|pts=1600|pts_time=0.200000|dts=1600|dts_time=0.200000|duration=1600|duration_time=0.200000|size=60|flags=K__|data_hash=CRC32:b60d32b9
+packet|codec_type=audio|stream_index=0|pts=3200|pts_time=0.400000|dts=3200|dts_time=0.400000|duration=1600|duration_time=0.200000|size=60|flags=K__|data_hash=CRC32:23321384
+packet|codec_type=audio|stream_index=0|pts=4800|pts_time=0.600000|dts=4800|dts_time=0.600000|duration=1600|duration_time=0.200000|size=60|flags=K__|data_hash=CRC32:05a4af80
+packet|codec_type=audio|stream_index=0|pts=6400|pts_time=0.800000|dts=6400|dts_time=0.800000|duration=1600|duration_time=0.200000|size=60|flags=K__|data_hash=CRC32:d012a0f0
+packet|codec_type=audio|stream_index=0|pts=8000|pts_time=1.000000|dts=8000|dts_time=1.000000|duration=1600|duration_time=0.200000|size=60|flags=K__|data_hash=CRC32:b0cffe2a
+packet|codec_type=audio|stream_index=0|pts=9600|pts_time=1.200000|dts=9600|dts_time=1.200000|duration=1600|duration_time=0.200000|size=60|flags=K__|data_hash=CRC32:4750fd61
+packet|codec_type=audio|stream_index=0|pts=11200|pts_time=1.400000|dts=11200|dts_time=1.400000|duration=1600|duration_time=0.200000|size=60|flags=K__|data_hash=CRC32:d901d843
+packet|codec_type=audio|stream_index=0|pts=12800|pts_time=1.600000|dts=12800|dts_time=1.600000|duration=1600|duration_time=0.200000|size=60|flags=K__|data_hash=CRC32:db968789
+packet|codec_type=audio|stream_index=0|pts=14400|pts_time=1.800000|dts=14400|dts_time=1.800000|duration=1600|duration_time=0.200000|size=60|flags=K__|data_hash=CRC32:a4ef5efc
+packet|codec_type=audio|stream_index=0|pts=16000|pts_time=2.000000|dts=16000|dts_time=2.000000|duration=1600|duration_time=0.200000|size=60|flags=K__|data_hash=CRC32:3062461d
+packet|codec_type=audio|stream_index=0|pts=17600|pts_time=2.200000|dts=17600|dts_time=2.200000|duration=1600|duration_time=0.200000|size=60|flags=K__|data_hash=CRC32:8232537a
+packet|codec_type=audio|stream_index=0|pts=19200|pts_time=2.400000|dts=19200|dts_time=2.400000|duration=1600|duration_time=0.200000|size=60|flags=K__|data_hash=CRC32:fb52665c
+packet|codec_type=audio|stream_index=0|pts=20800|pts_time=2.600000|dts=20800|dts_time=2.600000|duration=1600|duration_time=0.200000|size=60|flags=K__|data_hash=CRC32:14e8d636
+packet|codec_type=audio|stream_index=0|pts=22400|pts_time=2.800000|dts=22400|dts_time=2.800000|duration=1600|duration_time=0.200000|size=60|flags=K__|data_hash=CRC32:416fffb7
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=24000|duration=3.000000|bit_rate=2400|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=15|extradata_size=4|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-2400.c2|nb_streams=1|nb_programs=0|start_time=N/A|duration=3.000000
diff --git a/tests/ref/fate/codec2-probe-multi-3200 b/tests/ref/fate/codec2-probe-multi-3200
new file mode 100644
index 0000000000..3b79c682c9
--- /dev/null
+++ b/tests/ref/fate/codec2-probe-multi-3200
@@ -0,0 +1,17 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=1600|duration_time=0.200000|size=80|flags=K__|data_hash=CRC32:5f0b44d5
+packet|codec_type=audio|stream_index=0|pts=1600|pts_time=0.200000|dts=1600|dts_time=0.200000|duration=1600|duration_time=0.200000|size=80|flags=K__|data_hash=CRC32:746132c5
+packet|codec_type=audio|stream_index=0|pts=3200|pts_time=0.400000|dts=3200|dts_time=0.400000|duration=1600|duration_time=0.200000|size=80|flags=K__|data_hash=CRC32:cbe22ba3
+packet|codec_type=audio|stream_index=0|pts=4800|pts_time=0.600000|dts=4800|dts_time=0.600000|duration=1600|duration_time=0.200000|size=80|flags=K__|data_hash=CRC32:2803be77
+packet|codec_type=audio|stream_index=0|pts=6400|pts_time=0.800000|dts=6400|dts_time=0.800000|duration=1600|duration_time=0.200000|size=80|flags=K__|data_hash=CRC32:37dcc107
+packet|codec_type=audio|stream_index=0|pts=8000|pts_time=1.000000|dts=8000|dts_time=1.000000|duration=1600|duration_time=0.200000|size=80|flags=K__|data_hash=CRC32:9137ae4f
+packet|codec_type=audio|stream_index=0|pts=9600|pts_time=1.200000|dts=9600|dts_time=1.200000|duration=1600|duration_time=0.200000|size=80|flags=K__|data_hash=CRC32:f7595349
+packet|codec_type=audio|stream_index=0|pts=11200|pts_time=1.400000|dts=11200|dts_time=1.400000|duration=1600|duration_time=0.200000|size=80|flags=K__|data_hash=CRC32:dfca2c27
+packet|codec_type=audio|stream_index=0|pts=12800|pts_time=1.600000|dts=12800|dts_time=1.600000|duration=1600|duration_time=0.200000|size=80|flags=K__|data_hash=CRC32:05123c92
+packet|codec_type=audio|stream_index=0|pts=14400|pts_time=1.800000|dts=14400|dts_time=1.800000|duration=1600|duration_time=0.200000|size=80|flags=K__|data_hash=CRC32:51061a8f
+packet|codec_type=audio|stream_index=0|pts=16000|pts_time=2.000000|dts=16000|dts_time=2.000000|duration=1600|duration_time=0.200000|size=80|flags=K__|data_hash=CRC32:6ded78d0
+packet|codec_type=audio|stream_index=0|pts=17600|pts_time=2.200000|dts=17600|dts_time=2.200000|duration=1600|duration_time=0.200000|size=80|flags=K__|data_hash=CRC32:223d4a63
+packet|codec_type=audio|stream_index=0|pts=19200|pts_time=2.400000|dts=19200|dts_time=2.400000|duration=1600|duration_time=0.200000|size=80|flags=K__|data_hash=CRC32:991f4258
+packet|codec_type=audio|stream_index=0|pts=20800|pts_time=2.600000|dts=20800|dts_time=2.600000|duration=1600|duration_time=0.200000|size=80|flags=K__|data_hash=CRC32:8122bc3d
+packet|codec_type=audio|stream_index=0|pts=22400|pts_time=2.800000|dts=22400|dts_time=2.800000|duration=1600|duration_time=0.200000|size=80|flags=K__|data_hash=CRC32:bfaf16ca
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=24000|duration=3.000000|bit_rate=3200|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=15|extradata_size=4|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-3200.c2|nb_streams=1|nb_programs=0|start_time=N/A|duration=3.000000
diff --git a/tests/ref/fate/codec2-probe-multi-700C b/tests/ref/fate/codec2-probe-multi-700C
new file mode 100644
index 0000000000..bc10fa9227
--- /dev/null
+++ b/tests/ref/fate/codec2-probe-multi-700C
@@ -0,0 +1,10 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=3200|duration_time=0.400000|size=40|flags=K__|data_hash=CRC32:810ddca5
+packet|codec_type=audio|stream_index=0|pts=3200|pts_time=0.400000|dts=3200|dts_time=0.400000|duration=3200|duration_time=0.400000|size=40|flags=K__|data_hash=CRC32:4d955a6f
+packet|codec_type=audio|stream_index=0|pts=6400|pts_time=0.800000|dts=6400|dts_time=0.800000|duration=3200|duration_time=0.400000|size=40|flags=K__|data_hash=CRC32:86f6efa9
+packet|codec_type=audio|stream_index=0|pts=9600|pts_time=1.200000|dts=9600|dts_time=1.200000|duration=3200|duration_time=0.400000|size=40|flags=K__|data_hash=CRC32:134dcdcf
+packet|codec_type=audio|stream_index=0|pts=12800|pts_time=1.600000|dts=12800|dts_time=1.600000|duration=3200|duration_time=0.400000|size=40|flags=K__|data_hash=CRC32:697284ab
+packet|codec_type=audio|stream_index=0|pts=16000|pts_time=2.000000|dts=16000|dts_time=2.000000|duration=3200|duration_time=0.400000|size=40|flags=K__|data_hash=CRC32:19e9ecbb
+packet|codec_type=audio|stream_index=0|pts=19200|pts_time=2.400000|dts=19200|dts_time=2.400000|duration=3200|duration_time=0.400000|size=40|flags=K__|data_hash=CRC32:047bbaf1
+packet|codec_type=audio|stream_index=0|pts=22400|pts_time=2.800000|dts=22400|dts_time=2.800000|duration=1600|duration_time=0.200000|size=20|flags=K__|data_hash=CRC32:b20be8d4
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=24000|duration=3.000000|bit_rate=800|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=8|extradata_size=4|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-700C.c2|nb_streams=1|nb_programs=0|start_time=N/A|duration=3.000000
diff --git a/tests/ref/fate/codec2-probe-multi-cut-1200 b/tests/ref/fate/codec2-probe-multi-cut-1200
new file mode 100644
index 0000000000..96b7c8a268
--- /dev/null
+++ b/tests/ref/fate/codec2-probe-multi-cut-1200
@@ -0,0 +1,4 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=3200|duration_time=0.400000|size=60|flags=K__|data_hash=CRC32:97712e59
+packet|codec_type=audio|stream_index=0|pts=3200|pts_time=0.400000|dts=3200|dts_time=0.400000|duration=1600|duration_time=0.200000|size=33|flags=K_C|data_hash=CRC32:54020dae
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=4800|duration=0.600000|bit_rate=1200|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=2|extradata_size=4|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-1200.c2|nb_streams=1|nb_programs=0|start_time=N/A|duration=0.600000
diff --git a/tests/ref/fate/codec2-probe-multi-cut-1300 b/tests/ref/fate/codec2-probe-multi-cut-1300
new file mode 100644
index 0000000000..9f74f806d9
--- /dev/null
+++ b/tests/ref/fate/codec2-probe-multi-cut-1300
@@ -0,0 +1,4 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=3200|duration_time=0.400000|size=70|flags=K__|data_hash=CRC32:5e784ba8
+packet|codec_type=audio|stream_index=0|pts=3200|pts_time=0.400000|dts=3200|dts_time=0.400000|duration=960|duration_time=0.120000|size=23|flags=K_C|data_hash=CRC32:812b14ca
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=4160|duration=0.520000|bit_rate=1400|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=2|extradata_size=4|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-1300.c2|nb_streams=1|nb_programs=0|start_time=N/A|duration=0.520000
diff --git a/tests/ref/fate/codec2-probe-multi-cut-1400 b/tests/ref/fate/codec2-probe-multi-cut-1400
new file mode 100644
index 0000000000..4fd02ff38a
--- /dev/null
+++ b/tests/ref/fate/codec2-probe-multi-cut-1400
@@ -0,0 +1,4 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=3200|duration_time=0.400000|size=70|flags=K__|data_hash=CRC32:de42f68f
+packet|codec_type=audio|stream_index=0|pts=3200|pts_time=0.400000|dts=3200|dts_time=0.400000|duration=960|duration_time=0.120000|size=23|flags=K_C|data_hash=CRC32:c872c31e
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=4160|duration=0.520000|bit_rate=1400|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=2|extradata_size=4|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-1400.c2|nb_streams=1|nb_programs=0|start_time=N/A|duration=0.520000
diff --git a/tests/ref/fate/codec2-probe-multi-cut-1600 b/tests/ref/fate/codec2-probe-multi-cut-1600
new file mode 100644
index 0000000000..f3c3491d38
--- /dev/null
+++ b/tests/ref/fate/codec2-probe-multi-cut-1600
@@ -0,0 +1,4 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=3200|duration_time=0.400000|size=80|flags=K__|data_hash=CRC32:74196300
+packet|codec_type=audio|stream_index=0|pts=3200|pts_time=0.400000|dts=3200|dts_time=0.400000|duration=320|duration_time=0.040000|size=13|flags=K_C|data_hash=CRC32:ce8782e8
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=3520|duration=0.440000|bit_rate=1600|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=2|extradata_size=4|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-1600.c2|nb_streams=1|nb_programs=0|start_time=N/A|duration=0.440000
diff --git a/tests/ref/fate/codec2-probe-multi-cut-2400 b/tests/ref/fate/codec2-probe-multi-cut-2400
new file mode 100644
index 0000000000..e0c5bc75e5
--- /dev/null
+++ b/tests/ref/fate/codec2-probe-multi-cut-2400
@@ -0,0 +1,4 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=1600|duration_time=0.200000|size=60|flags=K__|data_hash=CRC32:7283101b
+packet|codec_type=audio|stream_index=0|pts=1600|pts_time=0.200000|dts=1600|dts_time=0.200000|duration=800|duration_time=0.100000|size=33|flags=K_C|data_hash=CRC32:7ffca071
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=2400|duration=0.300000|bit_rate=2400|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=2|extradata_size=4|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-2400.c2|nb_streams=1|nb_programs=0|start_time=N/A|duration=0.300000
diff --git a/tests/ref/fate/codec2-probe-multi-cut-3200 b/tests/ref/fate/codec2-probe-multi-cut-3200
new file mode 100644
index 0000000000..7dec2d4613
--- /dev/null
+++ b/tests/ref/fate/codec2-probe-multi-cut-3200
@@ -0,0 +1,4 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=1600|duration_time=0.200000|size=80|flags=K__|data_hash=CRC32:5f0b44d5
+packet|codec_type=audio|stream_index=0|pts=1600|pts_time=0.200000|dts=1600|dts_time=0.200000|duration=160|duration_time=0.020000|size=13|flags=K_C|data_hash=CRC32:4ef9b3ec
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=1760|duration=0.220000|bit_rate=3200|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=2|extradata_size=4|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-3200.c2|nb_streams=1|nb_programs=0|start_time=N/A|duration=0.220000
diff --git a/tests/ref/fate/codec2-probe-multi-cut-700C b/tests/ref/fate/codec2-probe-multi-cut-700C
new file mode 100644
index 0000000000..8e446159cd
--- /dev/null
+++ b/tests/ref/fate/codec2-probe-multi-cut-700C
@@ -0,0 +1,5 @@
+packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=3200|duration_time=0.400000|size=40|flags=K__|data_hash=CRC32:810ddca5
+packet|codec_type=audio|stream_index=0|pts=3200|pts_time=0.400000|dts=3200|dts_time=0.400000|duration=3200|duration_time=0.400000|size=40|flags=K__|data_hash=CRC32:4d955a6f
+packet|codec_type=audio|stream_index=0|pts=6400|pts_time=0.800000|dts=6400|dts_time=0.800000|duration=960|duration_time=0.120000|size=13|flags=K_C|data_hash=CRC32:55376c42
+stream|index=0|codec_name=codec2|profile=unknown|codec_type=audio|codec_tag_string=[0][0][0][0]|codec_tag=0x0000|sample_fmt=s16|sample_rate=8000|channels=1|channel_layout=mono|bits_per_sample=0|initial_padding=0|id=N/A|r_frame_rate=0/0|avg_frame_rate=0/0|time_base=1/8000|start_pts=N/A|start_time=N/A|duration_ts=7360|duration=0.920000|bit_rate=800|max_bit_rate=N/A|bits_per_raw_sample=N/A|nb_frames=N/A|nb_read_frames=N/A|nb_read_packets=3|extradata_size=4|disposition:default=0|disposition:dub=0|disposition:original=0|disposition:comment=0|disposition:lyrics=0|disposition:karaoke=0|disposition:forced=0|disposition:hearing_impaired=0|disposition:visual_impaired=0|disposition:clean_effects=0|disposition:attached_pic=0|disposition:timed_thumbnails=0|disposition:non_diegetic=0|disposition:captions=0|disposition:descriptions=0|disposition:metadata=0|disposition:dependent=0|disposition:still_image=0
+format|filename=cross-700C.c2|nb_streams=1|nb_programs=0|start_time=N/A|duration=0.920000
diff --git a/tests/ref/fate/libcodec2-1200 b/tests/ref/fate/libcodec2-1200
new file mode 100644
index 0000000000..975035985c
--- /dev/null
+++ b/tests/ref/fate/libcodec2-1200
@@ -0,0 +1,12 @@
+frames.frame.0.pkt_dts=0
+frames.frame.1.pkt_dts=3200
+frames.frame.2.pkt_dts=6400
+frames.frame.3.pkt_dts=9600
+frames.frame.4.pkt_dts=12800
+frames.frame.5.pkt_dts=16000
+frames.frame.6.pkt_dts=19200
+frames.frame.7.pkt_dts=22400
+streams.stream.0.codec_name="codec2"
+streams.stream.0.sample_rate="8000"
+streams.stream.0.channels=1
+streams.stream.0.duration="3.000000"
diff --git a/tests/ref/fate/libcodec2-1300 b/tests/ref/fate/libcodec2-1300
new file mode 100644
index 0000000000..975035985c
--- /dev/null
+++ b/tests/ref/fate/libcodec2-1300
@@ -0,0 +1,12 @@
+frames.frame.0.pkt_dts=0
+frames.frame.1.pkt_dts=3200
+frames.frame.2.pkt_dts=6400
+frames.frame.3.pkt_dts=9600
+frames.frame.4.pkt_dts=12800
+frames.frame.5.pkt_dts=16000
+frames.frame.6.pkt_dts=19200
+frames.frame.7.pkt_dts=22400
+streams.stream.0.codec_name="codec2"
+streams.stream.0.sample_rate="8000"
+streams.stream.0.channels=1
+streams.stream.0.duration="3.000000"
diff --git a/tests/ref/fate/libcodec2-1400 b/tests/ref/fate/libcodec2-1400
new file mode 100644
index 0000000000..975035985c
--- /dev/null
+++ b/tests/ref/fate/libcodec2-1400
@@ -0,0 +1,12 @@
+frames.frame.0.pkt_dts=0
+frames.frame.1.pkt_dts=3200
+frames.frame.2.pkt_dts=6400
+frames.frame.3.pkt_dts=9600
+frames.frame.4.pkt_dts=12800
+frames.frame.5.pkt_dts=16000
+frames.frame.6.pkt_dts=19200
+frames.frame.7.pkt_dts=22400
+streams.stream.0.codec_name="codec2"
+streams.stream.0.sample_rate="8000"
+streams.stream.0.channels=1
+streams.stream.0.duration="3.000000"
diff --git a/tests/ref/fate/libcodec2-1600 b/tests/ref/fate/libcodec2-1600
new file mode 100644
index 0000000000..975035985c
--- /dev/null
+++ b/tests/ref/fate/libcodec2-1600
@@ -0,0 +1,12 @@
+frames.frame.0.pkt_dts=0
+frames.frame.1.pkt_dts=3200
+frames.frame.2.pkt_dts=6400
+frames.frame.3.pkt_dts=9600
+frames.frame.4.pkt_dts=12800
+frames.frame.5.pkt_dts=16000
+frames.frame.6.pkt_dts=19200
+frames.frame.7.pkt_dts=22400
+streams.stream.0.codec_name="codec2"
+streams.stream.0.sample_rate="8000"
+streams.stream.0.channels=1
+streams.stream.0.duration="3.000000"
diff --git a/tests/ref/fate/libcodec2-2400 b/tests/ref/fate/libcodec2-2400
new file mode 100644
index 0000000000..54164aef8b
--- /dev/null
+++ b/tests/ref/fate/libcodec2-2400
@@ -0,0 +1,19 @@
+frames.frame.0.pkt_dts=0
+frames.frame.1.pkt_dts=1600
+frames.frame.2.pkt_dts=3200
+frames.frame.3.pkt_dts=4800
+frames.frame.4.pkt_dts=6400
+frames.frame.5.pkt_dts=8000
+frames.frame.6.pkt_dts=9600
+frames.frame.7.pkt_dts=11200
+frames.frame.8.pkt_dts=12800
+frames.frame.9.pkt_dts=14400
+frames.frame.10.pkt_dts=16000
+frames.frame.11.pkt_dts=17600
+frames.frame.12.pkt_dts=19200
+frames.frame.13.pkt_dts=20800
+frames.frame.14.pkt_dts=22400
+streams.stream.0.codec_name="codec2"
+streams.stream.0.sample_rate="8000"
+streams.stream.0.channels=1
+streams.stream.0.duration="3.000000"
diff --git a/tests/ref/fate/libcodec2-3200 b/tests/ref/fate/libcodec2-3200
new file mode 100644
index 0000000000..54164aef8b
--- /dev/null
+++ b/tests/ref/fate/libcodec2-3200
@@ -0,0 +1,19 @@
+frames.frame.0.pkt_dts=0
+frames.frame.1.pkt_dts=1600
+frames.frame.2.pkt_dts=3200
+frames.frame.3.pkt_dts=4800
+frames.frame.4.pkt_dts=6400
+frames.frame.5.pkt_dts=8000
+frames.frame.6.pkt_dts=9600
+frames.frame.7.pkt_dts=11200
+frames.frame.8.pkt_dts=12800
+frames.frame.9.pkt_dts=14400
+frames.frame.10.pkt_dts=16000
+frames.frame.11.pkt_dts=17600
+frames.frame.12.pkt_dts=19200
+frames.frame.13.pkt_dts=20800
+frames.frame.14.pkt_dts=22400
+streams.stream.0.codec_name="codec2"
+streams.stream.0.sample_rate="8000"
+streams.stream.0.channels=1
+streams.stream.0.duration="3.000000"
diff --git a/tests/ref/fate/libcodec2-700C b/tests/ref/fate/libcodec2-700C
new file mode 100644
index 0000000000..975035985c
--- /dev/null
+++ b/tests/ref/fate/libcodec2-700C
@@ -0,0 +1,12 @@
+frames.frame.0.pkt_dts=0
+frames.frame.1.pkt_dts=3200
+frames.frame.2.pkt_dts=6400
+frames.frame.3.pkt_dts=9600
+frames.frame.4.pkt_dts=12800
+frames.frame.5.pkt_dts=16000
+frames.frame.6.pkt_dts=19200
+frames.frame.7.pkt_dts=22400
+streams.stream.0.codec_name="codec2"
+streams.stream.0.sample_rate="8000"
+streams.stream.0.channels=1
+streams.stream.0.duration="3.000000"
diff --git a/tests/ref/fate/libcodec2-cut-1200 b/tests/ref/fate/libcodec2-cut-1200
new file mode 100644
index 0000000000..ca7b841943
--- /dev/null
+++ b/tests/ref/fate/libcodec2-cut-1200
@@ -0,0 +1,6 @@
+frames.frame.0.pkt_dts=0
+frames.frame.1.pkt_dts=3200
+streams.stream.0.codec_name="codec2"
+streams.stream.0.sample_rate="8000"
+streams.stream.0.channels=1
+streams.stream.0.duration="0.600000"
diff --git a/tests/ref/fate/libcodec2-cut-1300 b/tests/ref/fate/libcodec2-cut-1300
new file mode 100644
index 0000000000..96ed128cab
--- /dev/null
+++ b/tests/ref/fate/libcodec2-cut-1300
@@ -0,0 +1,6 @@
+frames.frame.0.pkt_dts=0
+frames.frame.1.pkt_dts=3200
+streams.stream.0.codec_name="codec2"
+streams.stream.0.sample_rate="8000"
+streams.stream.0.channels=1
+streams.stream.0.duration="0.520000"
diff --git a/tests/ref/fate/libcodec2-cut-1400 b/tests/ref/fate/libcodec2-cut-1400
new file mode 100644
index 0000000000..96ed128cab
--- /dev/null
+++ b/tests/ref/fate/libcodec2-cut-1400
@@ -0,0 +1,6 @@
+frames.frame.0.pkt_dts=0
+frames.frame.1.pkt_dts=3200
+streams.stream.0.codec_name="codec2"
+streams.stream.0.sample_rate="8000"
+streams.stream.0.channels=1
+streams.stream.0.duration="0.520000"
diff --git a/tests/ref/fate/libcodec2-cut-1600 b/tests/ref/fate/libcodec2-cut-1600
new file mode 100644
index 0000000000..556d2be87d
--- /dev/null
+++ b/tests/ref/fate/libcodec2-cut-1600
@@ -0,0 +1,6 @@
+frames.frame.0.pkt_dts=0
+frames.frame.1.pkt_dts=3200
+streams.stream.0.codec_name="codec2"
+streams.stream.0.sample_rate="8000"
+streams.stream.0.channels=1
+streams.stream.0.duration="0.440000"
diff --git a/tests/ref/fate/libcodec2-cut-2400 b/tests/ref/fate/libcodec2-cut-2400
new file mode 100644
index 0000000000..84133a8224
--- /dev/null
+++ b/tests/ref/fate/libcodec2-cut-2400
@@ -0,0 +1,6 @@
+frames.frame.0.pkt_dts=0
+frames.frame.1.pkt_dts=1600
+streams.stream.0.codec_name="codec2"
+streams.stream.0.sample_rate="8000"
+streams.stream.0.channels=1
+streams.stream.0.duration="0.300000"
diff --git a/tests/ref/fate/libcodec2-cut-3200 b/tests/ref/fate/libcodec2-cut-3200
new file mode 100644
index 0000000000..db93abdb36
--- /dev/null
+++ b/tests/ref/fate/libcodec2-cut-3200
@@ -0,0 +1,6 @@
+frames.frame.0.pkt_dts=0
+frames.frame.1.pkt_dts=1600
+streams.stream.0.codec_name="codec2"
+streams.stream.0.sample_rate="8000"
+streams.stream.0.channels=1
+streams.stream.0.duration="0.220000"
diff --git a/tests/ref/fate/libcodec2-cut-700C b/tests/ref/fate/libcodec2-cut-700C
new file mode 100644
index 0000000000..61a5cf9b66
--- /dev/null
+++ b/tests/ref/fate/libcodec2-cut-700C
@@ -0,0 +1,7 @@
+frames.frame.0.pkt_dts=0
+frames.frame.1.pkt_dts=3200
+frames.frame.2.pkt_dts=6400
+streams.stream.0.codec_name="codec2"
+streams.stream.0.sample_rate="8000"
+streams.stream.0.channels=1
+streams.stream.0.duration="0.920000"
--
2.39.2
[-- Attachment #3: Type: text/plain, Size: 251 bytes --]
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
^ permalink raw reply [flat|nested] 15+ messages in thread
end of thread, other threads:[~2023-12-30 16:55 UTC | newest]
Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-28 18:43 [FFmpeg-devel] [PATCH 1/6] lavc/codec2utils: Use actual libcodec2 version Tomas Härdin
2023-12-28 18:43 ` [FFmpeg-devel] [PATCH 2/6] lavf/codec2: Compute duration from filesize Tomas Härdin
2023-12-28 18:44 ` [FFmpeg-devel] [PATCH 3/6] lavf/codec2: Allow versions between 0.8 and 1.X Tomas Härdin
2023-12-28 18:44 ` [FFmpeg-devel] [PATCH 4/6] lavf/codec2: Multiple of block_align -> not corrupt Tomas Härdin
2023-12-28 18:45 ` [FFmpeg-devel] [PATCH 5/6] lavf/codec2: Silence warnings when either muxer/demuxer is disabled Tomas Härdin
2023-12-28 18:48 ` [FFmpeg-devel] [PATCH 6/6] Add FATE tests for codec2, codec2raw and libcodec2 wrapper Tomas Härdin
2023-12-29 10:40 ` Andreas Rheinhardt
2023-12-29 12:40 ` Tomas Härdin
2023-12-30 16:02 ` Tomas Härdin
2023-12-30 16:55 ` Tomas Härdin
2023-12-28 20:29 ` [FFmpeg-devel] [PATCH 1/6] lavc/codec2utils: Use actual libcodec2 version Michael Niedermayer
2023-12-28 21:21 ` Tomas Härdin
2023-12-28 23:30 ` Michael Niedermayer
2023-12-29 12:43 ` Tomas Härdin
2023-12-30 16:00 ` Tomas Härdin
Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
This inbox may be cloned and mirrored by anyone:
git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
ffmpegdev@gitmailbox.com
public-inbox-index ffmpegdev
Example config snippet for mirrors.
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git