Vdpau problem at with non-h264 content
#1
Hey, guys.

I'm having a rather strange problem mpeg-4 (xvid and divx) encoded stuff with vdpau enabled. When I start up the video, it's completely distorted. My h264 content is behaving fine, and the container doesn't seem to be the issue (problem exists in both mkv's and avi's), and disabling vdpau fixes this, but makes my hd stuff unplayable (that's why I got the video card).

I hear the show, but the screen is completely pix-elated.

I've got a new nvidia gt220, on my AMD Athlon 64 X2 dual-core 3800+.
I am running Ubuntu Jaunty, up to date as of today, and XBMC Pre-10.5 r26540 from the ppa's.

Oh, and my nvidia driver is at 195.30

Here's a debug log of my attempt to watch Angel...

http://pastebin.com/m796aad32

Any help would appreciated... Thanks!
Reply
#2
Sorry I can't be of much help, but I'm seeing this too. Some of the affected items even claimed to be encoded using x264. I haven't tried much debugging though... I'll go check it out more. I'm running XBMCL Camelot (9.11) on an Acer Aspire Revo. I'll post again if I find out more.
Reply
#3
It's bizarre... The vdpau even seems to work on the few wmv's that I have, so I suppose it's not just 264's that work...
Reply
#4
Have a look at this ticket that I opened.
http://trac.xbmc.org/ticket/8337
I only get the problem with XVID (see attached screenshot at above ticket). MKVs play fine with VDPAU in my case.
Reply
#5
Nice! That's exactly it! Oh, I tried using mkvmerge to shove the xvid into an mkv, and it still didn't work, so it's not just any mkv...
It's just that you just never see an mkv with xvid "out in the wild".

I don't think I've anything new to contribute, is there a way to just give a "thumbs up" that this bug still exists?
Reply
#6
I also tried using external ffmpeg using latest svn but XBMC kept crashing. So I am back to 9.11 final version as it uses an older ffmpeg. I think this is not a bug in XBMC but in ffmpeg.
We can only wait...
Reply
#7
Just a few publicly available datapoints:

Doesn't work (green weirdness):
http://www.ted.com/talks/download/video/8269/talk/712
http://www.ted.com/talks/download/video/7027/talk/618

Works (renders as expected):
http://www.ted.com/talks/download/video/5307/talk/66
Reply
#8
I have this same problem, the video is all corrupted when I try and play any xvid encoded files with VDPAU turned on. Is there any fix for this?
Reply
#9
There is a way to fix this by disabling mpeg4-vdpau decoder in ffmpeg. I have done it and it works. You can read about it below

http://www.xbmc.org/forum/showthread.php?p=499866
Reply
#10
Thanks, spykos. Unfortunately, it should be noted that the suggested fix is done during compile-time, and isn't a runtime configuration option. I'm just running XBMCLive though, so recompiling would be a bit of a hassle. =)
Reply
#11
spykos Wrote:There is a way to fix this by disabling mpeg4-vdpau decoder in ffmpeg. I have done it and it works. You can read about it below

http://www.xbmc.org/forum/showthread.php?p=499866

I've downloaded the latest svn source, modified configure.in and compiled xbmc.
But I still get green garbage on screen when enabling vdpau Sad

I'm using a GT220 card.

Here is the configure generated config.mak for ffmpeg: http://pastebin.org/87205
1: Nvidia Shield TV (2017) 16GB - 2: Beelink MinixMXIII II - 3: Beelink MinixMXIII II - 4: Beelink MinixMXIII II
NAS: unRAID 6.3 Pro • Case (NZXT H440) • MB (MBD-X7SBE with SIM1U+) • CPU (Xeon X3360) • RAM (4x2GB DDR2) • SATA (6 On MB, 8 AOC-SAT2-MV8) • PSU (EVGA SUPERNOVA 650 G2) • HDD (2 x Toshiba 3TB parity, 6 x WD Red 3TB xfs, 1 x 512GB SSD cache)  • UPS (APC BR1000G)
Reply
#12
Never mind, got it to work..
1: Nvidia Shield TV (2017) 16GB - 2: Beelink MinixMXIII II - 3: Beelink MinixMXIII II - 4: Beelink MinixMXIII II
NAS: unRAID 6.3 Pro • Case (NZXT H440) • MB (MBD-X7SBE with SIM1U+) • CPU (Xeon X3360) • RAM (4x2GB DDR2) • SATA (6 On MB, 8 AOC-SAT2-MV8) • PSU (EVGA SUPERNOVA 650 G2) • HDD (2 x Toshiba 3TB parity, 6 x WD Red 3TB xfs, 1 x 512GB SSD cache)  • UPS (APC BR1000G)
Reply
#13
And I want to know which decoder module is used when play h264 file,avcodec or h264_vdpau??
Reply
#14
Is there any possibility of a future fix besides disabling the VDPAU decoder? And if VDPAU itself is causing the problem, has this already been reported to NVIDIA? (I tried searching their forums but came up empty.)
Reply
#15
Is this packed B-frame issue?

http://lists.mplayerhq.hu/pipermail/ffmp...84108.html

Does XBMC use ffmpeg? Should be fixed in ffmpeg svn.
Reply

Logout Mark Read Team Forum Stats Members Help
Vdpau problem at with non-h264 content1