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

Phil Ehrens phil at slug.org
Thu Jan 10 17:30:46 CET 2008


belcampo wrote:
> Phil Ehrens wrote:
> > 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.
>
> That's "not" an option for me, unless I could 'say' in a script cut from 
> 0 - 700 sec. at next I-frame. Next section go to pos. 700, skip to next 
> I-frame forward to pos 1400 and skip to next I-frame. That would do the job.

Avidemux DOES have a cli... But I haven't tried it.
Since it IS designed to be an editor, I would think
it would be usable. Good luck!



More information about the MEncoder-users mailing list