Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED]No sound in html5 video
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
noqrax
n00b
n00b


Joined: 04 Oct 2016
Posts: 51

PostPosted: Mon Oct 10, 2016 8:21 pm    Post subject: [SOLVED]No sound in html5 video Reply with quote

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
View user's profile Send private message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 3343
Location: Rasi, Finland

PostPosted: Mon Oct 10, 2016 8:41 pm    Post subject: Reply with quote

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
View user's profile Send private message
noqrax
n00b
n00b


Joined: 04 Oct 2016
Posts: 51

PostPosted: Tue Oct 11, 2016 3:19 am    Post subject: Reply with quote

I did as u say, but there is no sound anyway...
When I compiled Firefox I noticed that he used gstreamer.
Back to top
View user's profile Send private message
sebB
l33t
l33t


Joined: 02 Mar 2011
Posts: 806
Location: S.O. France

PostPosted: Tue Oct 11, 2016 5:56 am    Post subject: Reply with quote

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
View user's profile Send private message
noqrax
n00b
n00b


Joined: 04 Oct 2016
Posts: 51

PostPosted: Tue Oct 11, 2016 9:48 am    Post subject: Reply with quote

it is builded with ffmpeg. Still no sound.
Back to top
View user's profile Send private message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 3343
Location: Rasi, Finland

PostPosted: Tue Oct 11, 2016 10:21 am    Post subject: Reply with quote

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
View user's profile Send private message
noqrax
n00b
n00b


Joined: 04 Oct 2016
Posts: 51

PostPosted: Tue Oct 11, 2016 1:56 pm    Post subject: Reply with quote

There is no messages during I use Firefox. But there are some interesting messages anyway. :D
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
View user's profile Send private message
mrbassie
l33t
l33t


Joined: 31 May 2013
Posts: 772
Location: over here

PostPosted: Tue Oct 11, 2016 6:08 pm    Post subject: Reply with quote

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
View user's profile Send private message
noqrax
n00b
n00b


Joined: 04 Oct 2016
Posts: 51

PostPosted: Tue Oct 11, 2016 6:17 pm    Post subject: Reply with quote

I have two red squares for:
H.264
MSE & H.264
Back to top
View user's profile Send private message
josephg
l33t
l33t


Joined: 10 Jan 2016
Posts: 783
Location: usually offline

PostPosted: Tue Oct 11, 2016 9:04 pm    Post subject: Reply with quote

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
View user's profile Send private message
mrbassie
l33t
l33t


Joined: 31 May 2013
Posts: 772
Location: over here

PostPosted: Tue Oct 11, 2016 9:08 pm    Post subject: Reply with quote

noqrax wrote:
I have two red squares for:
H.264
MSE & H.264


Try this: http://www.ghacks.net/2014/07/25/enable-mse-h2-64-support-youtube-firefox-right-now

Some of those options are no longer there and might or might not need adding back manually. Along with adding the ffmpeg flag I think it should work.
Back to top
View user's profile Send private message
noqrax
n00b
n00b


Joined: 04 Oct 2016
Posts: 51

PostPosted: Wed Oct 12, 2016 1:39 am    Post subject: Reply with quote

mrbassie wrote:
noqrax wrote:
I have two red squares for:
H.264
MSE & H.264


Try this: http://www.ghacks.net/2014/07/25/enable-mse-h2-64-support-youtube-firefox-right-now

Some of those options are no longer there and might or might not need adding back manually. Along with adding the ffmpeg flag I think it should work.


It worked for me! :D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum