LWN.net Logo

mplayer: -endpos

mplayer: -endpos

Posted May 11, 2006 4:38 UTC (Thu) by ewen (subscriber, #4772)
Parent article: The Grumpy Editor's guide to audio stream grabbers

MPlayer (mplayer and mencoder) has an -endpos argument, which will tell it long it should read/encode from a file or stream. It takes a value in hours:minutes:seconds (and optionally milliseconds).

I've never actually tried this while dumping a network stream to disk (to my recollection), but it definitely works fine for timed duration recording off a TV capture card, and playback/transcoding from a file. If you already have MPlayer installed it may be worth experimenting with that.

Ewen


(Log in to post comments)

Copyright © 2008, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds