View Single Post
Old 04-21-09, 09:48 AM   #1
Quantumstate
Registered User
 
Join Date: May 2008
Posts: 166
Default Video Haltiness Multiple Times/Second

I can hardly watch H.264/AVC MKV programs (transcoded from ATSC mpeg2), as multiple times/second it halts for a fraction and then resumes. One core of my 2GHz dual-core is pegged with a thread of mythfrontend, and there are two other mythfrontend threads consuming another 15% or so of the other core. I'd like to use VDPAU, although this video card is the Quadro 1600, which seems to get little benefit from VDPAU; and VDPAU is intolerant of stream problems.

I was running driver 180.44 and with that the video was halting every 5 seconds or so for a second, but on 185.19 it's gotten atrocious. (64bit) It most happens when there's lots of video information in the frame, or on pans. When at least 20% of the screen is one color I get smooth playback, as with borders or on that Nova Exxon commercial. In the terminal window where I run mythfrontend I get tons of these:
Code:
...
2009-04-21 07:39:24.069 NVP: prebuffering pause
2009-04-21 07:39:25.178 NVP: prebuffering pause
2009-04-21 07:39:25.743 NVP: prebuffering pause
2009-04-21 07:39:26.996 NVP: prebuffering pause
2009-04-21 07:39:27.862 [ac3 @ 0x7fd1957d87d0]frame CRC mismatch
2009-04-21 07:39:27.904 NVP: prebuffering pause
2009-04-21 07:39:28.822 NVP: prebuffering pause
2009-04-21 07:39:29.510 NVP: prebuffering pause
2009-04-21 07:39:30.474 NVP: prebuffering pause
2009-04-21 07:39:31.593 NVP: prebuffering pause
2009-04-21 07:39:32.672 NVP: prebuffering pause
2009-04-21 07:39:33.892 NVP: prebuffering pause
2009-04-21 07:39:34.346 NVP: prebuffering pause
2009-04-21 07:39:34.900 NVP: prebuffering pause
2009-04-21 07:39:35.370 NVP: prebuffering pause
2009-04-21 07:39:35.941 NVP: prebuffering pause
2009-04-21 07:39:36.311 NVP: prebuffering pause
2009-04-21 07:39:36.882 NVP: prebuffering pause
...
Running MythTV-fixes with VDPAU patch 20405. Myth profile is vdpau/vdpau/vdpau with interlaced Advanced1x, although the video is deinterlaced H.264/AVC HD in mkv. Deinterlaced H.264/AVC SD videos play just fine. As soon as a transcode job is done I'll post a clip. I tried to post a bugreport, but the forum complains that, "The message you have entered is too short. Please lengthen your message to at least 1 characters." WTH?

vdpinfo
Code:
display: :0   screen: 0
API version: 0
Information string: Unknown

Video surface:

name   width height types
-------------------------------------------
420     4096  4096  NV12 YV12
422     4096  4096  UYVY YUYV

Decoder capabilities:

name          level macbs width height
------------------------------------
MPEG1             0  8192  2048  2048
MPEG2_SIMPLE      3  8192  2048  2048
MPEG2_MAIN        3  8192  2048  2048
H264_MAIN        41  8192  2048  2048
H264_HIGH        41  8192  2048  2048
VC1_SIMPLE        1  8190  2048  2048
VC1_MAIN          2  8190  2048  2048
VC1_ADVANCED      4  8190  2048  2048

Output surface:

name              width height nat types
----------------------------------------------------
B8G8R8A8          8192  8192    y  Y8U8V8A8 V8U8Y8A8
R10G10B10A2       8192  8192    y  Y8U8V8A8 V8U8Y8A8

Bitmap surface:

name              width height
------------------------------
B8G8R8A8          8192  8192
R8G8B8A8          8192  8192
R10G10B10A2       8192  8192
B10G10R10A2       8192  8192
A8                8192  8192

Video mixer:

feature name                    sup
------------------------------------
DEINTERLACE_TEMPORAL             y
DEINTERLACE_TEMPORAL_SPATIAL     y
INVERSE_TELECINE                 y
NOISE_REDUCTION                  y
SHARPNESS                        y
LUMA_KEY                         y

parameter name                  sup      min      max
-----------------------------------------------------
VIDEO_SURFACE_WIDTH              y         1     4096
VIDEO_SURFACE_HEIGHT             y         1     4096
CHROMA_TYPE                      y
LAYERS                           y         0        4

attribute name                  sup      min      max
-----------------------------------------------------
BACKGROUND_COLOR                 y
CSC_MATRIX                       y
NOISE_REDUCTION_LEVEL            y      0.00     1.00
SHARPNESS_LEVEL                  y     -1.00     1.00
LUMA_KEY_MIN_LUMA                y
LUMA_KEY_MAX_LUMA                y
Quantumstate is offline   Reply With Quote