smplayer should default to pulse, not alsa (as an audio device)

Bug #414171 reported by Yunkwan
This bug report is a duplicate of:  Bug #360133: smplayer video stop after few frames. Edit Remove
30
This bug affects 7 people
Affects Status Importance Assigned to Milestone
smplayer (Ubuntu)
New
Undecided
Unassigned
Nominated for Karmic by allnightlong

Bug Description

Ubuntu Karmic Alpha4
smplayer:
Version: 0.6.7+SVN
Using Qt 4.5.2 (compiled with Qt 4.5.2)

playing any type of video smplayer pause after forward or backward serveral time. But it should be playing if it's working correctly.
This happened since when I was testing Alpha3.
I even compiled mplayer and smplayer by myself. This issue is still around.

When using mplayer (command line), mplayer (--gui) and gnome-player, this issue doesn't exist~

affects: ubuntu → smplayer (Ubuntu)
Revision history for this message
rvm (rvm) wrote :

Does it make any difference if you change the audio driver? (preferences -> general -> audio)

Revision history for this message
Yunkwan (chanyunkwan0217) wrote :

I'm using archlinux (2.26.31rc6+intel driver 2.8) now. It has the same problem on smplayer as karmic does. however, smplayer works perfect again after switching audio driver to oss from alsa(default).
I believe that this method will also work for Karmic.

Revision history for this message
guillermo (grd22001) wrote :

this is a problem with the alsa driver an smplayer

as log file...
[16:19:38:675] MplayerProcess::parseLine: '[AO_ALSA] Write error: Broken pipe'
[16:19:38:675] MplayerProcess::parseLine: '[AO_ALSA] Trying to reset soundcard.'
[16:19:38:818] Core::srewind
[16:19:38:818] Core::seek: -10
[16:19:38:818] Core::tellmp: 'seek -10 0'
[16:19:39:694] Core::srewind
[16:19:39:694] Core::seek: -10
[16:19:39:694] Core::tellmp: 'seek -10 0'
[16:19:59:248] Core::pause_and_frame_step
[16:19:59:248] Core::tellmp: 'pause'
[16:19:59:312] MplayerProcess::parseLine: ''
[16:19:59:312] MplayerProcess::parseLine: ' ===== PAUSE ====='
[16:19:59:312] MplayerProcess::parseLine: 'ID_PAUSED'
[16:19:59:312] Core::changePause
[16:19:59:312] Core::changePause: mplayer reports that it's paused
[16:19:59:312] BaseGui::displayState: Paused
[16:19:59:312] BaseGui::togglePlayAction
[16:19:59:312] MplayerProcess::parseLine: '[AO_ALSA] pcm pause error: File descriptor in bad state'
[16:19:59:312] BaseGui::checkStayOnTop
[16:19:59:720] Core::play
[16:19:59:720] Core::tellmp: 'pause'
[16:19:59:721] MplayerProcess::parseLine: '[AO_ALSA] pcm resume error: File descriptor in bad state'
[16:19:59:776] BaseGui::displayState: Playing
[16:19:59:777] BaseGui::togglePlayAction
[16:19:59:777] Core::changeCurrentSec: mplayer reports that now it's playing
[16:19:59:777] BaseGui::checkStayOnTop
[16:20:00:842] Core::sforward
[16:20:00:842] Core::seek: 10
[16:20:00:842] Core::tellmp: 'seek 10 0'
[16:20:00:908] MplayerProcess::parseLine: 'No bind found for key 'RIGHT'. '
.....

Revision history for this message
Michał Gołębiowski-Owczarek (mgol) wrote :

Smplayer should default to pulse, not alsa. This is sth that should be fixed before the final Karmic release.

Revision history for this message
rvm (rvm) wrote :

Actually there's no default audio driver in smplayer. It just gets as default the audio driver that mplayer uses the first time that smplayer runs it.

Although if you open the preferences dialog before playing any file, indeed it displays alsa as default.

Revision history for this message
Michał Gołębiowski-Owczarek (mgol) wrote :

@rvm
And if upgrade from previous Ubuntu versions, I assume. :) Two questions:
1) could it be fixed so that the first time Smplayer is run it sets its default audio device to pulse?
2) is it possible to change default conf. from alsa to pulse when upgrading from Jaunty? (I'm not familiar with the upgrade process, does it anything besides changing sources.list and upgrading?)

summary: - smplayer pause after forward or backward
+ smplayer should default to pulse, not alsa (as an audio device)
tags: added: alsa audio default pulse pulseaudio
Revision history for this message
Bart (zorofroozo) wrote :

I got the same problem on my Smplayer (0.6.8.1~karmic2), installed from the ppa. Switching it to OSS or PULSE fixed it for me.

Revision history for this message
cthulhu1987 (boris-baran) wrote :

yea, i used to have these problem, too. My gmplayer started to show these error msgs, after i paused it, minimized ist and waited a couple of minutes... Now it's working like a charm but when this issue with the alsa''ll be fixed?

Revision history for this message
Vlad Novak (vnovak06) wrote :

This bug affected me also. Changing the 'Output driver' from 'alsa' to 'pulse' solved the issue.

Still, two bugs persist:
1. playback is disabled when sound is muted
2. mouse pointer keeps appearing in fullscreen every 8-10 seconds if 'Disable screensaver' is checked

Revision history for this message
moli (f-launchpad-moli-hu) wrote :

pulse fixed it to me too. karmic + medibuntu smplayer 0.6.7

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.