Werner's Miscellanea
Sign in or create your account | Project List | Help
Werner's Miscellanea Git Source Tree
Root/
| 1 | Demo setup |
| 2 | ---------- |
| 3 | |
| 4 | Two Ben NanoNotes. We'll call them ben1 and ben2. Each has an atben |
| 5 | board and the usual software stack (WPAN-enabled kernel with TUN, |
| 6 | lowpan-tools, and ben-wpan's dirtpan.) |
| 7 | |
| 8 | scp ben1 ben1.rmt pex ben1: |
| 9 | scp ben2 pex ben2: |
| 10 | |
| 11 | ben1: |
| 12 | rm -f lease |
| 13 | ./ben1 |
| 14 | |
| 15 | ben2: |
| 16 | ./ben2 |
| 17 | |
| 18 | |
| 19 | Audio and video editing |
| 20 | ----------------------- |
| 21 | |
| 22 | Prerequisites: |
| 23 | |
| 24 | melt 0.5.4 or better (from MLT) |
| 25 | sox |
| 26 | mplayer or equivalent |
| 27 | |
| 28 | # Raw files: the original video recording and and audio track. |
| 29 | # Warning: these files are big. 327 MB for the video, 39 MB for the audio. |
| 30 | |
| 31 | wget http://downloads.qi-hardware.com/people/werner/wpan/tmp/raw/MVI_1374.MOV |
| 32 | wget http://downloads.qi-hardware.com/people/werner/wpan/tmp/raw/p97-3.wav |
| 33 | |
| 34 | # Adjust the speed of the audio track to match the video clip. |
| 35 | # Also reduce the bass a little, to avoid clipping. |
| 36 | # Takes about 335 s on a Q6600 |
| 37 | |
| 38 | sox p97-3.wav p97-3fast.wav speed 1.005 bass -3 |
| 39 | |
| 40 | # Edit the video clip and encode as Theora. |
| 41 | # Takes about 5 min on q Q6600 |
| 42 | |
| 43 | ./edit | sh |
| 44 | |
| 45 | # Play the resulting 18 MB, 209 s video |
| 46 | |
| 47 | mplayer wpan-ipv4.ogg |
| 48 | |
| 49 | The result is on |
| 50 | http://downloads.qi-hardware.com/people/werner/wpan/tmp/wpan-ipv4.ogg |
| 51 |
Branches:
master
