Playing video on machines powered by Nvidia GPUs, Windows 7 x86/x64’s own Windows Media Player (WMP) video playback quality is just fine, but when it comes to any other player such as Media Player Classic - Home Cinema (MPC-HC) or VLC media player, jagged edges are annoyingly obvious, especially when the video is resized. Well, an MPEG-2 PAL video (DVD format) stored at 720x576 (4:3) is displayed at 768x576, that’s simply called resizing!
The sample video frame on the left demonstrates Windows 7’s poor video quality and the aliasing artifacts caused by the absence of a filter which should make jagged edges smooth. The aliasing artifact is apparent on the outer edge of Lili Haydn’s nose, and also on the ribbon of the horsehair of her fiddlestick. On the right, the filter in Enhanced Video Renderer (EVR) smoothed jagged edges, making video quality much more acceptable. One of the other things such filters do is to make colors more vivid, which could be clearly observed on the right side snapshot as it’s more colorful and vivid comparing to the one on the left. The frame snapshot’s saved PNG size is a good quality measure and detail comparison between the jagged video (151kB) and when it’s smoothed via EVR (652kB). (Credit: Lili Haydn’s violin solo with George Clinton & Parliament-Funkadelic live at the 38th Montreux Jazz Festival 2004)
In the video domain, aliasing artifacts can appear as wavy lines or bands, or moiré patterns, or popping, strobing, or as unwanted sparkling, emphasizing the poor video quality, caused by jagged edges.
Smoothing jagged edges is omitted when the video is played in Windows 7 using the default renderer in Media Player Classic - Home Cinema (MPC-HC) or VLC media player on Nvidia-powered systems.
To fix the problem, you need to install the latest WHQL driver located at nvidia.com/page/drivers.html, and then enable Enhanced Video Renderer (EVR) in your player’s options.
As an older alternative to EVR (Enhanced Video Renderer), you can also choose VMR9 (Video Mixing Renderer). The VMR was first made available for the Windows XP platforms only. Beginning with DirectX 9.0, a separate version of the VMR, called the VMR-9, is available for redistribution on all platforms supported by DirectX. The two VMR filters are very similar in their implementation and the interfaces that they expose. The primary difference is that the original VMR (now called the VMR-7) uses DirectDraw 7 internally to control the video hardware, while the new version of VMR (called the VMR-9) uses Direct3D 9.
To make use of the Media Player Classic - Home Cinema’s internal subtitle renderer, select either of the “EVR Custom Pres.” or “VMR9 (renderless)”, since both their alternatives—“EVR (Vista/.Net3)” and “VMR9 (windowed)”—fail to provide the pixel shaders to the soft subtitle filter. Please note the softsub renderer inside MPC-HC—Gabest’s DirectVobSub (VSFilter.dll)—is a horrendous CPU hog, so be alarmed to the excessive CPU usage. Another problem with the alternatives is “EVR (Vista/.Net3)” doesn’t provide the practical picture scaling (pan & scan) feature, locking the picture at its original scales.
[Updated February 8, 2010]
Because 3D surfaces are required for image scaling, image rotation, and pixel shaders, with the EVR Custom Presenter/VMR output filters chosen in Media Player Classic - Home Cinema v1.3.1249.0 on a non-gamer’s Windows 7—with no Direct3D engine installed—MPC nags about “No D3DX9 dll found. To enable stats, shaders and complex resizers, please make sure to install the latest DirectX End-User Runtime. Warning creating EVR Custom renderer.” To overcome this issue, download and install DirectX End-User Runtime using Microsoft’s newly-published intelligent DirectX End-User Runtime Web Installer.
رفع عیب پخش بیکیفیت ویدیو و لبههای دندانهدار و ناهموار در ویندوز ۷ ۳۲-بیت و ویندوز ۷ ۶۴-بیت
هنگام پخش ویدیو در رایانههای دارای پردازندههای گرافیکی انویدیا در ویندوز ۷ ۳۲بیتی و ۶۴بیتی در ویندوز مدیا پلیر هیچ مشکلی وجود ندارد. اما اگر از پخشکنندهٔ دیگری مانند مدیا پلیر کلسیک - هوم سینما (MPC-HC) یا ویالسی مدیا پلیر استفاده کنید، متوجه لبههای دندانهدار آزاردهندهای خواهید شد، علیالخصوص اگر ویدیو تغییر اندازه داده باشد. جالب است بدانید که یک ویدیوی پال امپگ-۲ (قالب دیویدی) که به اندازهٔ ۷۲۰×۵۷۶ (۴:۳) ذخیره شده، در اندازهٔ ۷۶۸×۵۷۶ نمایش داده میشود؛ ما که به آن تغییر اندازه میگوییم!
ویدیوی نمونه در سمت راست، پخش بیکیفیت ویدیو و اثرات بدنمایی و لبههای دنده-دنده شده که بواسطهٔ نبود یک پالاینده برای هموار و صیقلی کردن لبهها بوجود آمده را در ویندوز ۷ نمایش میدهد. اثرات تصنعی بدنمایی و لبههای ناهموار در لبهٔ بیرونی بینی لیلی هیدن و همچنین روی موی دُم اسب آرشهٔ ویولن او مشخص است. در تصویر سمت چپ، پالایندهٔ ئیویآر لبهها را صاف و هموار کردهاست، که این مسئله ویدیو را بهمراتب مقبولتر کردهاست. یکی از وظایف دیگر این پالایندهها، واضحتر کردن رنگها است، که با مقایسهٔ تصاویر متوجه رنگارنگتر بودن تصویر سمت چپ نسبت به تصویر سمت راست خواهید شد. مقایسهٔ حجم تصاویر لحظهای فریمها که به قالب پیانجی ذخیره شده اند، معیار جالبی برای درک تفاوت بسیار بالای ویدیوی ناهموار (۱۵۱ کیلوبایت) و ویدیوی هموار شده توسط ئیویآر (۶۵۲ کیلوبایت) است. (تصاویر از: تکنوازی ویولن لیلی هیدن بهمراه جورج کلینتون و پارلیمنت-فانکادلیک در اجرای زندهٔ ۳۸اُمین فستیوال جز مونترو ۲۰۰۴)
در حوزهٔ تصاویر ویدیویی، اثرات تصنعی بدنمایی میتوانند بصورت خطوط یا نوارهای مجعد، الگوهای موجدار، چشمک تصویر، جلوههای استروبوسکوپی، یا بصورت جرقه یا برق ناخواسته وجود داشته باشند، که موجب تشدید بیکیفیتی پخش تصاویر ویدیویی میشوند.
صاف و هموار کردن تصاویر ویدیویی هنگام پخش ویدیو در مدیا پلیر کلسیک و ویالسی مدیا پلیر با استفاده از رندرر پیشفرض اغلب در رایانههای مجهز به پردازندههای گرافیکی انویدیا در ویندوز ۷ نادیده گرفته میشود.
برای رفع این مشکل، نیاز دارید که آخرین افزارهران انویدیای دارای مجوز دبلیواچکیوال (آزمایشگاههای تعیین کیفیت سختافزار ویندوز) قابل دسترس در nvidia.com/page/drivers.html را پایینگذاری و نصب کرده و سپس Enhanced Video Renderer (EVR) را در تنظیمات پخشکنندهٔ موسیقی خود فعال کنید.
بعنوان یک جایگزین قدیمیتر برای ئیویآر (Enhanced Video Renderer)، شما همچنین میتوانید از ویامآر۹ (Video Mixing Renderer) استفاده کنید. ویامآر نخستین بار در ویندوز اکسپی ارائه شد. پس از ارائهٔ دایرکتاکس ۹٫۰، نسخهٔ مجزایی از ویامآر، که به آن ویامآر-۹ گویند، برای توزیع مجدد به همهٔ سکوهای پشتیبانی کنندهٔ دایرکتاکس آماده شد. دو پالایندهٔ ویامآر در روش پیادهسازی و میاناهای نمایاندهشده بسیار شبیهاند. تفاوت عمده آنجاست که ویامآر اصلی (که امروزه ویامآر-۷ خوانده میشود) در درون برای فرماندهی سختافزار از دایرکتدراو ۷ (رندرر دو بُعدی دایرکتاکس مایکروسافت) استفاده میکند، در حالی که نسخهٔ جدید (که ویامآر-۹ خوانده میشود) از دایرکتتریدی (رندرر سه بُعدی دایرکتاکس مایکروسافت) استفاده میکند.
برای بهرهگیری از رندرر داخلی زیرنویس مدیا پلیر کلسیک – هوم سینما، یکی از گزینههای “EVR Custom Pres.” یا “VMR 9 (renderless)” را انتخاب کنید، از آنجاییکه هر دو شق دیگر آنها—یعنی “EVR (Vista/.Net3)” و “VMR9 (windowed)”—از ارائهٔ پیکسل شیدرها به پالایهٔ نرم زیرنویس سر باز میزنند. توجه کنید که رندرر نرمزیرنویس در امپیسی-اچسی—دایرکتووبساب گبست (VSFilter.dll)—یک سیپییو مصرفکن فجیع است، بنابراین برای مصرف افراطی پردازنده آماده باشید. یک مشکل دیگر با شقهای دیگر این است که “EVR (Vista/.Net3)” امکان مقیاس کردن و تغییر نسبت اندازهٔ تصویر (پن اند اسکن) را نمیدهد و تصویر را در مقیاس اصلی قفل میکند.
[بروزرسانی ۸ فوریهٔ ۲۰۱۰]
از آنجا که سطوح سه بُعدی برای مقیاس کردن تصویر، گرداندن تصویر، و سایهزنی پیکسلها لازم است، با انتخاب پالایندههای خروجی EVR Custom Presenter/VMR در مدیا پلیر کلسیک - هوم سینمای نسخهٔ ۱٫۳٫۱۲۴۹٫۰ روی ویندوز ۷ در رایانهٔ یک کاربر بازینکن—بدون موتور نصب شدهٔ دایرکتتریدی—امپیسی اینگونه نق میزند که “No D3DX9 dll found. To enable stats, shaders and complex resizers, please make sure to install the latest DirectX End-User Runtime. Warning creating EVR Custom renderer.” برای غلبه بر این مشکل، DirectX End-User Runtime را از طریق نصاب وب هوشمند آن که اخیراً از سوی مایکروسافت ارائه شده، پایینگذاری و نصب کنید.
فارسی
English









14 comments: