-   Slackware (
-   -   a particular use-case for PulseAudio (

gus3 02-14-2020 06:47 PM

a particular use-case for PulseAudio
I have a video of a drum & bugle corps performance, but the audio in it isn't the greatest. I have another, better recording of the audio, but no video.

Apparently, my MPlayer config is set to adjust the *global* volume on the sound card, not just its own volume. Oops.

"pavucontrol" made easy work of muting the audio from MPlayer, giving me the better audio from XMMS to go with the video.

Color me impressed! I wasn't sure what to think of PulseAudio when it PatV made it officially part of Slackware (I had a hard time getting it to work on my old desktop) but this definitely put a couple check-marks in the "plus" column.

ReFracture 02-14-2020 07:37 PM

I always had a lot of audio problems as a general user on Linux.. they went away when PulseAudio came around.. so for all the hate it gets I personally wouldn’t ever want to go back to pure alsa.

GazL 02-15-2020 10:22 AM

No need for pulseaudio for that. mplayer has a 'softvol' option (which I always use) to allow it to have an independent volume control.

Have you considered using ffmpeg to replace the poor quality sound stream in the video file with the good one? Something like:
ffmpeg -i video.mp4 -i goodsound.mp3 -map 0:v -map 1:a -c:v copy -c:a copy vid_with_better_sound.mp4

You might need to play around with either audio or video delay to get them to sync properly, but if you google the subject you'll find a lot of examples.

All times are GMT -5. The time now is 04:15 AM.