Log in

View Full Version : Cut MPEG2 accurately


bigcat
8th March 2007, 08:13
Hello/ I spent months trying to find utilities which can cut MPEG2 streams without reencoding. And i've found them. You see, i have tons of DVD video which i need to cut (mostly ads) and reencoding is not an option. Those videos were recorded from TV.
All the utilities i found for cutting MPEG2 video work the same way: to cut a fragment, first the "in" point should be selected which must be an I-frame, and then the "out" point. Standard DVD-video structure (as i remember) looks like this: IBBPBBPBBPI... So if an ad starts at the middle B or P frame, then the utility either cuts about 4 frames from video source or leaves 4 frames from the ad. I know that VideoReDo allows to set the "in" point at any frame; but the resulting video contains artefacts (at about 3 frames) in edition points. The most interesting thing is that my DVD recorder can edit recorded MPEG2 video, and finalized DVD with it looks fine. But using it for cutting huge amount of video is not an option, too.
Is there any possible way to accurately cut MPEG2 stream without reencoding it?

sujit
8th March 2007, 08:44
how abt DGIndex?

Mazer Rackham
8th March 2007, 08:54
My choice: Cuttermaran (http://www.cuttermaran.de).

CWR03
8th March 2007, 08:56
Is there any possible way to accurately cut MPEG2 stream without reencoding it?
No, for the very reasons you cited. The methods you mentioned both entail reencoding.

Mazer Rackham
8th March 2007, 09:19
Cuttermaran just reencodes the cuts.

bigcat
8th March 2007, 09:38
No, for the very reasons you cited. The methods you mentioned both entail reencoding.
And how does my DVD-recorder do that in just a few seconds? That's confusing...

I knew you'd say that. I was thinking of a very stupid idea (i'm just a newbie!!!) of converting particular p- and b-frames to i-frames and then cutting. This is not very possible, isn't it. VideoReDo, as i said, with "Frame accurate" setting produces video containing artefacts. But it's viewable on DVD player without any! And when i load it into Cuttermaran, choose the whole timeline and save, the resulting video doesn't have artefacts! Why is there no similar freeware app? What else i could wish. Thx4Hlp.