#103 problem with gtk2

closed-wont-fix
None
5
2006-06-20
2006-06-05
Cinquero
No

The following command does not work:

mplayer -wid 0x4802bac -vf scale=384:-3 -vo xv,x11
-zoom -ao alsa -framedrop -osdlevel 0 -nojoystick
-noconsolecontrols -cookies -slave -user-agent NSPlayer
-nomouseinput -cache 880
http://213.254.239.51/tagesschau/msmedia/2006/0605/TV-20060605-2027-5701.wm.hi.wmv

It works when adjusting plugin-threads.cpp to not
include the -wid option. mplayerplug-in shows buffering
message and then mplayer throws a signal 8 in the video
decoder module.

mplayer is version cvs 20060519
mplayerplug-in is current cvs version
firefox v1.5.0.4

Discussion

  • Kevin DeKorte

    Kevin DeKorte - 2006-06-06

    Logged In: YES
    user_id=685413

    please provide a test case (weblinks and what to click) and
    I'll see if I can duplicate. Since the Window Id changes on
    every run and on every machine, this info is pretty useless.

    Also make sure that if you are using this on a 64 bit
    machine, that the browser, the plugin and mplayer are all
    compiled with the same bit size.

     
  • Kevin DeKorte

    Kevin DeKorte - 2006-06-07

    Logged In: YES
    user_id=685413

    Unable to duplicate. Perhaps you can tell me about your
    system setup?

     
  • Cinquero

    Cinquero - 2006-06-08

    Logged In: YES
    user_id=1018844

    Tell me if you need to know something else.

    $ emerge --info:

    Gentoo Base System version 1.6.14
    Portage 2.0.54-r2 (default-linux/x86/2006.0, gcc-3.4.6,
    glibc-2.3.6-r3, 2.6.16.20 i686)
    =================================================================
    System uname: 2.6.16.20 i686 Intel(R) Pentium(R) M processor
    1400MHz
    distcc[16466] (dcc_trace_version) distcc 2.18.3
    i686-pc-linux-gnu; built May 31 2006 22:33:51 [enabled]
    ccache version 2.3 [enabled]
    dev-lang/python: 2.4.2
    dev-python/pycrypto: 2.0.1-r5
    dev-util/ccache: 2.3
    dev-util/confcache: [Not Present]
    sys-apps/sandbox: 1.2.17
    sys-devel/autoconf: 2.13, 2.59-r7
    sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3,
    1.9.6-r1
    sys-devel/binutils: 2.16.1-r2
    sys-devel/libtool: 1.5.22
    virtual/os-headers: 2.6.11-r2
    ACCEPT_KEYWORDS="x86"
    AUTOCLEAN="yes"
    CBUILD="i686-pc-linux-gnu"
    CFLAGS="-march=pentium-m -O2 -pipe"
    CHOST="i686-pc-linux-gnu"
    CONFIG_PROTECT="/etc /usr/kde/3.4/env
    /usr/kde/3.4/share/config /usr/kde/3.4/shutdown
    /usr/kde/3.5/env /usr/kde/3.5/share/config
    /usr/kde/3.5/shutdown /usr/lib/X11/xkb
    /usr/lib/mozilla/defaults/pref /usr/share/config
    /usr/share/texmf/dvipdfm/config/
    /usr/share/texmf/dvips/config/
    /usr/share/texmf/tex/generic/config/
    /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
    CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
    CXXFLAGS="-march=pentium-m -O2 -pipe"
    DISTDIR="/usr/portage/distfiles"
    FEATURES="autoconfig ccache distcc distlocks sandbox sfperms
    strict"
    GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/
    http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/
    http://gentoo.intergenia.de
    http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
    http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/
    http://gentoo.po.opole.pl
    http://mirror.switch.ch/ftp/mirror/gentoo/
    http://gentoo.mirror.solnet.ch
    http://ftp.snt.utwente.nl/pub/os/linux/gentoo
    http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/"
    LANG="de_DE.utf8"
    LC_ALL="de_DE.utf8"
    LINGUAS="de"
    MAKEOPTS="-j5"
    PKGDIR="/usr/portage/packages"
    PORTAGE_TMPDIR="/var/tmp"
    PORTDIR="/usr/portage"
    PORTDIR_OVERLAY="/home/myportage/public_html"
    SYNC="rsync://rsync.gentoo.org/gentoo-portage"
    USE="x86 X aac aalib acpi ada adns alsa apache2 apm arts
    audiofile avi bash-completion berkdb bitmap-fonts bonobo
    bzip2 cdr cjk cli crypt cups curl directfb divx4linux doc
    dri dts dv edl eds emboss encode esd ethereal exif expat f2c
    fam ffmpeg flac foomaticdb fortran gcj gd gdbm ggi gif glut
    gmp gnome gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml
    guile haskell icq icu idn imagemagick imlib ipv6 irda
    isdnlog jack java jpeg junit kde kerberos kqemu lcms ldap
    libg++ libwww lirc live logrotate lua lzo mad marksmms
    matroska mhash mikmod ming mmx mng motif mozilla mozsvg mp3
    mpeg musicbrainz nas ncurses network nls nptl ogg openal
    opengl oss pam pascal pcre pdf pdflib perl php pic plotutils
    png pppd python qt quicktime readline recode reflection rtc
    ruby samba scanner sdl session shorten slang slp sms sndfile
    speex spell spl sqlite sse sse2 ssl svg tcltk tcpd tetex
    theora tidy tiff timidity truetype truetype-fonts
    type1-fonts udev unicode usb userlocales v4l v4l2 vorbis
    wifi win32codecs wmf wxwindows xanim xine xml xml2 xmms xorg
    xosd xprint xscreensaver xv xvid zlib video_cards_radeon
    linguas_de userland_GNU kernel_linux elibc_glibc"
    Unset: CTARGET, INSTALL_MASK, LDFLAGS,
    PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS

    The problem also appears on another host which I have just
    recently recompiled from scratch:

    $ emerge --info:

    Gentoo Base System version 1.6.14
    Portage 2.1_rc4-r3 (selinux/2005.1/x86, gcc-3.4.6,
    glibc-2.4-r3, 2.6.16.20 i686)
    =================================================================
    System uname: 2.6.16.20 i686 AMD Athlon(tm)
    distcc[5688] (dcc_trace_version) distcc 2.18.3
    i686-pc-linux-gnu; built Jun 4 2006 19:34:13 [enabled]
    ccache version 2.3 [disabled]
    dev-lang/python: 2.3.5-r2, 2.4.2
    dev-python/pycrypto: 2.0.1-r5
    dev-util/ccache: 2.3
    dev-util/confcache: [Not Present]
    sys-apps/sandbox: 1.2.17
    sys-devel/autoconf: 2.13, 2.59-r7
    sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3,
    1.9.6-r1
    sys-devel/binutils: 2.16.1-r2
    sys-devel/libtool: 1.5.22
    virtual/os-headers: 2.6.11-r2
    ACCEPT_KEYWORDS="x86"
    AUTOCLEAN="yes"
    CBUILD="i686-pc-linux-gnu"
    CFLAGS="-march=i686 -O2 -pipe"
    CHOST="i686-pc-linux-gnu"
    CONFIG_PROTECT="/etc /usr/kde/3.5/env
    /usr/kde/3.5/share/config /usr/kde/3.5/shutdown
    /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref
    /usr/share/config /usr/share/texmf/dvipdfm/config/
    /usr/share/texmf/dvips/config/
    /usr/share/texmf/tex/generic/config/
    /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
    CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
    CXXFLAGS="-march=i686 -O2 -pipe"
    DISTDIR="/usr/portage/distfiles"
    FEATURES="autoconfig distcc distlocks loadpolicy
    metadata-transfer sandbox selinux sfperms strict"
    GENTOO_MIRRORS="http://pandemonium.tiscali.de/pub/gentoo/"
    LANG="de_DE.utf8"
    LC_ALL="de_DE.utf8"
    LINGUAS="de en"
    MAKEOPTS="-j5"
    PKGDIR="/usr/portage/packages"
    PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms
    --times --compress --force --whole-file --delete
    --delete-after --stats --timeout=180 --exclude='/distfiles'
    --exclude='/local' --exclude='/packages'"
    PORTAGE_TMPDIR="/var/tmp"
    PORTDIR="/usr/portage"
    PORTDIR_OVERLAY="/home/myportage/public_html"
    SYNC="rsync://rsync.gentoo.org/gentoo-portage"
    USE="3dnow 3dnowext 3ds X aac acpi ada alsa arts
    bash-completion berkdb bitmap-fonts bzip2 cjk crypt
    divx4linux dlloader dv edl eds encode expat f2c ffmpeg flac
    fortran gcj gdbm gif gmp gnutls gphoto2 gpm gtk gtk2 gtkhtml
    haskell ipv6 java jpeg kde kerberos kqemu lirc live
    logrotate lzo mad matroska mmx mng motif mozsvg mp3 mpeg
    music musicbrainz ncurses network nls nptl nptlonly ogg
    opengl pam pascal pdf perl pic png povray python qt readline
    rtc ruby sdl selinux session shorten slp sndfile sqlite sse
    sshchooser ssl svg tcltk tcpd tetex theora tidy tiff
    timidity truetype truetype-fonts type1-fonts unicode usb
    userlocales v4l v4l2 vhosts vorbis wifi win32codecs
    wxwindows x86 xanim xine xml2 xosd xprint xv xvid zlib
    elibc_glibc kernel_linux linguas_de linguas_en userland_GNU"
    Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS,
    PORTAGE_RSYNC_EXTRA_OPTS

     
  • Cinquero

    Cinquero - 2006-06-08

    Logged In: YES
    user_id=1018844

    You may need to try the broadband/WMV/internal stream on the
    site I listed before. The small stream seems to work here.

     
  • Kevin DeKorte

    Kevin DeKorte - 2006-06-08

    Logged In: YES
    user_id=685413

    Can you try the test using a vo of x11 only and see if that
    changes anything? Or perhaps trying a vo of gl?

     
  • Kevin DeKorte

    Kevin DeKorte - 2006-06-13
    • assigned_to: nobody --> kdekorte
    • status: open --> pending-works-for-me
     
  • Cinquero

    Cinquero - 2006-06-20

    Logged In: YES
    user_id=1018844

    x11 and gl seem to work. But xv should be the choice as
    OpenGL drivers are often unstable or not existent and x11
    does not provide hardware-accelerated scaling for
    full-screen display.

     
  • Cinquero

    Cinquero - 2006-06-20
    • status: pending-works-for-me --> open-works-for-me
     
  • Kevin DeKorte

    Kevin DeKorte - 2006-06-20

    Logged In: YES
    user_id=685413

    Sorry the problems with the vo's should be brought up with
    the mplayer developers. If xv does not work on your system
    it is not a problem with the plugin, but a problem with
    mplayer. Closing...

     
  • Kevin DeKorte

    Kevin DeKorte - 2006-06-20
    • status: open-works-for-me --> closed-wont-fix
     
  • Cinquero

    Cinquero - 2006-06-20

    Logged In: YES
    user_id=1018844

    well, xv actually works. It just does not work with the plugin.

     
  • Kevin DeKorte

    Kevin DeKorte - 2006-06-20

    Logged In: YES
    user_id=685413

    Maybe your video driver cannot support mplayer's vo of xv
    with a window specified.

     
  • Cinquero

    Cinquero - 2006-06-20

    Logged In: YES
    user_id=1018844

    Sometimes it works, sometimes not. Cannot really tell where
    the actual problem is. Seems to be some sort of a timing
    problem. Maybe I'll have a look at that somewhen again.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks