raspberrypi / userland

Source code for ARM side libraries for interfacing to Raspberry Pi GPU.
BSD 3-Clause "New" or "Revised" License
2.05k stars 1.09k forks source link

Idea: control raspivid by I/O pins #573

Open lenzp opened 5 years ago

lenzp commented 5 years ago

I want to suggest to make raspivid work without a keyboard as a "stand alone videocamera". Therefore it should be made possible to connect a switch/button to one of the input pins which toggles between RECORD and PAUSE. It would be also very nice if the level of one of the output pins would show the state "recording/waiting".

pelwell commented 5 years ago

The "Unix" way (i.e. solving complex problems using a collection of utilities that do one thing well) would be to create a companion app (a Python script would do the job) that starts raspivid and feeds it keystrokes based on GPIO signals.