m2vmp2cut-0.74/ANNOUNCE m2vmp2cut-0.76/ANNOUNCE
1Last committed: $Id: ANNOUNCE 2192 2008-08-18 18:21:58Z too $1Last committed: $Id: ANNOUNCE 2195 2008-09-09 17:33:09Z too $
22
3ANNOUNCE for m2vmp2cut 0.743ANNOUNCE for m2vmp2cut 0.76
44
5This is stable release of m2vmp2cut -- frame accurate (currently PAL)5This is stable release of m2vmp2cut -- frame accurate (currently PAL)
6mpeg2 video (m2v file) with accompanied mp2 audio (mp2 file) cutter.6mpeg2 video (m2v file) with accompanied mp2 audio (mp2 file) cutter.
1313
14This software is available currently at http://www.iki.fi/too/sw/m2vmp2cut/14This software is available currently at http://www.iki.fi/too/sw/m2vmp2cut/
15and is licensed under GNU Public License (GPL).15and is licensed under GNU Public License (GPL).
16
17Changes since 0.74 (r2192)
18 Fixed seeking to offset zero (-sb 0) in m2vtoyuv command.
1619
17Changes since 0.72 (r2177)20Changes since 0.72 (r2177)
18 Fixed largefile support in fileparts command.21 Fixed largefile support in fileparts command.

m2vmp2cut-0.74/HISTORY m2vmp2cut-0.76/HISTORY
1# Created using svn -v log | sed -n -e '${x;p;x;p;q};/^--*$/{x;/./p;d};x;p'1# Created using svn -v log | sed -n -e '${x;p;x;p;q};/^--*$/{x;/./p;d};x;p'
2# This file is not version controlled2# This file is not version controlled
33
4------------------------------------------------------------------------
5r2195 | too | 2008-09-09 20:33:09 +0300 (Tue, 09 Sep 2008) | 1 line
6Changed paths:
7 M /main/projects/m2vmp2cut/ANNOUNCE
8 M /main/projects/m2vmp2cut/README
9 M /main/projects/m2vmp2cut/VERSION
10
11Version 0.76
12------------------------------------------------------------------------
13r2194 | too | 2008-09-09 20:29:26 +0300 (Tue, 09 Sep 2008) | 1 line
14Changed paths:
15 M /main/projects/m2vmp2cut/bin/m2vmp2cut.pl
16 M /main/projects/m2vmp2cut/src/m2vtoyuv.c
17
18m2vtoyuv: accept '-sb 0' args
4------------------------------------------------------------------------19------------------------------------------------------------------------
5r2192 | too | 2008-08-18 21:21:58 +0300 (Mon, 18 Aug 2008) | 1 line20r2192 | too | 2008-08-18 21:21:58 +0300 (Mon, 18 Aug 2008) | 1 line
6Changed paths:21Changed paths:

m2vmp2cut-0.74/README m2vmp2cut-0.76/README
1Last committed: $Id: README 2192 2008-08-18 18:21:58Z too $1Last committed: $Id: README 2195 2008-09-09 17:33:09Z too $
22
3README for m2vmp2cut 0.74:3README for m2vmp2cut 0.76:
44
5m2vmp2cut is frame accurate (currently PAL) mpeg2 video (m2v file)5m2vmp2cut is frame accurate (currently PAL) mpeg2 video (m2v file)
6with accompanied mp2 audio (mp2 file) cutter.6with accompanied mp2 audio (mp2 file) cutter.

m2vmp2cut-0.74/VERSION m2vmp2cut-0.76/VERSION
10.74 (2008-08-18) ""10.76 (2008-09-09) ""
22
3$Id: VERSION 2192 2008-08-18 18:21:58Z too $3$Id: VERSION 2195 2008-09-09 17:33:09Z too $
44
5-- use sed -n '1s/ .*//p' VERSION to read version number from this file --5-- use sed -n '1s/ .*//p' VERSION to read version number from this file --

m2vmp2cut-0.74/bin/m2vmp2cut.pl m2vmp2cut-0.76/bin/m2vmp2cut.pl
6# All rights reserved6# All rights reserved
7#7#
8# Created: Sun Sep 05 11:12:24 EEST 2004 too8# Created: Sun Sep 05 11:12:24 EEST 2004 too
9# Last modified: Mon Aug 18 20:44:11 EEST 2008 too9# Last modified: Tue Sep 09 20:05:29 EEST 2008 too
10#10#
11# This program is licensed under the GPL v2. See file COPYING for details.11# This program is licensed under the GPL v2. See file COPYING for details.
1212
376 [ x\$5 = x1 -o x\$7 = x1 ] && fa='file=$wd/enctmp.matrix.$efc' || fa=default376 [ x\$5 = x1 -o x\$7 = x1 ] && fa='file=$wd/enctmp.matrix.$efc' || fa=default
377 [ x\${11} = x0 ] && dc= || dc="-D \${11}"377 [ x\${11} = x0 ] && dc= || dc="-D \${11}"
378378
379 { echo; echo $efc $range $frames $evbr; echo; } >> "$wd/mpeg2enc.out"379 { echo; echo $efc $I $range $frames $evbr; echo; } >> "$wd/mpeg2enc.out"
380380
381 _m2vtoyuv -q \$I $range "$vfile" \\381 _m2vtoyuv -q \$I $range "$vfile" \\
382 | mpeg2enc -f 3 -b $evbr $met -R 2 -K "\$fa" \$dc -s \\382 | mpeg2enc -f 3 -b $evbr $met -R 2 -K "\$fa" \$dc -s \\

m2vmp2cut-0.74/m2vmp2cut m2vmp2cut-0.76/m2vmp2cut
9# Created: Wed Apr 23 19:56:14 EEST 2008 too9# Created: Wed Apr 23 19:56:14 EEST 2008 too
10# Last modified: Mon Jul 21 15:43:46 EEST 2008 too10# Last modified: Mon Jul 21 15:43:46 EEST 2008 too
1111
12ver=0.7412ver=0.76
1313
14case $1 in '') echo; echo m2vmp2cut version $ver ;; esac14case $1 in '') echo; echo m2vmp2cut version $ver ;; esac
1515

m2vmp2cut-0.74/src/m2vtoyuv.c m2vmp2cut-0.76/src/m2vtoyuv.c
20 * All rights reserved20 * All rights reserved
21 *21 *
22 * Created: Fri Feb 08 17:16:45 EET 2008 too22 * Created: Fri Feb 08 17:16:45 EET 2008 too
23 * Last modified: Sun May 04 20:04:02 EEST 2008 too23 * Last modified: Tue Sep 09 20:26:49 EEST 2008 too
24 */24 */
2525
26/* this program is originally based on:26/* this program is originally based on:
390 arg = (++args->argv)[0];390 arg = (++args->argv)[0];
391 if (arg == null)391 if (arg == null)
392 die("Arg #%d, for '-sb' missing", _args_argno(args));392 die("Arg #%d, for '-sb' missing", _args_argno(args));
393 if ( (args->o.offset = atoll(arg)) <= 0)393 if ( (args->o.offset = strtoll(arg, &p, 10)) < 0 ||
394 ( args->o.offset >= 0 && *p != '\0') )
394 die("Arg #%d (%s) for '-sb' not good...", /* XXX */395 die("Arg #%d (%s) for '-sb' not good...", /* XXX */
395 _args_argno(args), arg);396 _args_argno(args), arg);
396 args->state = 2;397 args->state = 2;
397 return ARG_SEEK;398 return ARG_SEEK;
401 if (arg == null)402 if (arg == null)
402 die("Arg #%d, for '-s' missing", _args_argno(args));403 die("Arg #%d, for '-s' missing", _args_argno(args));
403 if (sscanf(arg, "%f", &args->o.sleep) != 1)404 if (sscanf(arg, "%f", &args->o.sleep) != 1)
404 die("Arg #%d (%s) for '-s' not good...", /* XXX */405 die("Arg #%d (%s) for '-s' not good...", /* XXX */
405 _args_argno(args), arg);406 _args_argno(args), arg);
406 args->state = 2;407 args->state = 2;
407 return ARG_SLEEP;408 return ARG_SLEEP;