"Visualize motion vectors" made SMplayer unusable

Asked by Marius Vordal on 2009-05-20

Hi,

I foolishly fell for the temptation to enable the "Visualize motion vectors" option, just to see what it does. However, this promptly crashed MPlayer. Naturally, I deselected the option in order to remedy the problem. However, even after doing this and restarting SMplayer, I keep getting the same error message: "Mplayer has finished unexpectedly. Exit code: 1". What happened? And more importantly: How can I fix it?

Kind regards,
Marius

Question information

Language:
English Edit question
Status:
Solved
For:
SMPlayer Edit question
Assignee:
No assignee Edit question
Solved by:
Marius Vordal
Solved:
2009-05-20
Last query:
2009-05-20
Last reply:
Marius Vordal (mariuslv-gmail) said : #1

I should perhaps also mention that MPlayer is working just fine, so the problem is clearly caused by SMplayer. Anyway, this is the SMplayer log of my last failed session:

[21:12:07] main: lock_file: /home/marius/.config/smplayer/smplayer_init.lock
[21:12:07] global_init
[21:12:07] global_init: config file: '/home/marius/.config/smplayer/smplayer.ini'
[21:12:07] Preferences::load
[21:12:07] AssStyles::load
[21:12:07] Translator::loadCatalog: can't load qt_en_US from /usr/share/smplayer/translations
[21:12:07] Translator::loadCatalog: can't load qt_en_US from /usr/share/qt4/translations
[21:12:07] Translator::loadCatalog: successfully loaded smplayer_en_US from /usr/share/smplayer/translations
[21:12:07] This is SMPlayer v. 0.6.6 (SVN r2599) running on Linux
[21:12:07] Compiled with Qt v. 4.4.3, using 4.5.0
[21:12:07] * application path: '/usr/bin'
[21:12:07] * data path: '/usr/share/smplayer'
[21:12:07] * translation path: '/usr/share/smplayer/translations'
[21:12:07] * doc path: '/usr/share/doc/packages/smplayer'
[21:12:07] * themes path: '/usr/share/smplayer/themes'
[21:12:07] * shortcuts path: '/usr/share/smplayer/shortcuts'
[21:12:07] * config path: '/home/marius/.config/smplayer'
[21:12:07] * ini path: '/home/marius/.config/smplayer'
[21:12:07] * file for subtitles' styles: '/home/marius/.config/smplayer/styles.ass'
[21:12:07] * current path: '/home/marius'
[21:12:07] SMPlayer::processArgs: arguments: 1
[21:12:07] SMPlayer::processArgs: 0 = smplayer
[21:12:07] SMPlayer::processArgs: files_to_play: count: 0
[21:12:07] MyClient::MyClient
[21:12:07] SMPlayer::processArgs: trying to connect to port 57180
[21:12:07] SMPlayer::gui: changed working directory to app path
[21:12:07] SMPlayer::gui: current directory: /usr/bin
[21:12:07] Core::changeFileSettingsMethod: normal
[21:12:07] MplayerLayer::setRepaintBackground: 0
[21:12:07] Preferences::monitor_aspect_double
[21:12:07] warning: monitor_aspect couldn't be parsed!
[21:12:07] monitor_aspect set to 0
[21:12:07] Playlist::setModified: 0
[21:12:07] Playlist::loadSettings
[21:12:07] Playlist::addItem: '/home/marius/Videos/MythBusters - Season Three/MB.3x08.Cooling.a.Six.Pack.DVDRip-MEMETiC.avi'
[21:12:07] Playlist::setModified: 0
[21:12:07] Playlist::updateView
[21:12:07] Playlist::updateView: name: 'MB.3x08.Cooling.a.Six.Pack.DVDRip-MEMETiC.avi'
[21:12:07] Style name: 'gtk+'
[21:12:07] Style class name: 'QGtkStyle'
[21:12:07] BaseGui::initializeMenus
[21:12:07] BaseGui::initializeMenus
[21:12:07] BaseGui::updateRecents
[21:12:07] BaseGui::updateWidgets
[21:12:07] Core::changeUseAss: 1
[21:12:07] BaseGui::setStayOnTop: 0
[21:12:07] BaseGui::setStayOnTop: nothing to do
[21:12:07] BaseGui::updateWidgets
[21:12:07] BaseGui::updateWidgets
[21:12:07] BaseGui::updateRecents
[21:12:07] Preferences::save
[21:12:07] AssStyles::save
[21:12:07] BaseGui::initializeGui: server running on port 56143
[21:12:07] BaseGui::initializeMenus
[21:12:07] BaseGui::updateRecents
[21:12:07] BaseGui::updateWidgets
[21:12:07] BaseGuiPlus::loadConfig
[21:12:07] BaseGui::initializeMenus
[21:12:07] BaseGui::updateRecents
[21:12:07] BaseGui::updateWidgets
[21:12:07] DesktopInfo::isInsideScreen: geometry of screen: x:0 y:0 w:1280 h:1024
[21:12:07] ToolbarEditor::load: 'controlwidget'
[21:12:07] ToolbarEditor::load: loading action play_or_pause
[21:12:07] ToolbarEditor::load: loading action stop
[21:12:07] ToolbarEditor::load: loading action separator
[21:12:07] ToolbarEditor::load: adding separator
[21:12:07] ToolbarEditor::load: loading action timeslider_action
[21:12:07] TimeSlider::setDragDelay: 100
[21:12:07] ToolbarEditor::load: loading action separator
[21:12:07] ToolbarEditor::load: adding separator
[21:12:07] ToolbarEditor::load: loading action fullscreen
[21:12:07] ToolbarEditor::load: loading action mute
[21:12:07] ToolbarEditor::load: loading action volumeslider_action
[21:12:07] ToolbarEditor::load: ''
[21:12:07] ToolbarEditor::load: loading action play_or_pause
[21:12:07] ToolbarEditor::load: loading action stop
[21:12:07] ToolbarEditor::load: loading action separator
[21:12:07] ToolbarEditor::load: adding separator
[21:12:07] ToolbarEditor::load: loading action timeslider_action
[21:12:07] TimeSlider::setDragDelay: 100
[21:12:07] ToolbarEditor::load: loading action separator
[21:12:07] ToolbarEditor::load: adding separator
[21:12:07] ToolbarEditor::load: loading action fullscreen
[21:12:07] ToolbarEditor::load: loading action mute
[21:12:07] ToolbarEditor::load: loading action volumeslider_action
[21:12:07] ToolbarEditor::load: loading action separator
[21:12:07] ToolbarEditor::load: adding separator
[21:12:07] ToolbarEditor::load: loading action timelabel_action
[21:12:07] Helper::qtVersion: 4500
[21:12:07] BaseGui::showEvent
[21:12:07] main: remove_lock: /home/marius/.config/smplayer/smplayer_init.lock
[21:12:07] BaseGui::loadActions
[21:12:07] ActionsEditor::loadFromConfig
[21:12:08] BaseGui::initializeMenus
[21:12:08] BaseGui::updateRecents
[21:12:08] BaseGui::updateWidgets
[21:12:08] MplayerWindow::mouseReleaseEvent
[21:12:08] BaseGui::rightClickFunction
[21:12:08] BaseGui::processFunction: 'show_context_menu'
[21:12:08] BaseGui::processFunction: action found
[21:12:12] BaseGui::openRecent: 1
[21:12:12] Playlist::setModified: 0
[21:12:12] Playlist::addFiles
[21:12:12] Playlist::addItem: '/home/marius/Videos/MythBusters - Season Five/MB.5x01.Hindenburg.Mystery.DVDRip-wide.avi'
[21:12:12] Playlist::updateView
[21:12:12] Playlist::updateView: name: 'MB.5x01.Hindenburg.Mystery.DVDRip-wide.avi'
[21:12:12] Playlist::addFiles: latest_dir: '/home/marius/Videos/MythBusters - Season Five'
[21:12:12] BaseGui::open: '/home/marius/Videos/MythBusters - Season Five/MB.5x01.Hindenburg.Mystery.DVDRip-wide.avi'
[21:12:12] Core::open: '/home/marius/Videos/MythBusters - Season Five/MB.5x01.Hindenburg.Mystery.DVDRip-wide.avi'
[21:12:12] Core::open: * identified as local file
[21:12:12] Core::openFile: '/home/marius/Videos/MythBusters - Season Five/MB.5x01.Hindenburg.Mystery.DVDRip-wide.avi'
[21:12:12] Core::playNewFile: '/home/marius/Videos/MythBusters - Season Five/MB.5x01.Hindenburg.Mystery.DVDRip-wide.avi'
[21:12:12] Core::saveMediaInfo
[21:12:12] FileSettings::existSettingsFor: '/home/marius/Videos/MythBusters - Season Five/MB.5x01.Hindenburg.Mystery.DVDRip-wide.avi'
[21:12:12] FileSettings::existSettingsFor: group_name: '_home_marius_Videos_MythBusters_-_Season_Five_MB_5x01_Hindenburg_Mystery_DVDRip-wide_avi_365645824'
[21:12:12] Core::playNewFile: We have settings for this file!!!
[21:12:12] FileSettings::loadSettingsFor: '/home/marius/Videos/MythBusters - Season Five/MB.5x01.Hindenburg.Mystery.DVDRip-wide.avi'
[21:12:12] FileSettings::loadSettingsFor: group_name: '_home_marius_Videos_MythBusters_-_Season_Five_MB_5x01_Hindenburg_Mystery_DVDRip-wide_avi_365645824'
[21:12:12] MediaSettings::load
[21:12:12] Core::playNewFile: Media settings read
[21:12:12] BaseGuiPlus::resizeWindow: 512, 288
[21:12:12] BaseGui::resizeWindow: 512, 288
[21:12:12] BaseGui::resizeWindow: size to scale: 1024, 576
[21:12:12] BaseGui::resizeWindow: done: window size: 1024, 639
[21:12:12] BaseGui::resizeWindow: done: panel->size: 1024, 576
[21:12:12] BaseGui::resizeWindow: done: mplayerwindow->size: 1024, 576
[21:12:12] Core::changeAspectRatio: 1
[21:12:12] Core::displayMessage
[21:12:12] Core::playNewFile: volume: 100, old_volume: 40
[21:12:12] Core::initPlaying
[21:12:12] Core::startMplayer
[21:12:12] Core::startMplayer: setting working directory to '/home/marius/.config/smplayer/screenshots'
[21:12:12] MplayerVersion::isMplayerAtLeast: comparing 27667 with 24722
[21:12:12] Core::startMplayer: * not using -colorkey for x11
[21:12:12] Core::startMplayer: * report if you can't see the video
[21:12:12] MplayerVersion::isMplayerAtLeast: comparing 24924 with 24722
[21:12:12] Core::startMplayer: file basename: '/home/marius/Videos/MythBusters - Season Five/MB.5x01.Hindenburg.Mystery.DVDRip-wide'
[21:12:12] Core::startMplayer: edl file: ''
[21:12:12] MplayerLayer::playingStarted
[21:12:12] Core::startMplayer: command: '/usr/bin/mplayer -noquiet -nofs -sub-fuzziness 1 -identify -slave -vo x11 -ao pulse -zoom -nokeepaspect -framedrop -autosync 138 -dr -nodouble -input conf=/usr/share/smplayer/input.conf -stop-xscreensaver -wid 65011727 -monitorpixelaspect 1 -ass -embeddedfonts -ass-line-spacing 0 -ass-font-scale 1 -ass-styles /home/marius/.config/smplayer/styles.ass -fontconfig -font Arial -subcp ISO-8859-1 -vid 0 -aid 1 -subpos 100 -volume 100 -cache 2000 -osdlevel 1 -correct-pts -vf-add screenshot -noslices -channels 2 /home/marius/Videos/MythBusters - Season Five/MB.5x01.Hindenburg.Mystery.DVDRip-wide.avi'
[21:12:13] MplayerProcess::parseLine: 'MPlayer 1.0rc2-4.3.3 (C) 2000-2007 MPlayer Team'
[21:12:13] MplayerVersion::mplayerVersion: MPlayer version found: 1.0rc2
[21:12:13] MplayerProcess::parseLine: MPlayer SVN: 24722
[21:12:13] MplayerProcess::parseLine: 'CPU: Intel(R) Core(TM)2 Quad CPU Q9550 @ 2.83GHz (Family: 6, Model: 23, Stepping: 7)'
[21:12:13] MplayerProcess::parseLine: 'CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1'
[21:12:13] MplayerProcess::parseLine: 'Compiled with runtime CPU detection.'
[21:12:13] MplayerProcess::parseLine: 'Unknown option on the command line: -volume'
[21:12:13] MplayerProcess::parseLine: 'Error parsing option on the command line: -volume'
[21:12:13] MyProcess::procFinished
[21:12:13] MyProcess::procFinished: Bytes available: 0
[21:12:13] MplayerProcess::processFinished: exitCode: 1, status: 0
[21:12:13] MplayerLayer::playingStopped
[21:12:13] Core::processFinished
[21:12:13] Core::processFinished: we_are_restarting: 0
[21:12:13] Core::processFinished: play has finished!
[21:12:13] Core::processFinished: exit_code: 1
[21:12:13] BaseGui::showExitCodeFromMplayer: 1
[21:12:15] MplayerWindow::mouseReleaseEvent
[21:12:15] BaseGui::rightClickFunction
[21:12:15] BaseGui::processFunction: 'show_context_menu'
[21:12:15] BaseGui::processFunction: action found
[21:12:21] BaseGui::showLog

Marius Vordal (mariuslv-gmail) said : #2

Well, it seems obvious now, but I got SMplayer running again by deleting the smplayer folder from my home/.config directory, forcing SMplayer to reset to default. However, this is clearly more of a workaround than an actual fix. It would have been neat to know what caused the problem in the first place, though I am content with this solution.

rvm (rvm) said : #3

The problem is here:

> [21:12:13] MplayerProcess::parseLine: 'Unknown option on the command line: -volume'
> [21:12:13] MplayerProcess::parseLine: 'Error parsing option on the command line: -volume'

The -volume option is not available in the old mplayer 1.0rc2.

I guess you also turned on the option "Change volume just before playing" (Preferences -> General -> Audio). Just turn it off.

Marius Vordal (mariuslv-gmail) said : #4

You are of course entirely right. I did enable this option, and I see now that SMplayer clearly warns you to make sure you have the right Mplayer version. I failed to make the connection at the time, because the problem did not manifest itself until my next session, by which time I had also enabled the "Visualize motion vectors" option. I apologize for wasting your time and shall henceforth avoid hasty conclusions when attempting to diagnose software malfunction.

Thank you for clearing this up for me.
Marius