Active Topics

 


Reply
Thread Tools
nicolai's Avatar
Posts: 1,637 | Thanked: 4,424 times | Joined on Apr 2009 @ Germany
#1
Not that useful and a battery killer for sure.
You need the packages
x11-utils
gst-tools
and maybe
gstreamer0.10-plugins-good
gstreamer0.10-plugins-good-extra

- open the lenscover and close the camera app
- open a xterm and enter:
gst-launch-0.10 v4l2camsrc driver-name=omap3cam ! video/x-raw-yuv,width=320,height=240 ! ffmpegcolorspace ! xvimagesink
- open another xterm and enter:
xprop -name "gst-launch-0.10" -f _HILDON_LIVE_DESKTOP_BACKGROUND 32i -set _HILDON_LIVE_DESKTOP_BACKGROUND -1

:-)


other gst-launch commands:
gst-launch-0.10 v4l2camsrc driver-name=omap3cam ! video/x-raw-yuv,width=320,height=240 ! ffmpegcolorspace ! quarktv ! xvimagesink

Audio:
gst-launch-0.10 pulsesrc ! audioconvert ! monoscope ! ffmpegcolorspace ! xvimagesink

Nicolai
 

The Following 42 Users Say Thank You to nicolai For This Useful Post:
Posts: 490 | Thanked: 191 times | Joined on May 2010
#2
it works!

apt-get couldn't find gst-tools, but I installed gstreamer-tools instead.
Attached Images
 

Last edited by aligatro; 2011-03-18 at 19:07.
 

The Following 13 Users Say Thank You to aligatro For This Useful Post:
arora.rohan's Avatar
Posts: 353 | Thanked: 166 times | Joined on Jun 2010 @ India
#3
whats the cpu usage with this ? nice little trick!
 
MohammadAG's Avatar
Posts: 2,473 | Thanked: 12,265 times | Joined on Oct 2009 @ Jerusalem, PS/IL
#4
Code:
wmctrl -i -r $(wmctrl -l | grep gst-launch-0.10 | awk '{print $1}') -b add,fullscreen
to make it fullscreen, nice trick, never knew about that X11 flag
 

The Following 15 Users Say Thank You to MohammadAG For This Useful Post:
Helmuth's Avatar
Posts: 1,259 | Thanked: 1,341 times | Joined on Oct 2009 @ Germany
#5
Mmmh, 100% transparent wallpaper.

I like it.
 
Posts: 490 | Thanked: 191 times | Joined on May 2010
#6
Originally Posted by arora.rohan View Post
whats the cpu usage with this ? nice little trick!
~20 percent
 

The Following User Says Thank You to aligatro For This Useful Post:
Posts: 701 | Thanked: 585 times | Joined on Sep 2010 @ London, England
#7
What about using the front cam?
Code:
gst-launch-0.10 v4l2camsrc device=/dev/video1 driver-name=omap3cam ! video/x-raw-yuv,width=400,height=240 ! ffmpegcolorspace ! videobalance brightness=0.4 contrast=1.2 ! videoflip method=horizontal-flip ! xvimagesink force-aspect-ratio=true
 

The Following 6 Users Say Thank You to retsaw For This Useful Post:
bzbnd's Avatar
Posts: 209 | Thanked: 76 times | Joined on Mar 2010
#8
i cant install gst-tools or gstreamer-tools . there are some errors in xterm . could u plz help me
 
Posts: 136 | Thanked: 14 times | Joined on Feb 2011
#9
Originally Posted by bzbnd View Post
i cant install gst-tools or gstreamer-tools . there are some errors in xterm . could u plz help me
Code:
sudo gainroot
apt-get install gstreamer-tools
If it says can't fetch or something then try again, it works for me..


But this doesn't work for me Nicolai, after the second code it just stops there showing ">" And the wallpaper doesn't change...
It does show some white dots though...

I already open the camera lens and the gstreamer is running, but it doesn't change the wallpaper, do i need to do something first?

Last edited by shuraizo; 2011-03-19 at 01:47.
 

The Following User Says Thank You to shuraizo For This Useful Post:
F2thaK's Avatar
Posts: 4,365 | Thanked: 2,467 times | Joined on Jan 2010 @ Australia Mate
#10
so whens the package going to be in devel repo as an application?


edit: I cant do step 3...it doesnt work for me, it comes up with xprop useage codes.

dammit. I was going to make a video of it..

Last edited by F2thaK; 2011-03-19 at 02:52.
 
Reply


 
Forum Jump


All times are GMT. The time now is 01:48.