pqwoerituytrueiwoq
October 30th, 2012, 09:03 PM
setup script is attached (run the script named install or install it manually)
For it works on youtube after you change the playback quality first
most other players will just work (eg jwplayer)
you can add a launcher to your panel, docky, or whatever you call the right bar in unity
to make (s)mplayer disable the screensaver during playback do this
smplaymkdir ~/ .mplayer/
echo 'heartbeat-cmd="xscreensaver-command -deactivate"' | tee -a ~/.mplayer/configto use it pause the flash video in your browser then run the script, and enjoy getting full hardware acceleration (must be enabled in you players configuration) for you video
Usage:
flash-video [player] [player options] [flash id] [file]
Examples: (empty quotes = auto)
flash-video vlc
flash-video '' '' 2702
flash-video totem '' '' 17
flash-video smplayer '-fullscreen -close-at-end' 7458 25for the source code just open the file in a text editor (this applies to all files (the installer, the main file, and the launcher))
If you don't specify a player it will give you a list to choose from, if there are multiple flash processes it will ask which ditto for videos
limitations
some sites like hulu and cbs do not work, well it can play there ads but that is it
this does not work with google chrome as it uses pepper flash
once in a while a video will not work in a certain player so just try another (may need a missing codec)
if the flash player stops downloading the video midway (trying to save bandwidth waiting on you to up pause it in flash), this does not work very well (looking at you dailymotion)
a workaround is to mute flash in your sound settings and let it play while you watch it in your video player, this can still preform better than full screen flash depending on your gpu/cpu
on most flash players seeking to a section of the video will make it unfindable be the script
For it works on youtube after you change the playback quality first
most other players will just work (eg jwplayer)
you can add a launcher to your panel, docky, or whatever you call the right bar in unity
to make (s)mplayer disable the screensaver during playback do this
smplaymkdir ~/ .mplayer/
echo 'heartbeat-cmd="xscreensaver-command -deactivate"' | tee -a ~/.mplayer/configto use it pause the flash video in your browser then run the script, and enjoy getting full hardware acceleration (must be enabled in you players configuration) for you video
Usage:
flash-video [player] [player options] [flash id] [file]
Examples: (empty quotes = auto)
flash-video vlc
flash-video '' '' 2702
flash-video totem '' '' 17
flash-video smplayer '-fullscreen -close-at-end' 7458 25for the source code just open the file in a text editor (this applies to all files (the installer, the main file, and the launcher))
If you don't specify a player it will give you a list to choose from, if there are multiple flash processes it will ask which ditto for videos
limitations
some sites like hulu and cbs do not work, well it can play there ads but that is it
this does not work with google chrome as it uses pepper flash
once in a while a video will not work in a certain player so just try another (may need a missing codec)
if the flash player stops downloading the video midway (trying to save bandwidth waiting on you to up pause it in flash), this does not work very well (looking at you dailymotion)
a workaround is to mute flash in your sound settings and let it play while you watch it in your video player, this can still preform better than full screen flash depending on your gpu/cpu
on most flash players seeking to a section of the video will make it unfindable be the script