m2v mp2 cut

[ICO]NameLast modifiedSizeDescription

[DIR]Parent Directory  -
[TXT]ANNOUNCE09-Sep-2008 17:33 3.4K
[TXT]COPYING13-Jan-2006 21:43 18K
[   ]HISTORY09-Sep-2008 17:33 104K
[TXT]diff-0.63-0.65.html26-May-2008 19:59 55K
[TXT]diff-0.65-0.67.html25-Jul-2008 12:55 187K
[TXT]diff-0.67-0.68.html27-Jul-2008 10:26 27K
[TXT]diff-0.68-0.72.html30-Jul-2008 08:21 20K
[TXT]diff-0.72-0.74.html18-Aug-2008 18:26 61K
[TXT]diff-0.74-0.76.html09-Sep-2008 17:36 15K
[TXT]diffa.sh04-May-2009 20:23 4.4K
[   ]dvdatool29-Sep-2007 15:32 4.3K
[IMG]m2vcut-gui.jpg13-May-2008 05:58 46K
[IMG]m2vcut-gui0.jpg13-May-2008 06:02 18K
[   ]m2vmp2cut-0.62.tar.gz22-Feb-2007 21:27 49K
[   ]m2vmp2cut-0.63-dev.tar.gz12-May-2008 04:51 64K
[   ]m2vmp2cut-0.65-dev.tar.gz26-May-2008 19:59 78K
[   ]m2vmp2cut-0.67-dev.tar.gz25-Jul-2008 12:54 86K
[   ]m2vmp2cut-0.68.tar.gz27-Jul-2008 10:26 86K
[   ]m2vmp2cut-0.72.tar.gz30-Jul-2008 08:21 86K
[   ]m2vmp2cut-0.74.tar.gz18-Aug-2008 18:22 91K
[   ]m2vmp2cut-0.76.tar.gz09-Sep-2008 17:35 91K
[DIR]m2vmp2cut-0.76/09-Sep-2008 17:33 -
[   ]m2vmp2cut-0.77-dev.tar.gz09-Feb-2009 20:50 97K
[   ]m2vmp2cut-0.79-dev.tar.gz21-Nov-2009 10:26 97K
[DIR]m2vmp2cut-snapshots/18-Aug-2008 08:17 -
[TXT]mpeg2info.c25-Jan-2006 14:25 36K
[TXT]pxsup2dast.c09-Aug-2009 09:05 25K
[TXT]pxsup2dast.py25-Jan-2006 14:25 12K
[   ]simpletscut.pl01-Aug-2006 06:42 2.8K

Current release: 0.76

Changes since 0.74:

Changes since 0.72: Changes since 0.68: Changes since 0.67-dev: Changes since 0.65-dev: Changes since 0.63-dev: Changes since 0.62: Changes since 0.58: Changes since 0.56: Changes since 0.54: Changes since 0.42:
Last committed: $Id: README 2068 2008-05-11 17:04:13Z too $

README for m2vmp2cut 0.63:

m2vmp2cut is frame accurate (currently PAL) mpeg2 video (m2v file)
with accompanied mp2 audio (mp2 file) cutter.

Frame accuracy is achieved by re-encoding video around cutpoints.

Audio is cut from separate mp2 file at positions that keep a/v sync
as good as possible (maximum sync difference is around 10-15 milliseconds).

This program is licensed under the GPL v2. See file COPYING for details.


Usually before using this software mpeg file needs to be demuxed first
to separate mpeg video and mp2 audio files -- we come to that below.

REQUIREMENTS:

mjpegtools	-- for mpeg2enc and mplex tools
ProjecX (project-x.sourceforge.net) -- to demux source mpeg files
Java runtime    -- to run ProjectX

perl		-- m2vmp2cut.pl (run frontend) is written in perl
python		-- some m2vmp2cut utilities are written in python
bash/ksh	-- /bin/sh may not be good enough for some shell script 
		   constructs used.

C compiler	-- there are some C utilities that needs to be compiled.
Java Compiler   -- if you need to compile ProjectX

STRONGLY RECOMMENDED:

transcode	-- for requantize option



(Other than ProjecX) Demux Tools (: (not used here (anymore))
mpgtx
replex
tcextract
mplayer (dumpaudio/dumpvideo?)


USAGE:

Run 'm2vmp2cut help' to get more usage information.


WHY LIKE THIS:

Cutting demuxed files instead of mpeg2 file that has both audio and video
is done since:

1) Handling demuxed video file is easier; no messing with PTS, DTS and SCR
   and so on (I saved development time).

2) I can't compete with such a good tool as ProjectX to get stuff out
   of mpeg2 files.

3) Cutting separate audio and video files yields much better results cutting
   audio and video on right places (near-perfect A/V sync if original has
   so), for example using 48KHz 224 kbit mp2 files one 672 byte audio frame
   contains 24ms of audio -- so A/V sync is at max 12ms off. If doing 
   'hard-cuts' in (multiplexed) mpeg2 files 1) audio packets contains like
   2.6 audio frames and 2) audio packets might be far off in the file 
   the video packets with time close to each other...


Tools that helped to find out required information (Thanks to the authors!):

gopchop mpegcat tool
bbtool17-2-linux
dvb-mpegtools analyze
google searches: `mpeghdrs.html' (video) and `mpeghdr.htm' (audio)
google search: `python_mpeg'