m2v mp2 cut

[ICO]NameLast modifiedSizeDescription

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