Notices


Reply
Thread Tools
Posts: 96 | Thanked: 18 times | Joined on Nov 2008
#1
Hello

how to disable video preview on screen while playin video , , sometime i stream my video clips to my car thru FM TR , but the battery ends too soon . i thought if there way to disable video preview on the screen that would save some power . it going be like just an audio file but its video. there was a script to record video while no image shown on the screen i believe the script was called pycam , So it could be done to playing video while screen is dim, now if i simple switch screen off while video is playing then the video will stop >
 
nicolai's Avatar
Posts: 1,637 | Thanked: 4,424 times | Joined on Apr 2009 @ Germany
#2
a first try:

gst-launch-0.10 playbin2 flags=0x02 uri=file:///home/user/MyDocs/VIDEOFILE

uri is the url to your videofile
flags=0x02 means only audio is played

maybe someone else can pack this in a nice python script.


Nicolai
 

The Following 3 Users Say Thank You to nicolai For This Useful Post:
Posts: 96 | Thanked: 18 times | Joined on Nov 2008
#3
thank you nicolai , worked Great , but am no developer nor script writer .. wish there is way to make shortcut on desktop to enable/disable.

thank you anyway
 
Temporal's Avatar
Posts: 323 | Thanked: 189 times | Joined on Oct 2010 @ Brazil
#4
You could use SiB/Kmplayer/etc that will keep playing the file even after screen going of, but the video will still be processed (but the screen won't use any energy - that's how I see/listen most of my podcasts in video form).
__________________
Love and Goodness are not a property. Are not a franchising. They are present in each one of us, and must be cultivated with KNOWLEDGE.
 
Posts: 1,427 | Thanked: 2,077 times | Joined on Aug 2009 @ Sydney
#5
Yeah. Install mplayer and SIB for video playback even when screen is off.
mplayer also gives you some really handy hw keyboard controls.
 
Posts: 96 | Thanked: 18 times | Joined on Nov 2008
#6
Thx Ya All , going try mplayer and SIB
 
Reply


 
Forum Jump


All times are GMT. The time now is 17:58.