This resolves issue 3. DSKs can be specified on the command line to playoutd, via the '-d', '--dsk' options. Automatic DSKs to be selected with a camera can be specified with the '-a' option. The first '-a' option sets the automatic DSK for the first buffer, and so on.
This resolves issue 5. A mark_playout( ) command has been added. This function is activated with the 'i' key and allows the mark to be set to the current playout position.
work on new feature in issue 5... this will enable a cut+rewind to rewind somewhere other than the original mark.
This resolves issue 7. Preroll is now applied to current timecode to get the mark (which is the playout start). Previously, preroll was applied to the mark at cue time to get the playout start.
The child process exited after only one iteration of the for loop due to a misplaced curly brace. This patch fixes the issue.
DSK toggle is now <number>k instead of just k. The DSK indicator shows the status of DSK 0 for now.
This will allow e.g. super-motion or reverse-angle graphics to take the place of the standard "Instant Replay" graphic.
also go to 32 buffers in v4l2_ingest. This should eliminate nearly all risk of buffer overrun.
this is needed for the userland buffering scheme to work
V4L2 now streams directly into a Picture structure, instead of into a temporary buffer. This also allows more buffers to be used.
Tested this code during a hockey broadcast: RPI vs. Brown, 1-29-2011. Therefore, it's no longer "untested", though still "alpha". :) Conflicts: README
Kyle and Reilly of RPI TV are convinced that the 100% speed replays are in fact running at more than 100% speed. I am not sure whether running replay of a clock next to my wristwatch convinced them otherwise (they matched exactly). But I do agree with them that the 100% speed replays look ugly. So the new default is to not change speed on a cut.
this captures directly from a DeckLink capture card into the MJPEG codec. This eliminates some memory copying.
This should make the git repo somewhat cleaner.
Pictures are now reference-counted objects. The free list has been eliminated, it caused more headaches than it was worth. The output adapter may now keep references to pictures, making callback-driven output adapters simpler to write. *cough*Decklink*cough*. This should mean that Decklink output will not continue to freeze at random intervals.
this enables more accurate live-cut replay
The Decklink drivers deal very poorly with a buffer underrun situation. This workaround will just repeat frames if there are none ready.
right now there is one hard-coded DSK ("instantreplay_title.png"). This DSK can be brought up by using the "k" key in sdl_gui.
now using cairo instead (see picture.cpp)
text rendering now works (though font is wrong) also added vaguely generic overlay-blit and PNG load code to picture.cpp (this should allow DSK type functionality in the future)
An ugly kludge was perpetrated to make this happen. StdoutOutput in this state is not suitable for purposes other than testing.