DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Packages and Ports

OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD.

Reply
 
Thread Tools Display Modes
Old 30th January 2014
censored censored is offline
Swen Tnavelerri
 
Join Date: Jan 2014
Posts: 45
Default

Here's a wild idea. Maybe if the downloader program is readily seen as such, it amounts to a not-quite-tacit informal agreement with Youtube? In such a case does it become an "OK, we'll let you do this, but we may put you on a slower channel" sort of thing? Who knows? Youtube is not my thing, so I've got no clues in this corner. Perhaps the UA was randomly chosen, and maybe it doesn't matter. I don't know what their policies are at Youtube. There may not even be any restrictions, other than for their own desires for load management. Can anyone chip in on this?

I do know they don't release software on New Year's Day. That's half of the uniqueness of the UA. The other half is "(Chrome)".

Last edited by censored; 30th January 2014 at 05:05 AM.
Reply With Quote
Old 30th January 2014
ibara ibara is offline
OpenBSD language porter
 
Join Date: Jan 2014
Posts: 783
Default

I use the Firefox add-on Video DownloadHelper to download and then use mplayer (or vlc) to watch the video.

That way I don't have to leave my browser to get video; I usually use the HTML5 player (which works great on OpenBSD, btw) and only use Video DownloadHelper for those videos that don't have an HTML5 option.

As a benefit, it works in places other than YouTube.
Reply With Quote
Old 30th January 2014
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,977
Default

Here is a an update of x11/smtube to 1.8. Tested on i386.

[Edited to remove patch. Someone else already posted an update to ports@ as I was working on it, which has been approved (with minor changes).]

Last edited by jggimi; 30th January 2014 at 04:28 AM. Reason: Unnecessary patch.
Reply With Quote
Old 30th January 2014
ibara ibara is offline
OpenBSD language porter
 
Join Date: Jan 2014
Posts: 783
Default

For clarification, the smtube-1.8 diff hasn't been committed yet. So grab the diff off the mailing list for now.
Reply With Quote
Old 30th January 2014
censored censored is offline
Swen Tnavelerri
 
Join Date: Jan 2014
Posts: 45
Default

Quote:
Originally Posted by ibara View Post
I use the Firefox add-on Video DownloadHelper to download and then use mplayer (or vlc) to watch the video.

That way I don't have to leave my browser to get video; I usually use the HTML5 player (which works great on OpenBSD, btw) and only use Video DownloadHelper for those videos that don't have an HTML5 option.

As a benefit, it works in places other than YouTube.
Thanks for the info. Yeah - I usually use Chromium (and its built in VPx decoder). That means I can view about one in four movies and clips. Wonder why YouTube isn't converting to Webm enmasse, given that they own the platform now?

Another one of those things I can't quite factor out ....
Reply With Quote
Old 3rd February 2014
chessmaster chessmaster is offline
Port Guard
 
Join Date: Feb 2012
Posts: 17
Default

I highly recommend /www/minitube. I have been very successfully watching HD videos on here "some", and having a amazing viewing pleasure without crashes(so far).


Update:**After playing with the setting a while. For my hardware smtube does the job. With far less hicups at 720p. minitube just couldn't handle it.**

Last edited by chessmaster; 4th February 2014 at 06:44 AM.
Reply With Quote
Old 4th February 2014
chessmaster chessmaster is offline
Port Guard
 
Join Date: Feb 2012
Posts: 17
Default

I would stay far away from gnash as possible. http://www.cvedetails.com/cve/CVE-2012-1175/
Reply With Quote
Old 4th February 2014
Martillo Martillo is offline
Semper deinceps corda
 
Join Date: Apr 2013
Location: Madrid, Spain
Posts: 79
Default

I will try the patch this weekend, thanks!
Reply With Quote
Old 11th March 2014
drm drm is offline
New User
 
Join Date: Sep 2012
Posts: 8
Default

Quote:
Originally Posted by yei0K View Post
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'
Just for the archives, i improved the script a bit, so that it deletes video files after watching, and in case i quit playing the video before it is completely downloaded, i stop the download before deleting.

drm

Code:
#!/bin/sh
# needs zenity, youtube-dl and vlc installed

URL=$(zenity --entry --text "Enter Video URL:")
if [ "$URL" = "" ]; then
    echo "You must enter a url."
    exit
fi
TMPFILE=$(mktemp /tmp/youtube-vid.XXXXXX)
youtube-dl --no-part -f 18/0/h264-sd -o $TMPFILE "$URL" & 
DL_PID=$!
sleep 5
cvlc -f $TMPFILE vlc://quit
kill $DL_PID
rm $TMPFILE
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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


All times are GMT. The time now is 06:36 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick