Code: Alles auswählen
ffmpeg -f concat -safe 0 -i file.list -c copy komplett.mkv
¹⁾ Soweit ich sehe, benennen


Code: Alles auswählen
ffmpeg -f concat -safe 0 -i file.list -c copy komplett.mkv
vobsub ist glaube ich das Dateiformat mit sub+idx Datei während dvd_subtitel allgemein das Subtitelformat wie es auf DVDs genutzt wird beschreibt egal ob es jetzt in mkv, auf ner DVD oder sonst wo liegt. Am Ende ist das halt alles nicht standardisiert und so gibt es halt unterschiedliche Leute die Zeug unterschiedlich benennen..Soweit ich sehe, benennen Debianmediainfo und Debianffmpeg dasselbe Untertitelformat unterschiedlich.
Code: Alles auswählen
-filter_complex concat=n=4:v=1:a=2:s=1
Code: Alles auswählen
ffmpeg -i a.mkv -i b.mkv -f lavfi -i anullsrc -filter_complex '[0:0] [2:0] [1:0] [1:1] concat=n=2:v=1:a=1 [v] [a]' -map '[a]' -map '[v]' out.mkv
Code: Alles auswählen
ffmpeg -itsoffset 500 -i /tmp/f2.mkv -map 0 -c copy /tmp/sub.mkv
ffmpeg -i "concat:/tmp/f1.mkv|/tmp/f2.mkv" -map 0:v -map 0:a -c copy /tmp/av.mkv
ffmpeg -i /tmp/av.mkv -i /tmp/s.mkv -map 0:v -map 0:a -map 1:s -c copy /tmp/out.mkv
In kürze:fischig hat geschrieben: Leider sind nur im 2. MKV Untertitel (vodsub/dvdsub¹⁾) enthalten.
Bei mir schon, vorausgesetzt ffmpeg oder mediainfo lügt mich nicht an.MaGe hat geschrieben:MKV Dateien spielen keine Vobsub untertitel.
Code: Alles auswählen
ffmpeg -itsoffset 500 -i /tmp/f2.mkv -map 0 -c copy /tmp/sub.mkv
fischig hat geschrieben:
Bei mir schon, vorausgesetzt ffmpeg oder mediainfo lügt mich nicht an
Ja.Aber doch nur am PC oder?
Es geht um zwei MKV-AV-Dateien:Zeig doch mal die ausgabe von ffmpeg -i deinvideo
Code: Alles auswählen
Input #0, matroska,webm, from 'jewell-otr-anf-aac.mkv':
Metadata:
ENCODER : Lavf59.27.100
Duration: 00:00:55.03, start: 0.000000, bitrate: 1701 kb/s
Stream #0:0: Video: h264 (Main), yuv420p(progressive), 1280x720 [SAR 1:1 DAR 16:9], 50 fps, 50 tbr, 1k tbn
Metadata:
DURATION : 00:00:55.021000000
Stream #0:1: Audio: aac (LC), 48000 Hz, stereo, fltp
Metadata:
ENCODER : Lavc59.37.100 aac
DURATION : 00:00:55.029000000
Code: Alles auswählen
Input #0, matroska,webm, from 'jewell-vdr.mkv':
Metadata:
ENCODER : Lavf59.27.100
Duration: 01:58:46.08, start: 0.000000, bitrate: 2430 kb/s
Stream #0:0: Video: h264 (High), yuv420p(tv, bt709, progressive), 1280x720 [SAR 1:1 DAR 16:9], 50 fps, 50 tbr, 1k tbn
Metadata:
ENCODER : Lavc59.37.100 libx264
DURATION : 01:58:46.081000000
Stream #0:1(deu): Audio: aac (LC), 48000 Hz, stereo, fltp
Metadata:
ENCODER : Lavc59.37.100 aac
DURATION : 01:58:46.029000000
Stream #0:2(deu): Subtitle: dvd_subtitle, 1280x720 (hearing impaired)
Metadata:
ENCODER : Lavc59.37.100 dvdsub
DURATION : 01:58:16.946000000
fischig hat geschrieben:
Es geht um zwei MKV-AV-Dateien:
Das erscheint mir überflüssig/nebensächlich (Die 55sek. geringere Bitrate in der 1. Datei nehm' ich halt hin). Ich habe das concat schon erfolgreich durchgeführt - indem ich vorher die 2. Datei ohne die dvdsub-Untertitel kopiert hatte. Das Problem sind halt diese sperrigen dvdsubs. Die kriegt man - wenn überhaupt in akzeptablem Ergebnis - offenbar nur äußerst unelegant in textbasierte Untertitel. Keine Ahnung, warumIch würde, erstmal die Videos auf gleichen level konvertieren.
Code: Alles auswählen
ffmpeg -i jewell-kompl-ohne-ut.mkv -itsoffset 55 -i jewell-vdr.mkv -map 0:v -map 0:a -map 1:s jewell-kompl-mit-ut.mkv
Code: Alles auswählen
Error initializing output stream 0:2 -- Subtitle encoding currently only possible from text to text or bitmap to bitmap
Code: Alles auswählen
$ ffmpeg -i jewell-kompl-ohne-ut.mkv -itsoffset 55 -i jewell-vdr.mkv -map 0:v -map 0:a -map 1:s -scodec copy jewell-kompl-mit-ut.mkv
Code: Alles auswählen
ffmpeg -i jewell-kompl-ohne-ut.mkv -itsoffset 55 -i jewell-vdr.mkv -map 0:v -map 0:a -map 1:s -vcodec copy -acodec copy -scodec copy jewell-kompl2-mit-ut.mkv
Code: Alles auswählen
Non-monotonous DTS in output stream 0:0; previous: 7181030, current: 7181010; changing to 7181030. This may result in incorrect timestamps in the output file.