[MPlayer-users] Precise seeking / video cutting
Sam Wong
sam at hellosam.net
Tue Apr 10 06:15:27 CEST 2007
I am trying to use -ss and -endpos to extract a section of video. But it
looks like -ss will only seek to the keyframes?
I was thinking if it's possible to seek to the nearest eariler keyframe and
start decoding from there, and start encoding only at the point I want to. I
thought -hr-edl-seek is the magicword for that but the reality condicts to
my belief =P.
So my question is: Any way to do accurate -ss seek like `transcode'? (But I
need the wide codec support of mplayer and does mind decoding from the very
beginning of the movie)
I know that probably requires some coding if it's not already implemented.
I have thought a workaround, is to first encode the section of video into
some more native format that has I-Frame everywhere, pipe to another
mencoder and use -ss and -endpos again to get a accurate cut. However, this
works only if -ss give me what exact time point it has seeked to...and I
have trouble to get this piece of information.
My second questios is: Is there any switch so that I could know where -ss
has actually seeked to?
Thanks a lot,
Sam
More information about the MPlayer-users
mailing list