mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
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}}) {
|
for my $subp (@{$track->{subp}}) {
|
||||||
$concat .= "\nstream\nexact_stream_id " . $subp->{streamid} . "\n";
|
$concat .= "\nstream\nexact_stream_id " . $subp->{streamid} . "\n";
|
||||||
|
$concat .= "stream_codec dvd_subtitle\n";
|
||||||
$concat .= "stream_meta language " . $subp->{langcode} . "\n" if $subp->{langcode};
|
$concat .= "stream_meta language " . $subp->{langcode} . "\n" if $subp->{langcode};
|
||||||
}
|
}
|
||||||
for my $cell (@{$track->{cell}}) {
|
for my $cell (@{$track->{cell}}) {
|
||||||
|
Loading…
Reference in New Issue
Block a user