mirror of
git://projects.qi-hardware.com/wernermisc.git
synced 2024-11-15 12:55:20 +02:00
51 lines
1.1 KiB
Plaintext
51 lines
1.1 KiB
Plaintext
|
Demo setup
|
||
|
----------
|
||
|
|
||
|
Two Ben NanoNotes. We'll call them ben1 and ben2. Each has an atben
|
||
|
board and the usual software stack (WPAN-enabled kernel with TUN,
|
||
|
lowpan-tools, and ben-wpan's dirtpan.)
|
||
|
|
||
|
scp ben1 ben1.rmt pex ben1:
|
||
|
scp ben2 pex ben2:
|
||
|
|
||
|
ben1:
|
||
|
rm -f lease
|
||
|
./ben1
|
||
|
|
||
|
ben2:
|
||
|
./ben2
|
||
|
|
||
|
|
||
|
Audio and video editing
|
||
|
-----------------------
|
||
|
|
||
|
Prerequisites:
|
||
|
|
||
|
melt 0.5.4 or better (from MLT)
|
||
|
sox
|
||
|
mplayer or equivalent
|
||
|
|
||
|
# Raw files: the original video recording and and audio track.
|
||
|
# Warning: these files are big. 327 MB for the video, 39 MB for the audio.
|
||
|
|
||
|
wget http://downloads.qi-hardware.com/people/werner/wpan/tmp/raw/MVI_1374.MOV
|
||
|
wget http://downloads.qi-hardware.com/people/werner/wpan/tmp/raw/p97-3.wav
|
||
|
|
||
|
# Adjust the speed of the audio track to match the video clip.
|
||
|
# Also reduce the bass a little, to avoid clipping.
|
||
|
# Takes about 335 s on a Q6600
|
||
|
|
||
|
sox p97-3.wav p97-3fast.wav speed 1.005 bass -3
|
||
|
|
||
|
# Edit the video clip and encode as Theora.
|
||
|
# Takes about 5 min on q Q6600
|
||
|
|
||
|
./edit | sh
|
||
|
|
||
|
# Play the resulting 18 MB, 209 s video
|
||
|
|
||
|
mplayer wpan-ipv4.ogg
|
||
|
|
||
|
The result is on
|
||
|
http://downloads.qi-hardware.com/people/werner/wpan/tmp/wpan-ipv4.ogg
|