No sound while playing video
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:
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.
Do you get audio if you play the file with mpv (mpv http://dl5.webmfiles.org/big-buck-bunny_trailer.webm)?
No, it doesn't play audio either.
On Sat, Dec 21, 2019 at 1:46 PM gnome-mpv [email protected] wrote:
Do you get audio if you play the file with mpv (mpv http://dl5.webmfiles.org/big-buck-bunny_trailer.webm)?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/celluloid-player/celluloid/issues/506?email_source=notifications&email_token=ACBCQ3VGFOZQDYCOWV5FWOLQZYF4FA5CNFSM4J6A7VLKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHO3QGA#issuecomment-568178712, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACBCQ3T76C3YHNLKEKQ4QF3QZYF4FANCNFSM4J6A7VLA .
If other programs can play audio, then this is probably a bug in mpv and should be reported to them.
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.
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"
I use applications that come with my release. No way to mess up my system for mpv, a piece of shit. VLC forever.
On Sat, Dec 21, 2019 at 5:09 PM Nicolas F. [email protected] wrote:
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"
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/celluloid-player/celluloid/issues/506?email_source=notifications&email_token=ACBCQ3QKG2PAQW7TE25G2J3QZY5ULA5CNFSM4J6A7VLKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHO62OI#issuecomment-568192313, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACBCQ3WZVICT6VWXVMODL43QZY5ULANCNFSM4J6A7VLA .
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.
Clear. Roger.
On Sat, Dec 21, 2019 at 5:37 PM Nicolas F. [email protected] wrote:
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.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/celluloid-player/celluloid/issues/506?email_source=notifications&email_token=ACBCQ3SELZTHV56DXTPKH5DQZZA27A5CNFSM4J6A7VLKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHO7JDI#issuecomment-568194189, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACBCQ3TJX2IRCMSNFKCEVVLQZZA27ANCNFSM4J6A7VLA .
I write software for Gnome (i.e.: Baobab, Disk Usage Analyzer) and it is my job to be sure that distros are including latest version.
On Sat, Dec 21, 2019 at 5:37 PM Nicolas F. [email protected] wrote:
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.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/celluloid-player/celluloid/issues/506?email_source=notifications&email_token=ACBCQ3SELZTHV56DXTPKH5DQZZA27A5CNFSM4J6A7VLKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHO7JDI#issuecomment-568194189, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACBCQ3TJX2IRCMSNFKCEVVLQZZA27ANCNFSM4J6A7VLA .
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
@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.
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.
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:
- Open Celluloid and click on the three horizontal lines on the top right corner.
- Then select Preferences > Miscellaneous and you will see at the bottom a fill box saying "Extra mpv options".
- 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
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=pulseto 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 thempv.conffile 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.
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"
Thank you @CounterPillow for mentioning pulse, my output device was okay, but celluloid's playback was somehow muted (most likely by me accidentally a long ago lol)