OS2 World Community Forum

OS/2, eCS & ArcaOS - Technical => Applications => Topic started by: Martin Iturbide on September 28, 2016, 07:06:21 pm

Title: Testing YouTube Live
Post by: Martin Iturbide on September 28, 2016, 07:06:21 pm
Hi

I require your help to test something since I'm planning to go to Warpstock 2016 to live stream it.

On the past (Warptock 2015) I had tested YouTube Live Streaming on VLC without any major problem, but on these days I'm having some issues and I need to know if it is my OS/2 configuration or if something changed on YouTube.

I would appreciate feedback on the following:

A) Grab an Live URL from YouTube, check that it says "LIVE NOW":  https://www.youtube.com/live

1) Test: Firefox 38.8.0 for OS/2 Beta 7 without Flash. Result: Not working. (please validate)
2) Test: Firefox 38.8.0 for OS/2 Beta 7 with Flash. Result: ??
3) Test: VLC 2.2.4 . Result: ??
4) Test: SMPlayer 16.8.0 (MPlayer 1.3.0-4.9.2 ?). Result: ??
5) Any other ideas on OS/2 ?

I will also be testing this.

Regards

Title: Re: Testing YouTube Live
Post by: Martin Iturbide on September 30, 2016, 01:48:12 pm
3) Test: VLC 2.2.4

I'm not sure if it is my VLC installation, but I have some issues with YouTube Live. When I access the live URL, it asks me to accepts the certificates, I accept it all and after that it shows me an static image of the stream. I'm not sure if I'm missing a library or that is something that happens to every OS/2 user.

Regards
Title: Re: Testing YouTube Live
Post by: guzzi on September 30, 2016, 05:34:58 pm
Happens here too. SMplayer works though.
Title: Re: Testing YouTube Live
Post by: Martin Iturbide on September 30, 2016, 09:49:36 pm
Thanks Guzzi.

I will check again the SMPlayer instructions to make it work, it seems that I'm doing something wrong since it can not connect to any YouTube URL yet.

Regards
Title: Re: Testing YouTube Live
Post by: guzzi on October 02, 2016, 01:52:40 am
You might try from the menu: help>update youtube code
Title: Re: Testing YouTube Live
Post by: Martin Iturbide on October 17, 2016, 07:25:32 pm
Hi Guzzi.

I tried with SMPlayer (even help>update youtube code)  and I can not see any stream from YouTube Live https://www.youtube.com/live
In fact I can not even see the "Recorded videos" from YouTube. So I'm guessing I missing something on SMPlayer.

Please, if somebody can see anything live from YouTube Live in OS/2, let me know.
Just be sure that you are looking at live streaming content and not recorded content. Check: https://www.youtube.com/live

Regards

Regards
Title: Re: Testing YouTube Live
Post by: Neil Waldhauer on October 18, 2016, 04:25:00 am
Using SMPlayer, I can play streams like Kitten Academy Live Stream. For about five seconds. Then it stops. If I hit play, I get five seconds more, then it stops.

Version 16.8.0
mplayer SVN r37450
Title: Re: Testing YouTube Live
Post by: Martin Iturbide on October 19, 2016, 05:36:13 pm
Hi Neil.

I can not connect to YouTube or Youtube Live with SMPlayer. I installed according the instrucctions and added that codec package that is suggested on the readme.

Did you made any additional trick to make it work (at least for 5 minutes) ?

Regards
Title: Re: Testing YouTube Live
Post by: Mark Szkolnicki on October 28, 2016, 10:43:00 pm
Hi Martin!

I've done some testing related to YouTube Live, and the only application I've got that that I've been able to use to play YouTube Live continuously is SeaMonkey v2.35 B7 with the Flash 0.4.1 GA plug-In installed. Was watching LIVE a Memorial service for a late premier of Alberta who died tragically in a plane crash two weeks ago, for about 3/4 of an hour this morning, no problems.

For the other alternatives:

Firefox 38.8.0 does not work without Flash installed (get "your browser does not recognize any of the current video formats available"
(It is unclear as to how to install Flash in the OS/2 version - would be more than happy to test,  if someone can let me know how to do it, as it does not seem to recognize the Flash installed,  just an "OpenH264 codec"?)

SMPlayer 16.8.0 gives the same experience as Neil indicated - I need to use "kai (dart) mode under AUDIO for sound, even though I am using Uniaud on the partition, and typically use kva (Fast) for VIDEO. I also tried increasing the "Cache for Streams" under PERFORMANCE but it didn't help. You have to fully put in the complete URL for the specific live stream you want to view, to get SMplayer to find it (ie can't just go to YouTube Live and choose a video, at least as I've found

VLC/2 v2.2.4 has been wonky since installation with just videos, hard locking the system sometimes after playing them. requiring reboot so I've never had much luck with it - and don't think it would be any different for live streams.

Just my two cents worth - I was going to have a look on the SMplayer site, to see if they've encounter the "5 second rule" for live streaming. on other systems, and if there is a work around.

Best, Sir!

Mark

Title: Re: Testing YouTube Live
Post by: Mark Szkolnicki on October 28, 2016, 10:58:59 pm
Reading on-line about SMPlayer and YouTube Live Streaming, I found the following at http://blog.smplayer.info/how-to-play-youtube-live-streams-with-smplayer/

"It’s also necessary to use SMPlayer with mpv, since MPlayer doesn’t seem to support very well live streams from YouTube. Visit http://smplayer.sourceforge.net/mpv.php to find out how to install SMPlayer with mpv"

So I guess, unless we start using SMPlayer as a front end for a OS2 / eCS / ArcaNoae version of MPV instead of MPlayer, we're out of luck

Best!

Mark
Title: Re: Testing YouTube Live
Post by: Dave Yeo on October 28, 2016, 11:40:15 pm
Unluckily IIRC MPV (which is a MPlayer fork) has a hard requirement for 3D acceleration, OpenGL in our case, so it won't be ported.
As for Firefox working with Flash. If you are using the recommended set MOZ_PLUGIN_PATH  it should just work. Check in add-ons that it isn't disabled.
Do you have the requirements for H264 video installed? You need to install the ffmpeg libs with yum or download libav from my bitbucket page and put the DLLs on your LIBPATH. This true for Firefox as well as SeaMonkey. See README.OS2
Title: Re: Testing YouTube Live
Post by: roberto on October 29, 2016, 04:19:28 pm
Thanks Dave,
I install  ffmpeg libs with YouTube ALL HTML5 3-0-3 (add-ons ) and play very well in Firefox, only I do not have sound.
saludos
roberto
Title: Re: Testing YouTube Live
Post by: Martin Iturbide on October 29, 2016, 05:38:27 pm
Hi

I checked again SMPlayer, reviewed MPlayer, doubled checked the CODECS installed on MPlayer folder and the config.sys, but I can not make run any YouTube video (Live or not). It just says it can not connect.

Roberto, can you please explain a little bit what you did with ffmpeg libs and firefox so you can view YouTube Live (even if it was without sound).

Regards
Title: Re: Testing YouTube Live
Post by: Dave Yeo on October 29, 2016, 05:49:25 pm
The correct FFmpeg libs (from ver 2.8, which is what Bitwise has an RPM of) just have to be in LIBPATH so Firefox can find them.
As for sound, it is usually a volume issue. Simplest is to download PMUniMix and play with the various volumes. Often it is the front speakers that need turned up.
You can also do SET KAI_AUTOMODE=DART to use dart mode instead of uniaud mode.
Title: Re: Testing YouTube Live
Post by: roberto on October 29, 2016, 06:53:29 pm
Hello Martin,
I only install in Firefox 38.8.0 with Tools--Add-ons--- this extensions :
You Tube ALL HTML5 3.0.3 (I understand that only need this)
QuickJava 2.0.6.1-signed (all options OFF)
Tiny Javascript debugger 1.1.5
And install the pack that Dave coment with anpm the pack FFmpeg

Hello Dave
I test for the sound problems with the 2 options in config.sys,
rem SET KAI_AUTOMODE=UNIAUD (sound very bad but any sound in it)
SET KAI_AUTOMODE=DART (sound better, but if move the usb mouse the sound cut off on off on,if stop the mouse the sound is ok )
I am run with the last arca usb11.14, i do not test the Lars usb drivers by now, but this is the moment.
For control the volum I use the program  PMUnimix V0.80 , in the firefox is the same if turn on off more or less.
Saludos
Roberto
Roberto
Title: Re: Testing YouTube Live
Post by: David McKenna on October 29, 2016, 08:42:26 pm
 I'm seeing the same problem as Martin. Turned on SMPlayer logging (Settings->Advanced->Logs->Save SMPlayer log to a file) and I see the error 'SSL handshake failed' in the log. I have the latest openssl 1.0.2j installed (from ANPM). Any idea what may be wrong? I have also updated the youtube code with no change. Also deleted all files in the .smplayer folder and restarted and reset preferences, but still no luck...
Title: Re: Testing YouTube Live
Post by: Mark Szkolnicki on October 29, 2016, 09:47:37 pm
I'm seeing the same problem as Martin. Turned on SMPlayer logging (Settings->Advanced->Logs->Save SMPlayer log to a file) and I see the error 'SSL handshake failed' in the log. I have the latest openssl 1.0.2j installed (from ANPM). Any idea what may be wrong? I have also updated the youtube code with no change. Also deleted all files in the .smplayer folder and restarted and reset preferences, but still no luck...

Hi Dave!

As mentioned in a post on Friday, I don't think SMPlayer will be the answer for YouTube Live streaming, based on what I found, repeated below:

"Reading on-line about SMPlayer and YouTube Live Streaming, I found the following at http://blog.smplayer.info/how-to-play-youtube-live-streams-with-smplayer/

"It’s also necessary to use SMPlayer with mpv, since MPlayer doesn’t seem to support very well live streams from YouTube. Visit http://smplayer.sourceforge.net/mpv.php to find out how to install SMPlayer with mpv"

I have been able to play YouTube Live files only for about 5 seconds, using:

Open URL

Settings in Preferences:

General - Video - kva (fast)
General - Audio - kai (dart mode) (although I have UniAud installed)
Network - YouTube (which I believe is the default)
Performance - Cache (streaming) - I put a large number in to see whether it would allow it to play longer - didn't see any improvement but thought it might be a solution.

I have a satellite connection, so I thought that might be the issue but Neil reported similar, so I suspect that was not the problem.

As Dave Yeo reported that an MPV and SMPlayer solution is unlkely given 3D acceleration not being available.  I would think SMPlayer seems to be a dead end at the moment for video streaming Warpstock (but works well for many other applications.

Best!

Mark
Title: Re: Testing YouTube Live
Post by: Mark Szkolnicki on October 29, 2016, 10:08:07 pm
Unluckily IIRC MPV (which is a MPlayer fork) has a hard requirement for 3D acceleration, OpenGL in our case, so it won't be ported.
As for Firefox working with Flash. If you are using the recommended set MOZ_PLUGIN_PATH  it should just work. Check in add-ons that it isn't disabled.
Do you have the requirements for H264 video installed? You need to install the ffmpeg libs with yum or download libav from my bitbucket page and put the DLLs on your LIBPATH. This true for Firefox as well as SeaMonkey. See README.OS2

Hi Dave!

Reading your reply, I decided to see if I could help out Martin with his problem. But I use Seamonkey 2.35 B7 very sucessfully for my browsing, so hadn't really played with Firefox v38.0.8 much at all. I had it installed and it did come up, but I haven't had much time to do anything else with it.

I read your ReadMe thoroughly this time, and installed the latest support through ANPM including FFMPEG libs and restarted Firefox.

In the Add-Ons - Plug-Ins it indicates that "H264 video will be installed shortly", so I'm not quite sure if anything further is necessary to be done.

Regarding Flash, I have 0.4.1 (Flash 11) installed in the Moz_Plug directory for the partition, the environment variable is listed in CONFIG.SYS and is recognized by SeaMonkey 2.35 B7 (and plays Live Streams successfully). But it still is not recognized by Firefox, no explanation. (ie. it is not listed in the Firefox Plug-ins window, enabled or disabled)

It is on an eCS 2.2 partition - can you think of any reason why that may make a difference?

Best!

Mark
Title: Re: Testing YouTube Live
Post by: David McKenna on October 31, 2016, 11:24:44 am
 Turns out the SMTube problem was a missing update to the QTNet4.dll file. Apparently the YUM QT4 package doesn't have it. Get it here: ftp://ftp.netlabs.org/pub/qtapps/QtNet4_Fix_SSL.zip. Doesn't help with live streaming though.... it starts but then immediately hangs....
Title: Re: Testing YouTube Live
Post by: roberto on November 02, 2016, 12:07:23 am
In my case after many tests, with this configuration works best is like me.
1-Disable the screen saver.
2-amouse:
wheel - set audio volume -select- page 3-5
Timing mpr 200
ma default
acceleration threshold 0

3-config.sys:
DEVICE=C:\OS2\BOOT\USBMOUSE.SYS /DEVICE:1
rem SET KAI_AUTOMODE=UNIAUD
SET KAI_AUTOMODE=DART
rem 0,1,o 2
rem SET MOZ_ACCELERATED=0
rem SET NSPR_OS2_NO_HIRES_TIMER=1

In all tests and settings, I failed with two different errors,
Type 1 is for video and sound, stop the play. (I fix unplugging and plugging back usb mouse continuous)
Type 2 The sound does as a loop, similar to a siren or alarm. (Giving to close the firefox and cancel continuous sound correctly)
I work sometimes minutes and sometimes even hours without problems.
I'm not using Smplayer
Title: Re: Testing YouTube Live
Post by: roberto on November 09, 2016, 10:23:28 pm
Type 2 The sound does as a loop, similar to a siren or alarm. (Giving to close the firefox and cancel continuous sound correctly)
About this fail, Runing in command com with
[D:\usr\bin]ffplay   mifile.avi
and click the left mouse button, many times over the video, this give me the error
but if I run this
[D:\usr\bin]ffplay   -thread_type 8 myfile.avi   
I can not crash the sound. The default is 3