LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   *BSD (https://www.linuxquestions.org/questions/%2Absd-17/)
-   -   Alternative to flash on OpenBSD (https://www.linuxquestions.org/questions/%2Absd-17/alternative-to-flash-on-openbsd-947303/)

hitest 05-28-2012 09:45 PM

Alternative to flash on OpenBSD
 
Hi Folks,

I just tested out these instructions on my OpenBSD 5.1 work station and I can watch youtube videos. :)

Alternative To Flash on OpenBSD

nixblog 05-28-2012 10:59 PM

What!, you're using Firefox on OpenBSD - you should be using OpenBSD's native xxxterm :)

Using xxxterm and gnash is pretty good also.

hitest 05-29-2012 06:43 AM

Quote:

Originally Posted by nixblog (Post 4689891)
What!, you're using Firefox on OpenBSD - you should be using OpenBSD's native xxxterm :)

Using xxxterm and gnash is pretty good also.

I also use Chromium. I previously gave gnash a try, but, the video and sound quality for me was less than desirable. Good to hear that gnash and xxxterm works for you. :)

tanaselia 06-26-2012 12:37 AM

Isn't YouTube delivering HTML5 when Flash is not available? Why installing an extra piece of software and also a Firefox extension to accomplish the exact same thing?

hitest 06-28-2012 09:27 AM

Quote:

Originally Posted by tanaselia (Post 4711965)
Isn't YouTube delivering HTML5 when Flash is not available? Why installing an extra piece of software and also a Firefox extension to accomplish the exact same thing?

I've had better luck with flash. I am pleased that HTML5 works for you. :)

ocicat 06-28-2012 12:37 PM

Quote:

Originally Posted by tanaselia (Post 4711965)
Isn't YouTube delivering HTML5 when Flash is not available?

My understanding is that YouTube is converting everything to HTML5, but the process isn't finished; some videos will still be available in Flash format only for the time being.

Using -current on OpenBSD, I can view many YouTube videos on stock Firefox 13.0 with no extensions or other collateral applications installed. I see smooth delivery on a i386 system with 4GB RAM (which means that it only uses 3GB...). On another i386 system with only 1GB RAM, delivery is choppy. On this system, I download YouTube videos through youtube-dl & play them through mplayer. This works fine.

At one time, I did use gnash on OpenBSD, but gnash likes to chew up all available memory. Other applications are available too.

Yes, Flash on OpenBSD has been a sore spot for quite some time, but with HTML5, it is becoming less of an issue, & a number of alternatives exist which may work when Flash is still the only choice.

hitest 06-28-2012 01:59 PM

Quote:

Originally Posted by ocicat (Post 4714296)
On this system, I download YouTube videos through youtube-dl & play them through mplayer. This works fine.

ocicat,

Many thanks for this helpful tip! I can confirm that your above-mentioned method also works very well on my FreeBSD 9.0 box, running a stock version of Firefox. :)

teckk 06-28-2012 05:00 PM

You can watch youtube and other video as it streams if you have youtube-dl and mplayer installed.
Code:

#!/bin/sh

echo "Enter URL"
while read URL
do
mplayer -cookies -cookies-file /tmp/cookies.txt $(youtube-dl -g --cookies /tmp/cookie.txt "$URL")
done

Save that as something.sh, make it executable. Run it and paste the URL in.

NyteOwl 07-01-2012 01:20 PM

Nothing like using one of the least secure software platforms available on one of the most secure OSes available

hitest 07-01-2012 04:04 PM

Quote:

Originally Posted by NyteOwl (Post 4716484)
Nothing like using one of the least secure software platforms available on one of the most secure OSes available

Good to see you, man! Glad you approve, heh-heh. :)

nixblog 07-01-2012 05:51 PM

Quote:

Originally Posted by NyteOwl (Post 4716484)
Nothing like using one of the least secure software platforms available on one of the most secure OSes available

LOL :)

Well OpenBSD is only secure at the time of install. What you do with it after that does indeed determine how prone it becomes to attack. I guess Theo pukes knowing people actually use flash with his OS :)

ocicat 07-02-2012 01:43 PM

Quote:

Originally Posted by nixblog (Post 4716660)
Well OpenBSD is only secure at the time of install.

While this is a direct paraphrasing of the OpenBSD project's byline ("Only two remote holes in the default install, in a heck of a long time!"), it is also important to keep in mind that security is not simply a state or a question of using a particular product or feature. Security is the result of everything -- what software we use & how we use it.

OpenBSD provides tools & a source base which can be effectively used to maintain & attain a secure environment, but it cannot save the clueless from themselves.

nixblog 07-03-2012 12:30 AM

Yes, quite true ocicat.

hitest 07-04-2012 10:22 PM

Interesting security points. Let us get back on topic. If anyone else has any other flash solutions please feel free to add them.

nixblog 07-05-2012 12:55 AM

I know that Totem media player had a youtube plugin a while ago but stopped working at one point - not sure if this was sorted but I doubt it. The only other one I know of is Minitube.

Here endeth your options - probably...

hitest 07-05-2012 01:00 AM

Quote:

Originally Posted by nixblog (Post 4719616)
I know that Totem media player had a youtube plugin a while ago but stopped working at one point - not sure if this was sorted but I doubt it. The only other one I know of is Minitube.

Here endeth your options - probably...

Thank-you for that. :)

ocicat 07-05-2012 01:23 PM

Quote:

Originally Posted by nixblog (Post 4719616)
Here endeth your options - probably...

...but there's more! ;)

Again on OpenBSD, you might be entertained with the following:Occasionally mining undeadly for useful nuggets is worth keeping in mind.

hitest 07-12-2012 08:48 AM

After playing around with the different options mentioned in this thread I've settled on using Youtube Downloader and VLC; I get good audio and video playback with this combination on OpenBSD.


All times are GMT -5. The time now is 01:01 AM.