Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No sound while playing video #506

Open
fmarzocca opened this issue Dec 20, 2019 · 16 comments
Open

No sound while playing video #506

fmarzocca opened this issue Dec 20, 2019 · 16 comments

Comments

@fmarzocca
Copy link

Overview Description:

Steps to Reproduce:
1.Play a video file (tried: avi, mp4, mkv)
2.
3.

Actual Results:
The video plays but no sound

Expected Results:
Audio and video

Version:
0.17-0mint2+tricia

Additional Information:

@gnome-mpv
Copy link
Collaborator

I attempted to reproduce this in a Mint 19.3 VM but the audio seems to work fine. For reference, I used this video to test.

Are you sure that the audio isn't muted? Try pressing m and see if audio starts working.

If not, try playing a video with logging enabled (run G_MESSAGES_DEBUG=all celluloid --mpv-options='--msg-level=all=trace' &> celluloid.log) and post the log file here.

@fmarzocca
Copy link
Author

Hi,

the Big Bunny video is not playing audio too.
I am attaching here the logfile.

celluloid.log

@gnome-mpv
Copy link
Collaborator

Do you get audio if you play the file with mpv (mpv http://dl5.webmfiles.org/big-buck-bunny_trailer.webm)?

@fmarzocca
Copy link
Author

fmarzocca commented Dec 21, 2019 via email

@gnome-mpv
Copy link
Collaborator

If other programs can play audio, then this is probably a bug in mpv and should be reported to them.

@fmarzocca
Copy link
Author

fmarzocca commented Dec 21, 2019

I understand.
I have opened an issue on mpv, but I have been treated roughly. In other words: mpv doesn't work on Mint with HDMI audio.
Look here.

@CounterPillow
Copy link

Try choosing the right audio output device in pulse instead. And telling you to update your 3 years out of date mpv version is not "being treated roughly"

@fmarzocca
Copy link
Author

fmarzocca commented Dec 21, 2019 via email

@CounterPillow
Copy link

If you choose to run outdated software that your distro ships, then your bug reports should go to your distribution, not to the upstream projects. We cannot provide support for the past 6 years of software versions that various distributions choose to ship.

@fmarzocca
Copy link
Author

fmarzocca commented Dec 21, 2019 via email

@fmarzocca
Copy link
Author

fmarzocca commented Dec 21, 2019 via email

@argymeg
Copy link

argymeg commented Jun 4, 2020

I was unsure whether to open a new issue - apologies if I should have. I'm having the same problem, except in my case sound works fine in mpv (and SMPlayer). I'm attaching the log as requested above, from playing the test video provided. I'm using Celluloid 0.19 and mpv 0.32.0, on Arch Linux.
celluloid.log

@gnome-mpv
Copy link
Collaborator

@argymeg From the log, it looks like audio is being decoded correctly. Maybe check if PulseAudio is muting Celluloid.

If you're using GNOME, you can check the volume in gnome-control-center under the Sound section. Otherwise you can look for Celluloid's entry in the output of pactl list sink-inputs. You'll need to play something in Celluloid for it to show up.

@argymeg
Copy link

argymeg commented Jun 6, 2020

It wasn't quite getting muted but it does indeed look like an issue with PulseAudio's handling of my weird setup. My bad. All working now, thanks for looking at this.

@Arakan28
Copy link

Arakan28 commented Oct 21, 2024

For anyone still looking to solve this issue, you need to do this, but I will explain it step by step if you are a newbie watching this:

  1. Open Celluloid and click on the three horizontal lines on the top right corner.
  2. Then select Preferences > Miscellaneous and you will see at the bottom a fill box saying "Extra mpv options".
  3. Just add this line: --ao=pulse

You can also add --ao=pulse to an MPV configuration file, and load it up on Celluloid by going to Preferences > Config Files and enabling "Load mpv configuration file". You will have to create the mpv.conf file and give Celluloid the path to its location. Mine is located in /home/user/Documents/MPV/mpv.conf

@jweickm
Copy link

jweickm commented Nov 15, 2024

For anyone still looking to solve this issue, you need to do this, but I will explain it step by step if you are a newbie watching this:

1. Open Celluloid and click on the three horizontal lines on the top right corner.

2. Then select **Preferences** > **Miscellaneous** and you will see at the bottom a fill box saying _"Extra mpv options"_.

3. Just add this line: `--ao=pulse`

You can also add --ao=pulse to an MPV configuration file, and load it up on Celluloid by going to Preferences > Config Files and enabling "Load mpv configuration file". You will have to create the mpv.conf file and give Celluloid the path to its location. Mine is located in /home/user/Documents/MPV/mpv.conf

Thank you, @Arakan28! I was struggling with this on Fedora 41, now it works like a charm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants