From: "J. Roeleveld" <joost@antarean.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] OT: In search of a hint/ides: Loop recording of a webcam
Date: Sat, 06 Sep 2014 20:57:58 +0200 [thread overview]
Message-ID: <fc75c8e6-484a-4780-be28-2fc3f708a5dc@email.android.com> (raw)
In-Reply-To: <20140906125933.GA3822@solfire>
On 6 September 2014 14:59:34 CEST, meino.cramer@gmx.de wrote:
>Hi,
>
>may be the software I am looking for already exists of
>can easily created by plugging together already existing pieces:
>
>With a Logitech c920 webcam (Full HD) I plan to record birds on
>my roof.
>I need to record "everything": Starting from the birds landing
>on the roof until the fligh away again.
>
>Since the camera delivers Full HD video AND I need the "complete
>movie" of the bird motion detection is not suitable here: Decoding
>analyzing and reencoding in case of recording would take to much
>horsepower...
>
>But
>Normally I will recogize the birds after the landed on the roof.
>
>My idea is to do something like loop recoording:
>The stream is cut into pieces of 5 minutes length.
>
>If I dont hit "ENTER" (or something similar) the previously recorded
>piece of video gets delted after the current one has been completly
>recorded.
>
>If I hit ENTER no deletion is performed until I hit ENTER again.
>
>I already have a script hacked together with a gst-launch command,
>which is able to fetch the Full HD hardware encoded stream from
>the C920 and put it on the harddisk.
>
>But I failed in creating a script which allows me to simultanously
>watch the material which gets recorded just in the same moment.
>
>Is there any software or script or <fill in something appropiate here>
>which does this loop recording as described above AND is able to pull
>the Full HD stream correctly from the C920?
>
>Where can I proceed?
>
>Thank you very much in advance for any help!
>Best regards and have a nice weekend!
>mcc
A very long time ago (around 1999) I wrote a simple tool that allowed me to have 2 normal clients access the same stream.
It consisted of a simple V4L client tool that hooked I to /dev/video0 and copied all the data to /dev/video1 and /dev/video3.
I then had a kernel module taking the data from /dev/video1 and outputting it to /dev/video2 (and same for 3 and 4).
This did work back then. To allow motion to work on video2 and a streaming webcam on a public website on video4.
Something similar might exist for V4L2.
--
Joost
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
prev parent reply other threads:[~2014-09-06 18:58 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-06 12:59 [gentoo-user] OT: In search of a hint/ides: Loop recording of a webcam meino.cramer
2014-09-06 14:48 ` Neil Bothwick
2014-09-06 15:56 ` meino.cramer
2014-09-07 8:23 ` Neil Bothwick
2014-09-07 16:22 ` meino.cramer
2014-09-07 16:43 ` Neil Bothwick
2014-09-06 18:57 ` J. Roeleveld [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=fc75c8e6-484a-4780-be28-2fc3f708a5dc@email.android.com \
--to=joost@antarean.org \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox