no sound after un-pause

This forum is about all development around libVLC.
svlasov
New Cone
New Cone
Posts: 2
Joined: 18 Feb 2011 10:07

no sound after un-pause

Postby svlasov » 18 Feb 2011 11:45

Hello,

I'm developing with libvlc and Qt4 and experience a problem with sound. It disappears just randomly during playback or if it was paused and then un-paused. I tried different versions of vlc as 1.1.5, 1.1.6 and 1.2.0-git. Surprisingly I got exactly the same behavior for vlc standalone (just to point that it's not my app but vlc player) which I built from 1.2.0-git, maybe it's good meaning that the problem is probably not in my code, however vlc build from 1.1.5 sources works ok. Anyways, for my app this happens all the time disregards of what libvlc version is used. I tested on two Ubuntu 10.04 systems with different hardware. vlc is not installed in the system, I build it using --prefix option for configure script and install into a dir under my home dir, I do that because 'make uninstall' doesn't clean up very well leaving may files behind and causes conflicts between different versions of vlc, with custom prefix I can easily clean it up manually.

I used http://wiki.videolan.org/LibVLC_SampleCode_Qt as starting point and just added buttons to play and pause:

Code: Select all

void Player::on_playButton_clicked() { libvlc_media_player_play(_mp); } void Player::on_pauseButton_clicked() { libvlc_media_player_set_pause(_mp, true); }
So basically after pausing playback and resuming again position sliders continues to move but no sound comes out. I appreciate any help.

dooblem
New Cone
New Cone
Posts: 2
Joined: 13 Mar 2011 18:27

Re: no sound after un-pause

Postby dooblem » 13 Mar 2011 18:30

Hello,

I have the same problem natively in VLC player. Under ubuntu maverick.

version ( 1.1.4-1ubuntu1.4)

Marc

dooblem
New Cone
New Cone
Posts: 2
Joined: 13 Mar 2011 18:27

Re: no sound after un-pause

Postby dooblem » 13 Mar 2011 18:50

okay, installing the vlc-plugin-pulse packages fixed the problem.

avi9526
Blank Cone
Blank Cone
Posts: 12
Joined: 05 Aug 2010 00:23

Re: no sound after un-pause

Postby avi9526 » 15 May 2011 05:51

I use output module alsa and have also this problem with vlc 1.2-git, and now with vlc 1.1.9
I can't use pulseaudio because of some problems
http://trac.videolan.org/vlc/ticket/4768

maybe some other solution?


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 15 guests