xineliboutput Segfault

Help
Theunis
2007-07-27
2013-05-30
  • Theunis

    Theunis - 2007-07-27

    I have vdr in a budget setup, using Gentoo distribution

    media-plugins/vdr-xineliboutput-1.0.0._rc2
    media-libs/xine-lib-1.1.4-r2
    media-video/vdr-1.5.5

    I’m running X with nvidia closed source drivers

    x11-drivers/nvidia-legacy-drivers-1.0.7184
    enabled tv-out in xorg.conf and running at

    720x576@50Hz PAL-I
    on DISPLAY=:0.1

    In /etc/conf.d/vdr.xineliboutput

    --local- sxfe --video=xshm –-display=:0.1 –-fullscreen

    /etc/init.d/vdr start

    Brings up the vdr-menu, but everything is in green, no other colour.

    When I try to play a media file, (divx or other) vdr-sxfe segfaults the first time, then vdr-watchdog will start it up again. Retrying the media file works after that.

    I have to switch xineliboutput OSD transparency off, to get the normal yellow background on the default OSD theme of VDR.

    If I use –-video=xv then it will crash on many occasions, and media-file is not full screen.

    I’ve tried using –-video=xvmc:127.0.0.1:0.1 but reports it could not connect to X Display device

    I have done the following to allow all clients:
    xhost +

    I also removed /var/vdr/.xineliboutput (settings folder)

    Cleaned up /etc/vdr/setup.conf all the xineliboutput settings too.

    Please advise.

     
    • Theunis

      Theunis - 2007-07-28

      update:

      got xineliboutput working with these settings:

      in vdr.xineliboutput
      _EXTRAOPTS="--local=sxfe --remote=none --video=xv --display=:0.1 --fullscreen"

      changed vdr theme to vdr-skinsoppalusikka

      in /etc/vdr/setup.conf
      xineliboutput.OSD.AlphaCorrection = -24
      xineliboutput.OSD.AlphaCorrectionAbs = -34
      xineliboutput.OSD.Downscale = 0
      xineliboutput.OSD.HideMainMenu = 0
      xineliboutput.OSD.Prescale = 1
      xineliboutput.OSD.SpuAutoSelect = 0
      xineliboutput.OSD.SpuLang0 = en
      xineliboutput.OSD.SpuLang1 = fi
      xineliboutput.OSD.SpuLang2 = de
      xineliboutput.OSD.SpuLang3 =
      xineliboutput.OSD.UnscaledAlways = 0
      xineliboutput.OSD.UnscaledLowRes = 0
      xineliboutput.OSD.UnscaledOpaque = 0

      BUG: xineliboutput still crashes when I try to play a media file the first time, vdr-watchdog will automatically restart vdr, then media files will work.

      from /var/log/messages
      ...
      Jul 28 18:03:06 mag vdr: [24545] transfer thread ended (pid=24545, tid=24545)
      Jul 28 18:03:06 mag vdr: [24461] buffer stats: 54520 (2%) used
      Jul 28 18:03:06 mag vdr: [24461] [vdr-fe]    closing post plugin: tvtime
      Jul 28 18:03:06 mag vdr: [24461] saved setup to /etc/vdr/setup.conf
      Jul 28 18:03:06 mag vdr: [24461] [input_vdr] PLAYFILE  (Loop: 0, Offset: 0s, File: goom:fps:25,width:720,height:576 /mnt/ide/hdc1/video/movies/James Bond - Casino Royale.avi)
      Jul 28 18:03:06 mag vdr: [24461] [input_vdr] Subtitles not found for /mnt/video/movies file.avi
      Jul 28 18:03:06 mag vdr: [24461] [input_vdr] vdr_class_get_instance
      Jul 28 18:03:06 mag vdr: [24555] [input_vdr] INFO DVDTITLE 0
      Jul 28 18:03:06 mag vdr: [24555] [input_vdr] INFO DVDTITLE 0
      Jul 28 18:03:06 mag vdr: [24547] TS buffer on device 1 thread ended (pid=24547, tid=24547)
      Jul 28 18:03:06 mag vdr: [24546] buffer stats: 30456 (1%) used
      Jul 28 18:03:06 mag vdr: [24546] receiver on device 1 thread ended (pid=24546, tid=24546)
      Jul 28 18:03:06 mag vdr: [24461] [vdr-fe]    unwiring post plugins
      Jul 28 18:03:07 mag vdr: [24461] [vdr-fe]    unwiring slave stream post plugins
      Jul 28 18:03:07 mag vdr: [24461] [vdr-fe]    re-wiring post plugins
      Jul 28 18:03:07 mag vdr: [24461] [xine..put] cXinelibPlayer playing /mnt/video/movies file.avi (OK)
      Jul 28 18:03:07 mag vdr: [24461] max. latency time 2 seconds
      Jul 28 18:03:08 mag vdrwatchdog[24558]: restarting VDR
      Jul 28 18:03:09 mag vdr: [24799] VDR version 1.5.5 started
      Jul 28 18:03:09 mag vdr: [24799] switched to user 'vdr'
      Jul 28 18:03:09 mag vdr: [24799] running as daemon (tid=24799)
      Jul 28 18:03:09 mag vdr: [24799] codeset is 'ISO-8859-1' - known
      ...

      in playback mode with xineliboutput, fastforward is very jerky, not as smooth as softdevice, however in media file mode, fastforward is smooth.

      Please advise

       

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

Sign up for the SourceForge newsletter:





No, thanks