[MEncoder-users] cutting mpeg-2

Giacomo Comes comes at naic.edu
Sun Dec 2 19:08:23 CET 2007

On Sun, Dec 02, 2007 at 09:13:17AM -0800, Pawel K wrote:
> Hello
> I have the mpeg-2 file and want to cut it without
> decompressing it. The I-frame cut resolution suits me.
> 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 the
> 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 locations
> and had always the same distored frames at around
> 50th.
> How can I cut the movie with mencoder without need to
> decompress it.
> thank You for help.

Adding -mc 0 should fix your problem.


More information about the MEncoder-users mailing list