The following options are available:
PRIORITY_BUDGET
register on all supported nodes.
sysctl hw.ieee1394if.try_bmr=0
fwctl -r
The resulting file contains raw DV data excluding isochronous header
and CIP header.
It can be handled by the
pkgsrc/multimedia/libdv
package.
Resulting MPEG TS stream can be played and sent over a network using
the VideoLAN
vlc
tool in the
FreeBSD
Ports Collection. The stream can be piped directly to
vlc,
see EXAMPLES.
RESET_START
register on the node.
/dev/fw0.0
fwctl -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 | fwctl -S /dev/stdin
Swap first and second 30 frames and send them to DV recorder.
For PAL, replace
``bs=120000
''
with
``bs=144000
''.
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
supprisingly works better with vlc), you can use
fwcontrol -R - | nc 192.168.10.11 9000
with
netcat
from ports and to receive the stream, use
nc
-l
-p
9000
|
vlc
-
To netcast via UDP, you need to use
buffer
program from ports, since vlc is not fast enough to read UDP packets from
buffers and thus it experiences dropouts when run directly. The sending side
can use
fwcontrol -R - | nc 192.168.10.11 9000
and to receive the stream, use
nc
-l
-u
-p
9000
|
buffer
-s
10k
-b
1000
-m
20m
-p
5
|
vlc
-
For more information on how to work with vlc see its docs.