[MEncoder-users] accuracy of -ss -endpos function

Phil Ehrens phil at slug.org
Thu Jan 10 17:06:00 CET 2008


belcampo wrote:
> Hi all,
> 
> I'm using the -ss -endpos function but results in a/v sync problem, the 
> v-part got bigger after putting the parts together.
> 
> What I did
> mencoder sourcefile -nosound -noskip -mc 0 -ovc x264  -x264encopts ..... 
> -of rawvideo -o destination.h264
> 
> results in Duration 00:28:56.960
> 
> mencoder sourcefile -nosound -noskip -mc 0 -ovc x264  -x264encopts ..... 
> -of rawvideo -o part0.h264 -endpos 350
> mencoder sourcefile -nosound -noskip -mc 0 -ovc x264  -x264encopts ..... 
> -of rawvideo -o part1.h264 -ss 350 endpos 350
> mencoder sourcefile -nosound -noskip -mc 0 -ovc x264  -x264encopts ..... 
> -of rawvideo -o part2.h264 -ss 700 endpos 350
> mencoder sourcefile -nosound -noskip -mc 0 -ovc x264  -x264encopts ..... 
> -of rawvideo -o part3.h264 -ss 1050 endpos 350
> mencoder sourcefile -nosound -noskip -mc 0 -ovc x264  -x264encopts ..... 
> -of rawvideo -o part4.h264 -ss 1400 endpos 350
> cat part0.h264 part1.h264 part2.h264 part3.h264 part4.h264 > part01234.h264
> results in Duration 00:29:07.520
> 
> Every cut added (67.52 - 56.96) / 5 = > 2 sec.

Right. Cuts can only be made at keyframes.
You might want to take a look at avidemux if
you are going to be doing a lot of editing.



More information about the MEncoder-users mailing list