.png)
Ich verwende die folgende Syntax zum Konvertieren von MKV in MP4 mitAAC 6 KanäleundDTS-HD MA 8chohne Probleme.
ffmpeg -i "Movie (2022).mkv" -c copy -map 0:? -strict -2 "Movie (2022).mp4"
Welche Syntax ist zu berücksichtigen fürAAC 6 KanäleundTrueHD Atmos 8 Kanäle?
Antwort1
Sie können ffmpeg verwenden, um AAC aus mkv zu kopieren, aber nicht für TrueHD-Streams in mp4. Sie können die TrueHD-Streams später mit mp4box in mp4 einfügen. Schritt:
- Ich empfehle, alle Streams mit mkvcleaver aus mkv zu extrahieren.
- Muxen Sie die Video-Streams und AAC/DTS-Streams mit FFMPEG oder besser DD+ (EC3, AC3, AAC) mit MP4Muxer in MP4 Dolby. MP4Muxer von GitHub ist erforderlich, um die Dolby Vision-/Dolby Atmos-Erkennung aufrechtzuerhalten.
- Mux mit mp4box für verlustfreie Untertitel wie TrueHD (kein AC3-Kern) und einige interne SRT-Untertitel mit mp4box hinzugefügt.
Stufe 2,3 kann automatisch mit Dovi_script (mp4box und mp4muxer enthalten) ausgeführt werden https://drive.google.com/drive/u/0/folders/1X4WmMsaBO6a4OIY_8iFjeBL2KFZWTqKr Pick-way-Nummer 8-1-1
Stufe 2,3 Handbuch mit mp4muxer und mp4box https://github.com/DolbyLaboratories/dlb_mp4base/tree/master/bin
Beispiel für Nicht-Dolby-Vision-Stream und Dolby-Atmos-TrueHD:
mp4muxer.exe -i Dolby_Conductor_Lossless_ATMOS-thedigitaltheater_Track01.h264 -i Dolby_Conductor_Lossless_ATMOS-thedigitaltheater_Track02.ac3 -o Dolby_Conductor_Lossless_ATMOS-thedigitaltheater.mp4
MP4Box.exe -add Dolby_Conductor_Lossless_ATMOS-thedigitaltheater.mp4:rate=0 -add dolby.ac3 -add "Dolby_Conductor_Lossless_ATMOS-thedigitaltheater.mkv_ - 2 - TrueHD (Atmos), 7.1 channels, 48kHz.thd":disable -brand mp42isom -ab dby1 -no-iod Dolby_Conductor_Lossless_ATMOS-thedigitaltheater_TrueHD_AC3.mp4
Für Dolby Vision benötigen Sie das Infoprofil der Streams (über Mediainfo-Check)
--dv-profile <arg> = Sets the Dolby Vision profile. This option is MANDATORY for
DoVi elementary stream: Valid profile values are:
4 - dvhe.04, BL codec: HEVC10; EL codec: HEVC10; BL compatibility: SDR/HDR.
5 - dvhe.05, BL codec: HEVC10; EL codec: N/A; BL compatibility: None.
7 - dvhe.07, BL codec: HEVC10; EL codec: HEVC10; BL compatibility: Blue-ray HDR10.
8 - dvhe.08, BL codec: HEVC10; EL codec: N/A; BL compatibility: SDR/HDR.
9 - dvav.09, BL codec: AVC; EL codec: N/A; BL compatibility: SDR/HDR.
--dv-bl-compatible-id <arg> = Sets the Dolby Vision base layer compatible ID, if the profile index is 8, this option must be set by user.
--dv-bl-compatible-id 0 is non-cross compatibility
--dv-bl-compatible-id 1 is HDR10 cross compatibility (usually this one)
--dv-bl-compatible-id 2 is SDR cross compatibility
--dv-bl-compatible-id 4 is HLG cross compatibility
--dv-bl-compatible-id 6 is Blueray cross compatibility
Für Profil 7
mp4muxer -i P7_FEL_GIJoe_The_Rise_of_Cobra_Track01.h265 -i P7_FEL_GIJoe_The_Rise_of_Cobra_Track02.ec3 -o P7_FEL_GIJoe_The_Rise_of_Cobra.mp4 --dv-profile 7 --mpeg4-comp-brand mp42,iso6,isom,msdh,dby1 --overwrite
Für Profil 8
mp4muxer -i P81_GlassBlowing2_3840x2160@59_94fps_15200kbps_Track01.h265 -i P81_GlassBlowing2_3840x2160@59_94fps_15200kbps_Track02.ec3 -o P81_GlassBlowing2_3840x2160@59_94fps_15200kbps.mp4 --dv-profile 8 --dv-bl-compatible-id 1 --mpeg4-comp-brand mp42,iso6,isom,msdh,dby1 --overwrite