Changes between Version 3 and Version 4 of Capture/Lightning


Ignore:
Timestamp:
May 3, 2014, 5:39:40 AM (3 years ago)
Author:
Timothy_Gu
Comment:

Change heading level

Legend:

Unmodified
Added
Removed
Modified
  • Capture/Lightning

    v3 v4  
    11[[PageOutline(1-100,Contents)]] 
    22 
    3 = The problem = 
     3== The problem == 
    44 
    55This is a funny tutorial that describes one of the ways you can capture a lightning, during storms. The problem with a lightning capturing is that it happens at a random time interval and lasts for a brief moment of time, so it is very tricky to capture it easily. The usual way is to record the sky continuously for a longer time period and later to edit the recording and cut the pieces where the lightning happened or using some hi-tech expensive cameras, that can do all this for you. 
    66 
    7 = The ideal solution = 
     7== The ideal solution == 
    88 
    99But let's do this in a cheap and easy way. What we need is to capture the video of the sky continuously and to save a video only when a lightning happens. We can accomplish this by using "buffered capturing". Consider the following example. 
     
    2626Now, this all looks great, except FFmpeg doesn't have (yet) a "-delay <seconds>" option, which will buffer and delay the output for specified number of seconds. If you are interested in a discussion about the "-delay" option in ffmpeg, please [http://ffmpeg.org/trac/ffmpeg/ticket/1753 read this ticket]. I hope this will be implemented soon, but until then, we can use another tool, which can do what we need. 
    2727 
    28 = The actual solution = 
     28== The actual solution == 
    2929 
    3030The tool we will use is a modified version of [http://code.google.com/p/samplicator/ Samplicator tool] which "Sends copies of (UDP) datagrams to multiple receivers". The modified version of this tool has a feature added that allows Samplicator to delay its output UDP stream for some time. 
     
    4545}}} 
    4646 
    47 = Download = 
     47== Download == 
    4848 
    4949The source code of the modified Samplicator tool can be found here: [http://ffmpeg.gusari.org/uploads/samplicator-1.3.6-z.tar.gz]