Jun Zhao
4811625b5f
avcodec/dvbsubenc: provide the page ids in extradata
...
The DVB subtitles written by this encoder always use page 1 as
composition and ancillary page id, but the encoder never told the muxers
about it: it never set any extradata.
Muxers need it. The Matroska CodecPrivate of an S_DVBSUB track is
mandatory and holds the composition page id, the ancillary page id and
the subtitling type, five bytes in that order; MPEG-TS reorders these
fields into its subtitling descriptor, which carries the language and
the type before the page ids, and the decoder only reads the page ids.
A file without them is invalid, and players that require them (VLC
refuses to create such a track and then filters the segments by page id)
show no subtitles at all, while players that do not, like mpv, are
unaffected.
Set the five bytes in the encoder so that every container gets them,
including MPEG-TS, which previously filled in the page ids with the same
hardcoded default. The encoded packets are unchanged; only the
fate-sub-dvb reference gains the extradata line of the output stream.
Fixes: https://code.ffmpeg.org/FFmpeg/FFmpeg/issues/25610
Signed-off-by: Jun Zhao <barryjzhao@tencent.com >
2026-10-31 11:00:25 +00:00
..
2026-10-23 15:38:04 +00:00
2026-10-24 04:45:33 +00:00
2026-10-05 12:58:53 +00:00
2026-10-23 14:04:24 +00:00
2026-10-05 12:58:53 +00:00
2026-10-22 11:46:09 +00:00
2026-10-01 17:49:31 -07:00
2026-10-20 17:27:32 +00:00
2026-10-15 13:13:11 +00:00
2026-10-01 17:49:31 -07:00
2026-10-30 01:17:28 +00:00
2026-10-23 14:04:24 +00:00
2026-10-20 00:33:04 +00:00
2026-10-31 09:02:36 +00:00
2026-10-05 12:58:53 +00:00
2026-10-30 22:46:00 -07:00
2026-10-04 17:51:10 +09:00
2026-10-20 00:36:03 +00:00
2026-10-18 12:37:01 +00:00
2026-10-20 00:36:03 +00:00
2026-10-20 00:36:03 +00:00
2026-10-20 00:36:03 +00:00
2026-10-18 00:47:12 +00:00
2026-09-28 22:43:05 +00:00
2026-10-25 13:03:41 +00:00
2026-10-12 23:55:55 +00:00
2026-10-18 20:57:48 +00:00
2026-10-14 21:08:47 +00:00
2026-10-14 21:08:47 +00:00
2026-10-14 21:08:47 +00:00
2026-10-14 21:08:47 +00:00
2026-10-14 21:08:47 +00:00
2026-10-18 22:26:08 +00:00
2026-10-18 22:26:08 +00:00
2026-10-18 22:26:08 +00:00
2026-10-18 22:26:08 +00:00
2026-10-25 02:48:47 +00:00
2026-10-24 04:45:33 +00:00
2026-10-24 04:45:33 +00:00
2026-09-25 01:13:25 +09:00
2026-10-19 13:42:46 +00:00
2026-09-28 01:08:27 +00:00
2026-09-28 01:08:27 +00:00
2026-10-20 20:41:50 +00:00
2026-10-29 21:34:11 +00:00
2026-10-27 13:02:42 +00:00
2026-10-08 11:15:10 -03:00
2026-10-12 10:37:15 -03:00
2026-10-23 15:38:04 +00:00
2026-10-30 19:09:05 +00:00
2026-09-25 22:12:25 +00:00
2026-10-15 18:46:02 +00:00
2026-10-15 18:46:02 +00:00
2026-10-15 18:46:02 +00:00
2026-10-23 14:04:24 +00:00
2026-09-29 10:54:54 +00:00
2026-10-20 11:36:57 +00:00
2026-09-26 00:03:12 +00:00
2026-09-26 00:03:12 +00:00
2026-10-19 13:38:11 +00:00
2026-10-12 23:55:55 +00:00
2026-10-19 13:38:11 +00:00
2026-10-25 02:45:48 +00:00
2026-10-25 02:45:48 +00:00
2026-10-05 23:20:18 +00:00
2026-10-03 22:49:06 +00:00
2026-09-24 20:06:23 +00:00
2026-10-30 19:09:05 +00:00
2026-10-18 20:57:48 +00:00
2026-10-01 14:31:15 +00:00
2026-10-23 15:38:04 +00:00
2026-10-04 04:30:57 +00:00
2026-10-27 13:02:42 +00:00
2026-10-26 13:11:19 +00:00
2026-10-26 13:11:19 +00:00
2026-10-26 13:11:19 +00:00
2026-10-26 13:11:19 +00:00
2026-10-10 22:53:46 +00:00
2026-10-28 21:08:03 +00:00
2026-10-20 20:41:50 +00:00
2026-09-27 18:38:11 -03:00
2026-09-28 03:37:07 +00:00
2026-10-17 18:38:01 +00:00
2026-10-03 13:35:56 +00:00
2026-10-08 14:21:37 +09:00
2026-10-20 11:36:57 +00:00
2026-10-31 11:00:25 +00:00
2026-10-01 14:31:15 +00:00
2026-09-23 02:04:11 +00:00
2026-10-08 18:55:11 +00:00
2026-10-12 23:55:55 +00:00
2026-10-12 23:55:55 +00:00
2026-10-20 20:41:50 +00:00
2026-10-14 22:46:34 +00:00
2026-10-12 23:55:55 +00:00
2026-10-17 06:50:02 +00:00
2026-10-03 12:15:47 +09:00
2026-10-03 12:15:47 +09:00
2026-10-03 12:15:46 +09:00
2026-10-24 20:19:14 +00:00
2026-10-04 21:14:43 +00:00
2026-10-20 20:41:50 +00:00
2026-10-12 23:55:55 +00:00
2026-10-10 22:40:18 +00:00
2026-10-12 10:39:10 -03:00
2026-10-12 10:39:10 -03:00
2026-09-21 21:23:33 +00:00
2026-10-12 23:55:55 +00:00
2026-10-21 14:52:52 +00:00
2026-10-27 13:02:42 +00:00
2026-09-20 14:45:46 +09:00
2026-10-06 22:17:05 +02:00
2026-10-20 00:36:30 +00:00
2026-10-20 00:36:30 +00:00
2026-10-06 22:17:04 +02:00
2026-09-24 12:33:16 -07:00
2026-10-11 00:50:46 +00:00
2026-10-30 01:17:28 +00:00
2026-10-27 13:02:42 +00:00
2026-10-12 23:55:55 +00:00
2026-10-18 20:57:48 +00:00
2026-09-23 18:57:28 +00:00
2026-10-15 23:41:32 +00:00
2026-10-20 20:41:50 +00:00
2026-10-06 15:11:26 +09:00
2026-10-06 15:11:26 +09:00
2026-10-25 02:48:47 +00:00
2026-10-12 23:55:55 +00:00
2026-10-28 02:25:25 +00:00
2026-10-30 13:12:13 +00:00
2026-10-28 21:08:03 +00:00
2026-10-28 21:08:03 +00:00
2026-09-23 19:07:27 +00:00
2026-10-06 12:46:12 +00:00
2026-10-19 19:51:43 +00:00
2026-09-21 21:23:33 +00:00
2026-10-01 19:45:34 +00:00
2026-10-30 14:56:05 +00:00
2026-10-28 19:22:28 +00:00
2026-10-01 02:14:48 +00:00
2026-09-30 13:40:35 -03:00
2026-10-28 22:40:37 +00:00
2026-10-03 21:12:15 +00:00
2026-10-06 22:33:36 +00:00
2026-10-28 22:40:37 +00:00
2026-10-28 22:40:37 +00:00
2026-10-09 02:43:37 +00:00
2026-10-28 22:40:37 +00:00
2026-10-28 22:40:37 +00:00
2026-10-23 20:33:53 +00:00
2026-10-21 17:39:04 +00:00
2026-10-21 17:39:04 +00:00
2026-10-18 22:47:35 +00:00
2026-10-06 21:43:19 +00:00
2026-09-28 03:41:46 +00:00
2026-10-27 13:02:42 +00:00
2026-10-23 20:33:53 +00:00
2026-10-12 10:39:10 -03:00
2026-09-30 14:37:59 +02:00
2026-10-14 22:08:45 +00:00
2026-09-30 14:37:59 +02:00
2026-10-15 00:33:42 +00:00
2026-09-24 12:35:59 +00:00
2026-10-20 11:36:57 +00:00
2026-10-01 14:31:15 +00:00
2026-10-04 11:54:14 +00:00
2026-10-01 14:31:15 +00:00
2026-09-27 18:38:11 -03:00
2026-09-27 18:38:11 -03:00
2026-10-27 13:02:42 +00:00
2026-10-20 20:41:50 +00:00
2026-10-20 20:41:50 +00:00
2026-09-28 03:48:31 +00:00
2026-10-21 19:06:35 +00:00
2026-10-22 03:14:59 +00:00
2026-10-27 13:02:42 +00:00
2026-10-24 21:22:33 +00:00
2026-10-24 21:22:33 +00:00
2026-10-23 14:04:24 +00:00
2026-10-08 10:54:39 -03:00
2026-10-23 14:04:24 +00:00
2026-10-12 10:37:15 -03:00
2026-10-12 10:37:15 -03:00
2026-10-08 14:21:37 +09:00
2026-10-11 00:46:04 +00:00
2026-10-19 17:46:05 -04:00
2026-09-27 18:38:11 -03:00
2026-09-27 18:38:11 -03:00
2026-09-24 08:02:22 +09:00
2026-09-24 08:02:22 +09:00
2026-10-30 01:17:28 +00:00
2026-10-30 01:17:28 +00:00
2026-10-30 01:17:28 +00:00
2026-09-24 11:05:37 +09:00
2026-10-30 01:17:28 +00:00
2026-10-04 17:51:10 +09:00
2026-10-12 21:18:53 +00:00
2026-09-20 13:48:19 +00:00
2026-10-20 02:25:09 +00:00
2026-10-20 02:25:09 +00:00
2026-10-20 02:25:09 +00:00
2026-10-20 20:41:50 +00:00
2026-10-27 05:07:26 +00:00
2026-10-08 14:21:37 +09:00
2026-10-08 14:21:36 +09:00
2026-10-08 14:21:36 +09:00
2026-10-20 20:41:50 +00:00
2026-09-24 08:02:22 +09:00
2026-10-04 20:57:15 +00:00
2026-10-20 20:41:50 +00:00
2026-10-20 20:41:50 +00:00
2026-10-12 21:18:53 +00:00
2026-09-29 17:46:34 +02:00
2026-10-20 20:41:50 +00:00
2026-10-19 23:51:00 +00:00
2026-10-18 22:45:57 +00:00
2026-10-12 23:55:55 +00:00
2026-10-04 14:14:32 +00:00
2026-09-23 18:56:12 +00:00
2026-10-27 13:02:42 +00:00
2026-10-27 13:02:42 +00:00
2026-10-27 13:02:42 +00:00
2026-10-27 13:02:42 +00:00
2026-10-27 13:02:42 +00:00
2026-10-27 13:02:42 +00:00
2026-10-27 13:02:42 +00:00
2026-10-27 13:02:42 +00:00
2026-10-27 13:02:42 +00:00
2026-10-27 13:02:42 +00:00
2026-10-27 13:02:42 +00:00
2026-10-27 13:02:42 +00:00
2026-09-22 16:21:45 +00:00
2026-09-22 16:21:45 +00:00
2026-09-22 16:21:45 +00:00
2026-09-22 16:21:45 +00:00
2026-10-27 13:02:42 +00:00
2026-10-27 13:02:42 +00:00
2026-10-27 13:02:42 +00:00
2026-10-27 13:02:42 +00:00
2026-10-27 13:02:42 +00:00
2026-10-27 13:02:42 +00:00
2026-10-27 13:02:42 +00:00
2026-10-27 13:02:42 +00:00
2026-10-27 13:02:42 +00:00
2026-10-30 14:56:05 +00:00
2026-10-29 10:09:08 +00:00
2026-10-07 21:14:29 -03:00
2026-10-30 04:22:49 +00:00
2026-10-27 13:02:42 +00:00
2026-10-27 13:02:42 +00:00
2026-10-27 05:04:53 +00:00
2026-10-11 00:48:32 +00:00
2026-09-20 17:19:28 +09:00
2026-10-17 02:55:30 +00:00
2026-09-20 11:59:51 +09:00
2026-10-03 12:15:47 +09:00
2026-09-20 14:45:56 +09:00
2026-09-20 17:19:28 +09:00
2026-09-20 17:51:47 +09:00
2026-09-24 15:26:13 +00:00
2026-09-24 11:05:30 +09:00
2026-10-20 20:41:50 +00:00
2026-09-28 01:08:27 +00:00
2026-10-04 21:19:47 +00:00
2026-10-20 02:25:09 +00:00
2026-09-28 03:32:05 +00:00
2026-10-19 19:51:43 +00:00