[MPlayer-users] feature-request: splitting, keyframe-times

gabor gabor at realtime.sk
Tue Jun 18 00:10:02 CEST 2002


after i have split 12 files :-(,
i found the answers....

so if mencoder -ss 12:23,

then it begins from the first keyframe AFTER 12:23.

and it's a real pain to split :-(

this is one place where virtualdub ( a windows encoder ) shines,
because of it's gui....

in virtualdub if i want to save a part of the file, i simply select
the begin and end at keyframes... i can move the movie forward and back 
at the keyframes, and i simply select the begin/end when i need to...

in the case of mencoder i watch the movie, and write down that i want a 
part that begins at 12:23.

now i issue mencoder -ss 12:23, and find that it begins at 12:28 ( 
because there is the first keyframe after 12:23 ).
so i try mencoder -ss 12:22, then -ss 12:21, then 12:20 etc... (or i can 
do a binary-search :-)

i know that this works like that because mencoder is a command line 
application ( and i like it that way),
i only want to say that maybe this could be implemented in a better way...
if there would be an easier way to select a keyframe....

even a -dumpkeyframetimes option would help, which would write to stdout 
( or to a file ) the keyframe-times, like:
"
1
11
22
.
.
12:22
12:23
" or something like that.

thanks,
gabor

p.s: i'm NOT saying that virtualdub is better ( actually i think it's 
much worse than mplayer :-) i only try some constructive critique :-)))

gabor wrote:
 > [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
 > ok, i always wanted to know this ...
 >
 > so let's say i use -sb xyz
 >
 > now what if xyz is a place between two keyframes?
 > will the movie begin at the exact position ( between keyframes ?)?
 > or will it begin at a keyframe? which one? prev? next?
 >
 > btw. maybe it would be a good idea to give constistent name to
 > parameters, because -sb, -ss, -endpos.... well.. :-)




More information about the MPlayer-users mailing list