You are not logged in.

#1 2010-10-31 22:57:17

mDuo13
Member
Registered: 2010-04-25
Posts: 93

Corruption artifacts in mplayer

Looked around, didn't see any other threads for this problem, so I'm asking here. I think it started around when I switched from my ATI card to a new nVidia one so I could play SC2 reliably. (That's still going great.)

Anyway, the problem is that now I get corruption artifacts from time to time that look like this:
artifacts.png
It kind of resembles when hard framedropping is enabled, except I have framedropping disabled.

I haven't figured out the exact circumstances that cause it to happen, but it doesn't seem to be a problem with the files I'm watching, and it doesn't always occur in the same place when rewatching the video, although it seems to happen much more often on some files than others. In particular, 720p h.264 mp4 files with no subtitles seem to have the problem the most. I've been mucking around with different versions of mplayer trying to get the best playback under my new card, but this problem in particular is baffling me. I was using mplayer-mt-git before, and I tried that again for a while, but it didn't seem to help. I haven't been able to get any of the vdpau builds of mplayer to actually run any h.264 files, even with stuff like "vo=vdpau" and "vc=ffmpeg12vdpau,ffwmv3vdpau,ffvc1vdpau,ffh264vdpau,ffodivxvdpau," in the config file, nor with using the mplayer-vdpau-auto.sh script recommended on the wiki. (It gives me errors like the decoder doesn't exist or something; I don't remember exactly.) Right now I'm using mplayer-svn.

I trimmed my mplayer config file down to something fairly simple for debugging this problem:

[default]
fs=yes
vo=gl
af=volnorm

sid=0
ass=yes
embeddedfonts=yes
alang=jpn,eng
slang=eng,jpn

vf=screenshot

I'm using vo=gl because xv tends to result in nasty tearing, maybe because I'm using two very different monitors or something. I've confirmed that the problems happen with or without the rest of the file, except maybe fullscreen. And my CPU usage during playback remains extremely low, even when the problems are happening, as far as I can tell. Lately I've resorted to putting the files in a ramfs before watching them, since I sometimes have stuttering when multiple programs are competing for the poor 5400rpm RAID1 where most of my data is.

Oh yeah, and finally, I'm using OpenBox as a windowmanager, with no compositing of any sort so far as I know, so that shouldn't interfere.

So: anybody have any ideas of what could cause or fix this? If you have a similar card to mine (nVidia GTX 460), what mplayer package and settings (or other video player) do you use for watching HD?

Offline

#2 2010-11-01 00:07:03

ChoK
Member
From: France
Registered: 2008-10-01
Posts: 346

Re: Corruption artifacts in mplayer

What version of nvidia driver are you using? the 260.* beta driver have a nasty memory leak (in the GB range) when soft subtitles are enabled.

edit: I read too fast
the mplayer from arch repo are vdpau-enabled, can you try with that?

Last edited by ChoK (2010-11-01 00:08:53)


Ah, good taste! What a dreadful thing! Taste is the enemy of creativeness.
Picasso
Perfection is reached, not when there is no longer anything to add, but when there is no longer anything to take away.
Saint Exupéry

Offline

#3 2010-11-22 07:04:10

mDuo13
Member
Registered: 2010-04-25
Posts: 93

Re: Corruption artifacts in mplayer

I'm still having this problem, even using the version of mplayer from the repo, version 32492-2. I've noticed that it happens all the time with videos from a particular group (it wasn't so bad with videos from them before, as far as I can recall) and occasionally with videos from other sources. Dunno really what to try next.

Offline

#4 2010-11-22 07:49:22

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,606
Website

Re: Corruption artifacts in mplayer

mDuo13 wrote:

If you have a similar card to mine (nVidia GTX 460), what mplayer package and settings (or other video player) do you use for watching HD?

Use vdpau - http://aur.archlinux.org/packages.php?ID=41914


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#5 2010-11-24 02:33:02

mDuo13
Member
Registered: 2010-04-25
Posts: 93

Re: Corruption artifacts in mplayer

Sorry, but I already said that's not working for me -

mDuo13 wrote:

I haven't been able to get any of the vdpau builds of mplayer to actually run any h.264 files, even with stuff like "vo=vdpau" and "vc=ffmpeg12vdpau,ffwmv3vdpau,ffvc1vdpau,ffh264vdpau,ffodivxvdpau," in the config file, nor with using the mplayer-vdpau-auto.sh script recommended on the wiki. (It gives me errors like the decoder doesn't exist or something; I don't remember exactly.)

To be more exact, it gives me a looping error that looks something like this:

[mov,mp4,m4a,3gp,3g2,mj2 @ 0xdb97a0]stream 1, offset 0xd226eb6: partial file
[mov,mp4,m4a,3gp,3g2,mj2 @ 0xdb97a0]stream 1, offset 0xd227049: partial file
[VD_FFMPEG] Trying pixfmt=0.
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
[h264_vdpau @ 0xe26f60]decoding to PIX_FMT_NONE is not supported.
[h264_vdpau @ 0xe26f60]decode_slice_header error
[h264_vdpau @ 0xe26f60]no frame!
Error while decoding frame!
[mov,mp4,m4a,3gp,3g2,mj2 @ 0xdb97a0]stream 1, offset 0xd2271d4: partial file
[mov,mp4,m4a,3gp,3g2,mj2 @ 0xdb97a0]stream 1, offset 0xd22736e: partial file
[VD_FFMPEG] Trying pixfmt=0.
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
[h264_vdpau @ 0xe26f60]decoding to PIX_FMT_NONE is not supported.
[h264_vdpau @ 0xe26f60]decode_slice_header error
[h264_vdpau @ 0xe26f60]no frame!
Error while decoding frame!
[mov,mp4,m4a,3gp,3g2,mj2 @ 0xdb97a0]stream 1, offset 0xd22750b: partial file
[mov,mp4,m4a,3gp,3g2,mj2 @ 0xdb97a0]stream 1, offset 0xd2276a5: partial file
[VD_FFMPEG] Trying pixfmt=0.
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
[h264_vdpau @ 0xe26f60]decoding to PIX_FMT_NONE is not supported.
[h264_vdpau @ 0xe26f60]decode_slice_header error
[h264_vdpau @ 0xe26f60]no frame!
Error while decoding frame!
[mov,mp4,m4a,3gp,3g2,mj2 @ 0xdb97a0]stream 1, offset 0xd227845: partial file
[mov,mp4,m4a,3gp,3g2,mj2 @ 0xdb97a0]stream 1, offset 0xd2279ee: partial file
[VD_FFMPEG] Trying pixfmt=0.
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
[h264_vdpau @ 0xe26f60]decoding to PIX_FMT_NONE is not supported.
[h264_vdpau @ 0xe26f60]decode_slice_header error
[h264_vdpau @ 0xe26f60]no frame!
Error while decoding frame!
[mov,mp4,m4a,3gp,3g2,mj2 @ 0xdb97a0]stream 1, offset 0xd227b9b: partial file

FATAL: Could not initialize video filters (-vf) or video output (-vo).

-- although that's using plain old (supposedly vdpau-enabled) mplayer from the repos, not the mplayer-vdpau-svn from the aur... I got similar errors when I had the aur one installed so I didn't feel like re-installing it just to prove the point.

Offline

Board footer

Powered by FluxBB