mirror of
https://github.com/cyberboy666/r_e_c_u_r.git
synced 2025-12-12 19:30:11 +01:00
Update investigating_live_video_input.md
This commit is contained in:
@@ -80,7 +80,15 @@ following the picamera docs , i will/have :
|
||||
|
||||
first hitch : i enabled the camera in the raspi-config , but it seems like the switching screens driver overrides this , so will have to update this too !
|
||||
|
||||
besides that the preview / different parameters and effects work as expected. next step is to try recording something , converting it to mp4 and playing back on omxplayer
|
||||
besides that the preview / different parameters and effects work as expected. next step is to try recording something , converting it to mp4 and playing back on omxplayer.
|
||||
|
||||
i have installed `sudo apt-get install gpac` and am using `subprocess.Popen` to run the `MP4Box` command from inside python. this way i can poll back into it and map the video only when its finished converting to stop blocking in the meantime. i also updated the display to show when the camera is previewing and recording. this all worked smoother than i expected.
|
||||
|
||||
i also made a (suprizingly small) change to the browser to show the pi's videos folder next to the external devices. this will be useful for using the recordings saved and for copying files onto recurs disk.
|
||||
|
||||
another thing still to think about is how to protect from overfilling the sd card / external storage.
|
||||
|
||||
also displaying info when camera is not attached and catching other types of errors...
|
||||
|
||||
[picamera]: http://picamera.readthedocs.io/en/release-1.0/api.html
|
||||
[faq]: https://picamera.readthedocs.io/en/release-1.13/faq.html
|
||||
|
||||
Reference in New Issue
Block a user