|
| 1 | +delaycut: cuts and corrects delay in ac3 and dts files |
| 2 | +Copyright (C) 2004 by jsoto |
| 3 | + |
| 4 | +This library is free software; you can redistribute it and/or |
| 5 | +modify it under the terms of the GNU Lesser General Public |
| 6 | +License as published by the Free Software Foundation; either |
| 7 | +version 2.1 of the License, or (at your option) any later version. |
| 8 | + |
| 9 | +This library is distributed in the hope that it will be useful, |
| 10 | +but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 11 | +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 12 | +Lesser General Public License for more details. |
| 13 | + |
| 14 | +You should have received a copy of the GNU Lesser General Public |
| 15 | +License along with this library; if not, write to the Free Software |
| 16 | +Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
| 17 | + |
| 18 | +==================================================================== |
| 19 | +=============Changelog============================================== |
| 20 | +v1.3.0.0 |
| 21 | +Added: E-AC3 support (added by www.madshi.net) |
| 22 | + |
| 23 | +v1.2.1.2 |
| 24 | +BugFix: Error in duration of Wav files |
| 25 | + |
| 26 | +v1.2.1.1 |
| 27 | +Changed: Maximum number of char changed to 8 in delay edit boxes |
| 28 | +BugFix: Spaces in output path (CLI mode) |
| 29 | + |
| 30 | +v1.2.1.0 |
| 31 | +Added: 44.1kHz and 32 kHz ac3 support (suggested by tebasuna51) |
| 32 | +Improvement: In case of unsynchronized frame, rewind one frame more to look for |
| 33 | + the synch word inside the previous frame. (suggested by tebasuna51) |
| 34 | +Changed: AC3 silence frames are now calculated from only two patterns |
| 35 | + (2/0 and 5.1) |
| 36 | + |
| 37 | + |
| 38 | +v1.2.0.4 |
| 39 | +Added: Linear PCM (wav) support |
| 40 | +Added: mpa checksum calculation and fixing. |
| 41 | +Added: 44.100 mpa minimum support. (short delays) |
| 42 | +BugFix: Percentage dlg refresh |
| 43 | +BugFix: Different rate frames in dts caused delaycut to hang |
| 44 | + |
| 45 | +v1.2.0.3 |
| 46 | +BugFix: -auto option in CLI mode was broken |
| 47 | + |
| 48 | +v1.2.0.2 |
| 49 | +BugFix: mpa was broken in 1.2.0.1 |
| 50 | +BugFix: Info dlg refresh. |
| 51 | + |
| 52 | +v1.2.0.1 |
| 53 | +Added: mpa (fsample=48k) support. |
| 54 | +Added: drag/drop files |
| 55 | +Added: -auto option in CLI mode: autodetect the delay in input filename |
| 56 | +Added: -out option in CLI mode to specify the output filename. |
| 57 | + |
| 58 | +v1.1.0.4 |
| 59 | +BugFix: dts has been completely broken in 1.1.0.3 but nobody reported it???? |
| 60 | + |
| 61 | +v1.1.0.3 |
| 62 | +Improvement: Using fread and fwrite functions, delaycut is much |
| 63 | + faster than before. |
| 64 | +Changed: Log window automaticaly scrolls to the end |
| 65 | + |
| 66 | +v1.1.0.2 |
| 67 | +BugFix: Some erroneous files can hang delaycut |
| 68 | + |
| 69 | +v1.1 |
| 70 | +Bugfix: Makelower in file extensions |
| 71 | +Bugfix: Only one message in the case of basic parameters change |
| 72 | + |
| 73 | + |
| 74 | +==================================================================== |
| 75 | + |
| 76 | +Command Line Instructions |
| 77 | +Output and log files will be in the same path than the input file. |
| 78 | + |
| 79 | +delaycut [options] <filein> |
| 80 | + Options: |
| 81 | + -info: Do nothing, only outputs info in log file |
| 82 | + -fixcrc {ignore, skip, fix, silence}: Action in the case of crc errors |
| 83 | + -start <delay_msecs>: Adds (-Cuts) the needed frames at the beginning |
| 84 | + -end <delay_msecs>: Adds (-Cuts) the needed frames at the end (default same) |
| 85 | + -auto: detect start delay in filename (assuming DVD2AVI style) |
| 86 | + -startsplit <ini_sec>: Starts in ini_sec |
| 87 | + -endsplit <end_sec>: Stops in end_sec |
| 88 | + -console: starts a new window (console) |
| 89 | + -out <output_filename> |
| 90 | + |
| 91 | + |
| 92 | +Return values |
| 93 | + 0: Success |
| 94 | +-1: Something went wrong. |
| 95 | + |
| 96 | + |
| 97 | +Examples |
| 98 | +Get info: Log file will be myfile_log.txt |
| 99 | + delaycut -info myfile.ac3 |
| 100 | + |
| 101 | +Adds 100 msec of silence at the begining. File lenght will be the same |
| 102 | + delaycut -start 100 -same myfile.ac3 |
| 103 | + |
| 104 | +Adds 100 msec of silence at the begining. File lenght will be 100 msecs more |
| 105 | + delaycut -start 100 myfile.ac3 |
| 106 | + |
| 107 | +Cuts start at 10.32 sec and ends at 15.20 sec. |
| 108 | + delaycut -startsplit 10.32 -endsplit 15.20 myfile.ac3 |
| 109 | + |
| 110 | +Cuts start at 10.32 sec and ends at 15.20 sec. Delay correction of 100 msec. |
| 111 | + delaycut -start 100 -startsplit 10.32 -endsplit 15.20 myfile.ac3 |
0 commit comments