|
NAMEfwcontrol —
FireWire control utility
SYNOPSIS
DESCRIPTIONThefwcontrol utility is designed to provide a way for
users to access and control the FreeBSD FireWire
subsystem. Without options, fwcontrol will output a
list of devices that are/were connected to the bus.
The following options are available:
FILES
EXAMPLESEach DV frame has a fixed size and it is easy to edit the frame order.fwcontrol -R original.dv Receive a DV stream with DV camera attached. dd if=original.dv of=first.dv
bs=120000 count=30 Get first 30 frames(NTSC). dd if=original.dv of=second.dv
bs=120000 skip=30 count=30 Get second 30 frames(NTSC). cat second.dv first.dv | fwcontrol -S
/dev/stdin Swap first and second 30 frames and send them to DV recorder. For PAL, replace “ fwcontrol -R file.m2t Receive an MPEG TS stream from a camera producing MPEG transport stream. This has been tested with SONY HDR-FX1E camera that produces HD MPEG-2 stream at 25 Mbps bandwidth. To send the stream from the camera over the network using TCP (which surprisingly works better with vlc), you can use fwcontrol -R - | nc 192.168.10.11
9000 netcat from ports and to receive the stream, use
nc -l -p 9000 | vlc - To netcast via UDP, you need to use fwcontrol -R - | nc 192.168.10.11
9000 nc -l -u -p 9000 | buffer -s 10k -b
1000 -m 20m -p 5 | vlc - For more information on how to work with
SEE ALSOmplayer(1), vlc(1), firewire(4), fwe(4), fwip(4), fwohci(4), sbp(4)HISTORYThefwcontrol utility first appeared in
FreeBSD 5.0.
AUTHORSHidetoshi Shimokawa <simokawa@FreeBSD.org>Petr Holub <hopet@ics.muni.cz> (MPEG TS mode) BUGSThis utility is still under development and provided for debugging purposes. Especially MPEG TS reception support is very rudimental and supports only high-bandwidth MPEG-2 streams (fn field in CIP header equals 3).
Visit the GSP FreeBSD Man Page Interface. |