Page 1 of 1

no sound after un-pause

Posted: 18 Feb 2011 11:45
by svlasov
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.

Re: no sound after un-pause

Posted: 13 Mar 2011 18:30
by dooblem
Hello,

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

version ( 1.1.4-1ubuntu1.4)

Marc

Re: no sound after un-pause

Posted: 13 Mar 2011 18:50
by dooblem
okay, installing the vlc-plugin-pulse packages fixed the problem.

Re: no sound after un-pause

Posted: 15 May 2011 05:51
by avi9526
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?