Tiny Core Linux

Tiny Core Extensions => TCE Q&A Forum => Topic started by: ferran on March 26, 2020, 11:22:53 AM

Title: Firefox 74.0 Youtube Live Video not works
Post by: ferran on March 26, 2020, 11:22:53 AM
NOTE: I only have this problem when playing live videos from youtube on Firefox 74.0. With the remaining videos on Firefox 74.0 all works fine.

When I wants to play a live or streaming video (f.i. broadcasting a Chess Championship tournament in live) from Youtube appears a message that say something like this:

"Currently your browser does not recognize any of the available video formats."

I instaled the last Flash Plugin on CorePlus as exact as tells the Readme.txt file. After I rebooted and finally I tryed to play again the Youtube live video I would to watch, but not works.

It's possibly I need html5 plugins but.... We've this installed on TC v.11.0?. It will works?

I need help for this. Thank you in advance.
Title: Re: Firefox 74.0 Youtube Live Video not works
Post by: GNUser on March 26, 2020, 12:23:20 PM
Does this help?
Code: [Select]
tce-load -wi libavcodec4
Title: Re: Firefox 74.0 Youtube Live Video not works
Post by: ferran on March 26, 2020, 04:33:59 PM
GNUser: Works !!!  :D

I would like an explanation of it, I need to understand it. What was going on with Firefox and / or Youtube streaming?

Thank you very much!
Title: Re: Firefox 74.0 Youtube Live Video not works
Post by: GNUser on March 26, 2020, 05:04:43 PM
Good to hear, ferran!

I don't think it has anything to do with browser (e.g., firefox), website (e.g., youtube), or live vs. recorded videos. Video files consist of a video stream plus an audio stream inside some kind of container (container examples: mkv, mp4, webm). How a particular video file's streams are encoded varies tremendously--there's quite a zoo of audio and video codecs. See here: https://en.wikipedia.org/wiki/List_of_codecs

The fact that some videos were playable but not others suggested that you did not have the codecs necessary to decode more exotic video and/or audio streams. libavformat gives you a large library of codecs, so now your browser should be able to handle virtually anything you throw at it ;D
Title: Re: Firefox 74.0 Youtube Live Video not works
Post by: ferran on April 03, 2020, 09:17:53 PM
I sang victory so much soon  :'(

As I said libavcodec4 works fine with Firefox streaming videos, but that conflicts with XVesa (I can't switch it) because the screen resolution exceeds its size and hides the bmpanel bar, so I need to move the cursor up till the top to see bmpanel again. Also the keyboard configuration not works (I have the US keyboard again by default and now i'm writing with it).

Thus my priorities now would be to do the next steps:

1) unnistall libavcodec4
2) restore the backup copy i did yesterday
3) reboot and checking if everything it will ok again.
4) Search another audio/video codec

The steps 1 and 2 i need help of you, guys.
Title: Re: Firefox 74.0 Youtube Live Video not works
Post by: Rich on April 03, 2020, 09:31:08 PM
Hi ferran
... 1) unnistall libavcodec4 ...
Remove  libavcodec4.tcz  from  /etc/sysconfig/tcedir/onboot.lst.

Code: [Select]
2) restore the backup copy i did yesterdaySince  libavcodec4.tcz  is causing  Xorg  to be included, removing it may cause the system to revert to Xvesa when you reboot.
Title: Re: Firefox 74.0 Youtube Live Video not works
Post by: ferran on April 03, 2020, 09:36:21 PM
All right Rich, i will change it right now.

But the step 1 i can solved thanks to you asking this replay:

http://forum.tinycorelinux.net/index.php/topic,23676.0.html (http://forum.tinycorelinux.net/index.php/topic,23676.0.html)

edit: now the restart its OK. Just only left a good codec to Firefox without conflicts with TC




Title: Re: Firefox 74.0 Youtube Live Video not works
Post by: ferran on April 03, 2020, 09:55:42 PM
I visited the Firefox webpage about software requirements from the version ESR 68.0 :

Quote
GNU/Linux
Software Requirements

Please note that GNU/Linux distributors may provide packages for your distribution which have different requirements.

    Firefox will not run at all without the following libraries or packages:

        GTK+ 3.4 or higher (OK)
        GLib 2.22 or higher (OK)
        Pango 1.22 or higher (OK)
        X.Org 1.0 or higher (1.7 or higher is recommended) (OK)
        libstdc++ 4.6.1 or higher <---

    For optimal functionality, we recommend the following libraries or packages:

        NetworkManager 0.7 or higher (?)
        DBus 1.0 or higher (OK)
        GNOME 2.16 or higher (OK)
        PulseAudio (OK)


In the Apps Browser we've not this library, not too NetworkManager. Do we have anything like that to replace it?
Title: Re: Firefox 74.0 Youtube Live Video not works
Post by: Juanito on April 04, 2020, 12:35:24 AM
libstdc++ is in the base tinycore, networkmanager is just one of many ways to establish a network connection.
Title: Re: Firefox 74.0 Youtube Live Video not works
Post by: ferran on April 04, 2020, 07:46:54 AM
I just found in this web

http://ftp.vim.org/os/Linux/distr/pub/linux/distributions/tinycorelinux/tcz/libstdc++-5.0.7.tczl.info (http://ftp.vim.org/os/Linux/distr/pub/linux/distributions/tinycorelinux/tcz/libstdc++-5.0.7.tczl.info)

a library named libstdc++5.0.7.tczl (from gcc.gnu.org/gcc-3.3 at Nov 28, 2018)

Do you know if it could be able to Firefox?. In case yes: How I should decompress it?


Title: Re: Firefox 74.0 Youtube Live Video not works
Post by: Juanito on April 04, 2020, 08:08:44 AM
Before doing anything, try this:
Code: [Select]
$ ls /usr/lib/libstdc*
Title: Re: Firefox 74.0 Youtube Live Video not works
Post by: ferran on April 04, 2020, 08:41:09 AM
@juanito just I did it and appears this:

Quote
tc@box:~$  ls /usr/lib/libstdc*
/usr/lib/libstdc++.so         /usr/lib/libstdc++.so.6.0.27
/usr/lib/libstdc++.so.6
tc@box:~$

So this means I have it. But then... why I can't to play live video html5 from youtube with Firefox?. Maybe the problem is the networkmanager then?
Title: Re: Firefox 74.0 Youtube Live Video not works
Post by: Juanito on April 04, 2020, 08:47:15 AM
The problem is nothing to do with networkmanager.

youtube is a moving target and constantly breaks existing links and methods of playing videos.

You could try loading the gst-libav extension, but this will load libavcodec4 and Xorg-7.7-3d.

After loading gst-libav, you will need to run the following command before restarting firefox:
Code: [Select]
$ rm ~/.cache/gst*/*
Title: Re: Firefox 74.0 Youtube Live Video not works
Post by: ferran on April 04, 2020, 09:00:07 AM
It's not found

Quote
tc@box:~$ rm ~/.cache/gst*/*
rm: can't remove '/home/tc/.cache/gst*/*': No such file or directory
tc@box:~$
Title: Re: Firefox 74.0 Youtube Live Video not works
Post by: Juanito on April 04, 2020, 09:13:38 AM
I'm not at a tinycore machine right now, what does this give:
Code: [Select]
$ ls -a /home/tc/.cache
Title: Re: Firefox 74.0 Youtube Live Video not works
Post by: ferran on April 04, 2020, 09:25:34 AM
It suchs this

Quote
tc@box:~$ ls -a /home/tc/.cache
.           ..          dconf       fontconfig  mozilla     openbox
tc@box:~$

Also I searched into /home/tc/.cache/mozilla/firefox/ so i did an ls too

Quote
tc@box:~$ ls -a /home/tc/.cache/mozilla/firefox/
.                 ..                3rz1mush.default
tc@box:~$

and too

and finally i searched too into 3rz1mush.default/ but no trace of any gst*


Code: [Select]
find / -type d -name "gst*"

No suchs nothing too.

Title: Re: Firefox 74.0 Youtube Live Video not works
Post by: Juanito on April 04, 2020, 09:47:51 AM
I guess firefox is not using gstreamer to play youtube videos then.

If you start firefox from a terminal window, do you see an error message when you try to play a youtube video?
Title: Re: Firefox 74.0 Youtube Live Video not works
Post by: ferran on April 04, 2020, 10:03:01 AM
juanito, right now i'm watching a live video without problems (as well as i loaded the libavcodec4 a few days ago, but which I had to erase because of conflicts with Xvesa).

In a while i will restart the computer again and i will see if all its OK.


Title: Re: Firefox 74.0 Youtube Live Video not works
Post by: ferran on April 04, 2020, 10:48:44 AM
I'm back.

I had another conflict with Xvesa and the keyboard. I had to uninstall gst-libav.tcz (from the Apps browser/Maintenance/Dependencies and Deletions) as indicated in this post:

http://forum.tinycorelinux.net/index.php/topic,23676.0.html (http://forum.tinycorelinux.net/index.php/topic,23676.0.html)

After I rebooted, I select the screen and mouse configuration and I got the desk back the way it was before.

Obviously I can't to watch live videos again in youtube with Firefox.

We're right at the beginning again.
Title: Re: Firefox 74.0 Youtube Live Video not works
Post by: Rich on April 04, 2020, 11:15:08 AM
Hi ferran
... I had to uninstall gst-libav.tcz (from the Apps browser/Maintenance/Dependencies and Deletions) as indicated in this post:

http://forum.tinycorelinux.net/index.php/topic,23676.0.html (http://forum.tinycorelinux.net/index.php/topic,23676.0.html) ...
Rather than uninstalling, you can:

1. Click  Apps->Maintenance->OnBoot Maintenance.
2. Click the extension you don't want to load in the  On Boot Items  list.
3. Click  Apps->Quit.
4. Restart your computer.

Now the extension will not load, but still be available locally for loading if you wish. This way you won't hit the servers again if you
change your mind. When you have everything sorted out, you can still mark it for deletion if you really don't need it.
Title: Re: Firefox 74.0 Youtube Live Video not works
Post by: ferran on April 04, 2020, 11:50:25 AM
All right Rich. Good to know it :D

Nevertheless I think I'm going to resign myself to not being able to watch live videos from youtube and Firefox without conflicts with the xVesa, unless you get them from other codecs or libraries.

Luckily for these leisure things I still have another laptop with Windows 10 that works very well.

We can leave this open waiting for new solutions in the future.