# HG changeset patch # User diego # Date 1067823904 0 # Node ID 3d38013edd45f7465bf9fcd8b6bb1830dd809a8d # Parent 23cb5b69113d716e773d10d66d539401fe65fc62 Export audio filter documentation by Gustavo Sverzut Barbieri , cleaned up by me. diff -r 23cb5b69113d -r 3d38013edd45 DOCS/man/en/mplayer.1 --- a/DOCS/man/en/mplayer.1 Mon Nov 03 01:20:51 2003 +0000 +++ b/DOCS/man/en/mplayer.1 Mon Nov 03 01:45:04 2003 +0000 @@ -2024,6 +2024,13 @@ Delays the sound output. Specify the delay separately for each channel in milliseconds (floating point number between 0 and 1000). +.IPs export[=mmapped_file[:nsamples]] +Exports the incoming signal to other processes using memory mapping (mmap()). +.RSss +mmapped_file: File to map data to (default: ~/.mplayer/mplayer-af_export). +.br +nsamples: number of samples per channel (default: 512) +.REss .RE . .TP diff -r 23cb5b69113d -r 3d38013edd45 DOCS/xml/en/audio.xml --- a/DOCS/xml/en/audio.xml Mon Nov 03 01:20:51 2003 +0000 +++ b/DOCS/xml/en/audio.xml Mon Nov 03 01:45:04 2003 +0000 @@ -942,6 +942,47 @@ rear speakers. + + +Audio Exporter + +This audio filter exports the incoming signal to other processes using memory +mapping (mmap()). Memory mapped areas contain a header: + + +int nch /*number of channels*/ +int size /*buffer size*/ +unsigned long long counter /*Used to keep sync, it's updated + every time new data is exported.*/ + + +The rest is payload (non-interleaved) 16bit data. + + + + + + +The file you want this filter to export to. The default is to map to +~/.mplayer/mplayer-af_export. + + + + + + +Number of samples per channel. The default is 512 samples. + + + + + +Example: +mplayer -af export=/tmp/mplayer-af_export:1024 media.avi +would export 1024 samples per channel to /tmp/mplayer-af_export. + + +