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

Sound in PipeWire #2

Open
b4zz4 opened this issue Apr 16, 2024 · 13 comments
Open

Sound in PipeWire #2

b4zz4 opened this issue Apr 16, 2024 · 13 comments

Comments

@b4zz4
Copy link

b4zz4 commented Apr 16, 2024

OS: Arch Linux

Great program. I was looking for a program that reproduces lists in gnu/linux but does not work the sound within OBS. (alsa, pulse, openAL they listen, but it doesn't work for the PipeWire transition)

Make with:

  cmake -B build \
  -DCMAKE_BUILD_TYPE=None \
  -DCMAKE_INSTALL_PREFIX='/usr' \
  -DCMAKE_INSTALL_LIBDIR=lib \
  -DLINUX_PORTABLE=OFF 

But don't work pipewire...

@b4zz4 b4zz4 closed this as completed Apr 16, 2024
@b4zz4 b4zz4 reopened this Apr 16, 2024
@univrsal
Copy link
Owner

Can you post a full obs log? Also you might need to restart the playback after changing to pipewire.

@b4zz4
Copy link
Author

b4zz4 commented Apr 17, 2024

Yeah, reboot many times. The video (OBS) appears in Pulse Audio and don't play or recorded in the transmission. Not even the level changes.
Player windows don't allowed to interact.

excerpt_000.mp4

@univrsal
Copy link
Owner

The interaction not working is an issue with libmpv, nothing I can do about it. I also still need an obs log. Also I meant restarting the playback, not rebooting, like this:

s.mp4

@b4zz4
Copy link
Author

b4zz4 commented Apr 17, 2024

But the audio capture is done using the Desktop audio?

@univrsal
Copy link
Owner

It's the same when I use the builtin source:

s2.mp4

@b4zz4
Copy link
Author

b4zz4 commented Apr 17, 2024

Sure, that with pipewire isn't working on me. It's mute.

@univrsal
Copy link
Owner

What do the source properties look like after loading the file? Can you select a different audio track in there?

@b4zz4
Copy link
Author

b4zz4 commented Apr 17, 2024

It seems deactivated in the "interact" but in the source it is chosen.

Maybe it's a mistake in my compilation that parameters use in cmake

@univrsal
Copy link
Owner

does it happen with all video files? Do you have one that you could upload?

@b4zz4
Copy link
Author

b4zz4 commented Apr 17, 2024

I did tests with many, it seems he's trying to connect with jack only …

info: [obs-mpv] log:  (+) Video --vid=1 (*) (h264 1024x1280 25.000fps)
info: [obs-mpv] log:  (+) Audio --aid=1 (*) (aac 2ch 44100Hz)
info: [obs-mpv] log: File tags:
info: [obs-mpv] log:  Date: 2023/10/13 17:01:32
error: [obs-mpv] log: cannot open server
error: [obs-mpv] log: Failed to initialize audio driver 'jack'
error: [obs-mpv] log: Could not open/initialize audio device -> no sound.
info: [obs-mpv] log: Audio: no audio
info: [obs-mpv] log: VO: [libmpv] 1024x1280 yuv420p
info: [obs-mpv] log: Track switched:
info: [obs-mpv] log:  (+) Video --vid=1 (*) (h264 1024x1280 25.000fps)
info: [obs-mpv] log:      Audio --aid=1 (*) (aac 2ch 44100Hz)

@univrsal
Copy link
Owner

@b4zz4
Copy link
Author

b4zz4 commented Apr 17, 2024

It is heard by the speakers but not within OBS

@univrsal
Copy link
Owner

No clue what the issue is then

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

No branches or pull requests

2 participants