Changes between Version 3 and Version 4 of Capture/Lightning
- Timestamp:
- May 3, 2014, 2:39:40 AM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Capture/Lightning
v3 v4 1 1 [[PageOutline(1-100,Contents)]] 2 2 3 = The problem=3 == The problem == 4 4 5 5 This 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. 6 6 7 = The ideal solution=7 == The ideal solution == 8 8 9 9 But 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. … … 26 26 Now, 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. 27 27 28 = The actual solution=28 == The actual solution == 29 29 30 30 The 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. … … 45 45 }}} 46 46 47 = Download=47 == Download == 48 48 49 49 The source code of the modified Samplicator tool can be found here: [http://ffmpeg.gusari.org/uploads/samplicator-1.3.6-z.tar.gz]
