diff options
author | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2010-11-02 03:17:41 +0200 |
---|---|---|
committer | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2010-11-02 07:48:31 +0200 |
commit | 3cb3bbbddc1d09dab1471a3630f1a9aa4392ed50 (patch) | |
tree | 4989a29dbae266e0bb83bddca9fcdef1058c4a17 /DOCS/man | |
parent | 2be10f22b24712b959fa2883a4dcfa7caf72ab79 (diff) | |
download | mpv-3cb3bbbddc1d09dab1471a3630f1a9aa4392ed50.tar.bz2 mpv-3cb3bbbddc1d09dab1471a3630f1a9aa4392ed50.tar.xz |
Add a simple capture feature (-capture)
If a specified key is pressed during playback, the current stream is
captured to a file, similar to what -dumpstream achieves.
original patch by Pásztor Szilárd, don tricon hu
Taken from the following svn commits, but with several fixes and
modifications (one obvious user-visible difference is that the default
key binding is 'C', not 'c'):
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32524 b3059339-0415-0410-9bf9-f77b7e298cf2
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32529 b3059339-0415-0410-9bf9-f77b7e298cf2
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32530 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'DOCS/man')
-rw-r--r-- | DOCS/man/en/mplayer.1 | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/DOCS/man/en/mplayer.1 b/DOCS/man/en/mplayer.1 index 7d246a6a25..246b212532 100644 --- a/DOCS/man/en/mplayer.1 +++ b/DOCS/man/en/mplayer.1 @@ -273,6 +273,8 @@ Toggle displaying "forced subtitles". Toggle subtitle alignment: top / middle / bottom. .IPs "x and z" Adjust subtitle delay by +/\- 0.1 seconds. +.IPs "C (\-capture only)" +Start/stop capturing the primary stream. .IPs "r and t" Move subtitles up/down. .IPs "i (\-edlout mode only)" @@ -1248,6 +1250,18 @@ from the current position, MPlayer will wait for the cache to be filled to this position rather than performing a stream seek (default: 50). . .TP +.B \-capture (MPlayer only) +Allows capturing the primary stream (not additional audio tracks or other +kind of streams) into the file specified by \-dumpfile or \"stream.dump\" +by default. +If this option is given, capturing can be started and stopped by pressing +the key bound to this function (see section INTERACTIVE CONTROL). +Same as for \-dumpstream, this will likely not produce usable results for +anything else than MPEG streams. +Note that, due to cache latencies, captured data may begin and end +somewhat delayed compared to what you see displayed. +. +.TP .B \-cdda <option1:option2> (CDDA only) This option can be used to tune the CD Audio reading feature of MPlayer. .sp 1 @@ -1379,7 +1393,8 @@ on the command line only the last one will work. .TP .B \-dumpfile <filename> (MPlayer only) Specify which file MPlayer should dump to. -Should be used together with \-dumpaudio / \-dumpvideo / \-dumpstream. +Should be used together with \-dumpaudio / \-dumpvideo / \-dumpstream / +\-capture. . .TP .B \-dumpstream (MPlayer only) |