[MEncoder-users] Spit files -ss

Giacomo Comes comes at naic.edu
Tue Jan 16 16:45:12 CET 2007


On Tue, Jan 16, 2007 at 11:37:04AM +0100, Mike Petersen wrote:
> Thanks for the quick reply.
> Do you know any programm that can do exact cuts (the endtime is also too
> long sometimes), but it has to be a command line tool under linux...
> It's sometimes much more than a few seconds if i watch a movie and
> select -ss 13:00 it goes to 15:16!! and i think that is way off...

Do not top post otherwise you will get ignored and/or flamed.

Try enocde2mpeglight included in the TOOLS directory of the mplayer
source. It has an option called -split <N> that will split the mpeg
in chunks of N MB. Look at the source in order to see how it works.

Ciao
Giacomo

> Nitin Jain schrieb:
> > No, the "precision" in length/position is not possible in the sense of
> > bytes or time. Encoding is terminated at the closest frame boundary,
> > which means you would've a few bytes or seconds extra (or less).
> >
> > -nj
> >
> > On 1/16/07, Mike Petersen <mpetersen at exitec.de> wrote:
> >> Hi,
> >> i like to split files at a given position. So I use :
> >>
> >> mencoder -ovc copy -oac copy -idx -audio-preload 0.0 -mc 0 -hr-edl-seek
> >> -ss 20 -endpos 420 -o out.wmv video.wmv
> >>
> >> But the position is off. This is also mentioned in several over posts,
> >> but nothing I found helped. The -hr-edl-seek has written in the docs :
> >> "NOTE: Not guaranteed to work right with '?$B!]ovc copy'."
> >>
> >> So my question is there a way to split the movie at an exact position
> >> (for an exact length) by using -ovc copy ?



More information about the MEncoder-users mailing list