How to set up smartphones and PCs. Informational portal
  • home
  • Errors
  • Installing media player classic. Organization of high-quality video playback - MPC, ffdshow, SVP, ReClock

Installing media player classic. Organization of high-quality video playback - MPC, ffdshow, SVP, ReClock

To akim, no matter how high-quality video playback may seem, it can always be improved. There are many ways to optimize your video, but one of the most important is the smoothness setting. There may be various reasons why playback may not seem smooth enough, but this is usually due to poor performance of the computer and its graphics subsystem, incorrect interlaced video fields, and mismatched frame rates and screen refresh rates.


Most of the video files that can be downloaded on the Internet now have a frequency 24 FPS... This standard was adopted back in 1932 year as a compromise between reproduction quality and film consumption. Video playback at 24 frames per second could be made smoother by lowering the refresh rate to 24 Hz... But this can be done only for TV screens, but if you open the settings of a computer or laptop monitor, most likely only two parameters will be available: 50 Hz and 60 Hz... Supported Displays 24p are rare, but if your monitor is one of them, think you're in luck.

But what should everyone else do? Go the other way. If the monitor refresh rate cannot be reduced to the video frame rate, then it is very possible to increase the video frame rate to the existing screen refresh rate. How?

By interpolating adjacent frames. Its essence is to add intermediate frames generated on the basis of two "Real" adjacent frames. To do this, we suggest using a special program or abbreviated SVP... The principle of its operation is well demonstrated by a drawing taken from the official website of the project.

The main advantage of this program is that it does not need additional settings, and therefore can be used even by beginners. SVP includes two main modules: SVPflow and SVP Manager... The first module is responsible for calculating and adding frames to the video stream, the second provides access to the program parameters settings. You can download the full (not Core) version of the package from the official website www.svp-team.com/wiki/Download/ru... For SVP to work correctly, you will also need a video player with support for external filters DirectShow... Best suited for these purposes 32-bit (!) Media Player Classic Home Cinema (MPC-HC) ... Default MPC-HC is already included in the SVP installation package, therefore, it would be most reasonable to install its standard version with the parameters offered by the wizard and not bother with filter settings later. Component render MadVR is optional for SVP to work, but you can mark it as well.

If MPC-HC is already installed

If you already have Media Player Classic Home Cinema, the checkbox in the SVP installer wizard window can be unchecked, but the player itself will have to be configured a little, in particular, add components to it ffdShow and . To do this, go to the player settings,

In the left column we find "External Filters", click "Add".

And in the window that opens, select "Ffdshow raw video filter".

We return to the settings window and set a check mark for the added filter "Prefer"... For adding open any video file in MPC-HC, go to the system tray, find the icon there ffdshow and double-click on it to open the settings.

We find in the left column the item and mark it with a tick.

If MPC-HC was installed together with SVP, you do not need to configure anything. SVP is smart enough and makes all the necessary settings itself, taking into account the configuration of a particular computer, and to convert the video 24 FPS to 60 FPS, you just need to launch MPC-HC to play any video file. In this case, in the lower left part of the player window, you should have a line "SVP: Playback 23.976 * (18: 7) = 61.653 fps Auto crop:" .

Your aspect ratio and FPS may differ, but it doesn't matter. If such a line appears, consider that everything was done correctly and smooth playback is provided to you.

As for the settings of the SVP itself, you will not need them. However, it's still worth familiarizing yourself with them, only you don't need to change anything, unless you know exactly what your actions will lead to.

Perhaps our readers have already had a question, and is there a catch behind all this? It's too simple. No, there is no catch here, but the SVP interpolation algorithm is not without certain drawbacks.

Firstly, this is an increased load on the central processor during the entire video viewing period. This is explained by the fact that the program calculates additional frames and embeds them in the video sequence on the fly. Secondly, when watching a video containing scenes with fast moving objects, sometimes minor artifacts may appear in the form of hazy halos, whose blurred outlines resemble a moving object. And yet, against the background of all the advantages that the use of SVP gives, these disadvantages seem very minor.

Required software:

  1. DirectX 9.0c End-User Runtime June 2010- offline installation (recommended) or online installer. Installation is required for the MPC-HC video player to work properly and is required on any version of Windows up to Windows 10, even though this version already has DirectX 12.0. If DirectX 9.0c is already installed on the computer (for example, with some games, and it is installed automatically on Steam), then you do not need to download it.
  2. Platform Update for Windows 7 SP1- download . For Windows 7 users, this package must be installed to use DirectX 11 features in madVR video renderer (discussed below).
  3. Microsoft .NET Framework 4. Users of Windows Vista and newer probably won't need it. Required for Windows XP.
  4. Media Player MPC-HC
  5. Video renderer madVR

Step 1 - Installing MPC-HC and madVR

Download and install the MPC-HC media player.

Step 3 - configuring LAV Splitter Source and LAV Audio Decoder

To access the LAV Splitter Source settings, launch any video file using MPC-HC and pause. After that, right-click in the video area and select "Filters-> LAV Splitter Source (internal)".

Set the values ​​as shown in the figure. Click the Apply button to save the settings and then the OK button.

To access the LAV Audio Decoder settings, launch any video file using MPC-HC and pause. After that, right-click in the video area and select "Filters-> LAV Audio Decoder (internal)".

In the "Bitstreaming" section (setting is necessary only in case of outputting digital audio S / PDIF, HDMI; in other cases, you do not need to mark anything here) when selecting DTS-HD, do not check the option "Use DTS-HD Framing for all DTS types", if your receiver doesn't need it.

Then go to the "Mixing" tab and check the "Enable Mixing" checkbox. Select the desired audio configuration under Output Speaker Configuration. For example, if you have a regular pair of speakers, then select the "Stereo" configuration. Click the Apply button to save the settings and then the OK button.

MPC is a versatile software for playing audio-video files on your PC. We offer Windows for free.

This player is capable of recognizing and playing most of the well-known formats, both video and audio. The main advantage of the software is a wide range of specializations for customizing playback.

The basics of working with MPC-HC

The MPC interface is presented in many languages, including Russian. It is enough to download Media Player Classic for Windows and select the language on the panel during installation.

Using the "File - Properties" tab, you can get information about the file being played: starting from the number of frames per second and ending with a detailed description of video resolutions. And in order for the subtitles to be displayed, you need to follow the "Navigation - Subtitle menu" tab. If they are not yet embedded in the video file, then you can download and add them through the "File - Subtitle Base".

Have you ever met .avi films where several audio tracks are indicated in the description, but there is only one file? In the "Play - Audio" menu, select the audio track you need. Often, these are different types of voice acting. For example, dubbing and amateur implementation in two voices.

The controls and hotkeys of this cinema can be customized. For example, you want to pause by pressing the spacebar. Open "View - Preferences" or the O key on the English layout. In the menu that opens, find "Keys". All hotkey operations are provided here. Find the "Pause" option and in the "Key" column enter "space".

Advantages and range of capabilities of Classic Media Player

Downloading the classic media player for windows means not just installing the player. MPC contains a range of codec packs that will provide playback of most modern formats in the Windows environment. If any media file does not play, you should not panic. In addition, it is enough to install K-Lite, which contains all the missing codecs. This software only complements MPC.

This player provides you with the ability to fully debug video or audio streams. The menu (eng. O) offers a wide range of manual playback settings. For example, if the audio track is lagging behind in a video file or the sound is too quiet, you can enhance or offset it in the Audio Switch tab.

Among the many programs, Media Player Classic for a computer is the best option. At its core, it is a freestyle tuning program. With its help, you will get more pleasure from watching movies. And if you are a professional in your field, then adapt it to external filters to idealize your home theater.

2011-06-28T14: 40

2011-06-28T14: 40

Audiophile "s Software

Copyright (C) 2014, Taras Kovrijenko

Full or partial copying of the text is allowed only with the written permission of the author.

Introduction

With this article I would like to open a new section dedicated to video playback on a computer.

Please note: I in no way guarantee the correct functioning of the settings given here on any equipment other than my own.

- Dual-core processor not worse than Intel Core 2 Duo 2.2 GHz
- At least 2 GB of RAM
- Video card of nVidia 9600 / Radeon 3870 level or better
- 32- or 64-bit operating system Windows 7 SP1

If your system does not meet these requirements, this does not mean that the settings I have specified will not work at all. Most likely, you will have to exclude some components, or lower the quality of processing (see the section "Recommendations for weak computers")

2. Required software

For stable operation, we need specific, tested versions of programs and codecs. However, combinations of newer versions are likely to work as well. Thus, if you have any problems, or you find some significant bug, you can download the latest version of the program from its official website (links at the end of the article). I will describe the setting for the versions below.

So, here's what we need (download these files, but don't install anything yet):

  • Microsoft Visual C ++ 2008 SP1 Redistributable Package is a set of C ++ 2008 libraries required for many programs to work.

  • Microsoft .NET Framework 3.5 Service Pack 1 (Full Package) (if not installed)- software platform from Microsoft. Required for correct video rendering.

  • DirectX 9.29.1962 (June 2010) - The latest version of the DirectX 9 library set. Required for correct video rendering.

  • Media Player Classic HomeCinema 1.5.0.2827 x86 is one of the best players (in my opinion - the best) using DirectShow. It has a simple, user-friendly design, and at the same time contains all the necessary functionality.

  • ffdshow rev. 3760 - DirectShow audio / video filter containing decoders of all popular formats, as well as useful handlers. Has a completely transparent path.

  • AviSynth 2.58 is a tool for video processing (including streaming). Allows you to connect special custom scripts (which contains SVP).

  • ReClock 1.8.7.7 - DirectShow audio renderer with ample opportunities to synchronize audio and video series (by adjusting the sampling rate). It is also capable of outputting sound via Kernel Streaming and WASAPI Exclusive, which is also important.

  • Smooth Video Pack 3.0.3 Lite is a software package that allows you to increase the frame rate of the video being played by calculating intermediate frames (for example, to convert 24-> 60 frames / s, you need to calculate 36 intermediate frames for each second of the video). This achieves maximum synchronization with the refresh rate of the screen and a significant increase in the smoothness of movements.

3. Preparing the system, installing software

This stage is very important - the stability of the installed components directly depends on it. The algorithm of actions is as follows:

4. Software configuration

4.1 Media Player Classic HomeCinema

To get into the settings, you must click in the menu bar on View and select item Settings... We will not focus on the parameters that do not directly affect the video playback process. Therefore, let's go straight to the decoders.

Here we need to turn off all built-in decoders, since we will use ffdshow to decode audio and video.

To exclude an extra link from the chain, turn off the track selector built into the player. We'll also use ffdshow for this.

Here, the main thing is to enable EVR rendering, set bicubic interpolation with maximum anti-aliasing, and also enable the use of the audio rendering ReClock. After setting, remember to press the button. Apply.

4.2 ffdshow audio / video decoder

To go to the settings of these decoders, open the list of programs in the menu Start and find the folder there ffdshow... It contains shortcuts for the audio and video decoder configurator.

4.2.1 Video

Here, if possible, set a decoder for all formats (for which decoding is prohibited) libavcodec.

This is where it will be useful to include a queue (for multi-thread processing).

We will set the output format to RGB32 with high quality conversion from YV12, which will guarantee the most accurate color reproduction.

4.2.2 Audio

By analogy with video decoders, instead of " banned"select a decoder libavcodec or another available. For Uncompressed, set " all supported". Immediately turn off mixer(uncheck the box) - we won't need it, the channel conversion will be performed by the sound card.

Here you need to enable switching of streams (audio tracks).

We will output sound in 24-bit PCM. If your audio driver does not support 24-bit, enable 16-bit mode.

ATTENTION: For correct soundtrack playback, the sound card settings must indicate the actual configuration of the speaker system (or headphones).

4.3 ReClock

Setting up ReClock is extremely simple. You just need to go to Start-> Programs-> ReClock-> Configure ReClock and check the settings:

pay attention to Sampling rate(sample rate) and Format (bit depth). The quantization depth should be set to the same as in the ffdshow audio output settings. Frequency - in accordance with the reference frequency of your sound card (for built-in cards, this is usually 48 kHz).

4.4 SVP Manager

Here, too, settings are kept to a minimum. To launch the program, open Start-> All Programs-> SVP 3.0-> SVP Manager. Note: to improve the smoothness of the video, SVP Manager must be running. You can add it to startup by right-clicking on the tray icon-> Settings-> Load with Windows.

If the video card supports OpenCL, it is very important to enable GPU acceleration- this will significantly reduce the load on the processor.

Just in case, check number of threads processing set in the manager - for optimal performance, it should correspond to the number of logical processors in the computer (for example, for dual-core processors with HyperThreading technology, the number of logical processors is four). For three-core (or more) processors, you can use the empirical formula Number of Threads = Number of cores * 1.823 (for example, for a quad-core processor, set 7 threads).

5. Debugging

And so, everything is set up, SVP Manager is running. Launch the player and open some video file. An image appears with a message overlaid on top of it. " SVP> Smooth playback ...". Open the context menu-> Filters- ReClock Audio Render, Enhanced Video Render, ffdshow audio / video decoder and source filter should be specified there:

Now pay attention to the system tray. There should be three icons: ffdshow video decoder, ffdshow audio decoder, ReClock, and SVP Manager:

When the pointer pauses over the ffdshow icon, information about the input and output stream should be displayed:


If there is no ffdshow audio or video decoder in the filter list and another one is present- it means either you did not completely follow the setup instructions, or another filter has a higher priority and should be disabled / removed (for example, using the Codec Tweak And Fix Tool).

If Enhanced Video Render does not work, it means you do not have .NET Framework 3.5 SP1 installed or there are problems with the video card driver.

If ReClock does not function audio render - check again the audio output settings, especially the.

If ReClock icon red, click on it and indicate in the upper right corner the refresh rate of your monitor:

Now, right during playback, press Ctrl + J in the player. The screen should display information and a synchronization graph:

Pay attention to the green line: ideally it should be straight, but this is not always the case. Bursts with an amplitude of more than one division (along the vertical axis) lead to a visible deviation in the frame time (single deviations are perceived as twitching, slowing down, constant - as jitter) - this indicates insufficient system performance or a problem with the drivers. You can visually evaluate the stability of synchronization by clicking Ctrl + T.

Also pay attention to the difference in the level of the green and red lines - it should always be approximately the same (or slightly fluctuate around a constant value). If the first graph is gradually approaching the second, you need to change the frequency in the ReClock settings (see above) - usually from 60 to 59.940 FPS.

If the picture twitches a lot, and the graph rushes up and down, check the processor load (Ctrl + Alt + Del) - perhaps its power is not enough to convert the frame rate. In this case, double-click the SVP icon in the tray and try to lower the conversion parameters.

If pressing Ctrl + T on the vertical crawling strip there are horizontal cuts, it means there is a vertical sync problem. Try turning on alternate sync:

Note: sync instability also possible after exiting some 3D applications. So you can try restarting your computer.

If the processor load is low (less than 90%), the picture is generally stable, but occasionally twitching (especially noticeable with uniform camera movement), try turning fullscreen Direct3D mode.

On weak machines (especially with single-core processors), the first thing to do is to exclude the Smooth Video Pack from the chain - it consumes a very large amount of resources. If you have a video card with DXVA support, it is very important to enable decoders marked DXVA in the MPC HC settings - this will allow you to view video encoded in H.264 / AVC even with a weak processor.

The next step can be to change the render (MPC output settings) and color space (ffdshow video decoder output settings). Below are the results of an express test for loading the CPU and GPU with video playback (Xvid 720x304 23.98fps 2023kbps). The measurements were taken at 2x magnification of the video in the window mode. We used an Intel Core i3 530 processor (2 cores, 2.93 GHz), an AMD HD3870 512 Mb DDR4 video card, and Windows 7 x64 Ultimate.

Therefore, to minimize CPU utilization, you should use EVR + YV12 or Overlay Mixer + RGB32. To unload the video card, you can use System Render + RGB32 (you can use high conversion quality) or Overlay Mixer. But keep in mind that hardware decoding (DXVA) only works with EVR rendering.

Useful links:

I wrote about the advantage of a cyber (cyber) link that it supports 2-4x vigor. And sharping yes, I screw it from ffdshow. The native ffdish H264 decoder 2-4x does not support vigor, the brakes are on a high-bitrate 1080i even without uluchshayzers. In media player classic I look with cyberlink H264 decoder + asharp like this:
1. Launch ffdshow video decoder configuration.
2. Codecs - H264 - prohibited - apply
3. Codecs - Raw video - all supported - apply
4. Sharpness - asharp - apply - OK
5. Launch Media Player Classic
6. View - settings - external filters - add - cyberlink H264 / AVC decoder - prefer - OK.

And in PowerDVD itself? Did you put a checkmark in PowerDVD? (Use AVIVO)

Thanks for the idea! By going through the MPC 6.4.9.1 settings, I found the following combination (it does not work in Vista, only in XP):
1.options-output-wmr9 (renderless), use texture surf ... in 3D-Bilinear ps2.0, lock back-buffer ...
Remove the rest of the jackdaws.
2. Launched the H264 / 1080i video. The right key in the picture is shaders-combine: sharpen-add, deinterlace (blend) -add-OK, apparently the hardware deinterlace is disabled for some reason in this mode, you have to use this blend, but it is worse.
The main thing is that the hardware acceleration of the ATI HD2600 is working when sharping is on, the percent load is only ~ 10%. Although, the smoothness of movements in dynamics has become worse, displaced stripes often appear and some artifacts slip through. What else can you tweak in the settings?
It looks like pulldown detection should be removed in ATI CCC - it seems to have become even smoother.

This setting is relevant only when using x86 OS !!!
So, let's begin.
I will describe the setting using the example of Media Player Classic and KMPlayer.
The first thing to do (I will write the way it went with me):
Remove the old version of Haali Media Splitter (if anyone has it).
Download the new version of Matroska Splitter
Download the new version of Power DVD Ultra Deluxe v. 7.3 (download link below)
Power DVD needs to be installed in order to use its decoder for H.264 and to view Blu-Ray and HD-DVD images from hard disk

Download a choice of one of two players (or both, just in case)
Media Player Classic RUS

KMPlayer 2.9.3.1428 Final_RUS

SETUP Media Player Classic

1. Open the player itself:

2. We go "VIEW" - "SETTINGS" - "OUTPUT"

We put the checkboxes as in the picture.
Where the "dot" is in the second and third columns from the left is not so important. (RealVideo Video and Quick Time Video)
But you can put on "SYSTEM"

If your video card supports hardware acceleration, put a dot on "VMR9 Renderless"

If your video card does not support hardware acceleration - check the boxes as in the picture
What has changed from the previous picture?
"Point" stands on "textured surfaces, rendering in 2D" and "Interpolation" - "Bilinear"

3. The "BUILT-IN FILTERS" tab.

Uncheck "Mpeg PS / TS / Pva"

4. Tab "EXTERNAL FILTERS"

Click "ADD"

We stand on it, put a "tick", put a "dot" on "prefer" and press "Ok"

We press again "Ok"

SETUP KMPlayer

1. Open the player, right-click on the screen - OPTIONS-SETTINGS- "Custom Filter Manager"

Click "Add registered filter ..."

We are looking for in the list of decoders Cyberlink H.264 / AVC Decoder (PDVD7.x)
Select it with the mouse - click "Ok"
We stand on it, put a "tick", put a "dot" on "Use forcibly" and click "Close"

WE WISH A PLEASANT VIEW

Turntables PowerDVD XP 4.0 and WinDVD 4.0 allow in their settings to choose weave(the quality of its implementation is excellent for the players in question) or bob deinterlacing, if the latter is selected, then when using DirectX VA works on RADEON cards adaptive deinterlacing... If the player does not use DirectX VA, then the method is applied deinterlacing called blended fields... All of the above applies to ATI DVD Player, except for the possibility of an arbitrary choice of the type deinterlacing- the algorithm used, as in PowerDVD XP 4.0, and WinDVD 4.0, is selected automatically to obtain the highest quality image (that is, in the end, the choice is made between blended fields or adaptive deinterlacing and weave). Besides work adaptive deinterlacing, turning on DirectX VA it also reduces the load on the processor (from ~ 30% without using DXVA to ~ 15% using DXVA on the P4-2500). Also on ATI DVD Player 7.6 / 7.7 turning on DirectX VA(this can only be done by editing the Windows registry) allows you to get a better image.

Top related articles