mirror of
git://projects.qi-hardware.com/wernermisc.git
synced 2025-04-21 12:27:27 +03:00
mlt/wpan-ipv4/: demo setup and editing process for the wpan-ipv4 video
This commit is contained in:
50
mlt/wpan-ipv4/README
Normal file
50
mlt/wpan-ipv4/README
Normal file
@@ -0,0 +1,50 @@
|
||||
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
|
||||
Reference in New Issue
Block a user