ubuntuusers.de

mkvdts2ac3 (Adding AC3 track from DTS)

Status: Ungelöst | Ubuntu-Version: Ubuntu 9.04 (Jaunty Jackalope)
Antworten |

F4r3l

Anmeldungsdatum:
23. Dezember 2009

Beiträge: Zähle...

Hi,

ich bin kein Linux Profi, stehe aber vor einem Problem.

Da meine Dreambox nicht mit DTS umgehen kann, muss ich leider DTS zu ac3 konvertieren.

Ich habe bis jetzt folgendes dazu gefunden und versucht.

Mein Problem ist das die dts spur auch in dem neuen .mkv ist.

Ich möchte eigentlich das .dts komplett aus dem file haben das nur noch ac3 drin ist.

this is the original file mkvmerge -i first.mkv Datei 'first.mkv': Container: Matroska Track ID 1: video (V_MPEG4/ISO/AVC) Track ID 2: audio (A_DTS) Track ID 3: audio (A_DTS)

then i use this steps

./mkvdts2ac3.sh -n first.mkv
mkvdts2ac3-1.5.0 - by Jake Wharton <jakewharton@gmail.com> and
                      Chris Hoekstra <chris.hoekstra@gmail.com>

Extracting Timecodes:
Fortschritt: 100%
Extract timecodes took:  00:00:01 (1 seconds)
Extracting DTS Track: 
Fortschritt: 100%
Extract DTS track took:  00:00:01 (1 seconds)
Converting DTS to AC3:
libdca-0.0.5 - by Gildas Bazin <gbazin@videolan.org>
  based on the a52dec code from Michel Lespinasse <walken@zoy.org> and Aaron Holtzman
Stream with high frequencies VQ coding
5503 frames in 10.43 sec (527.61 fps), 264 last 0.50 sec (528.00 fps)
5728 frames decoded in 10.88 seconds (526.47 fps)
Convert DTS track took:  00:00:11 (11 seconds)
Muxing AC3 Track in:
mkvmerge v3.0.0 ('Hang up your Hang-Ups') gebaut am Dec 12 2009 19:05:48
'first.mkv' Track 1: Das MPEG-4 Teil 10 (AVC)-Video-Ausgabemodul wird benutzt.
'first.mkv' Track 3: Das DTS-Ausgabemodul wird benutzt.
'/tmp/first.ac3' Track 0: Das AC3-Ausgabemodul wird benutzt.

Das Muxen dauerte 2 Sekunden.
MOVING new file over old file. DO NOT KILL THIS PROCESS OR YOU WILL EXPERIENCE DATA LOSS!
NEW FILE: /tmp/first.new.mkv
MKV FILE: first.mkv
Copy file over took:  00:00:02 (2 seconds)
Total processing time: 00:00:15 (15 seconds)

Filesize summary:
     Original Filesize:           65,924 KB
Extracted DTS Filesize:            5,640 KB
Converted AC3 Filesize:            3,348 KB
        Final Filesize:           63,616 KB

result

 mkvmerge -i first.mkv
Datei 'first.mkv': Container: Matroska
Track ID 1: video (V_MPEG4/ISO/AVC)
Track ID 2: audio (A_DTS)
Track ID 3: audio (A_AC3)

Wie kriege ich audio2 klp raus.

Eigentlich müsste die option wie ich sie benutze -n das dts file nicht mehr benutzen.

mkvdts2ac3-1.5.0 - by Jake Wharton <jakewharton@gmail.com> and
                      Chris Hoekstra <chris.hoekstra@gmail.com>

ERROR: You must supply a filename.

Usage: mkvdts2ac3.sh [options] <filename>
Options:
     -c TITLE,        Custom AC3 track title.
     --custom TITLE
     -d, --default    Mark AC3 track as default.
     -e, --external   Leave AC3 track out of file. Does not modify the
                      original matroska file. This overrides '-n' and
                      '-d' arguments.
     -f, --force      Force processing when AC3 track is detected
     -k, --keep-dts   Keep external DTS track (implies '-n').
     -m, --nocolor    Do not use colors (monotone)
     -n, --no-dts     Do not retain the DTS track.
     -o MODE          Pass a custom audio output mode to libdca.
     -p PRIORITY      Modify niceness of executed commands.
     -t TRACKID,
     --track TRACKID  Specify alternate DTS track.
     -w FOLDER,
     --wd FOLDER      Specify alternate temporary working directory.

     --test           Print commands only, execute nothing.
     --debug          Print commands and pause before executing each.

     -h, --help       Print command usage.
     -v               Turn on verbose output
     -V, --version    Print script version information.

Bearbeitet von primus pilus:

Bitte verwende Code Blöcke, um die Übersicht zu verbessern, Danke.

mkvdts2ac3.sh (17.7 KiB)
Download mkvdts2ac3.sh

primus_pilus Team-Icon

Ehemalige
Avatar von primus_pilus

Anmeldungsdatum:
8. Oktober 2007

Beiträge: 9144

Wohnort: NRW

Hallo und willkommen bei ubuntuusers!

CodeBlöcke kannst du hier erstellen in dem du die Ausgaben zwischen geschweifte Klammern setzt:

{{{
Code
}}}

Grüße
Thomas

CashFlow

Anmeldungsdatum:
11. Februar 2007

Beiträge: 95

@TS

ich weiß zwar nicht, ob Du das neueste Skript nutzt, aber vielleicht nicht. Hier aktualisieren: http://github.com/JakeWharton/mkvdts2ac3

Ansonsten kann Dir vielleicht noch die manuelle Anleitung weiterhelfen: http://www.networkedmediatank.com/wiki/index.php/Converting_DTS_to_AC3

Speziell dieser Teil sollte Dir helfen:

1
mkvmerge -o /tmp/matroska.file.ac3.only.mkv -a 3 /tmp/matroska.file.mkv

Viel Spaß beim Probieren!

Antworten |