[MPlayer-users] -ss and -frames doesn't work if there is -dumpstream for mplayer

The Wanderer inverseparadox at comcast.net
Sun Apr 17 10:24:08 CEST 2005


Bo Xie wrote:

> Hi,
> 
> I use "mplayer -ss 00:05:00 -frames 100 dvd://1" and it works well.
> But when I use "mplayer -ss 00:05:00 -frames 100 dvd://1
> -dumpstream", the result stream.dump begins with 00:00:00(I mean -ss
> and -frames doesn't work). How to let -ss and -frames work with
> -dumpstream? AFAIK, -chapter works well with -dumpstream.
> 
> Looking forward to your reply! Thank you!

-dumpstream overrides most other options; to the best of my knowledge,
it always dumps the entire stream. Certainly it is not possible to begin
the dump anywhere but the beginning of the stream; it should be possible
to end the dump before the end of the stream, provided that you do so
manually (i.e. by killing the MPlayer process), but there's no guarantee
the result will be correct.

Once you've dumped the stream, you can use MEncoder with -ss and -endpos
(or -frames) in combination with -of mpeg, -ovc copy and -oac copy to
produce something resembling the desired result, but it will not be
exact.

The most likely reason why it would work with -chapter is because each
chapter is AFAIK in fact a separate VOB, and as such constitutes a
different original stream; each stream can of course be dumped
separately. (The alternate explanation which springs to mind has to do
with IFO files and doesn't seem too likely to be correct.)

-- 
       The Wanderer, talking through his hat

Warning: Simply because I argue an issue does not mean I agree with any
side of it.

A government exists to serve its citizens, not to control them.




More information about the MPlayer-users mailing list