diff options
author | Nicolas George <george@nsup.org> | 2021-08-31 14:31:16 +0200 |
---|---|---|
committer | Nicolas George <george@nsup.org> | 2021-09-16 10:17:59 +0200 |
commit | 1a0aff8ca56d3695eedbc015f7f7dad991ef9bf5 (patch) | |
tree | d6ef29bd1527c52750b25728d3db57efbf7fde28 | |
parent | 0a267bc5e20a8e7b1b79a501eed99c284ee00b4c (diff) | |
download | ffmpeg-1a0aff8ca56d3695eedbc015f7f7dad991ef9bf5.tar.gz |
tools/dvd2concat: specify stream_codec for subtitles
Avoid requiring a huge probe size and analyze duration.
-rwxr-xr-x | tools/dvd2concat | 1 |
1 files changed, 1 insertions, 0 deletions
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}}) { |