Page 3 of 3 FirstFirst 123
Results 21 to 24 of 24

Thread: Support for 'Compiling MPlayer' Ubuntu Wiki page....

  1. #21
    Join Date
    Jul 2006
    Location
    Lancashire
    Beans
    Hidden!
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Support for 'Compiling MPlayer' Ubuntu Wiki page....

    Quote Originally Posted by qyot27 View Post
    As a heads up, there is now another fork worth checking out: mpv
    Hi
    I'm very satisfied with MPlayer, but I've compiled mpv and it's working reasonably well from command line.

    I use MPlayer with SMPlayer GUI so I tried to set up mpv to use UMPlayer GUI.

    But it doesn't work.

    Seems that the fancy command UMPlayer uses has MPlayer option(s) that are unknown to mpv.
    In the preferences section of UMPlayer it allows to add extra options to the command.
    But I don't know how to edit the command to remove the offending option(s).
    Maybe it's hard-wired into the program.

    Any idea how to do this?


    Code:
    18:40:02:913] Core::startMplayer: command: '/usr/local/bin/mpv -noquiet -nofs -nomouseinput -sub-fuzziness 1 -identify -slave -vo x11, -ao alsa, -zoom -nokeepaspect -nodr -double -input nodefault-bindings:conf=/dev/null -stop-xscreensaver -wid 54527660 -monitorpixelaspect 1 -noass -subfont-autoscale 3 -subfont-text-scale 2.5 -subcp UTF-8 -subpos 100 -volume 38 -nocache -osdlevel 0 -vf-add screenshot -noslices -channels 2 -af scaletempo -softvol -softvol-max 110 /home/ron/Desktop/foo.wav '
    [18:40:02:919] Playlist::setModified: 0
    [18:40:02:919] Playlist::addFiles
    [18:40:02:923] Playlist::addItem: '/home/ron/Desktop/foo.wav'
    [18:40:02:924] Playlist::updateView
    [18:40:02:924] Playlist::updateView: name: 'foo.wav'
    [18:40:02:927] Playlist::addFiles: latest_dir: '/home/ron/Desktop'
    [18:40:03:249] MplayerProcess::parseLine: 'Terminal type `unknown' is not defined.'
    [18:40:03:263] MplayerProcess::parseLine: 'Unknown option on the command line: noquiet'
    [18:40:03:263] MplayerProcess::parseLine: 'Exiting... (Fatal error)'
    [18:40:03:264] MyProcess::procFinished
    [18:40:03:264] MyProcess::procFinished: Bytes available: 0
    [18:40:03:264] MplayerProcess::processFinished: exitCode: 1, status: 0
    [18:40:03:265] MplayerLayer::playingStopped
    [18:40:03:268] Core::processFinished
    [18:40:03:268] Core::processFinished: we_are_restarting: 0
    [18:40:03:268] Core::processFinished: play has finished!
    [18:40:03:268] Core::processFinished: exit_code: 1
    [18:40:03:268] BaseGui::showExitCodeFromMplayer: 1
    [18:40:10:585] BaseGui::showLog

  2. #22
    Join Date
    Dec 2005
    Location
    St. Petersburg, FL
    Beans
    569
    Distro
    Ubuntu Budgie

    Re: Support for 'Compiling MPlayer' Ubuntu Wiki page....

    Quote Originally Posted by ron999 View Post
    Hi
    I'm very satisfied with MPlayer, but I've compiled mpv and it's working reasonably well from command line.

    I use MPlayer with SMPlayer GUI so I tried to set up mpv to use UMPlayer GUI.

    But it doesn't work.

    Seems that the fancy command UMPlayer uses has MPlayer option(s) that are unknown to mpv.
    In the preferences section of UMPlayer it allows to add extra options to the command.
    But I don't know how to edit the command to remove the offending option(s).
    Maybe it's hard-wired into the program.

    Any idea how to do this?
    It does seem to be hard-coded in. If you run a grep on the UMPlayer source code, the options that that code block shows that it was trying to use are located in umplayer/trunk/src/core.cpp. They're defined like this:
    Code:
    proc->addArgument("-msglevel");
    but otherwise look to not be wrapped in more complex code. It might be possible to just replace the options that can be replaced with their mpv equivalents, and comment out the ones that can't. Then you'd have to compile UMPlayer again (I've never tried building any of the GUIs for mplayer, so I don't know what's involved there).

    Of course, that sort of change will make UMPlayer incompatible with MPlayer/MPlayer2. To make it compatible with all three, the mpv options would have to be defined separately and ifdeffed to code that detects the GUI is using mpv instead of one of the other two.
    Last edited by qyot27; December 26th, 2012 at 08:55 PM.

  3. #23
    Join Date
    Jul 2006
    Location
    Lancashire
    Beans
    Hidden!
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Support for 'Compiling MPlayer' Ubuntu Wiki page....

    Quote Originally Posted by qyot27 View Post
    It does seem to be hard-coded in...
    Thanks qyot27
    That may be the way to do it.
    But I'm not a pathfinder.

    I will sit tight for now.
    Somebody will come up with a GUI solution when mpv is further developed.

  4. #24
    Join Date
    Dec 2006
    Beans
    7,349

    Re: Support for 'Compiling MPlayer' Ubuntu Wiki page....

    Quote Originally Posted by ron999 View Post
    But I'm not a pathfinder.
    You underestimate yourself....
    You think that's air you're breathing now?

Page 3 of 3 FirstFirst 123

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •