sound - almost

Moderators: odroid, mdrjr

sound - almost

Unread postby gom » Sat Apr 07, 2018 7:44 pm

Using XU4 running Debian Stretch with Mate desktop connected to HDMI monitor. Using firefox I can get sound from places like youtube. I get sound from mplayer. But not using firefox playing http://player.radiocoalition.org/70schannel?l. Any body got any ideas?
gom
 
Posts: 11
Joined: Tue Apr 03, 2018 8:43 pm
languages_spoken: english

Re: sound - almost

Unread postby odroid » Sat Apr 07, 2018 9:22 pm

How is the Chromium browser?
User avatar
odroid
Site Admin
 
Posts: 29098
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: sound - almost

Unread postby gom » Sat Apr 07, 2018 10:13 pm

I get sound with Chromium. Got any idea what is going on?
gom
 
Posts: 11
Joined: Tue Apr 03, 2018 8:43 pm
languages_spoken: english

Re: sound - almost

Unread postby odroid » Sun Apr 08, 2018 10:18 am

I have no idea since I don't use Firefox for a couple of years.
I hope other people will help you.
User avatar
odroid
Site Admin
 
Posts: 29098
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: sound - almost

Unread postby elatllat » Mon Apr 09, 2018 2:14 pm

I think that link is mp3, I would bet that Firefox would only play ogg.
try installing a plugin (vlc/gstreamer/etc)
elatllat
 
Posts: 1096
Joined: Tue Sep 01, 2015 8:54 am
languages_spoken: english
ODROIDs: XU4, N1

Re: sound - almost

Unread postby gom » Mon Apr 09, 2018 10:32 pm

Vlc will not play, segmentation fault. But
I notice on other machines when playing this in xfce4-pulseaudio-plugin under playback firefox is playing via "ALSA plug-in [plugin-container]"
gom
 
Posts: 11
Joined: Tue Apr 03, 2018 8:43 pm
languages_spoken: english

Re: sound - almost

Unread postby elatllat » Mon Apr 09, 2018 10:43 pm

cvlc should work,
(the vlc gui requires gl4es or GLESv2-QT5)
but I was talking about a Firefox plugin because Firefox did not support mp3/h265 natively due to non-"open" formats.
elatllat
 
Posts: 1096
Joined: Tue Sep 01, 2015 8:54 am
languages_spoken: english
ODROIDs: XU4, N1

Re: sound - almost

Unread postby gom » Tue Apr 10, 2018 2:12 am

cvlc does work with sound.
I installed a vlc pluggin for firefox
Still no sound.
gstreamer1.0 is installed.
Is gstreamer0.10 available?
gom
 
Posts: 11
Joined: Tue Apr 03, 2018 8:43 pm
languages_spoken: english

Re: sound - almost

Unread postby elatllat » Tue Apr 10, 2018 4:48 pm

Try just playing an mp3 in Firefox to make sure it's not some other issue.
elatllat
 
Posts: 1096
Joined: Tue Sep 01, 2015 8:54 am
languages_spoken: english
ODROIDs: XU4, N1

Re: sound - almost

Unread postby gom » Tue Apr 10, 2018 6:11 pm

Using File->Open File to load a mp3 file plays but no sound.
gom
 
Posts: 11
Joined: Tue Apr 03, 2018 8:43 pm
languages_spoken: english

Re: sound - almost

Unread postby Ronaldleess » Mon Apr 16, 2018 9:42 pm

The difference is likely what @elatllat said. My Firefox will play Youtube because Youtube has Webm (vp9+vorbis) content. It will only play content outside of Youtube if the Cisco plugin is installed. Then it will play mp4 (h264+ac3) etc. Outside of Youtube, FF probably won't decode audio other than Vorbis unless you rig it up yourself with plugin. I don't think the Cisco plugin helps with audio-only streams either. The AV1 codec will fix all of this :-) Opus is awesome.
I am The Umbrella Man
Ronaldleess
 
Posts: 59
Joined: Wed May 24, 2017 6:52 am
languages_spoken: english
ODROIDs: XU4 C1 C1+

Re: sound - almost

Unread postby gom » Mon Apr 16, 2018 11:30 pm

On a pc running Debian Stretch Firefox plays whatever I have tried. What make Odroid different?
gom
 
Posts: 11
Joined: Tue Apr 03, 2018 8:43 pm
languages_spoken: english

Re: sound - almost

Unread postby elatllat » Tue Apr 17, 2018 6:39 pm

MDN said
..support for MP3 ... on ... Linux ... relies on GStreamer codecs...


Code: Select all
apt search GStreamer mp3 2>/dev/null | grep mp3
gstreamer1.0-fluendo-mp3/xenial 0.10.32.debian-1 armhf
  Fluendo mp3 decoder GStreamer 1.0 plugin


Code: Select all
apt show gstreamer1.0-fluendo-mp3 2>/dev/null | grep Description -A 99
Description: Fluendo mp3 decoder GStreamer 1.0 plugin
 This GStreamer 1.0 plugin permits decoding of MPEG 1 audio layer III
 streams.  It is derived from the ISO MPEG dist10 reference package.
 .
 This plugin differs from the GStreamer MAD plugin in that it doesn't
 depend on a GPL library.


freedesktop said mad is in the ugly package and

Code: Select all
apt search GStreamer ugly 2>/dev/null | grep ugly/
gstreamer1.0-plugins-ugly/xenial-updates 1.8.3-1ubuntu0.1 armhf


so try

Code: Select all
apt install gstreamer1.0-fluendo-mp3 gstreamer1.0-plugins-ugly


I tested on the N1 and the link in the OP produces sound.
elatllat
 
Posts: 1096
Joined: Tue Sep 01, 2015 8:54 am
languages_spoken: english
ODROIDs: XU4, N1

Re: sound - almost

Unread postby gom » Tue Apr 17, 2018 7:50 pm

On my pc's gstreamer1.0-fluendo-mp3 is not installed and gstreamer1.0-plugins-ugly is. On odroid gstreamer1.0-fluendo-mp3 was not installed and gstreamer1.0-plugins-ugly is. On odroid I installed gstreamer1.0-fluendo-mp3. Firefox still does not play mp3. Strange. gst123 on odroid plays mp3 just fine.
gom
 
Posts: 11
Joined: Tue Apr 03, 2018 8:43 pm
languages_spoken: english


Return to General Chat

Who is online

Users browsing this forum: No registered users and 3 guests