You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When playing videos the sound should be heard clearly.
Steps to reproduce
Open a pdf file with embedded video.
Show a slide with video and start playback.
Listen closely :)
Examine the system’s audio output streams (e.g. with pavucontrol) – you should see the audio track of the video twice.
Problem
Sometimes the audio track of videos sounds quite tinny. Probably this is because of the doubled video on the presenter and the presentation view. That way the audio output is doubled, too.
When disabling/muting one of the two output streams (e.g. with pavucontrol) the sound is clear again.
I think it is a good idea to disable the audio tracks of one of the two player instances.
Sadly, libvlc doesn’t seem to be quit straight forward there. I could not manage it this morning, not even with reading the docs.
Looks like you’ve got to grab the audio track of one of the player’s media, "free" it somehow and then mute or disable it. Didn’t get it right.
The text was updated successfully, but these errors were encountered:
Hmmmm I must say I didn't expect to play sound from pympress. But if it's already possible, we should definitely support it and do it the right way. I'll have a look at this.
I think self.player.audio_set_mute(True) is a good starting point, but I have to get my hands on an example pdf first.
Environment
Pympress
Expected behaviour
When playing videos the sound should be heard clearly.
Steps to reproduce
Problem
Sometimes the audio track of videos sounds quite tinny. Probably this is because of the doubled video on the presenter and the presentation view. That way the audio output is doubled, too.
When disabling/muting one of the two output streams (e.g. with pavucontrol) the sound is clear again.
I think it is a good idea to disable the audio tracks of one of the two player instances.
Sadly, libvlc doesn’t seem to be quit straight forward there. I could not manage it this morning, not even with reading the docs.
Looks like you’ve got to grab the audio track of one of the player’s media, "free" it somehow and then mute or disable it. Didn’t get it right.
The text was updated successfully, but these errors were encountered: