[FFmpeg-cvslog] tools/dvd2concat: include language metadata

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


ffmpeg | branch: master | Nicolas George <george at nsup.org> | Tue Aug 31 14:10:07 2021 +0200| [86b2a8616989d98bf2a1b35156bece2e160394d2] | committer: Nicolas George

tools/dvd2concat: include language metadata

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

 tools/dvd2concat | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tools/dvd2concat b/tools/dvd2concat
index ef04a87d05..474b474191 100755
--- a/tools/dvd2concat
+++ b/tools/dvd2concat
@@ -88,9 +88,11 @@ my $concat = "ffconcat version 1.0\n";
 $concat .= "\nstream\nexact_stream_id 0x1E0\n";
 for my $audio (@{$track->{audio}}) {
   $concat .= "\nstream\nexact_stream_id " . $audio->{streamid} . "\n";
+  $concat .= "stream_meta language " . $audio->{langcode} . "\n" if $audio->{langcode};
 }
 for my $subp (@{$track->{subp}}) {
   $concat .= "\nstream\nexact_stream_id " . $subp->{streamid} . "\n";
+  $concat .= "stream_meta language " . $subp->{langcode} . "\n" if $subp->{langcode};
 }
 for my $cell (@{$track->{cell}}) {
   my $off = $cell->{first_sector};



More information about the ffmpeg-cvslog mailing list