You are not logged in.

#1 2016-04-13 21:15:05

avi9526
Member
Registered: 2015-05-15
Posts: 116

smplayer+mvp seek is buggy

This happens even with default smplayer configuration with only one change - mpv instead mplayer
Some video files start playing not from beginning (not related to option save position)
Save time position option is enabled, and after I restart smplayer playback starts at +10..20 mins from saved position
When clicking on timeline bar playback jump to +10..20 mins from chosen position

Here I click at timeline once and get playback jumped to random location and text in smplayer log:

[00:02:58:040] Core::goToPosition: value: 666
[00:02:58:040] Core::goToSec: 591.000000
[00:02:58:041] PlayerProcess::writeToStdin: seek 591 absolute exact
[00:02:58:081] MPVProcess::parseLine: idle
[00:02:58:081] BaseGui::displayState: "Unknown"
[00:02:58:081] DefaultGui::togglePlayAction
[00:02:58:081] BaseGui::togglePlayAction
[00:02:58:082] StateWidget::watchState: 3
[00:02:58:083] MPVProcess::parseLine: '[ffmpeg/audio] ac3: frame sync error'
[00:02:58:083] MPVProcess::parseLine: 'Error decoding audio.'
[00:02:58:084] BaseGui::checkStayOnTop
[00:02:58:104] MPVProcess::parseLine: idle
[00:02:58:113] MPVProcess::parseLine: idle
[00:02:58:119] MPVProcess::parseLine: idle
[00:02:58:125] MPVProcess::parseLine: idle
[00:02:58:169] MPVProcess::parseLine: idle
[00:02:58:183] BaseGui::displayState: "Playing"
[00:02:58:184] DefaultGui::togglePlayAction
[00:02:58:184] BaseGui::togglePlayAction
[00:02:58:184] StateWidget::watchState: 1
[00:02:58:185] Core::changeCurrentSec: mplayer reports that now it's playing
[00:02:58:185] BaseGui::checkStayOnTop
[00:02:58:199] Core::seek: 288
[00:02:58:199] PlayerProcess::writeToStdin: seek 288 relative exact
[00:02:58:267] MPVProcess::parseLine: idle
[00:02:58:268] BaseGui::displayState: "Unknown"
[00:02:58:268] DefaultGui::togglePlayAction
[00:02:58:268] BaseGui::togglePlayAction
[00:02:58:269] StateWidget::watchState: 3
[00:02:58:270] MPVProcess::parseLine: '[ffmpeg/audio] ac3: frame sync error'
[00:02:58:270] MPVProcess::parseLine: 'Error decoding audio.'
[00:02:58:271] BaseGui::checkStayOnTop
[00:02:58:276] MPVProcess::parseLine: idle
[00:02:58:276] MPVProcess::parseLine: idle
[00:02:58:319] MPVProcess::parseLine: idle
[00:02:58:327] MPVProcess::parseLine: idle
[00:02:58:334] MPVProcess::parseLine: idle
[00:02:58:334] MPVProcess::parseLine: idle
[00:02:58:383] MPVProcess::parseLine: idle
[00:02:58:386] MPVProcess::parseLine: idle
[00:02:58:433] MPVProcess::parseLine: idle
[00:02:58:441] BaseGui::displayState: "Playing"
[00:02:58:441] DefaultGui::togglePlayAction
[00:02:58:442] BaseGui::togglePlayAction
[00:02:58:442] StateWidget::watchState: 1
[00:02:58:442] Core::changeCurrentSec: mplayer reports that now it's playing
[00:02:58:442] BaseGui::checkStayOnTop

Someway smplayer send seek command twice for one click. This is very annoying

Here I click once on a timeline and get correct playback and text in smplayer.log:

[00:04:34:732] Core::goToPosition: value: 160
[00:04:34:733] Core::goToSec: 142.000000
[00:04:34:733] PlayerProcess::writeToStdin: seek 142 absolute exact
[00:04:34:759] MPVProcess::parseLine: idle
[00:04:34:759] BaseGui::displayState: "Unknown"
[00:04:34:760] DefaultGui::togglePlayAction
[00:04:34:760] BaseGui::togglePlayAction
[00:04:34:760] StateWidget::watchState: 3
[00:04:34:763] BaseGui::checkStayOnTop
[00:04:34:772] MPVProcess::parseLine: '[ffmpeg/audio] ac3: frame sync error'
[00:04:34:772] MPVProcess::parseLine: 'Error decoding audio.'
[00:04:34:776] MPVProcess::parseLine: idle
[00:04:34:776] MPVProcess::parseLine: idle
[00:04:34:822] MPVProcess::parseLine: idle
[00:04:34:827] BaseGui::displayState: "Playing"
[00:04:34:827] DefaultGui::togglePlayAction
[00:04:34:827] BaseGui::togglePlayAction
[00:04:34:828] StateWidget::watchState: 1
[00:04:34:828] Core::changeCurrentSec: mplayer reports that now it's playing
[00:04:34:828] BaseGui::checkStayOnTop

So, sometimes seek works fine, sometimes not, very annoying
Again - this is with default configuration (removed folder ~/.config/smplayer) with only one option altered - mplayer replaced by mpv

Anyone have same issue?

Offline

#2 2016-04-14 21:39:19

avi9526
Member
Registered: 2015-05-15
Posts: 116

Re: smplayer+mvp seek is buggy

Seems the problem is in KDE media player functionality
Jumping in SMPlayer when pressing on timeline is correlated to audacious being paused (wat?), if I close audacious (or disable it's MPRIS2 plugin) seeking in SMPlayer works fine. Yet saved position was still wrong after SMPlayer restart, solved by restarting plasma. Don't know if it will help for long. I guess it's some plasma bug.
Anyone know how to disable MPRIS 2 functionality in SMPlayer without recompiling?

Offline

#3 2016-05-15 11:03:42

Mythreya
Member
Registered: 2014-12-24
Posts: 10

Re: smplayer+mvp seek is buggy

>I close audacious (or disable it's MPRIS2 plugin) seeking in SMPlayer works fine.

Spot on, closing other mpris2 application solves the issue but it's still annoying tho.

Offline

Board footer

Powered by FluxBB