Kirjoittaja Aihe: Videoiden toisto ei toimi [ratkaistu kepulikonstilla]  (Luettu 3273 kertaa)

Axuu

  • Käyttäjä
  • Viestejä: 87
    • Profiili
Kun yritän esim. xvid coderilla varustettui tiedostoi katsoa vlc:llä, niin ääni tulee mutta ei kuvaa. Viittaisi että ei codekki toimi, mutta olen kuitenkin asentanu ne seuraavien ohjeiden mukaisesti http://ubuntuguide.org/wiki/Ubuntu:Feisty#How_to_install_Multimedia_Codecs Olisikohan jollakin jotain niksei mitä koittaa?

antaa seuraavanlaisen virheteksti
Koodia: [Valitse]
VLC media player 0.9.9a Grishenko
[00000001] main libvlc debug: VLC media player - version 0.9.9a Grishenko - (c) 1996-2009 the VideoLAN team
[00000001] main libvlc debug: libvlc was configured with ./configure  '--build=i486-linux-gnu' '--enable-maintainer-mode' '--enable-release' '--prefix=/usr' '--enable-libtool' '--enable-fast-install' '--with-binary-version=2ubuntu1' '--disable-update-check' '--disable-gnome' '--disable-gtk' '--disable-familiar' '--disable-fb' '--enable-ggi' '--enable-sdl' '--enable-esd' '--enable-mad' '--enable-jack' '--enable-pulse' '--enable-lirc' '--enable-a52' '--enable-aa' '--enable-dvbpsi' '--enable-mozilla' '--with-mozilla-pkg=libxul-plugin' '--disable-kde' '--enable-mp4' '--enable-dvb' '--disable-satellite' '--enable-ogg' '--enable-vorbis' '--enable-shout' '--enable-qt4' '--disable-slp' '--enable-flac' '--disable-skins' '--disable-basic-skins' '--enable-skins2' '--enable-freetype' '--enable-mkv' '--enable-speex' '--enable-caca' '--enable-live555' '--enable-libmpeg2' '--enable-fribidi' '--enable-cdio' '--enable-mod' '--enable-theora' '--enable-modplug' '--enable-dvdnav' '--enable-gnutls' '--enable-ffmpeg' '--enable-ncurses' '--enable-smb' '--disable-gnomevfs' '--enable-bonjour' '--enable-mpc' '--enable-vcd' '--enable-vcdx' '--enable-notify' '--enable-twolame' '--enable-faad' '--disable-zvbi' '--enable-telx' '--enable-mediacontrol-bindings' '--disable-atmo' '--enable-taglib' '--enable-libass' '--enable-libdca' '--enable-realrtsp' '--disable-dv' '--enable-x264' '--enable-alsa' '--enable-v4l' '--enable-v4l2' '--enable-pvr' '--enable-svgalib' '--enable-dvd' '--without-dvdcss' 'build_alias=i486-linux-gnu' 'CFLAGS=-g -O2' 'LDFLAGS=-Wl,--as-needed' 'CPPFLAGS=' 'CXXFLAGS=-g -O2'
[00000001] main libvlc debug: translation test: code is "C"
[00000001] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[????????] x11 video output error: X11 request 132.19 failed with error code 11:
 BadAlloc (insufficient resources for operation)
X Error of failed request:  BadAlloc (insufficient resources for operation)
  Major opcode of failed request:  132 (XVideo)
  Minor opcode of failed request:  19 ()
  Serial number of failed request:  81
  Current serial number in output stream:  82
Muistialueen ylitys
« Viimeksi muokattu: 12.08.09 - klo:13.43 kirjoittanut Axuu »

Axuu

  • Käyttäjä
  • Viestejä: 87
    • Profiili
Vs: Videoiden toisto ei toimi
« Vastaus #1 : 12.08.09 - klo:00.43 »
Pitkän taistelun jälkeen sain toimimaan xinellä, en kuitenkaan esim. vlc:llä, mutta eipä mitään voin käyttää tuotakin.

nm

  • Käyttäjä
  • Viestejä: 16247
    • Profiili
Vs: Videoiden toisto ei toimi [ratkaistu]
« Vastaus #2 : 12.08.09 - klo:00.59 »
Näyttää siltä että XVideo ei toimi oikein eli näytönohjaimen ajurissa on jotain vikaa. Käytitkö Xinellä xv-ulostuloa vai jotain muuta? Mitä xvinfo kertoo?

Axuu

  • Käyttäjä
  • Viestejä: 87
    • Profiili
Vs: Videoiden toisto ei toimi [ratkaistu]
« Vastaus #3 : 12.08.09 - klo:09.26 »
Pieni korjaus ratkaisuun. Se toimii kun ensin avaan videon SMPlayerillä, siinä toimii äänet mutta ei kuva. (ei kuitenkaan sulkeudu kuten muut ohjelmat) Sen jälkeen kun se taustalla pyörii, niin avaan Xinellä videon uudestaan, sit sillä toimii. :)

Jos avaa suoraan Xinellä, niin se sulkeutuu heti...

Monimutkaistako? :P

en tie käytinko xv-ulostuloa, mikä se on?

Xvinfo kertoo seuraavaa:
Koodia: [Valitse]
X-Video Extension version 2.2
screen #0
  Adaptor #0: "Intel(R) Video Overlay"
    number of ports: 1
    port base: 67
    operations supported: PutImage
    supported visuals:
      depth 24, visualID 0x21
    number of attributes: 12
      "XV_COLORKEY" (range 0 to 16777215)
              client settable attribute
              client gettable attribute (current value is 66046)
      "XV_BRIGHTNESS" (range -128 to 127)
              client settable attribute
              client gettable attribute (current value is -19)
      "XV_CONTRAST" (range 0 to 255)
              client settable attribute
              client gettable attribute (current value is 75)
      "XV_SATURATION" (range 0 to 1023)
              client settable attribute
              client gettable attribute (current value is 146)
      "XV_DOUBLE_BUFFER" (range 0 to 1)
              client settable attribute
              client gettable attribute (current value is 1)
      "XV_PIPE" (range -1 to 1)
              client settable attribute
              client gettable attribute (current value is -1)
      "XV_GAMMA0" (range 0 to 16777215)
              client settable attribute
              client gettable attribute (current value is 526344)
      "XV_GAMMA1" (range 0 to 16777215)
              client settable attribute
              client gettable attribute (current value is 1052688)
      "XV_GAMMA2" (range 0 to 16777215)
              client settable attribute
              client gettable attribute (current value is 2105376)
      "XV_GAMMA3" (range 0 to 16777215)
              client settable attribute
              client gettable attribute (current value is 4210752)
      "XV_GAMMA4" (range 0 to 16777215)
              client settable attribute
              client gettable attribute (current value is 8421504)
      "XV_GAMMA5" (range 0 to 16777215)
              client settable attribute
              client gettable attribute (current value is 12632256)
    maximum XvImage size: 1920 x 1088
    Number of image formats: 5
      id: 0x32595559 (YUY2)
        guid: 59555932-0000-0010-8000-00aa00389b71
        bits per pixel: 16
        number of planes: 1
        type: YUV (packed)
      id: 0x32315659 (YV12)
        guid: 59563132-0000-0010-8000-00aa00389b71
        bits per pixel: 12
        number of planes: 3
        type: YUV (planar)
      id: 0x30323449 (I420)
        guid: 49343230-0000-0010-8000-00aa00389b71
        bits per pixel: 12
        number of planes: 3
        type: YUV (planar)
      id: 0x59565955 (UYVY)
        guid: 55595659-0000-0010-8000-00aa00389b71
        bits per pixel: 16
        number of planes: 1
        type: YUV (packed)
      id: 0x434d5658 (XVMC)
        guid: 58564d43-0000-0010-8000-00aa00389b71
        bits per pixel: 12
        number of planes: 3
        type: YUV (planar)

nm

  • Käyttäjä
  • Viestejä: 16247
    • Profiili
Vs: Videoiden toisto ei toimi [ratkaistu]
« Vastaus #4 : 12.08.09 - klo:10.40 »
Pieni korjaus ratkaisuun. Se toimii kun ensin avaan videon SMPlayerillä, siinä toimii äänet mutta ei kuva. (ei kuitenkaan sulkeudu kuten muut ohjelmat) Sen jälkeen kun se taustalla pyörii, niin avaan Xinellä videon uudestaan, sit sillä toimii. :)

Ok, eli XVideo (= xv) on rikki. SMPlayer varaa ainoan tarjolla olevan XVideo-portin, jolloin Xine käyttää automaattisesti hitaampaa X11/XShm-piirtoa (-V xshm). Myös VLC:n ja (S)MPlayerin ulostuloksi voi vaihtaa x11:n, mutta parempi ratkaisu olisi korjata XVideo.

Syynä ongelmaan saattaisi olla tämä bugi:
https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/359831
https://bugs.freedesktop.org/show_bug.cgi?id=10479

Käytätkö siis kahta näyttöä? Näytä /etc/X11/xorg.conf-tiedoston sisältö.

Axuu

  • Käyttäjä
  • Viestejä: 87
    • Profiili
Vs: Videoiden toisto ei toimi [ratkaistu]
« Vastaus #5 : 12.08.09 - klo:11.55 »
Saattaapi hyvinkin olla juuri tuo bugi, sama intelin integroitu näyttiski täs on. 2 näyttöö käytän vain ajoittain, mutta esim. nyt sitä toista ei ole tässä.

Koodia: [Valitse]
#
# Note that some configuration settings that could be done previously
# in this file, now are automatically configured by the server and settings
# here are ignored.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "Monitor"
Identifier "Configured Monitor"
EndSection

Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
SubSection "Display"
Virtual 2560 1048
EndSubSection
EndSection

Section "Device"
Identifier "Configured Video Device"
EndSection

timbba

  • Käyttäjä
  • Viestejä: 1413
    • Profiili
Vs: Videoiden toisto ei toimi [ratkaistu]
« Vastaus #6 : 12.08.09 - klo:15.13 »
Saattaapi hyvinkin olla juuri tuo bugi, sama intelin integroitu näyttiski täs on. 2 näyttöö käytän vain ajoittain, mutta esim. nyt sitä toista ei ole tässä.

Koodia: [Valitse]
#
# Note that some configuration settings that could be done previously
# in this file, now are automatically configured by the server and settings
# here are ignored.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "Monitor"
Identifier "Configured Monitor"
EndSection

Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
SubSection "Display"
Virtual 2560 1048
EndSubSection
EndSection

Section "Device"
Identifier "Configured Video Device"
EndSection

Temporary ratkaisu: ota toi Virtual rivi pois.. sit ku tarvit toisen näytön, niin laita takas. Tosin kahdella näytöllä tällöin ei taas noi videot pelitä, kuten toi bugin otsikkokin jo kertoo.

nm

  • Käyttäjä
  • Viestejä: 16247
    • Profiili
Vs: Videoiden toisto ei toimi [ratkaistu]
« Vastaus #7 : 12.08.09 - klo:15.22 »
Virtual   2560 1048

Jeps, tuo virtuaalisen työpöydän leveys (>2048) rikkoo Jauntyn ajurissa 3d-kiihdytyksen ja XVideon.

Ratkaisuvaihtoehtoja:
1. Käytä vain yhtä näyttöä ja poista tuo Virtual-rivi.
2. Aseta virtuaaliset näytöt päällekkäin. Tämä auttaa, jos yhteenlaskettu korkeus pysyy alle 2048 pikselin.
3. Vaihda vanhempaan ajuriin, jossa XVideo toimii myös ilman DRI:tä: https://wiki.ubuntu.com/ReinhardTartler/X/RevertingIntelDriverTo2.4
4. Ongelma on mahdollisesti korjattu ajuriversiossa 2.8.0, joka on Karmicissa.

Axuu

  • Käyttäjä
  • Viestejä: 87
    • Profiili
Vs: Videoiden toisto ei toimi [ratkaistu kepulikonstilla]
« Vastaus #8 : 13.08.09 - klo:12.51 »
Otin tuon virtual rivin pois ja nyt toimii oikein. Käytän toista näyttöö (videotykkkykä) vain harvoin kiinni täs, niin on iha hyvä ratkasu.