[FFmpeg-cvslog] tools/dvd2concat: specify stream_codec for subtitles

Nicolas George git at videolan.org
Thu Sep 16 11:26:21 EEST 2021


ffmpeg | branch: master | Nicolas George <george at nsup.org> | Tue Aug 31 14:31:16 2021 +0200| [1a0aff8ca56d3695eedbc015f7f7dad991ef9bf5] | committer: Nicolas George

tools/dvd2concat: specify stream_codec for subtitles

Avoid requiring a huge probe size and analyze duration.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=1a0aff8ca56d3695eedbc015f7f7dad991ef9bf5
---

 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}}) {



More information about the ffmpeg-cvslog mailing list