[MEncoder-users] cutting mpeg-2
pawlaczus at yahoo.com
Mon Dec 3 18:23:55 CET 2007
> > Hello
> > I have the mpeg-2 file and want to cut it without
> > decompressing it. The I-frame cut resolution suits
> > I use the following command:
> > mencoder -ss 0 endpos 10 -ovc copy -oac copy
> > source.mpg -o result.mpg
> > The result.mpg contains exactly 10 seconds from
> > beginning of the source.mpg.
> > I found that a few frames around frame nr 50 have
> > strange rectangles, they are a bit distored.
> > I tried to cut the movie in other arbitrary
> > and had always the same distored frames at around
> > 50th.
> > How can I cut the movie with mencoder without need
> > decompress it.
> > thank You for help.
> Adding -mc 0 should fix your problem.
Thanks a lot. Indeed it solved the problem :)
but I found that 3 first frames are blank, 4th and 5th
is a bit distorted and the remaining ones are OK.
Doesn't matter whether I cut it at the beginning or in
the middle of the movie.
I think that's because I use the "-ss <sec>" mencoder
option to select the cut point.
I should cut it at exactly the I-frame.
How to locate the closest I-frame ?
How to cut at the exact I-frame ?
thank You for help
Be a better pen pal.
Text or chat with friends inside Yahoo! Mail. See how. http://overview.mail.yahoo.com/
More information about the MEncoder-users