An open API service indexing awesome lists of open source software.

https://github.com/darealshinji/delaycut

cuts and corrects delay in ac3 and dts files
https://github.com/darealshinji/delaycut

ac3 audio dts qt qt5

Last synced: 3 months ago
JSON representation

cuts and corrects delay in ac3 and dts files

Awesome Lists containing this project

README

          

delaycut: cuts and corrects delay in ac3 and dts files

Copyright (C) 2004 by jsoto
Copyright (C) 2007 by madshi
Copyright (C) 2009 by Chumbo
Copyright (C) 2010 by Adam Thomas-Murphy
Copyright (C) 2014, 2016-2017 by djcj

DelayCut is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

DelayCut is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with DelayCut. If not, see .

Command Line Instructions
Output and log files will be in the same path than the input file.

Options:
-help: List options.
-version: Get current version.
-info: Outputs info about input file in log file
-inputtype : Input type of delay/cut values. (default millseconds
when not specified) [milliseconds, seconds, videoframes]
-fps : Specify frame rate.
Needed when inputtype is set to frames.
-fixcrc : Specify action to take in the case of crc errors
[ignore, skip, fix, silence]
-startdelay : Specify the needed frames added at the beginning of the file
-delay : Alias for -startdelay
-enddelay : Specify the needed frames added at the end of the file
-same: file length will be the same after adding delay
-auto: detect start delay in filename (assuming DVD2AVI style)
-startcut : Specify cut start point
-endcut : Specify cut end point
-o : specify output file
-i : specify inputfile

Examples:
Get info: Log file will be myfile_log.txt
delaycut -info -i myfile.ac3

Adds 100 msec of silence at the begining. File lenght will be the same
delaycut -startdelay 100 -same -i myfile.ac3

Adds 100 msec of silence at the begining. File lenght will be 100 msecs more
delaycut -startdelay 100 -i myfile.ac3

Cuts start at 10.32 sec and ends at 15.20 sec.
delaycut -inputtype seconds -startcut 10.32 -endcut 15.20 -i myfile.ac3

Cuts start at 10320 msec and ends at 15200 msec. Delay correction of 100 msec.
delaycut -delay 100 -startcut 10320 -endcut 15200 -i myfile.ac3

Automatic delay correction based on the filename (-500 msec in this case)
delaycut -auto "myfile DELAY -500ms.ac3"

---------------------

Build instructions

To build using a docker container:
* clone the repo
* cd delaycut
* docker run -t -i --rm -v $PWD:$PWD garthk/qt-build:bionic-5.12.0 bash
*
* apt-get update && apt-get install -y libgl-dev libgtk2.0-dev
* cd
* qmake
* make