Marc Santhoff <M.Santhoff(at)t-online.de> wrote:
> Ich möchte mit mplayer vom bktr-Treiber gleichzeitig aufzeichnen und
> gucken, also ein Bild angezeigt bekommen. Der aufzuzeichnende Datenstrom
> soll später mal durch ein weiteres Filterprogramm ge"piped" werden.
>
> Die Anleitung zu mplayer war nicht sehr erhellend bzw. habe ich keine
> Info darüber gefunden (zwei Ausgabe-Devices?), wie das zu packen ist.
>
> Weiß jemand wie?
Ich würde es mit UNIX-Bordmitteln versuchen, sprich, mit
tee(1) und FIFOs (named pipes).
rm -f stream.dump
mkfifo stream.dump
tee aufzeichnungsdatei < stream.dump | mplayer [Optionen zum Apspielen] &
mplayer -dumpstream [sonstige Optionen zum Aufnehmen]
Das war jetzt nur ein grobes Strickmuster, und ich habe das
in Verbindung mit bktr noch nicht selbst ausprobiert, aber
prinzipiell sollte das gehen.
Gruß
Olli
-- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing Dienstleistungen mit Schwerpunkt FreeBSD: http://www.secnetix.de/bsd Any opinions expressed in this message may be personal to the author and may not necessarily reflect the opinions of secnetix in any way. "IRIX is about as stable as a one-legged drunk with hypothermia in a four-hundred mile per hour wind, balancing on a banana peel on a greased cookie sheet -- when someone throws him an elephant with bad breath and a worse temper." -- Ralf Hildebrandt To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org with "unsubscribe de-bsd-questions" in the body of the messageReceived on Mon 21 Nov 2005 - 17:52:42 CET