ffmpeg | branch: master | Nicolas George <geo...@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}}) {

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to