mirror of https://git.ffmpeg.org/ffmpeg.git
tools/dvd2concat: specify stream_codec for subtitles
Avoid requiring a huge probe size and analyze duration.
This commit is contained in:
parent
0a267bc5e2
commit
1a0aff8ca5
|
@ -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}}) {
|
||||
|
|
Loading…
Reference in New Issue