Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo


No GUI in movie playback

  • Jude Anthony
    Jude Anthony

    Although there is a playback bar allowing seeking displayed on the main website, I can't get it to come up.  Nothing I do in the mplayerplug-in.conf seems to help. 

    I've found the arrow skipping functions, but no fast-forward, pause, or slow-motion.  Worse, I've installed the plugin for my pointy-clicky sister, and she will probably never learn the keyboard shortcuts.

    How do I make the buttons appear?

    • Kevin DeKorte
      Kevin DeKorte

      Couple of questions? How did you install the plugin? did you install from source or a package? If you installed a package are you using Debian? If so then you will need to install from source as the Debian packager chose to disable the GUI.

    • Jude Anthony
      Jude Anthony

      Duh, I ought to know to add those details by now.  Yes, I'm running Debian Unstable; I'll "use the source". 


    • Emily Dai
      Emily Dai

      Where should I change so that it will enable gui in debian-package? thanks.

      • Kevin DeKorte
        Kevin DeKorte

        Compile from source, I don't know of a work around to fix the debian package

    • Jason

      I'm having the same problem.  First, let me explain that I'm using Suse 9.2 Pro, and previously I had mplayer installed from source and mplayerplugin installed from RPM.  I had controls then.  But I also had browser lockups when playing media.  So I blew away the system (format/reinstall) and compiled both mplayer and mplayerplugin from source using the instructions found on the mplayerplugin page and the README/INSTALL files.   Mplayer works great. Mplayer plugin seems to play everything now.  My problem is that the mplayerplugin has no gui/progress bar/control bar.  It plays media wonderfully, but if I happen to hit a page with more than one embedded media, they all play simultaneously and I have no way of stopping anything.  Someone suggested that I right click on the movie and click on 'stop' or 'show controls', but while r-click works on the web page, there is no context menu when I r-click on the media.  It has also been suggested that the code in the page may be preventing the plugin from displaying controls.  Nope.  I'm writing the code and I am not disabling controls.   Further, I have no controls on the plugin test page recommended on the mplayerplugin homepage.   So, is there an mplayerplug-in.conf  option I can set to enable-controls?  Is there a configure option not listed in the README/INSTALL/Web Page that will tell the source to enable the gui?  Thank you for any assistance.

      • Kevin DeKorte
        Kevin DeKorte

        To enable the GUI you need to have the GTK development libraries installed so that mplayer can compile GTK support in.

        If you want you can post the output of the ./configure command here. And that should confirm it.

        • Jason

          Here is the output of ./configure  with no options run from the source directory from which I installed the plugin. 

          checking for g++... g++
          checking for C++ compiler default output file name... a.out
          checking whether the C++ compiler works... yes
          checking whether we are cross compiling... no
          checking for suffix of executables...
          checking for suffix of object files... o
          checking whether we are using the GNU C++ compiler... yes
          checking whether g++ accepts -g... yes
          checking for gcc... gcc
          checking whether we are using the GNU C compiler... yes
          checking whether gcc accepts -g... yes
          checking for gcc option to accept ANSI C... none needed
          checking for a BSD-compatible install... /usr/bin/install -c
          checking for gawk... gawk
          checking for pkg-config... /usr/bin/pkg-config
          checking for mozilla-plugin... yes
          checking MOZPLUG_CFLAGS... -I/opt/mozilla/include/java -I/opt/mozilla/include/pl
          ugin -I/opt/mozilla/include/xpcom -I/opt/mozilla/include/string -I/opt/mozilla/i
          checking MOZPLUG_LIBS... -L/opt/mozilla/lib -lxpcom -lplds4 -lplc4 -lnspr4 -lpth
          read -ldl 
          checking for gtk+-2.0... yes
          checking GTK_CFLAGS... -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/opt/gnome/in
          clude/gtk-2.0 -I/opt/gnome/lib/gtk-2.0/include -I/usr/X11R6/include -I/opt/gnome
          /include/atk-1.0 -I/opt/gnome/include/pango-1.0 -I/usr/include/freetype2 -I/usr/
          include/freetype2/config -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0
          checking GTK_LIBS... -Wl,--export-dynamic -L/opt/gnome/lib -lgtk-x11-2.0 -lgdk-x
          11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -l
          gobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 
          checking for gthread-2.0... yes
          checking GTHREAD_CFLAGS... -pthread -I/opt/gnome/include/glib-2.0 -I/opt/gnome/l
          checking GTHREAD_LIBS... -pthread -L/opt/gnome/lib -lgthread-2.0 -lglib-2.0 
          checking how to run the C preprocessor... gcc -E
          checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
          checking for gethostbyname... yes
          checking for connect... yes
          checking for remove... yes
          checking for shmat... yes
          checking for IceConnectionNumber in -lICE... yes
          checking for egrep... grep -E
          checking for ANSI C header files... yes
          checking for sys/types.h... yes
          checking for sys/stat.h... yes
          checking for stdlib.h... yes
          checking for string.h... yes
          checking for memory.h... yes
          checking for strings.h... yes
          checking for inttypes.h... yes
          checking for stdint.h... yes
          checking for unistd.h... yes
          checking stddef.h usability... yes
          checking stddef.h presence... yes
          checking for stddef.h... yes
          checking for stdlib.h... (cached) yes
          checking for unistd.h... (cached) yes
          checking X11/Xlib.h usability... yes
          checking X11/Xlib.h presence... yes
          checking for X11/Xlib.h... yes
          checking X11/Intrinsic.h usability... yes
          checking X11/Intrinsic.h presence... yes
          checking for X11/Intrinsic.h... yes
          checking X11/StringDefs.h usability... yes
          checking X11/StringDefs.h presence... yes
          checking for X11/StringDefs.h... yes
          checking for sys/stat.h... (cached) yes
          checking fcntl.h usability... yes
          checking fcntl.h presence... yes
          checking for fcntl.h... yes
          checking for an ANSI C-conforming const... yes
          checking whether time.h and sys/time.h may both be included... yes
          checking for pid_t... yes
          checking for size_t... yes
          checking for stdlib.h... (cached) yes
          checking for GNU libc compatible malloc... yes
          checking for unistd.h... (cached) yes
          checking vfork.h usability... no
          checking vfork.h presence... no
          checking for vfork.h... no
          checking for fork... yes
          checking for vfork... yes
          checking for working fork... yes
          checking for working vfork... (cached) yes
          checking for memset... yes
          checking for strcasecmp... yes
          checking for strchr... yes
          checking for strdup... yes
          checking for strncasecmp... yes
          checking for strstr... yes
          checking for strrchr... yes
          checking for snprintf... yes
          checking for mkfifo... yes
          checking for dup2... yes
          checking for gettimeofday... yes
          checking for strerror... yes
          checking for strtol... yes
          checking for memmem... yes
          checking sys/time.h usability... yes
          checking sys/time.h presence... yes
          checking for sys/time.h... yes
          checking sys/param.h usability... yes
          checking sys/param.h presence... yes
          checking for sys/param.h... yes
          checking for stdbool.h that conforms to C99... yes
          checking for _Bool... yes
          checking for sys/wait.h that is POSIX.1 compatible... yes
          checking return type of signal handlers... void
          checking X11/xpm.h usability... yes
          checking X11/xpm.h presence... yes
          checking for X11/xpm.h... yes
          checking for DPMSQueryExtension in -lXdpms... no
          checking for X11/extensions/dpms.h... yes
          configure: creating ./config.status
          config.status: creating Makefile
          config.status: creating config.h
          config.status: config.h is unchanged

          Thanks again.

          • Kevin DeKorte
            Kevin DeKorte

            Ok, that looks good. So the make command runs ok? What  is the result of this command

            ldd mplayerplug-in.so

            • Jason

              Oddly enough, I get the exact same message as a standard user and as su:

              ldd: warning: you do not have execution permission for `./mplayerplug-in.so'
                      linux-gate.so.1 =>  (0xffffe000)
                      libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40051000)
                      libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x4014e000)
                      libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x40156000)
                      libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x4016e000)
                      libXpm.so.4 => /usr/X11R6/lib/libXpm.so.4 (0x4017c000)
                      libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x4018c000)
                      libnspr4.so => not found
                      libplds4.so => not found
                      libgthread-2.0.so.0 => /opt/gnome/lib/libgthread-2.0.so.0 (0x401e0000)
                      libglib-2.0.so.0 => /opt/gnome/lib/libglib-2.0.so.0 (0x401e4000)
                      libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x40263000)
                      libm.so.6 => /lib/tls/libm.so.6 (0x40320000)
                      libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x40343000)
                      libpthread.so.0 => /lib/tls/libpthread.so.0 (0x4034c000)
                      libc.so.6 => /lib/tls/libc.so.6 (0x4035e000)
                      libdl.so.2 => /lib/libdl.so.2 (0x40474000)
                      /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)

              • Kevin DeKorte
                Kevin DeKorte

                Ok well you are not getting gtk2 linked to the plugin so I want you to follow these steps

                make clean
                ./configure --enable-gtk2
                ldd mplayerplug-in.so

                At this point you should see lib-gtk in the list.
                If you do not then something is wrong with your gtk2 development package.

                • Jason

                  No error message this time:

                          linux-gate.so.1 =>  (0xffffe000)
                          libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40058000)
                          libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x40155000)
                          libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x4015d000)
                          libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40175000)
                          libXpm.so.4 => /usr/X11R6/lib/libXpm.so.4 (0x40183000)
                          libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x40193000)
                          libxpcom.so => not found
                          libplds4.so => not found
                          libplc4.so => not found
                          libnspr4.so => not found
                          libpthread.so.0 => /lib/tls/libpthread.so.0 (0x401e7000)
                          libdl.so.2 => /lib/libdl.so.2 (0x401f9000)
                          libgtk-x11-2.0.so.0 => /opt/gnome/lib/libgtk-x11-2.0.so.0 (0x401fe000)
                          libgdk-x11-2.0.so.0 => /opt/gnome/lib/libgdk-x11-2.0.so.0 (0x404c4000)
                          libatk-1.0.so.0 => /opt/gnome/lib/libatk-1.0.so.0 (0x40533000)
                          libgdk_pixbuf-2.0.so.0 => /opt/gnome/lib/libgdk_pixbuf-2.0.so.0 (0x4054e000)
                          libpangoxft-1.0.so.0 => /opt/gnome/lib/libpangoxft-1.0.so.0 (0x40563000)
                          libpangox-1.0.so.0 => /opt/gnome/lib/libpangox-1.0.so.0 (0x40568000)
                          libpango-1.0.so.0 => /opt/gnome/lib/libpango-1.0.so.0 (0x40574000)
                          libgobject-2.0.so.0 => /opt/gnome/lib/libgobject-2.0.so.0 (0x405a8000)
                          libgmodule-2.0.so.0 => /opt/gnome/lib/libgmodule-2.0.so.0 (0x405e2000)
                          libglib-2.0.so.0 => /opt/gnome/lib/libglib-2.0.so.0 (0x405e6000)
                          libgthread-2.0.so.0 => /opt/gnome/lib/libgthread-2.0.so.0 (0x40665000)
                          libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x40669000)
                          libm.so.6 => /lib/tls/libm.so.6 (0x40727000)
                          libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x4074a000)
                          libc.so.6 => /lib/tls/libc.so.6 (0x40752000)
                          /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
                          libXrandr.so.2 => /usr/X11R6/lib/libXrandr.so.2 (0x40868000)
                          libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0x4086c000)
                          libXft.so.2 => /usr/X11R6/lib/libXft.so.2 (0x40875000)
                          libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x40888000)
                          libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x408f7000)
                          libXcursor.so.1 => /usr/X11R6/lib/libXcursor.so.1 (0x40921000)
                          libXrender.so.1 => /usr/X11R6/lib/libXrender.so.1 (0x4092a000)
                          libpangoft2-1.0.so.0 => /opt/gnome/lib/libpangoft2-1.0.so.0 (0x40933000)
                          libexpat.so.0 => /usr/lib/libexpat.so.0 (0x40958000)

                  So I tried it out and now I'm getting the r-click context menu and the progress bar.   time for me to bow down!   Thank you, Sir!

                  • Kevin DeKorte
                    Kevin DeKorte



        • Jason


          I'm running Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041109 Firefox/1.0

          And I put the appropriate files into the default Suse 9.2 firefox path directly:


    • Jason


      I'm running MPlayer 1.0pre6-3.3.4 (C) 2000-2004 MPlayer Team
      CPU: Intel Pentium 4/Xeon/Celeron Foster (Family: 8, Stepping: 9)
      Detected cache-line size is 64 bytes
      CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
      Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2