View previous topic :: View next topic |
Author |
Message |
noqrax n00b
Joined: 04 Oct 2016 Posts: 51
|
Posted: Mon Oct 10, 2016 8:21 pm Post subject: [SOLVED]No sound in html5 video |
|
|
I have no sound in many videos in my Firefox. Seems like they need codecs.
I alredy have OpenH264 Video Codec, it works fine for YouTube. But which codec packages I can install?
Last edited by noqrax on Wed Oct 12, 2016 1:39 am; edited 1 time in total |
|
Back to top |
|
|
Zucca Moderator
Joined: 14 Jun 2007 Posts: 3357 Location: Rasi, Finland
|
Posted: Mon Oct 10, 2016 8:41 pm Post subject: |
|
|
Hi.
From on version 43 Firefox has been using ffmpeg to play back the multimedia content.
You should check that your media-video/ffmpeg has compiled with the required USE -flags. Especially look for the flags named: aac, vpx, x264, x265 and opus. _________________ ..: Zucca :..
Gentoo IRC channels reside on Libera.Chat.
--
Quote: | I am NaN! I am a man! |
|
|
Back to top |
|
|
noqrax n00b
Joined: 04 Oct 2016 Posts: 51
|
Posted: Tue Oct 11, 2016 3:19 am Post subject: |
|
|
I did as u say, but there is no sound anyway...
When I compiled Firefox I noticed that he used gstreamer. |
|
Back to top |
|
|
sebB l33t
Joined: 02 Mar 2011 Posts: 806 Location: S.O. France
|
Posted: Tue Oct 11, 2016 5:56 am Post subject: |
|
|
You have to compile firefox with the "ffmpeg" USE.
I don't know what, but something as changed in gstreamer. I've the same problem. |
|
Back to top |
|
|
noqrax n00b
Joined: 04 Oct 2016 Posts: 51
|
Posted: Tue Oct 11, 2016 9:48 am Post subject: |
|
|
it is builded with ffmpeg. Still no sound. |
|
Back to top |
|
|
Zucca Moderator
Joined: 14 Jun 2007 Posts: 3357 Location: Rasi, Finland
|
Posted: Tue Oct 11, 2016 10:21 am Post subject: |
|
|
Do you use PulseAudio?
Give me an example web site that does not work with your Firefox so I can test it.
You can run "dmesg -w" in terminal before you start Firefox. Then go to the site that does not work and see if some error messages appear to the terminal.
Also paste the output of equery u firefox | grep -v 'l10n'. _________________ ..: Zucca :..
Gentoo IRC channels reside on Libera.Chat.
--
Quote: | I am NaN! I am a man! |
|
|
Back to top |
|
|
noqrax n00b
Joined: 04 Oct 2016 Posts: 51
|
Posted: Tue Oct 11, 2016 1:56 pm Post subject: |
|
|
There is no messages during I use Firefox. But there are some interesting messages anyway.
Code: | dmesg -w
[ 1347.015971] CPU3: Core temperature above threshold, cpu clock throttled (total events = 1)
[ 1347.015985] mce: [Hardware Error]: Machine check events logged
[ 1347.017018] CPU3: Core temperature/speed normal
[ 1347.017020] mce: [Hardware Error]: Machine check events logged
[ 1647.024469] CPU3: Core temperature above threshold, cpu clock throttled (total events = 20231)
[ 1647.024479] mce: [Hardware Error]: Machine check events logged
[ 1647.025517] CPU3: Core temperature/speed normal
[ 1647.025521] mce: [Hardware Error]: Machine check events logged
[ 1947.024435] CPU3: Core temperature/speed normal
[ 1947.024442] mce: [Hardware Error]: Machine check events logged
[ 2247.023658] CPU3: Core temperature above threshold, cpu clock throttled (total events = 105884)
[ 2247.023667] mce: [Hardware Error]: Machine check events logged
[ 2247.026821] CPU3: Core temperature/speed normal
[ 2547.038536] CPU3: Core temperature above threshold, cpu clock throttled (total events = 130752)
[ 2547.038548] mce_notify_irq: 1 callbacks suppressed
[ 2547.038549] mce: [Hardware Error]: Machine check events logged
[ 2547.040647] CPU3: Core temperature/speed normal
[ 2547.040651] mce: [Hardware Error]: Machine check events logged
|
Sometimes Firefox crushes when I go to some site with media content. Like the YouTube, but not when I'm watching a video, but when I open main YouTube page with advertisement.Firefox just crushes as soon as page loads, it doesn't matter do I played ad or not.
There are only low quality videos on YT, I can't switch to 1080p for example. As I know it means that there are no required codecs.
Last edited by noqrax on Tue Oct 11, 2016 6:22 pm; edited 2 times in total |
|
Back to top |
|
|
mrbassie l33t
Joined: 31 May 2013 Posts: 781 Location: over here
|
Posted: Tue Oct 11, 2016 6:08 pm Post subject: |
|
|
noqrax wrote: |
There are only low qulity videos on YT, I can'ty switch to 1080p for example. As I know it means that there no requaired codecs. |
If you navigate to youtube.com/html5 is everything ticked? I think I know how to solve your resolution problem at least. |
|
Back to top |
|
|
noqrax n00b
Joined: 04 Oct 2016 Posts: 51
|
Posted: Tue Oct 11, 2016 6:17 pm Post subject: |
|
|
I have two red squares for:
H.264
MSE & H.264 |
|
Back to top |
|
|
josephg l33t
Joined: 10 Jan 2016 Posts: 783 Location: usually offline
|
Posted: Tue Oct 11, 2016 9:04 pm Post subject: |
|
|
Zucca wrote: | From on version 43 Firefox has been using ffmpeg to play back the multimedia content.
You should check that your media-video/ffmpeg has compiled with the required USE -flags. Especially look for the flags named: aac, vpx, x264, x265 and opus. |
i think you don't need vpx x264 x265 flags, as they are for encoding. i don't know about opus though. you only need decoders for playback. i have none of the above flags enabled, and i have audio & video on almost all youtube videos and facebook. http://youtube.com/html5 shows all 7 boxes ticked. i don't have flash installed. _________________ "Growth for the sake of growth is the ideology of the cancer cell." Edward Abbey
Last edited by josephg on Tue Oct 11, 2016 9:18 pm; edited 1 time in total |
|
Back to top |
|
|
mrbassie l33t
Joined: 31 May 2013 Posts: 781 Location: over here
|
|
Back to top |
|
|
noqrax n00b
Joined: 04 Oct 2016 Posts: 51
|
Posted: Wed Oct 12, 2016 1:39 am Post subject: |
|
|
It worked for me! |
|
Back to top |
|
|
|