[FFmpeg-devel] [PATCH 08/12] tools/dvd2concat: specify stream_codec for subtitles

Nicolas George george at nsup.org
Tue Aug 31 21:07:35 EEST 2021


Avoid requiring a huge probe size and analyze duration.

Signed-off-by: Nicolas George <george at nsup.org>
---
 tools/dvd2concat | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tools/dvd2concat b/tools/dvd2concat
index 474b474191..ea8b7ba8c9 100755
--- a/tools/dvd2concat
+++ b/tools/dvd2concat
@@ -92,6 +92,7 @@ for my $audio (@{$track->{audio}}) {
 }
 for my $subp (@{$track->{subp}}) {
   $concat .= "\nstream\nexact_stream_id " . $subp->{streamid} . "\n";
+  $concat .= "stream_codec dvd_subtitle\n";
   $concat .= "stream_meta language " . $subp->{langcode} . "\n" if $subp->{langcode};
 }
 for my $cell (@{$track->{cell}}) {
-- 
2.33.0



More information about the ffmpeg-devel mailing list