firefoxdoesn't play MP4 (Solved)

Issues and / or general discussion relating to Puppy

Moderator: Forum moderators

Post Reply
gilles
Posts: 186
Joined: Fri Aug 21, 2020 11:07 pm
Location: France
Has thanked: 44 times
Been thanked: 13 times

firefoxdoesn't play MP4 (Solved)

Post by gilles »

Hello,
Firefox-91.9.Oesr with Bionic 32 doesn't play MP4.
What must I do ?
Thank you

ozsouth
Posts: 1564
Joined: Sun Jul 12, 2020 2:38 am
Location: S.E. Australia
Has thanked: 241 times
Been thanked: 700 times

Re: firefoxdoesn't play MP4

Post by ozsouth »

@gilles - if you mean sound doesn't play, you probably need to start firefox with apulse, i.e.
from a terminal run: apulse firefox (assuming just running 'firefox' starts it).
In bionic32, you may also need the apulse .pet found in this post: viewtopic.php?p=54265&sid=9febef9bdecda ... 029#p54265

User avatar
Flash
Moderator
Posts: 976
Joined: Tue Dec 03, 2019 3:13 pm
Location: Arizona, U.S.
Has thanked: 51 times
Been thanked: 125 times

Re: firefoxdoesn't play MP4

Post by Flash »

Alternatively, you can download the .mp4 file and see if any of the several media players in Puppy's Multimedia section will play it. Gnome or mhWaveEdit have always been able to play .mp4 for me.

Chaos coordinator :?
gilles
Posts: 186
Joined: Fri Aug 21, 2020 11:07 pm
Location: France
Has thanked: 44 times
Been thanked: 13 times

Re: firefoxdoesn't play MP4

Post by gilles »

Hello,

Yes, what I mean is that I can watch the mp4 video but without sound.
I downladed the apulse.pet, but it changed nothing.
But it is wrigth I have video and sound perfectly if I click on "download" and choose to open it with the default media player. It should be better to have it directly...Is it imposible ?

Thank you for your help.

User avatar
mikeslr
Posts: 2960
Joined: Mon Jul 13, 2020 11:08 pm
Has thanked: 178 times
Been thanked: 914 times

Re: firefoxdoesn't play MP4

Post by mikeslr »

File-browse to /usr/share/applications/firefox.desktop. (Yours might have a slightly different name, or one beginning with mozilla). Open it in a text editor. Add apulse to the right side of the Exec= line, e.g.:

Exec=apulse firefox

You didn't need to install apulse. It's built into Puppys. You just have to tell an application to use it; or rather, as the argument above shows, use it and an application at the same time.

But the way I prefer is to use MikeWalsh's rebuilt of fredx181's portable. viewtopic.php?p=37559#p37559. Among other things, the application will update and the script which starts it also starts apulse.

gilles
Posts: 186
Joined: Fri Aug 21, 2020 11:07 pm
Location: France
Has thanked: 44 times
Been thanked: 13 times

Re: firefoxdoesn't play MP4

Post by gilles »

Hello Mikeslr,
In :
[Desktop Entry]
Encoding=UTF-8
Name=Navigateur Firefox
Comment=Navigateur Firefox
Exec=/opt/firefox/firefox
Icon=/usr/local/share/icons/hicolor/24x24/apps/firefox.png
Terminal=false
StartupNotify=false
NoDisplay=false
Type=Application
Categories=WebBrowser;
GenericName=Navigateur Firefox

I have change the Exec line to :
Exec=apulse firefox

But, then, firefox doesn't work at all : it doesn't start...
So I came back to :
Exec=/opt/firefox/firefox
and so, it starts again but without sound with mp4, except if I click on download and open with the default media player.

Thank you for your help

one
Posts: 244
Joined: Sun Jul 12, 2020 7:53 am
Has thanked: 16 times
Been thanked: 59 times

Re: firefoxdoesn't play MP4

Post by one »

Hi @gilles,

so the solution will probable be to change the Exec line to:

Exec=/opt/firefox/apulse firefox

peace

ozsouth
Posts: 1564
Joined: Sun Jul 12, 2020 2:38 am
Location: S.E. Australia
Has thanked: 241 times
Been thanked: 700 times

Re: firefoxdoesn't play MP4

Post by ozsouth »

I think that exec line should be:
Exec=apulse /opt/firefox/firefox

one
Posts: 244
Joined: Sun Jul 12, 2020 7:53 am
Has thanked: 16 times
Been thanked: 59 times

Re: firefoxdoesn't play MP4

Post by one »

Hi @ozsouth,

my bad - I think you are right :oops: .

@gilles

I started a pristine bionicpup32, downloaded a firefox-91.9.0esr.tar.bz2 from firefox and extracted it in /opt, started the firefox binary from there and it plays mp4 with sound.
The portable firefox-esr from mikewalsh also plays mp4 well with sound ...

peace

gilles
Posts: 186
Joined: Fri Aug 21, 2020 11:07 pm
Location: France
Has thanked: 44 times
Been thanked: 13 times

Re: firefoxdoesn't play MP4

Post by gilles »

Hello,
I modified the Exec line to : Exec=apulse /opt/firefox/firefox
This way, it works perfectly
Thank you

Post Reply

Return to “Users”