After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 498030 - when recording a video show *Rec on the screen
when recording a video show *Rec on the screen
Status: RESOLVED OBSOLETE
Product: cheese
Classification: Applications
Component: general
git master
Other Linux
: Normal enhancement
: ---
Assigned To: Cheese Maintainer(s)
Cheese Maintainer(s)
Depends on:
Blocks: 599729
 
 
Reported: 2007-11-18 22:37 UTC by daniel g. siegel
Modified: 2020-11-12 07:12 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
CheeseWindow: display a red '*REC' while recording (3.18 KB, patch)
2011-03-29 22:56 UTC, Raluca-Elena Podiuc
none Details | Review

Description daniel g. siegel 2007-11-18 22:37:59 UTC
cheese should show something like a clapperboard or a red point with "REC" to show the user, that we are recording
Comment 1 Jaap A. Haitsma 2007-11-18 23:34:41 UTC
Updated summary
Comment 2 Felix Kaser 2008-08-06 07:58:25 UTC
We should change the priority of this bug! I'm working on the fullscreen mode at the moment, and there you will not know if you are recording or not without the red-point thing or something similar!

I have no idea how this could be done....but probably someone has?!
Comment 3 John McHugh 2008-11-05 20:10:29 UTC
would be possible with the new effects being worked on as far as I know. I cant remember the name of it but its the one which takes images of borders and layers it over the video, I would assume a similar method can be used to add a REC to the corner of the screen.
Comment 4 Bastien Nocera 2009-11-30 19:10:06 UTC
videomixer with a gdkpixbufdec source should do it.
Comment 5 Filippo Argiolas 2009-12-02 10:15:21 UTC
(In reply to comment #4)
> videomixer with a gdkpixbufdec source should do it.

It's a bit tricky to make the image persistent though. filesrc outputs just a frame, we need to manually implement some kind of looping, as far as I know there is no gstreamer element for this. I think multifilesrc could be easily extended to support a loop property too.
Comment 6 Filippo Argiolas 2009-12-02 11:00:07 UTC
(In reply to comment #5)
> (In reply to comment #4)
> > videomixer with a gdkpixbufdec source should do it.
> 
> It's a bit tricky to make the image persistent though. filesrc outputs just a

Ok forget it, multifilesrc can already do it! So, who wants to implement it? Felix?

Here's little hint to start:
gst-launch-0.10 multifilesrc location="rec.png" "caps=image/png, framerate=\(fraction\)30/1" ! pngdec ! alphacolor ! ffmpegcolorspace ! videobox border-alpha=0 alpha=0.8 top=-10 left=-270 ! videomixer name=m ! ffmpegcolorspace ! autovideosink videotestsrc ! video/x-raw-yuv, width=320, height=240 ! m.
Comment 7 Felix Kaser 2009-12-02 11:03:26 UTC
I'm quite busy at the moment, but I can see what I can do!

if somebody else wants to do it, feel free to do so :)
Comment 8 Raluca-Elena Podiuc 2011-03-29 22:54:18 UTC
I tried with "gst-launch -v videotestsrc ! ffmpegcolorspace ! rsvgoverlay
location=/home/mimi/Desktop/rec.svg fit-to-frame=FALSE !
ffmpegcolorspace ! autovideosink", but then fujii_ on IRC gave me a hint: draw directly on the clutter context.

I'm attaching here a patch using the second approach.

There's only one issue remaining: I can't make the "*REC" text show up in a corner, it stays centered regarding CLUTTER_BIN_ALIGNMENT_START.
Comment 9 Raluca-Elena Podiuc 2011-03-29 22:56:08 UTC
Created attachment 184640 [details] [review]
CheeseWindow: display a red '*REC' while recording

Adds another layer in the viewport_layout_manager:
     Text = *REC, Color=red

Enabled when starting to record.
Disabled at startup and at record stop.

Still has a bug: text is centered.
Comment 10 André Klapper 2020-11-12 07:12:35 UTC
bugzilla.gnome.org is being replaced by gitlab.gnome.org. We are closing all
old bug reports and feature requests in GNOME Bugzilla which have not seen
updates for a long time.

If you still use cheese and if you still see this bug / want this feature in a
recent and currently supported version, then please feel free to report it at
https://gitlab.gnome.org/GNOME/cheese/-/issues/

Thank you for creating this report and we are sorry it could not be implemented
(volunteer workforce and time is quite limited).