|
OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD. |
|
Thread Tools | Display Modes |
|
|||
I have been using OpenBSD for more then 12 years, but if I really have to watch a video I just boot a Linux Mint liveCD
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump |
|
|||
x11/mplayer with www/youtube-dl, e.g.:
mplayer -cache 2048 -cache-min 10 `youtube-dl.py -gf5 -- XCnK3B7Ftow` This works for me on FreeBSD, so I guess it should also work on OpenBSD.
__________________
May the source be with you! |
|
||||
www/cclive is another option to download the video [and save it] and watch it on a local media player. It supports more flash video sites than just Youtube. Doing it this way may seem cumbersome at first but there are many advantages, e.g., you will no longer be forced to sit through those obnoxious advertisement videos Youtube now shoves in everyone's face.
|
|
||||
Quote:
But you're a bit off-topic, no ?
__________________
ThinkPad W500 P8700 6GB HD3650 - faultry ThinkStation P700 2x2695v3 32GB 1050ti 3xSSD 1xHDD |
|
||||
I dual boot Slackware and OpenBSD so if I want easy I can boot into Linux. Also, I have VLC and youtube-dl installed (Firefox) on OpenBSD.
__________________
hitest Last edited by hitest; 4th January 2014 at 01:06 AM. Reason: addition |
|
|||
HTML5 stuff works fine for me, you can also try using the embedded link and or videodownloadhelper plugin to watch them.
|
|
|||
I have the "youtube-dl", "zenity" and "vlc" packages installed and I am using a keyboard shortcut, "Mod4-y", that runs the following script:
Code:
#!/bin/sh xterm -e 'youtube-dl --no-part -f 18/0/h264-sd -o $HOME/video.vid `zenity --entry` & \ sleep 8 && vlc -f $HOME/video.vid vlc://quit; \ mv $HOME/video.vid $HOME/video.vid.old; \ pkill -n xterm & ksh' I've set up youtube-dl to download videos in medium quality for youtube, liveleak and vimeo ("18" selects medium quality for youtube, "0" for liveleak and "h264-sd" for vimeo). If you want to choose a better quality, run "youtube-dl -F URL" and replace "18/0/h264-sd" with your choices. "youtube-dl --list-extractors" gives you a full list of supported sites. There certainly are better ways to do this. Also, this script can be dangerous, because the last line always kills the last opened xterm (which should be the xterm the script runs in, but you may leave the video open to watch it later). This is no problem for me, as I am always running tmux on top of xterm, so if the wrong xterm is killed, I just have to reattach tmux. Last edited by yei0K; 5th January 2014 at 12:54 PM. |
|
|||
Quote:
As an example, assume I want to watch the interview with Theo de Raadt found at http://www.youtube.com/watch?v=mahBZ4lSZHQ. To view this with x11/mplayer as a media player, use the following steps:
|
|
|||
I tried using mplayer but got this error message:
Code:
************************************************ **** Your system is too SLOW to play this! **** ************************************************ The problem is that mplayer is only using one core and each of my cores are running at less than 3 Ghz... I made mplayer use two cores by changing the ~/.mplayer/config Code:
lavdopts=threads=2 Code:
It seems there is no Xvideo support for your video card available. Code:
lavdopts=threads=2 vo=x11 |
|
|||
Waiting for the new version of SMtube to be ported. The actual does not swallow well the Vevo's tricking.
|
|
||||
gonzalo@ introduced the port and has been making the recent updates.
I use smtube, and so I will try to work up a patch for 1.8 this evening; if I get it working I'll post a patch here for you, and send it to gonzalo@ for consideration. |
|
|||
I've looked at youtube-dl. I've never used it, but I did take a peek at the code.
The user agent it sends (ends in "Gecko/20100101 Firefox/10.0 (Chrome)") is fairly identifiable as coming from youtube-dl. Type it into Google to see for yourself. I have no idea what Youtube's opinion towards youtube-dl might be, or if its usage would be considered to be outside of their policy limits, but still - I wonder why the author chose that user agent. At least, the copy of the program that I looked at had the described user agent, as default. Last edited by censored; 30th January 2014 at 03:19 AM. |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
OpenBSD Developer Videos From AsiaBSDCon 2013 | J65nko | News | 0 | 23rd November 2013 01:42 PM |
OpenBSD Watch CVS commits on Twitter! | ocicat | News | 1 | 12th July 2012 04:36 PM |
Videos of Open Source Forum talks from CeBIT 2012 | J65nko | News | 0 | 23rd March 2012 01:44 AM |
Enable Youtube Video in HTML5 | shep | News | 13 | 25th December 2011 07:31 PM |
Conference on Youtube infrastructure | 18Googol2 | Off-Topic | 0 | 13th July 2008 05:20 PM |