Coder Social home page Coder Social logo

Comments (7)

AurorinhaBoreal avatar AurorinhaBoreal commented on May 29, 2024 1

Just want to thanks @Nannk and @port19x for the help!

Gonna close this Issue! Have a good weekend you two! <3

from ani-cli.

port19x avatar port19x commented on May 29, 2024

sound should work indeed, this is strange.
Can you try playing a youtube video with mpv for testing?

from ani-cli.

AurorinhaBoreal avatar AurorinhaBoreal commented on May 29, 2024

Okkay, I could't find how to make a link work in mpv, but I play a file instead and the problem is the mpv, the file didn't have audio too.

I was searching how to play links in mpv and I didn't found a file called mpv.conf, apparently the audio config is in this file?
image

Sorry for any grammar mistakes, do you know about this? Maybe I should search for any error in the mpv community...

from ani-cli.

Nannk avatar Nannk commented on May 29, 2024

Sorry for the question, but does you audio work at all? (for example when you play a youtube video in a browser)

Go to your sound settings while mpv is playing and check what sources(playback in pavucontrol) you have. Mpv should be in there. Check that it is not muted and is assiges to correct output device.

Another reason might be that something is outputting directly to alsa, which, from my experience, blocks everything else from making any sound.

from ani-cli.

AurorinhaBoreal avatar AurorinhaBoreal commented on May 29, 2024

No, it doesn't apparently! I searched a little and found that maybe it is some problem with the mpv itself. I found some changes that you can do in your mpv.conf file, will test it later and post the resulsts here

from ani-cli.

Nannk avatar Nannk commented on May 29, 2024

If your audio doesnt work at all then its most probably pulseaudio/alsa or pipewire/alsa problem.

from ani-cli.

AurorinhaBoreal avatar AurorinhaBoreal commented on May 29, 2024

Yeah, I think it was exactly that!

I found out that for some reason, when I installed the mpv, the mpv.conf wasn't created.

So, I had to created manually.

1 - I installed the MPV through AUR
2 - Created the mpv.conf using nano ~/.config/mpv/mpv.conf
3 - Pasted the following in the mpv.conf:

# ===== Audio =====
ao=alsa
audio-device=auto

Apparently just sets the audio for alsa as @Nannk mentioned and sets the output device for automatic>

After that it worked perfectly! Any files that I open with it, plays audio and the anime that I tested in ani-cli worked too!

It is really weird that this wasn't created automatically though...

from ani-cli.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.