View Full Version : Media Player Classic - Home Cinema (MPC-HC) - v1.7.13


Pages : [1] 2 3 4

vBm
12th December 2012, 20:51
Swede, gave us permission to open new thread of which we can be in control instead of still using old one (forum.doom9.org/showthread.php?p=965213). Thank you Swede.

About

Media Player Classic - Home Cinema (MPC-HC) is an extremely light-weight media player for Windows.

This project is based on the original Media Player Classic (http://sourceforge.net/projects/guliverkli/) and was created after Gabest, the original author, stopped working on it. Several new features have been integrated in this media player.

Main features

Option to remove tearing
Better support for Windows Vista/7/8/8.1/10, including a 64-bit build
Support for EVR/EVR CP (Enhanced Video Renderer)
Supports most types of subtitles including BD .sup files
Playback and recording of television, if a supported TV tuner is installed
OSD info (On Screen Display)
Multi-Monitor support
Various pixel shaders
Color management
42 translations available


System Requirements

An SSE2 capable CPU
Windows® XP SP3, Vista, 7, 8, 8.1, 10 both 32-bit and 64-bit


Links

Website (https://mpc-hc.org)
Source code (https://github.com/mpc-hc)
Support Trac (https://trac.mpc-hc.org)
Downloads (https://mpc-hc.org/downloads/)
Official nightly builds (https://nightly.mpc-hc.org)
Localization system (https://www.transifex.com/projects/p/mpc-hc/)
IRC Channel: #mpc-hc (http://webchat.freenode.net/?randomnick=1&channels=mpc-hc&prompt=1&uio=d4) / #mpc-hc-dev (http://webchat.freenode.net/?randomnick=1&channels=mpc-hc-dev&prompt=1&uio=d4) at Freenode (http://freenode.net/)
Donations (https://mpc-hc.org/donate/)
Old Doom9 Thread (http://forum.doom9.org/showthread.php?t=123537)



SF Project of the Month November '14 (http://sourceforge.net/blog/november-2014-community-choice-project-of-the-month-mpc-hc/)



For the people involved in the development, see Authors.txt (https://github.com/mpc-hc/mpc-hc/blob/master/docs/Authors.txt).

MPC-HC's code is licensed under GPL v3 (see COPYING.txt (https://raw.github.com/mpc-hc/mpc-hc/master/COPYING.txt)).

Translations are done by various translators (see Authors.txt (https://github.com/mpc-hc/mpc-hc/blob/master/docs/Authors.txt)).


Latest stable is
v1.7.13 which was compiled from e378268 (https://github.com/mpc-hc/mpc-hc/commit/e378268)

This release is a generally a bugfix release.


Highlights of this release:

* Require a CPU processor with SSE2 instructions
* Add support for AssFilter
* Switched from mhook to MinHook since it's more actively maintained
* Updated components/dependencies to their latest versions

Remember that you can help us (https://trac.mpc-hc.org/wiki/Translations) translating MPC-HC to your language.

For the complete changes see the changelog (https://mpc-hc.org/changelog/).
For downloads go here (https://mpc-hc.org/downloads/).


Our releases wouldn't have been possible without nevcairiel's LAV Filters (https://github.com/Nevcairiel/LAVFilters), alexmarsev (https://github.com/alexmarsev/), Armada (https://github.com/armada651/), kasper93 (https://github.com/kasper93/), Underground78 (https://github.com/underground78/) and our many other contributors (https://github.com/mpc-hc/mpc-hc/graphs/contributors).

Reporting problems

Before submitting a new bug report, check if the bug is already reported, if so, please confirm it so we have more to work with.

When reporting or confirming bugs please provide the following data:


Windows and service pack versions
MPC-HC build
Video card and driver version
Renderer used and options selected in the output settings
A small sample so we can test it on our systems and of course as clear as possible instructions on how to reproduce it
If available, provide us with dump file


@developers: Thanks!

clsid
13th December 2012, 00:57
There is a subtitle selection bug in the latest builds. If both embedded and an external subtitle file is present, then Play>Subtitles shows the external subtitle track as selected (as it should), but the embedded one is actually shown. Changing the selection in Play>Subtitles twice results in the correct one being displayed.

Also instead of using the title "Undetermined" for external sub with unknown language tag, maybe something like "External [undefined]" would be better.

crotecun
13th December 2012, 05:59
Much :thanks: for keeping the project going through out the years!

Two questions:


When will 1.6.5 stable be released?
Will there be a stable 'Lite' version of MPC-HC? Just in case someone wants to use them instead of going into the nightlies.

Joniii
13th December 2012, 08:39
I'm getting some errors on compile. Any idea what's causing these?

I'm using VS2012 and should have everything setup as described in the faq.

Error 347 error C3861: 'AfxCtxGetClassInfo': identifier not found C:\mpc-hc\src\thirdparty\mfc\afxctrlcontainer.cpp 42 1 mpc-hc
Error 348 error C2039: 'ReadBoolProp' : is not a member of 'CMFCControlContainer' C:\mpc-hc\src\thirdparty\mfc\afxctrlcontainer.cpp 357 1 mpc-hc
Error 349 error C2065: 'CTagManager' : undeclared identifier C:\mpc-hc\src\thirdparty\mfc\afxctrlcontainer.cpp 357 1 mpc-hc
Error 350 error C2059: syntax error : ',' C:\mpc-hc\src\thirdparty\mfc\afxctrlcontainer.cpp 357 1 mpc-hc
Error 351 error C2143: syntax error : missing ';' before '{' C:\mpc-hc\src\thirdparty\mfc\afxctrlcontainer.cpp 358 1 mpc-hc
Error 352 error C2447: '{' : missing function header (old-style formal list?) C:\mpc-hc\src\thirdparty\mfc\afxctrlcontainer.cpp 358 1 mpc-hc
Error 353 error C2039: 'AfxCtxCreateWindowEx' : is not a member of '`global namespace'' C:\mpc-hc\src\thirdparty\mfc\winmdi.cpp 171 1 mpc-hc
Error 354 error C3861: 'AfxCtxCreateWindowEx': identifier not found C:\mpc-hc\src\thirdparty\mfc\winmdi.cpp 171 1 mpc-hc
Error 355 error C2039: 'm_hinstD2DDLL' : is not a member of 'AFX_GLOBAL_DATA' C:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp 50 1 mpc-hc
Error 356 error C2039: 'm_hinstDWriteDLL' : is not a member of 'AFX_GLOBAL_DATA' C:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp 51 1 mpc-hc
Error 357 error C2039: 'm_pDirect2dFactory' : is not a member of 'AFX_GLOBAL_DATA' C:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp 53 1 mpc-hc
Error 358 error C2039: 'm_pWriteFactory' : is not a member of 'AFX_GLOBAL_DATA' C:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp 54 1 mpc-hc
Error 359 error C2039: 'm_pWicFactory' : is not a member of 'AFX_GLOBAL_DATA' C:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp 55 1 mpc-hc
Error 360 error C2039: 'm_pfD2D1MakeRotateMatrix' : is not a member of 'AFX_GLOBAL_DATA' C:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp 57 1 mpc-hc
Error 361 error C2039: 'm_bD2DInitialized' : is not a member of 'AFX_GLOBAL_DATA' C:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp 59 1 mpc-hc
Error 362 error C2039: 'm_pfBeginBufferedPaint' : is not a member of 'AFX_GLOBAL_DATA' C:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp 71 1 mpc-hc
Error 363 error C2039: 'm_pfEndBufferedPaint' : is not a member of 'AFX_GLOBAL_DATA' C:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp 71 1 mpc-hc
Error 364 error C2039: 'm_pfBufferedPaintInit' : is not a member of 'AFX_GLOBAL_DATA' C:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp 75 1 mpc-hc
Error 365 error C2039: 'm_pfBufferedPaintUnInit' : is not a member of 'AFX_GLOBAL_DATA' C:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp 75 1 mpc-hc
Error 366 error C2039: 'm_pfBufferedPaintInit' : is not a member of 'AFX_GLOBAL_DATA' C:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp 77 1 mpc-hc
Error 367 error C2039: 'm_pfBeginBufferedPaint' : is not a member of 'AFX_GLOBAL_DATA' C:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp 81 1 mpc-hc
Error 368 error C2065: 'AFX_BPBF_TOPDOWNDIB' : undeclared identifier C:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp 81 1 mpc-hc
Error 369 error C2039: 'm_pfBeginBufferedPaint' : is not a member of 'AFX_GLOBAL_DATA' C:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp 107 1 mpc-hc
Error 370 error C2039: 'm_pfEndBufferedPaint' : is not a member of 'AFX_GLOBAL_DATA' C:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp 107 1 mpc-hc
Error 371 error C2039: 'm_pfBufferedPaintInit' : is not a member of 'AFX_GLOBAL_DATA' C:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp 111 1 mpc-hc
Error 372 error C2039: 'm_pfBufferedPaintUnInit' : is not a member of 'AFX_GLOBAL_DATA' C:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp 111 1 mpc-hc
Error 373 error C2039: 'm_pfBufferedPaintInit' : is not a member of 'AFX_GLOBAL_DATA' C:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp 113 1 mpc-hc
Error 374 error C2039: 'm_pfBeginBufferedPaint' : is not a member of 'AFX_GLOBAL_DATA' C:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp 117 1 mpc-hc
Error 375 error C2065: 'AFX_BPBF_TOPDOWNDIB' : undeclared identifier C:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp 117 1 mpc-hc
Error 376 error C2039: 'm_pfEndBufferedPaint' : is not a member of 'AFX_GLOBAL_DATA' C:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp 143 1 mpc-hc
Error 377 error C2039: 'AfxCtxLoadLibraryW' : is not a member of '`global namespace'' C:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp 200 1 mpc-hc
Error 378 error C3861: 'AfxCtxLoadLibraryW': identifier not found C:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp 200 1 mpc-hc
Error 379 error C2065: 'bIsWindowsVista' : undeclared identifier C:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp 223 1 mpc-hc
Error 380 error C2065: 'bDisableAero' : undeclared identifier C:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp 225 1 mpc-hc
Error 381 error C2065: 'm_hinstUXThemeDLL' : undeclared identifier C:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp 236 1 mpc-hc
Error 382 error C2039: 'AfxCtxLoadLibraryW' : is not a member of '`global namespace'' C:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp 236 1 mpc-hc
Error 383 error C3861: 'AfxCtxLoadLibraryW': identifier not found C:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp 236 1 mpc-hc
Error 384 error C2065: 'm_hinstUXThemeDLL' : undeclared identifier C:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp 237 1 mpc-hc
Error 385 error C2065: 'm_pfDrawThemeBackground' : undeclared identifier C:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp 239 1 mpc-hc
Error 386 error C2065: 'DRAWTHEMEPARENTBACKGROUND' : undeclared identifier C:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp 239 1 mpc-hc
Error 387 error C2143: syntax error : missing ';' before 'GetProcAddress' C:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp 239 1 mpc-hc
Error 388 error C2065: 'm_hinstUXThemeDLL' : undeclared identifier C:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp 239 1 mpc-hc
Error 389 error C2065: 'm_pfDrawThemeTextEx' : undeclared identifier C:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp 240 1 mpc-hc
Error 390 error C2065: 'DRAWTHEMETEXTEX' : undeclared identifier C:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp 240 1 mpc-hc
Error 391 error C2143: syntax error : missing ';' before 'GetProcAddress' C:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp 240 1 mpc-hc
Error 392 error C2065: 'm_hinstUXThemeDLL' : undeclared identifier C:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp 240 1 mpc-hc
Error 393 error C2065: 'm_pfBufferedPaintInit' : undeclared identifier C:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp 242 1 mpc-hc
Error 394 error C2065: 'BUFFEREDPAINTINIT' : undeclared identifier C:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp 242 1 mpc-hc
Error 395 error C2143: syntax error : missing ';' before 'GetProcAddress' C:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp 242 1 mpc-hc
Error 396 error C2065: 'm_hinstUXThemeDLL' : undeclared identifier C:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp 242 1 mpc-hc
Error 397 error C2065: 'm_pfBufferedPaintUnInit' : undeclared identifier C:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp 243 1 mpc-hc
Error 398 error C2065: 'BUFFEREDPAINTUNINIT' : undeclared identifier C:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp 243 1 mpc-hc
Error 399 error C2143: syntax error : missing ';' before 'GetProcAddress' C:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp 243 1 mpc-hc
Error 400 error C2065: 'm_hinstUXThemeDLL' : undeclared identifier C:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp 243 1 mpc-hc
Error 401 error C2065: 'm_pfBeginBufferedPaint' : undeclared identifier C:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp 245 1 mpc-hc
Error 402 error C2065: 'BEGINBUFFEREDPAINT' : undeclared identifier C:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp 245 1 mpc-hc
Error 403 error C2143: syntax error : missing ';' before 'GetProcAddress' C:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp 245 1 mpc-hc
Error 404 error C2065: 'm_hinstUXThemeDLL' : undeclared identifier C:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp 245 1 mpc-hc
Error 405 error C2065: 'm_pfEndBufferedPaint' : undeclared identifier C:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp 246 1 mpc-hc
Error 406 error C2065: 'ENDBUFFEREDPAINT' : undeclared identifier C:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp 246 1 mpc-hc
Error 407 error C2143: syntax error : missing ';' before 'GetProcAddress' C:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp 246 1 mpc-hc
Error 408 error C2065: 'm_hinstUXThemeDLL' : undeclared identifier C:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp 246 1 mpc-hc
Error 409 error C2065: 'm_pfDrawThemeBackground' : undeclared identifier C:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp 250 1 mpc-hc
Error 410 error C2065: 'm_pfDrawThemeTextEx' : undeclared identifier C:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp 251 1 mpc-hc
Error 411 error C2065: 'm_pfBufferedPaintInit' : undeclared identifier C:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp 253 1 mpc-hc
Error 412 error C2065: 'm_pfBufferedPaintUnInit' : undeclared identifier C:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp 254 1 mpc-hc
Error 413 error C2065: 'm_pfBeginBufferedPaint' : undeclared identifier C:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp 256 1 mpc-hc
Error 414 error C2065: 'm_pfEndBufferedPaint' : undeclared identifier C:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp 257 1 mpc-hc
Error 415 error C2065: 'm_pfDwmExtendFrameIntoClientArea' : undeclared identifier C:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp 263 1 mpc-hc
Error 416 error C2065: 'DWMEXTENDFRAMEINTOCLIENTAREA' : undeclared identifier C:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp 263 1 mpc-hc
Error 417 error C2143: syntax error : missing ';' before 'GetProcAddress' C:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp 263 1 mpc-hc
Error 418 error C2065: 'm_pfDwmDefWindowProc' : undeclared identifier C:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp 264 1 mpc-hc
Error 419 error C2065: 'DWMDEFWINDOWPROC' : undeclared identifier C:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp 264 1 mpc-hc
Error 420 error C2143: syntax error : missing ';' before 'GetProcAddress' C:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp 264 1 mpc-hc
Error 421 error C2065: 'm_pfDwmIsCompositionEnabled' : undeclared identifier C:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp 265 1 mpc-hc
Error 422 error C2065: 'DWMISCOMPOSITIONENABLED' : undeclared identifier C:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp 265 1 mpc-hc
Error 423 error C2143: syntax error : missing ';' before 'GetProcAddress' C:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp 265 1 mpc-hc
Error 424 error C2065: 'm_pfDwmExtendFrameIntoClientArea' : undeclared identifier C:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp 269 1 mpc-hc
Error 425 error C2065: 'm_pfDwmDefWindowProc' : undeclared identifier C:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp 270 1 mpc-hc
Error 426 error C2065: 'm_pfDwmIsCompositionEnabled' : undeclared identifier C:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp 271 1 mpc-hc
Error 427 error C2065: 'm_bComInitialized' : undeclared identifier C:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp 307 1 mpc-hc
Error 428 error C2065: 'm_pTaskbarList' : undeclared identifier C:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp 309 1 mpc-hc
Error 429 error C2065: 'm_pTaskbarList3' : undeclared identifier C:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp 310 1 mpc-hc
Error 430 error C2065: 'm_bTaskBarInterfacesAvailable' : undeclared identifier C:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp 311 1 mpc-hc
Error 431 error C2065: 'm_bTaskBarInterfacesAvailable' : undeclared identifier C:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp 827 1 mpc-hc
Error 432 error C2065: 'm_pTaskbarList' : undeclared identifier C:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp 832 1 mpc-hc
Error 433 error C2065: 'm_pTaskbarList' : undeclared identifier C:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp 834 1 mpc-hc
Error 434 error C2065: 'm_bComInitialized' : undeclared identifier C:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp 837 1 mpc-hc
Error 435 error C2065: 'm_bComInitialized' : undeclared identifier C:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp 842 1 mpc-hc
Error 436 error C2065: 'm_pTaskbarList' : undeclared identifier C:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp 848 1 mpc-hc
Error 437 error C2065: 'm_pTaskbarList' : undeclared identifier C:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp 852 1 mpc-hc
Error 438 error C2065: 'm_bTaskBarInterfacesAvailable' : undeclared identifier C:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp 859 1 mpc-hc
Error 439 error C2065: 'm_pTaskbarList3' : undeclared identifier C:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp 864 1 mpc-hc
Error 440 error C2065: 'm_pTaskbarList3' : undeclared identifier C:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp 866 1 mpc-hc
Error 441 error C2065: 'm_bComInitialized' : undeclared identifier C:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp 869 1 mpc-hc
Error 442 error C2065: 'm_bComInitialized' : undeclared identifier C:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp 874 1 mpc-hc
Error 443 error C2065: 'm_pTaskbarList3' : undeclared identifier C:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp 880 1 mpc-hc
Error 444 error C2065: 'm_pTaskbarList3' : undeclared identifier C:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp 884 1 mpc-hc
Error 445 error C2039: 'ReleaseTaskBarRefs' : is not a member of 'AFX_GLOBAL_DATA' C:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp 887 1 mpc-hc
Error 446 error C2065: 'm_bTaskBarInterfacesAvailable' : undeclared identifier C:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp 889 1 mpc-hc
Error 447 error C2065: 'm_pTaskbarList' : undeclared identifier C:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp 891 1 mpc-hc
Error 448 error C2065: 'm_pTaskbarList' : undeclared identifier C:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp 893 1 mpc-hc
Error 449 error C2065: 'm_pTaskbarList' : undeclared identifier C:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp 894 1 mpc-hc
Error 450 error C2065: 'm_pTaskbarList3' : undeclared identifier C:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp 897 1 mpc-hc
Error 451 error C2065: 'm_pTaskbarList3' : undeclared identifier C:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp 899 1 mpc-hc
Error 452 error C2065: 'm_pTaskbarList3' : undeclared identifier C:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp 900 1 mpc-hc
Error 453 error C3861: 'ReleaseD2DRefs': identifier not found C:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp 921 1 mpc-hc
Error 454 error C2065: 'm_pfBufferedPaintUnInit' : undeclared identifier C:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp 923 1 mpc-hc
Error 455 error C3861: 'm_pfBufferedPaintUnInit': identifier not found C:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp 925 1 mpc-hc
Error 456 error C1003: error count exceeds 100; stopping compilation C:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp 925 1 mpc-hc

roytam1
13th December 2012, 08:57
I'm getting some errors on compile. Any idea what's causing these?

I'm using VS2012 and should have everything setup as described in the faq.
[snip]
You're using Express edition?
MFC library is required for compiling MPC-HC, which is not available in Expression edition.

nevcairiel
13th December 2012, 09:06
VS2012 is not yet supported for building MPC-HC.
Its one of the things thats being focused on after the next stable release (which should be within the next few days)

Joniii
13th December 2012, 09:59
You're using Express edition?
MFC library is required for compiling MPC-HC, which is not available in Expression edition.
I'm using Ultimate edition.

VS2012 is not yet supported for building MPC-HC.
Its one of the things thats being focused on after the next stable release (which should be within the next few days)

Ok, thanks :)

Mercury_22
13th December 2012, 11:32
VS2012 is not yet supported for building MPC-HC.
Its one of the things thats being focused on after the next stable release (which should be within the next few days)

What about LAV ? Cause I'm planning to do a fresh reinstall of my system and I don't want to reinstall VS2010 if you're planing to add support for 2012 to lav too (soon) :D

nevcairiel
13th December 2012, 11:35
It should work, but there is no separate project files.

Joniii
13th December 2012, 12:37
Could these be changed like this so DVD navigation would work out of the box on remotes?

AppSettings.cpp

...
ADDCMD((ID_PLAY_SEEKFORWARDMED, VK_RIGHT, FVIRTKEY | FALT | FNOINVERT, IDS_MPLAYERC_25));
ADDCMD((ID_PLAY_SEEKBACKWARDMED, VK_LEFT, FVIRTKEY | FALT | FNOINVERT, IDS_MPLAYERC_26));
...
ADDCMD((ID_VOLUME_UP, VK_UP, FVIRTKEY | FALT | FNOINVERT, IDS_AG_VOLUME_UP, 0, wmcmd::WUP, wmcmd::WUP));
ADDCMD((ID_VOLUME_DOWN, VK_DOWN, FVIRTKEY | FALT | FNOINVERT, IDS_AG_VOLUME_DOWN, 0, wmcmd::WDOWN, wmcmd::WDOWN));
...
ADDCMD((ID_NAVIGATE_MENU_LEFT, VK_LEFT, FVIRTKEY | FNOINVERT, IDS_AG_DVD_MENU_LEFT));
ADDCMD((ID_NAVIGATE_MENU_RIGHT, VK_RIGHT, FVIRTKEY | FNOINVERT, IDS_MPLAYERC_70));
ADDCMD((ID_NAVIGATE_MENU_UP, VK_UP, FVIRTKEY | FNOINVERT, IDS_AG_DVD_MENU_UP));
ADDCMD((ID_NAVIGATE_MENU_DOWN, VK_DOWN, FVIRTKEY | FNOINVERT, IDS_AG_DVD_MENU_DOWN));
ADDCMD((ID_NAVIGATE_MENU_ACTIVATE, VK_RETURN, FVIRTKEY | FNOINVERT, IDS_MPLAYERC_73));
...

Joniii
13th December 2012, 14:30
How does the rewind/forward work on MPC-HC? Does it just go trough the stream at faster speed? Someone said it is now as fast as it can be. Currently on DVD's it kind of works and on Blu-rays it won't go faster than 4x.

I had an idea last night, dunno maybe it's stupid idea but anyway. Windows Media Center has the nicest rewind/forward I've seen on software player. It takes only a minute or so to ff a movie from beginning to end at it's fastest speed.

I thought that instead of trying to speed up playrate on MPC-HC, if that's how it does it now, it could do skips at loop. Like 30 sec skips on fastest, show current frame after every skip and stop when it gets a play command. That would give working and consistent ff/rew on all formats.

I then thought that maybe this is how MS does it on WMC and after checking, it's fastest (3rd step) ff/rew looks exactly same as when pressing the skip button continuously, WMC skip is 30 seconds.

Pressing ff once on MPC-HC would speed up the video so it's still watchable with audio, pressing ff second time would start doing skips, maybe 10 seconds or so, pressing it third time would do 20-30 second skips, when pressing play on fastest ff, it would go back a bit to whatever the reaction time is at that speed and start a playback again.

Remicade
13th December 2012, 16:30
Wsat is the difference between MPC HC and MPC BE ???

Armada
13th December 2012, 18:28
Wsat is the difference between MPC HC and MPC BE ???
It is an unofficial fork of MPC-HC started by aleksoid, please visit their thread if you want to discuss it.

_xxl
13th December 2012, 22:19
Swede, gave us permission to open new thread of which we can be in control instead of still using old one (forum.doom9.org/showthread.php?p=965213). Thank you Swede.
Nice to have new MPC-HC Thread.
:thanks:

clsid
13th December 2012, 22:57
There is a subtitle selection bug in the latest builds. If both embedded and an external subtitle file is present, then Play>Subtitles shows the external subtitle track as selected (as it should), but the embedded one is actually shown. Changing the selection in Play>Subtitles twice results in the correct one being displayed.

Also instead of using the title "Undetermined" for external sub with unknown language tag, maybe something like "External [undefined]" would be better.Bump (in case it was overlooked)

pirlouy
14th December 2012, 00:13
Man ! If a post from the first page is already overlooked, I guess we don't need to wait 1000+ pages, we can close the thread right now ! :D

Seriously, I don't think clsid's posts are overlooked. ;)

crotecun
14th December 2012, 01:45
Much :thanks: for keeping the project going through out the years!

Two questions:


When will 1.6.5 stable be released?
Will there be a stable 'Lite' version of MPC-HC? Just in case someone wants to use them instead of going into the nightlies.


Anyone please?

Snowknight26
14th December 2012, 03:08
Your first question was answered and quoted a few times in this thread already...

vBm
14th December 2012, 13:03
There is a subtitle selection bug in the latest builds. If both embedded and an external subtitle file is present, then Play>Subtitles shows the external subtitle track as selected (as it should), but the embedded one is actually shown. Changing the selection in Play>Subtitles twice results in the correct one being displayed.

Also instead of using the title "Undetermined" for external sub with unknown language tag, maybe something like "External [undefined]" would be better.

Thanks for reporting, devs are notified already. It was not overlooked.
For second thing, I agree ... that is indeed much nicer. Will poke Armada to make that cosmetic change for next stable.


Two questions:


When will 1.6.5 stable be released?
Will there be a stable 'Lite' version of MPC-HC? Just in case someone wants to use them instead of going into the nightlies.


We're in final preparations for 1.6.5 stable. Few things are left to be dealt with.

For stable 'Lite' version I'm not sure what have been decided.

aufkrawall
14th December 2012, 13:11
Ah, it's now possible to create thumbnails with madVR. Thanks. :)

ney2x
14th December 2012, 14:21
Hoping for a ICL13 Lite Build. Thanks.

Joniii
14th December 2012, 14:51
I got this to compile at last :).

Wouldn't this be logical? When Playrate is increased or decreased, pressing play would reset the playrate, now you need extra button to reset it. So on a remote you got play button mapped but then it requires to map another button to continue play after rewind/forward.

Armada
14th December 2012, 16:37
I got this to compile at last :).

Wouldn't this be logical? When Playrate is increased or decreased, pressing play would reset the playrate, now you need extra button to reset it. So on a remote you got play button mapped but then it requires to map another button to continue play after rewind/forward.
Makes sense to me, if you can implement a solution that doesn't affect Play/Pause I'll happily integrate it. :)

Joniii
14th December 2012, 20:58
Makes sense to me, if you can implement a solution that doesn't affect Play/Pause I'll happily integrate it. :)

MainFrm.cpp

void CMainFrame::OnPlayPlay()
{
...
if (GetPlaybackMode() == PM_FILE)
{
if (m_fEndOfStream)
{
SendMessage(WM_COMMAND, ID_PLAY_STOP);
}
pMS->SetRate(m_dSpeedRate = 1.0);
pMC->Run();
}
...

I't already worked on DVD, it was only broken on Blu-ray and other video files, this should fix it.

Is there some reason why BD fast forward won't go beyond 4X?

vBm
14th December 2012, 23:07
I't already worked on DVD, it was only broken on Blu-ray and other video files, this should fix it.

Is there some reason why BD fast forward won't go beyond 4X?

Look at pull requests (https://help.github.com/articles/using-pull-requests) in order to contribute code


Hoping for a ICL13 Lite Build. Thanks.

Prolly not going to happen any time soon.

Joniii
15th December 2012, 00:47
MainFrm.cpp

void CMainFrame::OnPlayPlay()
{
...
if (GetPlaybackMode() == PM_FILE)
{
if (m_fEndOfStream)
{
SendMessage(WM_COMMAND, ID_PLAY_STOP);
}
pMS->SetRate(m_dSpeedRate = 1.0);
pMC->Run();
}
...

I't already worked on DVD, it was only broken on Blu-ray and other video files, this should fix it.

Is there some reason why BD fast forward won't go beyond 4X?

There is one thing that needs fixing for this to work properly on the UI side. With the remote this works fine or when you map a keyboard button to play command. However, the UI buttons have an unusual behaviour that prevents pressing the play buttond when on increased speed. It should be allowed to be pressed again or set the increase speed button selected when on increased speed so that play button will be unselected and can be pressed again. Then remove the Shortcut code for reset rate as that wouldn't be needed anymore.



Look at pull requests (https://help.github.com/articles/using-pull-requests) in order to contribute code

Ok.

dansrfe
15th December 2012, 00:49
Just wanted to say that I liked the change to the increase/decrease rate buttons that allowed .1 incremental increases in speed instead of the jump to 2.00x etc. I had to revert back to 1.6.5.6334 in order to get that functionality back as it seems the change was reverted in the later builds. Please consider putting that option back or adding a customization property in MPC-HC that allows the user to set the increment to increase/decrease by similar to how subtitle offset ms is customizable.

Also, if an option could be added to automatically add temporary chapter points for files that don't have chapters (including audio files) that would be spectacular. Thanks! :D

Joniii
15th December 2012, 11:12
I think MPC-HC would need something like this fast.

http://www.netikka.net/enclave/downloads/test.png

vBm
15th December 2012, 13:51
Just wanted to say that I liked the change to the increase/decrease rate buttons that allowed .1 incremental increases in speed instead of the jump to 2.00x etc. I had to revert back to 1.6.5.6334 in order to get that functionality back as it seems the change was reverted in the later builds. Please consider putting that option back or adding a customization property in MPC-HC that allows the user to set the increment to increase/decrease by similar to how subtitle offset ms is customizable.
:D

Armada just polished that option with configuration option. Now you can choose which rate you want. It just landed into git head (https://github.com/mpc-hc/mpc-hc/commit/c65b7b2412506cb28b682b3bfd42498061baef5e)

betaking
15th December 2012, 14:03
S.Chinese update
http://www.mediafire.com/?9iognt40b85hjho

vBm
15th December 2012, 20:45
S.Chinese update
http://www.mediafire.com/?9iognt40b85hjhoThanks. Landed as 59639f72 (https://github.com/mpc-hc/mpc-hc/commit/59639f722a077f3d064f259c149239bf5483e5cb)

Superb
16th December 2012, 07:37
There is a subtitle selection bug in the latest builds. If both embedded and an external subtitle file is present, then Play>Subtitles shows the external subtitle track as selected (as it should), but the embedded one is actually shown. Changing the selection in Play>Subtitles twice results in the correct one being displayed.Really annoying bug for those of us that use external subtitles when watching! :O
Verified on 1.6.5.6354 (c00d66a).
Probably happened here: https://github.com/mpc-hc/mpc-hc/commit/4910186e844b20479b59cac2b00255744bd16736

Joniii
16th December 2012, 09:08
Is anyone planning to do similar theming options than in BE?

v0lt
16th December 2012, 09:20
There is a subtitle selection bug in the latest builds. If both embedded and an external subtitle file is present, then Play>Subtitles shows the external subtitle track as selected (as it should), but the embedded one is actually shown. Changing the selection in Play>Subtitles twice results in the correct one being displayed.
I do not understand. Describe the bug details. Maybe there is a small sample?

Reino
16th December 2012, 10:35
What are your plans for (embedded) cue-sheet support (http://sourceforge.net/apps/trac/mpc-hc/ticket/1673)?

Superb
16th December 2012, 11:28
I do not understand. Describe the bug details. Maybe there is a small sample?Sent ya a small sample via PM.

Joniii
16th December 2012, 11:47
Would it be possible to get an option to lock window borders with video?

betaking
16th December 2012, 12:16
S.Chinese update
http://www.mediafire.com/?cbb07cng2d9taok

vBm
16th December 2012, 12:20
Really annoying bug for those of us that use external subtitles when watching! :O
Verified on 1.6.5.6354 (c00d66a).
Probably happened here: https://github.com/mpc-hc/mpc-hc/commit/4910186e844b20479b59cac2b00255744bd16736

This should be fixed as of 0696a331 (https://github.com/mpc-hc/mpc-hc/commit/0696a3318a45e8a15bf978191ef79a67450bfce2)


Is anyone planning to do similar theming options than in BE?

Yeah, Armada has plans to revamp the UI in near future.

mrchisholm
16th December 2012, 15:42
firstly, appologies if it has been covered before but i have a problem when streaming from my DVB-apps to MPC-HC.

The problem is whenever you open the HTTP stream (http://127.0.0.1:2345 for example, from dvbviewer) MPC creates a temp file in C:\Users\XXX\AppData\Local\Microsoft\Windows\Temporary Internet Files\Content.IE5\(random letter/number labeled folder)\ called 127.0.0.1[1] as if it's storing the stream there as it is being fed .. so far so good but when the file reaches 4GB in size the stream stops and restarts from where u started it. I've tried several MPC-HC versions and even old MPC but all have the same problem, i've tried diffrent splitters/audio/video codecs and different renderes (yes i'm fumbling in the dark here) without success. since it seem to be an issue in all versions i guess it could be an external issue but i have no way of knowing, if i try to delete the file it say that it's in use by MPC. If i play the stream in VLC it works without problems.

Any ideas what could be causing this? I tried different dvb apps, dvbdream, dvbviewer and all express the same issue. i'm beginning to wonder if it's a DirectShow issue, but i would have thought this would be dealt with long ago if it was a common issue, i have a friend who have the same exact problem on his PC. Both use Win7 x64.

Thanks in advance.
MrC

kasper93
16th December 2012, 16:54
We use Microsoft filter for online sources File Source (URL) (http://msdn.microsoft.com/en-us/library/windows/desktop/dd375642(v=vs.110).aspx) and this is how this filter works. It shouldn't cache all the data, but it does and I think 4GB limit is because you are using FAT32 which doesn't allow larger files.

The best solution for you is using LAV Source Splitter for http. You need to add this to register. Past it to notepad and save as "http.reg" then double click on it and that's all. Note that you need to have LAV installed ;)
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\http]
"Source Filter"="{B98D13E7-55DB-4385-A33D-09FD1BA26338}"



FWIW, you could try using DVB directly in MPC-HC it is not that bad ;)

Joniii
16th December 2012, 17:05
Yeah, Armada has plans to revamp the UI in near future.

Great :)

As a programmer i've always really enjoyed the usability and UI design, not so much in the important things that I can't see. MPC functionality isn't that good for users who sit on the sofa with a remote, so I made some changes to MPC for my personal use. Could you consider adding some of these features if those are well made, and function as expected to make the user experience better for remote use?

For example I did this today and I think it would be a good add but dunno if it's just me. On fullscreen, if user presses play, pause, rewind, or skip, mpc shows the narrow mpc seekbar for 5 seconds. Also I thought I add also this. With the previous function it would also show local time on right or left corner.

mrchisholm
16th December 2012, 18:01
We use Microsoft filter for online sources File Source (URL) (http://msdn.microsoft.com/en-us/library/windows/desktop/dd375642(v=vs.110).aspx) and this is how this filter works. It shouldn't cache all the data, but it does and I think 4GB limit is because you are using FAT32 which doesn't allow larger files.

The best solution for you is using LAV Source Splitter for http. You need to add this to register. Past it to notepad and save as "http.reg" then double click on it and that's all. Note that you need to have LAV installed ;)
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\http]
"Source Filter"="{B98D13E7-55DB-4385-A33D-09FD1BA26338}"



FWIW, you could try using DVB directly in MPC-HC it is not that bad ;)

hey

thanks alot, i will try it out, no my system is NTFS so that shouldn't be an issue and i tried lav filter splitter but not with that added registry, will try now and report back :)

vBm
16th December 2012, 18:15
After 2 and a half months since the last stable build, we decided to release 1.6.5.

This release has many bugfixes and some new features.

Highlights of this release:

* Some long standing issues for the Internal Subtitle Renderer/VSFilter have been fixed:

- Support UTF-8 subtitles without BOM
- Fix high memory usage with complex subtitles (mostly ASS)
- Fix most cases where subtitles are not correctly positioned
- Allow floating-point values for \fscx and \fscy in ASS subtitles

* Windows 8 is now officially supported and the file association problem has been solved.
Windows 8 users should click the "Set Default Programs" button after selecting new formats.

* The DVB support has been improved with a better handling of DVB subtitles
and a clearer display of the Electronic Program Guide information when using live capture.

You can download the new version here (http://mpc-hc.sourceforge.net/downloads/). For the complete changes see the changelog (http://mpc-hc.sourceforge.net/changelog/).

mrchisholm
16th December 2012, 18:46
hey

thanks alot, i will try it out, no my system is NTFS so that shouldn't be an issue and i tried lav filter splitter but not with that added registry, will try now and report back :)

it seems to be working :thanks:

vBm
16th December 2012, 19:00
Great :)

As a programmer i've always been really interested in the usability and UI design. MPC functionality isn't that good for users who sit on the sofa with a remote, so I made some changes to MPC for my personal use. Could you consider adding some of these features if those are well made, and function as expected to make the user experience better for remote use?

For example I did this today and I think it would be a good add but dunno if it's just me. On fullscreen, if user presses play, pause, rewind, or skip, mpc shows the narrow mpc seekbar for 5 seconds. Also I thought I add also this. With the previous function it would also show local time on right or left corner.

If you think someone else could benefit from your work, feel free to contribute code via Pull Requests.

Superb
17th December 2012, 00:00
This should be fixed as of 0696a331 (https://github.com/mpc-hc/mpc-hc/commit/0696a3318a45e8a15bf978191ef79a67450bfce2)Yeah, I saw the commit and can verify that 1.6.5.6366 (744df1c; final) indeed fixes the issue. Thx guys.

dansrfe
17th December 2012, 06:10
I'm not sure if this is appropriate for MPC-HC but would it be possible to start adding visualizations for music files in MPC-HC? I listen to all of my music in MPC-HC along with my videos and movies and it would increase the appeal of the player as well.

Thanks and awesome job on the new official release!

ryrynz
17th December 2012, 06:26
Appropriate yes, but I don't see it happening any time soon if ever, use WMP or similar.

pirlouy
17th December 2012, 19:20
I'm sorry but adding visualizations would lower MPC-HC value. :)

cengizhan
17th December 2012, 21:25
Windows 8 button fails with this: there was a problem loading the set a default program page. error code:80004005.

Armada
17th December 2012, 21:35
Windows 8 button fails with this: there was a problem loading the set a default program page. error code:80004005.
Have you enabled any formats? (the button should be grayed out if you haven't)

Have you tried pressing the "Modify" button to get elevated privileges before pressing the "Set Default Programs" button? (it worked without elevated privileges for me)

Joniii
17th December 2012, 22:25
I made a test version of the fullscreen controls.

This mimics WMC functionality, which I think is pretty well thought so that you'll see where the movie is going when you fwd and can check the playtime by pressing the play during playback:
Play, toolbar 5 sec
Pause, toolbar 5 sec
Stop, toolbar 5 sec
Rewind/Forward toolbar until play,pause or stop, 5sec

This doesn't affect (I think) mouse users. In fullscreen you will only see this functionality when using remote or keyboard shortcuts for play,pause,stop,rew and fwd.

I mapped the remote keys so you shouldn't need to set those when you test this.

http://sdrv.ms/UZ4v7C

dansrfe
17th December 2012, 22:38
I'm sorry but adding visualizations would lower MPC-HC value. :)

How would it lower it? In my head it's with the same thought process that people have made alternative toolbar skins for MPC-HC. There is obviously no functional value to the toolbar looking different but it just looks nicer.

Plus it appeals to users who are coming from other commercial players and are ready to look for something that is more flexible and better overall. New people count looks as a factor whether most of us here consider it a factor or not.

I myself don't set that much value on the aesthetic design of something that is built with minimalism at the forefront but that doesn't mean MPC-HC has to be devoid of it.

pirlouy
18th December 2012, 00:48
But I'm just a troll who will cry for bloated application if there are visualizations in a video player ! :D

Aleksoid1978
18th December 2012, 05:05
Incorrect info at first post : Supports most types of subtitles including BD .sup files - MPC-HC do not support subtitle in .sup files;

boyumeow
18th December 2012, 05:46
Incorrect info at first post : Supports most types of subtitles including BD .sup files - MPC-HC do not support subtitle in .sup files;

Incorrect at the moment :D, but would be corrected if U ever submit the patch to them (:thanks: in advance if U ever did that). Just wonder would U consider to share it to xy-vsfilter if they requested it too.

:thanks: for your contribution in everything.

hayan
18th December 2012, 05:52
System response Killer :eek:

single click to select Full-HD video file at explorer
Press & Hold the "enter" key
1x-3x number of mpc-hc open from explorer!

options:
association file
Use the same player for each media file

wanezhiling
18th December 2012, 05:53
Incorrect info at first post : Supports most types of subtitles including BD .sup files - MPC-HC do not support subtitle in .sup files;

http://pan.baidu.com/share/link?shareid=176706&uk=3558042035
.sup subtitle, BE crashed.

Aleksoid1978
18th December 2012, 10:17
http://pan.baidu.com/share/link?shareid=176706&uk=3558042035
.sup subtitle, BE crashed.

Thanks - fixed.
http://aleksoid.voserver.net/MPC-BE/mpc-be.exe_SUP.7z

vomanci
18th December 2012, 10:55
How about adding an option to redirect LFE (or crossover) , and gain + crossover freq. ? I hate using ffdshow audio processor just for this.
In an 5.1 environment, all the low freq. are just sent to the satellites if using internal audio switcher.
Thanks.

Armada
18th December 2012, 13:41
Incorrect info at first post : Supports most types of subtitles including BD .sup files - MPC-HC do not support subtitle in .sup files;
We support them when they're muxed into the video file which is the case in BDs. I'll look into supporting them from external files sometime.
Thanks - fixed.
http://aleksoid.voserver.net/MPC-BE/mpc-be.exe_SUP.7z
If you're going to post MPC-BE builds in our thread please provide the source code for them, you are obliged to do so under the GPL.
I made a test version of the fullscreen controls.
...
http://sdrv.ms/UZ4v7C
Same goes for you Joniii, please post the source code or preferably a patch. That way we can see what has been changed and possibly integrate it into MPC-HC if we agree with the changes. :)

Joniii
18th December 2012, 13:55
I'll do it via pull requests, just wanted to know if anyone thinks this kind of thing would be good, or is it just me who needs it.

minaust
18th December 2012, 16:18
After 2 and a half months since the last stable build, we decided to release 1.6.5.


...um, I hate to say it, but the 32-bit build locks up tight on my XP pro system. 1.6.4 works fine.

Changing renderer seems to toggle between lockup/hard lockup/closure. Any ideas? All I did was replace the 1.6.4 executable and icon library with the new.

cengizhan
18th December 2012, 17:38
Have you enabled any formats? (the button should be grayed out if you haven't)

Have you tried pressing the "Modify" button to get elevated privileges before pressing the "Set Default Programs" button? (it worked without elevated privileges for me)

i have found the reason. i am using qttabbar for tabbed explorer. if i close all explorer windows then 'windows 8' button opens that page with mpc-hc visible at the top.
if there is any existing explorer window, windows 8 button gives an error and opens a blank set default programs page.

Armada
18th December 2012, 18:07
...um, I hate to say it, but the 32-bit build locks up tight on my XP pro system. 1.6.4 works fine.

Changing renderer seems to toggle between lockup/hard lockup/closure. Any ideas? All I did was replace the 1.6.4 executable and icon library with the new.
I haven't found such issues on my virtual XP SP3 installation. Are you running Service Pack 3 and have you tried updating DirectX?
i have found the reason. i am using qttabbar for tabbed explorer. if i close all explorer windows then 'windows 8' button opens that page with mpc-hc visible at the top.
if there is any existing explorer window, windows 8 button gives an error and opens a blank set default programs page.
This is an issue with qttabbar then. We're just using the recommended way of opening that page.

minaust
19th December 2012, 02:00
I haven't found such issues on my virtual XP SP3 installation. Are you running Service Pack 3 and have you tried updating DirectX?


Yes to both. Keep in mind that 1.6.4 worked/works fine. Interesting note: I replaced the 1.6.5 executable with 1.6.4. Now 1.6.4 hung up. I'd previously exported the MPC registry settings to a .reg file. I wiped MPC from my registry and restored that. 1.6.4 was happy again.

73ChargerFan
19th December 2012, 04:20
Can this be added to the first post of this thread, for reference purposes?

Link to the old thread, 20477 posts over 5 1/2 years:
http://forum.doom9.org/showthread.php?t=123537

vBm
19th December 2012, 09:11
Can this be added to the first post of this thread, for reference purposes?

Link to the old thread, 20477 posts over 5 1/2 years:
http://forum.doom9.org/showthread.php?t=123537
It's there in the very first sentence. But i'll add it to Links as well.

Armada
19th December 2012, 10:21
Yes to both. Keep in mind that 1.6.4 worked/works fine. Interesting note: I replaced the 1.6.5 executable with 1.6.4. Now 1.6.4 hung up. I'd previously exported the MPC registry settings to a .reg file. I wiped MPC from my registry and restored that. 1.6.4 was happy again.
Try running 1.6.5 again and afterwards export the registery key and post both the old and the new registery settings. Then we can compare the differences and see what breaks it.

minaust
19th December 2012, 14:58
Try running 1.6.5 again and afterwards export the registery key and post both the old and the new registery settings. Then we can compare the differences and see what breaks it.

Will do, but it'll be a day. Meanwhile, does this help?

Armada
19th December 2012, 20:07
Will do, but it'll be a day. Meanwhile, does this help?
Do you have a dump file? If one was made it should be located in "%APPDATA%\Media Player Classic"

minaust
19th December 2012, 20:23
Do you have a dump file? If one was made it should be located in "%APPDATA%\Media Player Classic"

Ok, here 'tis....

Screen before that one had "minidump" then some non-text characters then an "OK" button.

73ChargerFan
20th December 2012, 04:06
It's there in the very first sentence. But i'll add it to Links as well.
Thanks, I didn't see it in the first sentence (now I do)
Next request:
There are so many renderer & vsync options, could the optimal settings for each type of video card be listed in the first post? E.g., nvidia, ati/amd 1200-4800, intel G40, current intel integrated, etc.

I don't know if they're hard coded into mpc-hc - there's a reset option, but I don't know if it is specific to each chipset. I always seem to have to twiddle with the settings on new installs, and I can never remember what works best. Also, I thought Accurate VSync was abandoned, but I just saw it enabled on one of my installs.

Thanks everyone for continuing development on this.

ArchCarrier
20th December 2012, 19:45
Would it be possible to add a command line switch to play the main feature on a DVD? Skip the warning screens, trailers, menus, and jump directly to the longest title on the disc.

LigH
20th December 2012, 19:56
Then you would have to tell the player to play which title or which PGC, exactly by number.

It is not necessarily the same on all DVDs.

You can not even be certain that the PGC with the longest playtime is always the one you want to watch.

ArchCarrier
20th December 2012, 20:02
Then you would have to tell the player to play which title or which PGC, exactly by number.
It is not necessarily the same on all DVDs.
That's exactly why I'd like MPC to figure it out for me: if it was always title 1, it's already possible with the command line (using /dvdpos 1#1). HandbrakeCLI and AnyDVD have the option to directly jump to the main feature, and I also have a stand-alone player that does it, so it can't be that hard.

You can not even be certain that the PGC with the longest playtime is always the one you want to watch.
For movie DVDs it will be the longest title 99.9% of the time. You don't have to use it, it would just be very handy if the option was there.

Armada
20th December 2012, 20:38
Ok, here 'tis....

Screen before that one had "minidump" then some non-text characters then an "OK" button.
I've looked at the minidump, it crashes while trying to create the renderer. But it happens deep in the system, so I have no clear indication why it fails. So since 1.6.4 also fails after 1.6.5 changed the settings I'd like to see if something unexpected has changed. Could you upload those registery files?

vomanci
20th December 2012, 20:46
How about adding an option to redirect LFE (or crossover) , and gain + crossover freq. ? I hate using ffdshow audio processor just for this.
In an 5.1 environment, all the low freq. are just sent to the satellites if using internal audio switcher.
Thanks.

Any answer to this qustion?:thanks:

boyumeow
21st December 2012, 10:51
...

If you're going to post MPC-BE builds in our thread please provide the source code for them, you are obliged to do so under the GPL.

... :)

Just FYI,

After the publication of the MPC-BE 1.1.3.0 we open free access to our svn repository.
:)

:thanks: and have a happy holiday everyday.

vBm
21st December 2012, 12:56
Just FYI,



:thanks: and have a happy holiday everyday.

Thing is that each and every public build that has been posted, if asked for need to have source. Just read a bit on GPL. And no, i'm not trying to sound like an ass. It's not question of their public release it's this particular build that source needs to be shown to public.

alexins
21st December 2012, 15:06
If you're going to post MPC-BE builds in our thread please provide the source code for them, you are obliged to do so under the GPL.
Do you want to say, that the MPC-HC never violated the GPL?
Then, I beg of you to give your comments about this list with links:
https://sourceforge.net/apps/trac/mpc-hc/ticket/2589
https://sourceforge.net/apps/trac/mpc-hc/ticket/2584
https://sourceforge.net/apps/trac/mpc-hc/ticket/2555
https://sourceforge.net/apps/trac/mpc-hc/ticket/2540
https://sourceforge.net/apps/trac/mpc-hc/ticket/2465
https://sourceforge.net/apps/trac/mpc-hc/ticket/2462
https://sourceforge.net/apps/trac/mpc-hc/ticket/2382
https://sourceforge.net/apps/trac/mpc-hc/ticket/2344
https://sourceforge.net/apps/trac/mpc-hc/ticket/2342
https://sourceforge.net/apps/trac/mpc-hc/ticket/2287
https://sourceforge.net/apps/trac/mpc-hc/ticket/2218
https://sourceforge.net/apps/trac/mpc-hc/ticket/2070
https://sourceforge.net/apps/trac/mpc-hc/ticket/1938
https://sourceforge.net/apps/trac/mpc-hc/ticket/1694
https://sourceforge.net/apps/trac/mpc-hc/ticket/1690
https://sourceforge.net/apps/trac/mpc-hc/ticket/1680
https://sourceforge.net/apps/trac/mpc-hc/ticket/1668
https://sourceforge.net/apps/trac/mpc-hc/ticket/1621
https://sourceforge.net/apps/trac/mpc-hc/ticket/1612


Where can I find the source code to published there builds mpc-hc. I have a collection of such references, more than 200 pieces.

the_weirdo
21st December 2012, 15:30
Do you want to say, that the MPC-HC never violated the GPL?
Then, I beg of you to give your comments about this list with links:



Where can I find the source code to published there builds mpc-hc. I have a collection of such references, more than 200 pieces.

But if someone requested source-code of those builds, MPC-HC's developers would happily provide them, methinks.

alexins
21st December 2012, 16:01
But if someone requested source-code of those builds, MPC-HC's developers would happily provide them, methinks.
Well, who said that we do not provide your source code? In our every release, there's a complete copy of the source code at the time of issue.
All charges on the part of team members mpc-hc, it is no more than speculation, in order to reduce the attention to our software product. When they can't bypass the competitor technically, you can use other tools, for example, accused of any violations.

Armada
21st December 2012, 21:36
Do you want to say, that the MPC-HC never violated the GPL?
Then, I beg of you to give your comments about this list with links:



Where can I find the source code to published there builds mpc-hc. I have a collection of such references, more than 200 pieces.
Most of those tickets has had their source code committed to our publicly accessible repo, so the source code is available there. And since the move to github we often distribute the source code of test builds through our own developer repositories. We're not perfect, but we try.

But the thing that bothers me in this case is that this thread is not a bug tracker. You are posting builds of your fork in our thread and you don't show the common courtesy of sharing the source code. If you don't want to share the source code of your test builds then don't post them in our thread, simple as that.

Well, who said that we do not provide your source code? In our every release, there's a complete copy of the source code at the time of issue.
All charges on the part of team members mpc-hc, it is no more than speculation, in order to reduce the attention to our software product. When they can't bypass the competitor technically, you can use other tools, for example, accused of any violations.

The problem is that if you make a change in one of the test builds that our users want to see integrated into MPC-HC we wouldn't be able to until you release a stable. That is exactly the kind of situation that GPL was made to prevent. We share our source code as much as possible and you often make use of that by integrating our changes before we release a stable, it'd only be fair we were allowed to do the same.

But I see you've opened access to the repository and I'm sure you'll commit any useful changes from the test builds there. I hope we can now start collaborating like forks are supposed to, share the knowledge so that both players can further improve upon each other.

Amour
21st December 2012, 23:10
http://www.tucsonsportriders.com/forums/images/smilies/popcorn.gif

I just installed VS2012. Is it possible to compile either of HC or BE with it?

Armada
21st December 2012, 23:30
http://www.tucsonsportriders.com/forums/images/smilies/popcorn.gif

I just installed VS2012. Is it possible to compile either of HC or BE with it?
We're going to switch to VS2012 before the next stable, there has already been quite some work on that part. So if all goes well we'll be switching as soon as possible.

If you'd like to try it now, there's a patch in docs/patches. Though I don't know if it's up to date.

crotecun
22nd December 2012, 02:25
The problem is that if you make a change in one of the test builds that our users want to see integrated into MPC-HC we wouldn't be able to until you release a stable. That is exactly the kind of situation that GPL was made to prevent. We share our source code as much as possible and you often make use of that by integrating our changes before we release a stable, it'd only be fair we were allowed to do the same.



Android does the same thing, they don't publish source code (including GPLv2'd kernel parts) until well after they release a stable.

Superb
22nd December 2012, 02:55
Android does the same thing, they don't publish source code (including GPLv2'd kernel parts) until well after they release a stable.They (Google) don't have to. They hold the rights to the code. They can even re-license it as they wish.

MPC-BE and MPC-HC both base their work on Gabest's GPL'd code, and thus cannot simply release a binary w/o source code (especially when asked for one).

Aleksoid1978
22nd December 2012, 05:47
Hi guys. MPC-HC have trouble with seeking in some MPEG-TS. Sample - http://aleksoid.voserver.net/Sample/CLOUD_ATLAS.split.1.m2ts
After seek - playing start from the incorrect position.

minaust
22nd December 2012, 06:09
I've looked at the minidump, it crashes while trying to create the renderer. But it happens deep in the system, so I have no clear indication why it fails. So since 1.6.4 also fails after 1.6.5 changed the settings I'd like to see if something unexpected has changed. Could you upload those registery files?

Sorry for the delay. Coming right up...

betaking
22nd December 2012, 08:39
S.chinese updated!
http://www.mediafire.com/?nq9799qi0y0j97c

wanezhiling
22nd December 2012, 10:43
It seems that only mpc-hc could not decode the file (http://pan.baidu.com/share/link?shareid=178758&uk=3558042035) correctly.

wanezhiling
22nd December 2012, 14:05
http://www.mediafire.com/?0pcit3ackvy10ac

MPC-HC 1.6.6.6373 x86


http://i.imgur.com/V3aCY.png
internal splitter, the "Subtitles" option is grey, and I can't select either of the pgs subtitles even by "Navigate -> Subtitle Language"..


http://i.imgur.com/XW4Sb.png
lav splitter works fine.


Well, my os is win7 x64 china, mpc-be had this issue before and fixed, mpc-hc reproduced?:)

v0lt
22nd December 2012, 14:49
It seems that only mpc-hc could not decode the file (http://pan.baidu.com/share/link?shareid=178758&uk=3558042035) correctly.
Do not use "Skip all checks" in video decoder.

wanezhiling
22nd December 2012, 17:31
Do not use "Skip all checks" in video decoder.

:thanks:

73ChargerFan
22nd December 2012, 21:34
Feature Request 1:
Turn Non-Forced Subtitles off if same language as audio stream
I don't want to see subtitles except forced, e.g. when the aliens speak in Avatar.

Feature Request 2:
[S] subtitle enable/disable button on status / play bar

73ChargerFan
22nd December 2012, 21:35
Who's hosting nightly builds now?

vBm
22nd December 2012, 22:21
Who's hosting nightly builds now?

Same person for quite some time now. Kindly hosted by nevcairiel (http://xhmikosr.1f0.de/mpc-hc/).

ryrynz
22nd December 2012, 23:40
If running MPC-BE and you proceed to uninstall MPC-HC the uninstaller says MPC-HC is running, HC & BE should be able to be distinguished from each other.

nevcairiel
22nd December 2012, 23:44
This is a BE problem, MPC-HC has its own frame names, GUIDs and everything, MPC-BE just never changed those after forking, so the installer doesn't know any better.
In this case, its the application mutex which is created somewhere.

Joniii
23rd December 2012, 10:38
Armada, would it be possible to do the new UI with the transparent overlay, similar to what youtube uses, just one form for player bar controls? Then remove the code for old player bars and such. Old MFC forms are bit of a grey area to me so dunno what it can do without skinning.

http://www.youtube.com/watch?v=TEHWDA_6e3M

Joniii
24th December 2012, 09:00
Also about WPF, the UI would need to be redone but WPF can use the old C++ MFC code when placing it to DLL, then gradially move it to WPF when doing bugfixes and when adding new features. I mean if the MFC skinning needs a lot of work, maybe the WPF could be worth considering.

wanezhiling
26th December 2012, 16:54
http://forum.doom9.org/showpost.php?p=1607509&postcount=13565
Win7 x64
MPC-HC.1.6.6.6391 x86, default setting

1). DI job failed.

2). DXVA mode does not work on NVIDIA cards

3). On AMD/Intel GPUs, there is a green&pink horizontal stripe at the top of the file.

cyberbeing
28th December 2012, 09:53
Ticket #2423 (https://sourceforge.net/apps/trac/mpc-hc/ticket/2423#comment:9) wasn't resolved by the commits last week, so it's in need of someone with necessary permissions to re-open it.

more2read
28th December 2012, 13:32
hey

thanks alot, i will try it out, no my system is NTFS so that shouldn't be an issue and i tried lav filter splitter but not with that added registry, will try now and report back :)
After adding the "http.reg" code, MPC-HC seems to hang when trying to play an http stream from TSReader.

vBm
28th December 2012, 17:15
Ticket #2423 (https://sourceforge.net/apps/trac/mpc-hc/ticket/2423#comment:9) wasn't resolved by the commits last week, so it's in need of someone with necessary permissions to re-open it.Done.

wanezhiling
29th December 2012, 13:37
Uninstall the lastest mpc-hc, an empty MPC-HC folder exists.

http://i.imgur.com/eouO0.png
http://i.imgur.com/ILUW2.png
http://i.imgur.com/9XdRr.png


Download here:http://xhmikosr.1f0.de/mpc-hc/MPC-HC.1.6.6.6419.x86.exe

minaust
29th December 2012, 22:33
@Armada

I've figured out what's happening with that crash I reported earlier – where 1.6.5 crashes and 1.6.4 doesn't. If “auto-load audio files” is checked AND I do hasve additional audio files present, 1.6.5 crashes. Uncheck “auto-load audio files” or removing the audio files, the video will play. Why will it play the extra features and not the main movie? Ripped & encoded same time, same software & same settings. What's the difference? Remove the extra audio (which the extra features didn't have in the first place) and it works. Put the audio back & uncheck the auto-load box, it still works.

Any recent changes to that code? Of course, neither option is acceptable in my case.

Update: A single additional audio file appears to be okay.

turbojet
30th December 2012, 09:33
dxva with mpc decoders or lavfilters doesn't work for me in 1.6.5 with 9500GT, 9800GTX or HD3000. Works fine in 1.6.4, mpc-be has the same issue.

hello_hello
30th December 2012, 11:07
Would anyone know if there's a known bug regarding MP4 audio delay or something which would cause MPC-HC to ignore the audio delay in MP4s?
I've googled and not found anything but it's ignoring MP4 audio delays on two different PCs here. MPC-HC 1.6.5.6366 and XP SP2. I've tried the internal splitter and Haali, the internal audio decoder and ffdshow.... nothing makes a difference. I've no problem with it obeying MKV audio delays (I checked to confirm) and if it was ignoring AVI audio delays I'd probably have noticed by now.

MPC-BE ignores the MP4 audio delay also. VLC doesn't, so I assume the MP4 files I'm checking aren't the problem. MediaInfo displays the correct delay only MPC-HC won't use it.

Thanks.

chros
30th December 2012, 12:53
dxva with mpc decoders or lavfilters doesn't work for me in 1.6.5 with 9500GT, 9800GTX or HD3000. Works fine in 1.6.4, mpc-be has the same issue.
It's working fine on my laptop (see my signature) with h264 mkv + 1.6.5.6366 + lav.0.54 + madvr 0.85.7 / evr .
I have tried the built-in h264 decoder, mkv splitter, lav splitter, lav video filters (dxva2 native).

Are you sure that the file has a h264 video stream which is dxva complient?

clsid
30th December 2012, 18:08
Test with these versions:
http://xhmikosr.1f0.de/mpc-hc/old/1.6.4/

hello_hello
30th December 2012, 19:53
I've tried versions 1.6.4.5823 and 1.6.1.4235, and as per my post #111, neither of them seem to pay any attention to the audio delay in MP4s. MKVs and AVIs are fine, but even though MediaInfo shows the MP4 audio delay, MPC-HC seems to ignore it.

turbojet
30th December 2012, 20:18
Yes file is dxva compliant, 1024x576 23.976 encoded with x264 --preset faster. MPC video decoder says 'H.264 E. bitstream decoder, no FGT' when it's working.

Build 6187 is the last one that works with both decoders, 6202 doesn't.

What video card in your laptop?

clsid
30th December 2012, 23:52
You need to enable the internal subtitle renderer in combination with a compatible video renderer. Or block DirectVobSub (= VSFilter) in the external filters list. DirectVobSub is not compatible with DXVA.

It worked with older versions despite your incorrect settings because there used to be a bug that prevented DirectVobSub from loading automatically.

turbojet
31st December 2012, 07:17
Thanks for the reply, vsfilter isn't installed but you were on the right track. ffdshow video decoder needs to be blocked, is this really intended? There's still many useful things ffdshow can do that nothing else can, mainly avisynth. Disabling all subtitle options in ffdshow didn't help.

wanezhiling
31st December 2012, 08:07
@turbojet

http://forum.doom9.org/showthread.php?p=1607334#post1607334
any intermediate filter between the decoder and the renderer breaks native DXVA, and there is nothing you can do about it.

turbojet
31st December 2012, 08:52
That explains it, thanks. Directvobsub was on the computer I was testing yesterday with default mpc-hc and clsid was correct.

Sn8kbordin
31st December 2012, 19:08
What are pro's and con's on 32 bit and 64 bit versions?
Could not find any info at http://mpc-hc.sourceforge.net/ and the FAQ is blank.

I just like using MPC because it can play back everything without installing codecs.

LigH
31st December 2012, 19:20
MPC-HC has own splitters and decoders in both versions. But they may not be perfect or comprehensive in all cases. Therefore, MPC-HC is able to use DirectShow filters too, also as alternative if you disable internal filters.

But: The 64-bit version of MPC-HC would use 64-bit DirectShow filters — if they exist at all... There may be more 32-bit DirectShow filters available which can be used by the 32-bit version of MPC-HC.

You can run both in parallel and look for differences. Just keep them in different paths (the installer would take care of that with matching defaults anyway, as Windows 64-bit offers different "Program Files" paths for 32 and 64 bit applications, respectively).

Sn8kbordin
31st December 2012, 19:38
I'm not using any filters, just playing back the way video is.

Define "splitter" and why should I care about it?

Guest
31st December 2012, 20:00
A splitter splits the elementary streams from a container to pass them to their respective decoders. You should care about them because they are essential components in the playback chain, and any flaws or limitations in them may affect your viewing experience.

LigH
31st December 2012, 20:24
Just a few examples: There may be MP4 splitters which know that AC3 can be included, and others which don't know. Or there may be MKV splitters which can handle Header Removal Compression, and others which may get confused by the lack of headers they may expect. Or MPEG Transport Stream splitters which can only handle M2TS with timecodes, but fail seeking in TS without. Or AVI splitters which can't handle JUNK chunks in certain places even though they are from Microsoft, just like the AVI specification.

Sn8kbordin
31st December 2012, 21:45
Thanks for the detailed info. Please think of me as end user and not a programmer. I do program PLCs at work though but this is for home fun!

The way I use MPC is I double click a file and it plays. Whatever happens inside, let it happen. I am actually setting it up for my wife's lappy because WMP doesn't play some .mpg she has.

So is 64bit version better than 32bit in any way (performance, crashes, playback of different files, playback of different media types like H264, DVD, BD)? I don't think it needs over 4GB of memory to play back video files.

LigH
31st December 2012, 21:58
The 64-bit version of the x264 encoder can be about 10% faster due to the better CPU register design. Instead, I doubt the speed gain of a player is measurable at all...

The versatility of both variants, 32 and 64 bit, is the same, as long as both contain the same selection of splitter and decoder filters. Except for the additionally available DirectShow filters which can take care of formats where the MPC-HC doesn't contain matching internal filters.

nevcairiel
31st December 2012, 22:01
64-bit decoding is ~10-20% faster in some cases. If you have no reason to use 32-bit for certain 32-bit-only filters (most notably madVR or ReClock), go with 64-bit IMHO.

Sn8kbordin
31st December 2012, 22:48
Thanks guys!

Mangix
1st January 2013, 05:00
64-bit decoding is ~10-20% faster in some cases.

Does this also apply to audio?

Amour
1st January 2013, 13:35
So is 64bit version better than 32bit in any way (performance, crashes, playback of different files, playback of different media types like H264, DVD, BD)?
No, there are rare cases of files where 32bit works and 64bit doesn't work.

Remember my example of May 2012 (which has been tested by some devs at that time) :
4 Day Weekend.mov (http://www.directmirror.com/files/WR8YYB8N) - duration 3:53
*MPC-HC x64: popup saying no filter for MPC MP4/MOV Source::Apple Video Media Handler, then no video
*MPC-HC x32: works fine

The opposite is not true: there is no file that works with 64bit and doesn't with 32bit. I was told this would never change, so now I only use 32bit MPC-HC.

v0lt
1st January 2013, 18:53
Remember my example of May 2012 (which has been tested by some devs at that time) :
4 Day Weekend.mov (http://www.directmirror.com/files/WR8YYB8N) - duration 3:53
*MPC-HC x64: popup saying no filter for MPC MP4/MOV Source::Apple Video Media Handler, then no video
*MPC-HC x32: works fine
Install the 64-bit codec (ffdshow or LAV Video) for "Cinepak" (CVID).
MS did not support this codec for x64 mode.

v0lt
3rd January 2013, 22:30
64-bit decoding is ~10-20% faster in some cases.
In what cases? :rolleyes:

betaking
4th January 2013, 04:29
S.chinese updated!
http://www.mediafire.com/?21nrq995559px4i

Grizz111
5th January 2013, 21:03
Hi, is there any way to auto-switch movie playback to another display? Something like this:
Run player, fullscreen it - the display output switches from monitor to tv? Something similar to audio output to selected device no matter if it is the default device in windows or not.

I'm running mpc-hc 32-bit, madvr+lav filters.

Snowknight26
6th January 2013, 00:36
Check the command line switches.

hello_hello
6th January 2013, 11:40
Hi, is there any way to auto-switch movie playback to another display?

Look under Fullscreen in MPC-HC's options. You can tell it which monitor use use when running in Fullscreen mode and it'll even change refresh rates according to the frame rate when running in fullscreen mode (if you want it to).

Joniii
6th January 2013, 17:58
If I set madVR display modes to auto change 1080p23 and "restore original display mode when media player leaves fullscreen" both MPC-HC and MPC-BE crashes quite often when, on fullscreen and then double click to go desktop windowed mode (60Hz). I forgot my SF account name so here's the MPC-HC dump file.

http://sdrv.ms/UXxDB6

judelaw
6th January 2013, 18:36
Thinking about it, I wonder if 25fps/50Hz is going to look any different to 25fps/25Hz anyway.

No 25Hz. There are only 50Hz(progressive) and 50Hz(interlace) modes.

pop
6th January 2013, 19:53
I can't play WavPack audio file with mpc-hc 1.65 even LAV audio filter 0.54.1 installed (cannot render the file)
if .wv file in matroska container, plays fine.

hello_hello
6th January 2013, 22:17
No 25Hz. There are only 50Hz(progressive) and 50Hz(interlace) modes.

Ahh..... sorry, I'm an idiot. I posted in the wrong thread. I'll delete my post here as it doesn't make much sense out of context. :)

GCRaistlin
8th January 2013, 00:03
I have a DVD that should automatically set audio language to English if preferred (otherwise to Russian) and subtitles language to Russian if preferred (otherwise to none). It works this way in DVD ReMake Pro but in MPC HC I have always got English audio / Russian subs even if no language preferences were specified in MPC HC settings (or if I changed my default "English audio / Russian subs" to something else).
I tried a clean MPC HC install on the virtual machine - my DVD seemed to work properly there: no language prefs => Russian audio + no subs. I explored the registry on my system and found the following (if I remember correctly):

[HKEY_CURRENT_USER\Software\Gabest\Media Player Classic\Settings]
"SubtitlesLanguageOrder"=""
"AudiosLanguageOrder"=""
"AudioLang"=dword:00000409
"SubtitlesLang"=dword:00000419

Well, I deleted AudioLang and SubtitlesLang values and tried the DVD again. These values recreated:

[HKEY_CURRENT_USER\Software\Gabest\Media Player Classic\Settings]
"AudioLang"=dword:00000000
"SubtitlesLang"=dword:00000000

and now the DVD always sets audio language to Russian and subtitles language to none regardless of "Default track preference" MPC setting. AudiosLanguageOrder and SubtitlesLanguageOrder registry values seem to be ignored at all.
Am I misunderstanding something?

v0lt
8th January 2013, 06:12
"AudioLang" and "SubtitlesLang" for DVD-Video.
"SubtitlesLanguageOrder" and "AudiosLanguageOrder" for media files.

Px
8th January 2013, 15:04
Just year after first time repeating bug report:
Bug in ass subtitle handling, if I set WrapStyle: 3, then lines with \N newline tag splitted incorrectly. Sub code example:
[Script Info]
; Script generated by Aegisub 2.1.8
; http://www.aegisub.org/
Title: Default Aegisub file
ScriptType: v4.00+
WrapStyle: 3
PlayResX: 640
PlayResY: 480
ScaledBorderAndShadow: yes
Video Aspect Ratio: 0
Video Zoom: 6
Video Position: 0

[V4+ Styles]
Format: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, OutlineColour, BackColour, Bold, Italic, Underline, StrikeOut, ScaleX, ScaleY, Spacing, Angle, BorderStyle, Outline, Shadow, Alignment, MarginL, MarginR, MarginV, Encoding
Style: Default,Comic Sans MS,30,&H002A3D3E,&H0000FFFF,&H00FFFFFF,&H803C5B5C,-1,0,0,0,100,100,0,0,1,3,2,2,10,10,20,204

[Events]
Format: Layer, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text
Dialogue: 0,0:00:01.00,0:00:20.00,Default,,0000,0000,0000,,Значит, "хранить мир в школе" -\Nзадача Совета, да?
Dialogue: 0,0:00:25.00,0:00:45.00,Default,,0000,0000,0000,,{\fs24\c&H8893ec&}"Mai Hime" - дословно с яп. "Танцующая Принцесса".\N"Hi.M.E" - "Высокотехнологичное материализующее устройство"
When WrapStyle set to 0, sub text displayed in two lines, but with 3 they split to three (or more) lines, it looks like in mode 0 line wrapping occurs after dealing with \N tags, and in mode 3 - before, what is incorrect. ffdshow subtitle render wrap lines correctly

ddjmagic
9th January 2013, 01:31
Does anyone know if the latest MPC-HC Nightly build would have the fix included that allows a third party splitter (LAV) to control the playlist selection?

Aleksoid1978
9th January 2013, 05:45
Hi guys. H.264 DXVA decoder has bug - http://aleksoid.voserver.net/Sample/AMBA0001.MOV

vBm
9th January 2013, 13:32
Does anyone know if the latest MPC-HC Nightly build would have the fix included that allows a third party splitter (LAV) to control the playlist selection?

Should be doable in last two nightlies afaik thanks to b69c83f4 (https://github.com/mpc-hc/mpc-hc/commit/b69c83f4e586068dace96ef7bdadf433891ab73c).

ddjmagic
9th January 2013, 14:14
Should be doable in last two nightlies afaik thanks to b69c83f4 (https://github.com/mpc-hc/mpc-hc/commit/b69c83f4e586068dace96ef7bdadf433891ab73c).

Thanks, I have tried it but MPC-HC still seems to make its own selection, I have all internal filters disabled and LAV Splitter set as the external filter for all types.

Would there be any other settings I would need to change to stop MPC-HC selecting the playlist?

Edit - Thanks for the help it did contain the fix, I now have it working :)

vBm
9th January 2013, 16:40
Thanks, I have tried it but MPC-HC still seems to make its own selection, I have all internal filters disabled and LAV Splitter set as the external filter for all types.

Would there be any other settings I would need to change to stop MPC-HC selecting the playlist?

Edit - Thanks for the help it did contain the fix, I now have it working :)

Glad to see it's working. Thank nevcairiel for that xD

clsid
10th January 2013, 19:57
@Underground78
Are there still plans to merge "Navigate > Audio Language" into "Play > Audio" like was done for subs? It would be a major usability improvement.

Please also change how external subtitles are named. Now they are displayed as "Undetermined". Here is a naming suggestion:
%extension% [Language]

example: .srt [Undefined]
example: .idx [English]

kasper93
11th January 2013, 11:50
@clsid +1
Even %filename% [Language] would be fine for me, but it may be too long so extension is very good idea!

clsid
11th January 2013, 16:00
Subtitle selection bug after the recent changes:

1 embedded + 1 external -> none of the subs is selected initially, while the expected behavior would be that external one is selected by default

djsolidsnake86
12th January 2013, 00:45
little question: when i move the window i see the cursor and not the hand, how make show the hand again? thanks

betaking
12th January 2013, 06:32
can not compile last git 2c0032fcebfa8f4bf080a961539b49a9c62c7816 (Fix some resource leaks.

Changes in MiniDump.cpp and PPageWebServer.cpp by XhmikosR.)

betaking
12th January 2013, 14:50
last git 49115d86e116392e10c2118330ba469602d9f985 can not compile vsfilter.dll!
19:43:51.990 52>DirectVobSubFilter.cpp(244): error C2440: “=”: 无法从“void *”转换为“BYTE *” [C:\mpc-hc\src\filters\transform\VSFilter\VSFilter.vcxproj]
19:43:52.458 52>DirectVobSubFilter.cpp(542): error C2440: “=”: 无法从“void *”转换为“BYTE *” [C:\mpc-hc\src\filters\transform\VSFilter\VSFilter.vcxproj]
19:43:52.738 52>plugins.cpp(256): error C2440: “=”: 无法从“LPVOID”转换为“BYTE *” [C:\mpc-hc\src\filters\transform\VSFilter\VSFilter.vcxproj]
19:43:52.770 52>plugins.cpp(793): error C2440: “=”: 无法从“void **”转换为“BYTE *” [C:\mpc-hc\src\filters\transform\VSFilter\VSFilter.vcxproj]
19:43:52.801 52>plugins.cpp(911): error C2440: “=”: 无法从“void **”转换为“BYTE *” [C:\mpc-hc\src\filters\transform\VSFilter\VSFilter.vcxproj]
but compile mpc-hc.exe is ok!

Armada
12th January 2013, 15:33
Fixed in 3093bcf82b7866f36f36cfe84af3e8ed0d5f6816 (https://github.com/mpc-hc/mpc-hc/commit/3093bcf82b7866f36f36cfe84af3e8ed0d5f6816).

ryrynz
13th January 2013, 02:24
Can we have the uninstaller remove all the shellopen and defaulticon stuff under HKCR?

wozio
13th January 2013, 21:11
Hi,

Who and how may I contact when facing problems with modifing mpc-hc code, adding new functionality.

I'm trying to add networked media playing capability and for this purpose I added new FGManagerLibrary based on FGMAnagerBDA. Difference is that I use my own push source filter instead of usuall BDA stuff. Graph seems to build correctly but after that access violation on writing location is called on line: pVW->put_Owner((OAHWND)m_pVideoWnd->m_hWnd); in MainFrm.cpp. It seems that all queried interfaces from graph builder are not initialized correctly.

Source is here https://github.com/wozio/mpc-hc but to be usable first another repository would have to be checked out: svn checkout http://home-system.googlecode.com/svn/trunk/ home-system and inside it mpc-hc checked out from github. Then it maybe will compile ;)

I'm really stuck on this, please help ;)

wozio

JEEB
13th January 2013, 23:16
Hi,

Who and how may I contact when facing problems with modifing mpc-hc code, adding new functionality.
Most of the development discussion happens on #mpc-hc-dev on the Freenode IRC network during afternoon to night around the European time zones. That's the best way to get access to Armada, Underground78 and the others.

Naturally, this thread by itself isn't incorrect of course, but unless it's the middle of the night in the Europe, you have bigger chances of getting a response quicker there :)

mrglobal
14th January 2013, 04:14
Hi

I am new to mpc-hc and have followed the link below to build mpc-hc on VS2010:

http://sourceforge.net/apps/trac/mpc-hc/wiki/How_to_compile_the_MPC

However there are 3 errors in build. Not sure if I did something wrong or these are breakages in the build (it sure looks like at least one is).

Appreciate your help.

Thanks

Sean

Build info on VS2010

#1
-----------------------------------------
28>ClCompile:
28> stdafx.cpp
27>c:\mpc-hc\src\filters\renderer\videorenderers\dx9renderingengine.cpp(23): fatal error C1083: Cannot open include file: 'lcms2/library/include/lcms2.h': No such file or directory
27> DXRAllocatorPresenter.cpp
29>InitializeBuildStatus:
25> D2VSource.cpp
25> idctfpu.cpp
25> idctref.cpp
25> MPEG2Dec.cpp
29> Creating "C:\mpc-hc\bin\obj\Debug_Win32\VTSReader\VTSReader.unsuccessfulbuild" because "AlwaysCreate" was specified.
27> EVRAllocatorPresenter.cpp
27> IPinHook.cpp
27> MacrovisionKicker.cpp
27> madVRAllocatorPresenter.cpp
27> OuterEVR.cpp
27> OuterVMR.cpp
29>ClCompile:
29> stdafx.cpp
27> PixelShaderCompiler.cpp
27> QT7AllocatorPresenter.cpp
27> QT9AllocatorPresenter.cpp
27> RenderersSettings.cpp
27> RM7AllocatorPresenter.cpp
27> RM9AllocatorPresenter.cpp
27> SyncRenderer.cpp
27> VMR7AllocatorPresenter.cpp
27> VMR9AllocatorPresenter.cpp
27>
27>Build FAILED.


#2
----------------------------
56>------ Build started: Project: Mpeg2DecFilter, Configuration: Debug Win32 ------
57>------ Build started: Project: lcms2, Configuration: Debug Win32 ------
56>Build started 1/13/2013 6:25:01 PM.
57>Build started 1/13/2013 6:25:01 PM.
57>InitializeBuildStatus:
57> Creating "C:\mpc-hc\bin\obj\Debug_Win32\lcms2\lcms2.unsuccessfulbuild" because "AlwaysCreate" was specified.
56>InitializeBuildStatus:
56> Creating "C:\mpc-hc\bin\obj\Debug_Win32\Mpeg2DecFilter\Mpeg2DecFilter.unsuccessfulbuild" because "AlwaysCreate" was specified.
57>ClCompile:
56>ClCompile:
56> stdafx.cpp
57> precomp.c
50> ffImgfmt.cpp
50> H264RandomAccess.cpp
50> MPCVideoDecFilter.cpp
50> MPCVideoDecSettingsWnd.cpp
50> TlibavcodecExt.cpp
50> VideoDecDXVAAllocator.cpp
50> VideoDecOutputPin.cpp
57>c:\mpc-hc\src\thirdparty\lcms2\precomp.c(23): fatal error C1083: Cannot open include file: 'lcms2_internal.h': No such file or directory
57>
57>Build FAILED.

#3
-----------------------------------------
62>Build started 1/13/2013 6:26:14 PM.
62>PrepareForBuild:
62> Creating directory "C:\mpc-hc\bin\mpc-hc_x86_Debug\".
62>InitializeBuildStatus:
62> Creating "C:\mpc-hc\bin\obj\Debug_Win32\mpc-hc\mpc-hc.unsuccessfulbuild" because "AlwaysCreate" was specified.
62>PreBuildEvent:
62> The syntax of the command is incorrect.
62> Hash: 0000000
62> Revision: 0
62>ClCompile:
62> stdafx.cpp
62> afxctrlcontainer.cpp
62> afxglobals.cpp
62> afxmaskededit.cpp
62> winmdi.cpp
62> AboutDlg.cpp
62> AppSettings.cpp
62> AuthDlg.cpp
62>c:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp(50): error C2039: 'm_hinstD2DDLL' : is not a member of 'AFX_GLOBAL_DATA'
62> c:\program files\microsoft visual studio 10.0\vc\atlmfc\include\afxglobals.h(111) : see declaration of 'AFX_GLOBAL_DATA'
62>c:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp(51): error C2039: 'm_hinstDWriteDLL' : is not a member of 'AFX_GLOBAL_DATA'
62> c:\program files\microsoft visual studio 10.0\vc\atlmfc\include\afxglobals.h(111) : see declaration of 'AFX_GLOBAL_DATA'
62> BaseGraph.cpp
62> ChildView.cpp
62>c:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp(53): error C2143: syntax error : missing ';' before '*'
62>c:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp(53): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
62>c:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp(53): error C2039: 'm_pDirect2dFactory' : is not a member of 'AFX_GLOBAL_DATA'
62> c:\program files\microsoft visual studio 10.0\vc\atlmfc\include\afxglobals.h(111) : see declaration of 'AFX_GLOBAL_DATA'
62>c:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp(53): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
62>c:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp(54): error C2143: syntax error : missing ';' before '*'
62>c:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp(54): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
62>c:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp(54): error C2039: 'm_pWriteFactory' : is not a member of 'AFX_GLOBAL_DATA'
62> c:\program files\microsoft visual studio 10.0\vc\atlmfc\include\afxglobals.h(111) : see declaration of 'AFX_GLOBAL_DATA'
62>c:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp(54): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
62>c:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp(55): error C2143: syntax error : missing ';' before '*'
62>c:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp(55): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
62>c:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp(55): error C2039: 'm_pWicFactory' : is not a member of 'AFX_GLOBAL_DATA'
62> c:\program files\microsoft visual studio 10.0\vc\atlmfc\include\afxglobals.h(111) : see declaration of 'AFX_GLOBAL_DATA'
62>c:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp(55): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
62>c:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp(57): error C2039: 'm_pfD2D1MakeRotateMatrix' : is not a member of 'AFX_GLOBAL_DATA'
62> c:\program files\microsoft visual studio 10.0\vc\atlmfc\include\afxglobals.h(111) : see declaration of 'AFX_GLOBAL_DATA'
62>c:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp(57): error C2146: syntax error : missing ';' before identifier 'm_pfD2D1MakeRotateMatrix'
62>c:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp(57): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
62>c:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp(57): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
62>c:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp(59): error C2039: 'm_bD2DInitialized' : is not a member of 'AFX_GLOBAL_DATA'
62> c:\program files\microsoft visual studio 10.0\vc\atlmfc\include\afxglobals.h(111) : see declaration of 'AFX_GLOBAL_DATA'
62>c:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp(921): error C3861: 'ReleaseD2DRefs': identifier not found
62>c:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp(1469): error C2039: 'InitD2D' : is not a member of 'AFX_GLOBAL_DATA'
62> c:\program files\microsoft visual studio 10.0\vc\atlmfc\include\afxglobals.h(111) : see declaration of 'AFX_GLOBAL_DATA'
62>c:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp(1469): error C2065: 'D2D1_FACTORY_TYPE' : undeclared identifier
62>c:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp(1469): error C2146: syntax error : missing ')' before identifier 'd2dFactoryType'
62>c:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp(1469): error C2059: syntax error : ')'
62>c:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp(1470): error C2143: syntax error : missing ';' before '{'
62>c:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp(1470): error C2447: '{' : missing function header (old-style formal list?)
62>c:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp(1527): error C2039: 'ReleaseD2DRefs' : is not a member of 'AFX_GLOBAL_DATA'
62> c:\program files\microsoft visual studio 10.0\vc\atlmfc\include\afxglobals.h(111) : see declaration of 'AFX_GLOBAL_DATA'
62>c:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp(1536): error C2227: left of '->Release' must point to class/struct/union/generic type
62> type is 'int *'
62>c:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp(1542): error C2227: left of '->Release' must point to class/struct/union/generic type
62> type is 'int *'
62>c:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp(1548): error C2227: left of '->Release' must point to class/struct/union/generic type
62> type is 'int *'
62> ComPropertyPage.cpp
62> ComPropertySheet.cpp
62> CShockwaveFlash.cpp
62> DeinterlacerFilter.cpp
62> DVBChannel.cpp
62> EditListEditor.cpp
62> EditWithButton.cpp
62> FakeFilterMapper2.cpp
62> FavoriteAddDlg.cpp
62> FavoriteOrganizeDlg.cpp
62> FGFilter.cpp
62> FGManager.cpp
62> FGManagerBDA.cpp
62> FileAssoc.cpp
62> FileDropTarget.cpp
62> MediaPositionList.cpp
62> FloatEdit.cpp
62> FullscreenWnd.cpp
62> GoToDlg.cpp
62> GraphThread.cpp
62> Ifo.cpp
62>c:\mpc-hc\src\mpc-hc\ifo.cpp(198): warning C4244: 'initializing' : conversion from 'LONGLONG' to 'unsigned int', possible loss of data
62>c:\mpc-hc\src\mpc-hc\ifo.cpp(199): warning C4244: 'argument' : conversion from 'LONGLONG' to 'DWORD', possible loss of data
62> ISDb.cpp
62> KeyProvider.cpp
62> LcdSupport.cpp
62> LineNumberEdit.cpp
62> MainFrm.cpp
62> MediaFormats.cpp
62> MediaTypesDlg.cpp
62> MiniDump.cpp
62> Monitors.cpp
62> MPCPngImage.cpp
62> Mpeg2SectionData.cpp
62> mplayerc.cpp
62> MultiMonitor.cpp
62> OpenDirHelper.cpp
62> OpenDlg.cpp
62> OpenFileDlg.cpp
62> PlayerBar.cpp
62> PlayerCaptureBar.cpp
62> PlayerCaptureDialog.cpp
62> PlayerInfoBar.cpp
62> PlayerListCtrl.cpp
62> PlayerNavigationBar.cpp
62> PlayerNavigationDialog.cpp
62> PlayerPlaylistBar.cpp
62> PlayerSeekBar.cpp
62> PlayerShaderEditorBar.cpp
62> PlayerStatusBar.cpp
62> PlayerSubresyncBar.cpp
62> PlayerToolBar.cpp
62> Playlist.cpp
62> PnSPresetsDlg.cpp
62> PPageAccelTbl.cpp
62> PPageAudioSwitcher.cpp
62> PPageBase.cpp
62> PPageCapture.cpp
62> PPageDVD.cpp
62> PPageExternalFilters.cpp
62> PPageFileInfoClip.cpp
62> PPageFileInfoDetails.cpp
62> PPageFileInfoRes.cpp
62> PPageFileInfoSheet.cpp
62> PPageFileMediaInfo.cpp
62> PPageFormats.cpp
62> PPageFullscreen.cpp
62> PPageInternalFilters.cpp
62> PPageLogo.cpp
62> PPageMisc.cpp
62> PPageOutput.cpp
62> PPagePlayback.cpp
62> PPagePlayer.cpp
62> PPageSheet.cpp
62> PPageSubMisc.cpp
62> PPageSubStyle.cpp
62> PPageSubtitles.cpp
62> PPageSync.cpp
62> PPageTweaks.cpp
62> PPageWebServer.cpp
62> QuicktimeGraph.cpp
62> RealMediaGraph.cpp
62> RealMediaWindowlessSite.cpp
62> RegFilterChooserDlg.cpp
62> SaveDlg.cpp
62> SaveSubtitlesFileDialog.cpp
62> SaveTextFileDialog.cpp
62> SaveThumbnailsDialog.cpp
62> SelectMediaType.cpp
62> ShaderAutoCompleteDlg.cpp
62> ShaderCombineDlg.cpp
62> ShaderEditorDlg.cpp
62> ShockwaveGraph.cpp
62>c:\mpc-hc\src\mpc-hc\shockwavegraph.cpp(180): warning C4244: 'argument' : conversion from 'LONGLONG' to 'long', possible loss of data
62> StaticLink.cpp
62> StatusLabel.cpp
62> SubtitleDlDlg.cpp
62> TextPassThruFilter.cpp
62> TunerScanDlg.cpp
62> UpdateChecker.cpp
62> UpdateCheckerDlg.cpp
62> vkCodes.cpp
62> VMROSD.cpp
62> VolumeCtrl.cpp
62> WebClientSocket.cpp
62> WebServer.cpp
62> WebServerSocket.cpp
62> WinHotkeyCtrl.cpp
62>
62>Build FAILED.
62>
62>Time Elapsed 00:01:50.74
========== Build: 58 succeeded, 3 failed, 0 up-to-date, 1 skipped ==========

hayan
14th January 2013, 10:24
large complex animation subtitle loading bug
High CPU load at complex animation subtitle, even "Allow animation..." is unchecked

Ctrl+J
Subtitles: Free 0 Allocated 0 Buffered 0

1MB UTF-8 sub delay about 3s
2MB UTF-8 sub delay about 7s
2MB Unicode sub delay about 3s

MPC-HC.1.6.6.6538

MPC-HC.1.6.6.6538
MPC-HC.1.6.5.6366

Timeline
Video/Audio: playing → playing
Subtitle: delay(load) → playing

MPC-HC.1.6.3.5818

Timeline
Video/Audio: delay(wait) → playing
Subtitle: delay(load) → playing

JEEB
14th January 2013, 12:50
Hi
27>c:\mpc-hc\src\filters\renderer\videorenderers\dx9renderingengine.cpp(23): fatal error C1083: Cannot open include file: 'lcms2/library/include/lcms2.h': No such file or directory
At the very least you have forgotten to initialize a submodule :)

Do 'git submodule init' in the root of the git repository, that should fetch and check out the submodule.

Pringles
14th January 2013, 15:39
Is there a way to assign a key shortcut to go to the next/previous Title in a DVD?

mrglobal
15th January 2013, 09:19
I did "git submodule init" and it not seem work (no lcms2.h file) but when I did "git submodule update" and lcms2.h was added and compile error for that was gone. But this error remains below. Appreciate your help.

Thanks

Sean

c:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp(50): error C2039: 'm_hinstD2DDLL' : is not a member of 'AFX_GLOBAL_DATA'
62> c:\program files\microsoft visual studio 10.0\vc\atlmfc\include\afxglobals.h(111) : see declaration of 'AFX_GLOBAL_DATA'
62>c:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp(51): error C2039: 'm_hinstDWriteDLL' : is not a member of 'AFX_GLOBAL_DATA'
62> c:\program files\microsoft visual studio 10.0\vc\atlmfc\include\afxglobals.h(111) : see declaration of 'AFX_GLOBAL_DATA'
62>c:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp(53): error C2143: syntax error : missing ';' before '*'
62>c:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp(53): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
62>c:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp(53): error C2039: 'm_pDirect2dFactory' : is not a member of 'AFX_GLOBAL_DATA'
62> c:\program files\microsoft visual studio 10.0\vc\atlmfc\include\afxglobals.h(111) : see declaration of 'AFX_GLOBAL_DATA'
62>c:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp(53): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
62>c:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp(54): error C2143: syntax error : missing ';' before '*'
62>c:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp(54): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
62>c:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp(54): error C2039: 'm_pWriteFactory' : is not a member of 'AFX_GLOBAL_DATA'
62> c:\program files\microsoft visual studio 10.0\vc\atlmfc\include\afxglobals.h(111) : see declaration of 'AFX_GLOBAL_DATA'
62>c:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp(54): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
62>c:\mpc-hc\src\thirdparty\mfc\afxglobals.cpp(55): error C2143: syntax error : missing ';' before '*'
:
:

mrglobal
15th January 2013, 18:10
I updated VS2010 with Service Pack 1 and now it fully builds

ageback
16th January 2013, 02:55
When run build.bat nothing happend.But running LAV Filters' build.bat is OK.
Windows 2003,VS2010.

betaking
16th January 2013, 05:58
last git c5dc593aa32c7ef5d911ae7587e40da3a0b28706 can not compile MpcAudioRenderer.ax! but compile mpc-hc.exe is ok !windows vista sp2,vs2010sp1!
08:37:02.807 34>DSUtil.lib(DSUtil.obj) : error LNK2019: 无法解析的外部符号 _AVIFileExit@0,该符号在函数 "bool __cdecl GetKeyFrames(class ATL::CStringT<wchar_t,class StrTraitMFC<wchar_t,class ATL::ChTraitsCRT<wchar_t> > >,class CUIntArray &)" (?GetKeyFrames@@YA_NV?$CStringT@_WV?$StrTraitMFC@_WV?$ChTraitsCRT@_W@ATL@@@@@ATL@@AAVCUIntArray@@@Z) 中被引用 [C:\mpc-hc\src\filters\renderer\MpcAudioRenderer\MpcAudioRenderer.vcxproj]
08:37:02.807 34>DSUtil.lib(DSUtil.obj) : error LNK2019: 无法解析的外部符号 _AVIFileRelease@4,该符号在函数 "bool __cdecl GetKeyFrames(class ATL::CStringT<wchar_t,class StrTraitMFC<wchar_t,class ATL::ChTraitsCRT<wchar_t> > >,class CUIntArray &)" (?GetKeyFrames@@YA_NV?$CStringT@_WV?$StrTraitMFC@_WV?$ChTraitsCRT@_W@ATL@@@@@ATL@@AAVCUIntArray@@@Z) 中被引用 [C:\mpc-hc\src\filters\renderer\MpcAudioRenderer\MpcAudioRenderer.vcxproj]
08:37:02.807 34>DSUtil.lib(DSUtil.obj) : error LNK2019: 无法解析的外部符号 _AVIStreamInfoW@12,该符号在函数 "bool __cdecl GetKeyFrames(class ATL::CStringT<wchar_t,class StrTraitMFC<wchar_t,class ATL::ChTraitsCRT<wchar_t> > >,class CUIntArray &)" (?GetKeyFrames@@YA_NV?$CStringT@_WV?$StrTraitMFC@_WV?$ChTraitsCRT@_W@ATL@@@@@ATL@@AAVCUIntArray@@@Z) 中被引用 [C:\mpc-hc\src\filters\renderer\MpcAudioRenderer\MpcAudioRenderer.vcxproj]
08:37:02.807 34>DSUtil.lib(DSUtil.obj) : error LNK2019: 无法解析的外部符号 _AVIFileGetStream@16,该符号在函数 "bool __cdecl GetKeyFrames(class ATL::CStringT<wchar_t,class StrTraitMFC<wchar_t,class ATL::ChTraitsCRT<wchar_t> > >,class CUIntArray &)" (?GetKeyFrames@@YA_NV?$CStringT@_WV?$StrTraitMFC@_WV?$ChTraitsCRT@_W@ATL@@@@@ATL@@AAVCUIntArray@@@Z) 中被引用 [C:\mpc-hc\src\filters\renderer\MpcAudioRenderer\MpcAudioRenderer.vcxproj]
08:37:02.807 34>DSUtil.lib(DSUtil.obj) : error LNK2019: 无法解析的外部符号 _AVIFileInfoW@12,该符号在函数 "bool __cdecl GetKeyFrames(class ATL::CStringT<wchar_t,class StrTraitMFC<wchar_t,class ATL::ChTraitsCRT<wchar_t> > >,class CUIntArray &)" (?GetKeyFrames@@YA_NV?$CStringT@_WV?$StrTraitMFC@_WV?$ChTraitsCRT@_W@ATL@@@@@ATL@@AAVCUIntArray@@@Z) 中被引用 [C:\mpc-hc\src\filters\renderer\MpcAudioRenderer\MpcAudioRenderer.vcxproj]
08:37:02.807 34>DSUtil.lib(DSUtil.obj) : error LNK2019: 无法解析的外部符号 _AVIFileOpenW@16,该符号在函数 "bool __cdecl GetKeyFrames(class ATL::CStringT<wchar_t,class StrTraitMFC<wchar_t,class ATL::ChTraitsCRT<wchar_t> > >,class CUIntArray &)" (?GetKeyFrames@@YA_NV?$CStringT@_WV?$StrTraitMFC@_WV?$ChTraitsCRT@_W@ATL@@@@@ATL@@AAVCUIntArray@@@Z) 中被引用 [C:\mpc-hc\src\filters\renderer\MpcAudioRenderer\MpcAudioRenderer.vcxproj]
08:37:02.807 34>DSUtil.lib(DSUtil.obj) : error LNK2019: 无法解析的外部符号 _AVIFileInit@0,该符号在函数 "bool __cdecl GetKeyFrames(class ATL::CStringT<wchar_t,class StrTraitMFC<wchar_t,class ATL::ChTraitsCRT<wchar_t> > >,class CUIntArray &)" (?GetKeyFrames@@YA_NV?$CStringT@_WV?$StrTraitMFC@_WV?$ChTraitsCRT@_W@ATL@@@@@ATL@@AAVCUIntArray@@@Z) 中被引用 [C:\mpc-hc\src\filters\renderer\MpcAudioRenderer\MpcAudioRenderer.vcxproj]
08:37:02.807 34>C:\mpc-hc\bin\Filters_x86\MpcAudioRenderer.ax : fatal error LNK1120: 7 个无法解析的外部命令 [C:\mpc-hc\src\filters\renderer\MpcAudioRenderer\MpcAudioRenderer.vcxproj]

Aleksoid1978
16th January 2013, 06:08
last git c5dc593aa32c7ef5d911ae7587e40da3a0b28706 can not compile MpcAudioRenderer.ax! but compile mpc-hc.exe is ok !windows vista sp2,vs2010sp1!
08:37:02.807 34>DSUtil.lib(DSUtil.obj) : error LNK2019: 无法解析的外部符号 _AVIFileExit@0,该符号在函数 "bool __cdecl GetKeyFrames(class ATL::CStringT<wchar_t,class StrTraitMFC<wchar_t,class ATL::ChTraitsCRT<wchar_t> > >,class CUIntArray &)" (?GetKeyFrames@@YA_NV?$CStringT@_WV?$StrTraitMFC@_WV?$ChTraitsCRT@_W@ATL@@@@@ATL@@AAVCUIntArray@@@Z) 中被引用 [C:\mpc-hc\src\filters\renderer\MpcAudioRenderer\MpcAudioRenderer.vcxproj]
08:37:02.807 34>DSUtil.lib(DSUtil.obj) : error LNK2019: 无法解析的外部符号 _AVIFileRelease@4,该符号在函数 "bool __cdecl GetKeyFrames(class ATL::CStringT<wchar_t,class StrTraitMFC<wchar_t,class ATL::ChTraitsCRT<wchar_t> > >,class CUIntArray &)" (?GetKeyFrames@@YA_NV?$CStringT@_WV?$StrTraitMFC@_WV?$ChTraitsCRT@_W@ATL@@@@@ATL@@AAVCUIntArray@@@Z) 中被引用 [C:\mpc-hc\src\filters\renderer\MpcAudioRenderer\MpcAudioRenderer.vcxproj]
08:37:02.807 34>DSUtil.lib(DSUtil.obj) : error LNK2019: 无法解析的外部符号 _AVIStreamInfoW@12,该符号在函数 "bool __cdecl GetKeyFrames(class ATL::CStringT<wchar_t,class StrTraitMFC<wchar_t,class ATL::ChTraitsCRT<wchar_t> > >,class CUIntArray &)" (?GetKeyFrames@@YA_NV?$CStringT@_WV?$StrTraitMFC@_WV?$ChTraitsCRT@_W@ATL@@@@@ATL@@AAVCUIntArray@@@Z) 中被引用 [C:\mpc-hc\src\filters\renderer\MpcAudioRenderer\MpcAudioRenderer.vcxproj]
08:37:02.807 34>DSUtil.lib(DSUtil.obj) : error LNK2019: 无法解析的外部符号 _AVIFileGetStream@16,该符号在函数 "bool __cdecl GetKeyFrames(class ATL::CStringT<wchar_t,class StrTraitMFC<wchar_t,class ATL::ChTraitsCRT<wchar_t> > >,class CUIntArray &)" (?GetKeyFrames@@YA_NV?$CStringT@_WV?$StrTraitMFC@_WV?$ChTraitsCRT@_W@ATL@@@@@ATL@@AAVCUIntArray@@@Z) 中被引用 [C:\mpc-hc\src\filters\renderer\MpcAudioRenderer\MpcAudioRenderer.vcxproj]
08:37:02.807 34>DSUtil.lib(DSUtil.obj) : error LNK2019: 无法解析的外部符号 _AVIFileInfoW@12,该符号在函数 "bool __cdecl GetKeyFrames(class ATL::CStringT<wchar_t,class StrTraitMFC<wchar_t,class ATL::ChTraitsCRT<wchar_t> > >,class CUIntArray &)" (?GetKeyFrames@@YA_NV?$CStringT@_WV?$StrTraitMFC@_WV?$ChTraitsCRT@_W@ATL@@@@@ATL@@AAVCUIntArray@@@Z) 中被引用 [C:\mpc-hc\src\filters\renderer\MpcAudioRenderer\MpcAudioRenderer.vcxproj]
08:37:02.807 34>DSUtil.lib(DSUtil.obj) : error LNK2019: 无法解析的外部符号 _AVIFileOpenW@16,该符号在函数 "bool __cdecl GetKeyFrames(class ATL::CStringT<wchar_t,class StrTraitMFC<wchar_t,class ATL::ChTraitsCRT<wchar_t> > >,class CUIntArray &)" (?GetKeyFrames@@YA_NV?$CStringT@_WV?$StrTraitMFC@_WV?$ChTraitsCRT@_W@ATL@@@@@ATL@@AAVCUIntArray@@@Z) 中被引用 [C:\mpc-hc\src\filters\renderer\MpcAudioRenderer\MpcAudioRenderer.vcxproj]
08:37:02.807 34>DSUtil.lib(DSUtil.obj) : error LNK2019: 无法解析的外部符号 _AVIFileInit@0,该符号在函数 "bool __cdecl GetKeyFrames(class ATL::CStringT<wchar_t,class StrTraitMFC<wchar_t,class ATL::ChTraitsCRT<wchar_t> > >,class CUIntArray &)" (?GetKeyFrames@@YA_NV?$CStringT@_WV?$StrTraitMFC@_WV?$ChTraitsCRT@_W@ATL@@@@@ATL@@AAVCUIntArray@@@Z) 中被引用 [C:\mpc-hc\src\filters\renderer\MpcAudioRenderer\MpcAudioRenderer.vcxproj]
08:37:02.807 34>C:\mpc-hc\bin\Filters_x86\MpcAudioRenderer.ax : fatal error LNK1120: 7 个无法解析的外部命令 [C:\mpc-hc\src\filters\renderer\MpcAudioRenderer\MpcAudioRenderer.vcxproj]

Need add vfw32.lib in project;

betaking
16th January 2013, 06:16
Need add vfw32.lib in project;
:thanks: I try again!

vBm
16th January 2013, 14:49
:thanks: I try again!

yeah, it's fixed. fa5e2197 (https://github.com/mpc-hc/mpc-hc/commit/fa5e2197dca2813b5badb9b56d2e24e5de8cb254)

Aleksoid1978
17th January 2013, 07:29
Bug. If uncheck any video format, example H.264, and disable all internal video decoder - must connect "low merit" video decoder, but it don't connect and we do not see video;

THX-UltraII
17th January 2013, 19:02
I m using latest versions of madVR/MPC-HC/LAV Filters. Is it possible with this software setup to move subtitles when running 2:35:1 content from the black bars (letterbox) up? And if so, is it both possible for BDMV blu-ray structure folder content which has embedded subtitles, and for .m2ts content with added .srt subtitle file?

Armada
17th January 2013, 21:20
I m using latest versions of madVR/MPC-HC/LAV Filters. Is it possible with this software setup to move subtitles when running 2:35:1 content from the black bars (letterbox) up? And if so, is it both possible for BDMV blu-ray structure folder content which has embedded subtitles, and for .m2ts content with added .srt subtitle file?
Go to Options > Subtitles > Default Style, there you can configure all the positioning options.

ageback
18th January 2013, 06:55
I found that if the BIN directory exists then run build.bat did nothing but a flash "dos" window.Please any dev check this issue.

vBm
18th January 2013, 16:51
I found that if the BIN directory exists then run build.bat did nothing but a flash "dos" window.Please any dev check this issue.
Works just fine here. But will ask X to take a look at his rig.

kasper93
18th January 2013, 18:28
I found that if the BIN directory exists then run build.bat did nothing but a flash "dos" window.Please any dev check this issue.

Not possible :rolleyes: Please tell us what is the output of the script. Don't run it directly. Run command line first and then run the script. It will not close the window and you will be able to see the error.

kasper93
18th January 2013, 19:42
AMD released 13.1 WHQL drivers. We can read in the release notes http://support.amd.com/us/kbarticles/Pages/AMDCatalystSoftwareSuiteVersion131.aspx

Resolved Issues for the Windows 8 / Windows 7 Operating Systems:

This section provides information on resolved known issues in this release of the AMD Catalyst 13.1 software suite.
(...)
No video found in Media Player Classic Home Cinema when using full or half floating point processing

Unfortunately they are lying. This bug is present. Indeed the bug was fixed in 12.11 BETA11 but not in WHQL 13.1.

Another new bug in 13.1 are ugly artifacts with DXVA decoding in some h.264 videos. http://i.imgbox.com/acrpgLz2.png and how it should look like https://dl.dropbox.com/u/16282309/AMD/good.png
sample: https://dl.dropbox.com/u/16282309/AMD/sample.mkv
I reported this to AMD so if we are lucky they will fix it in 14.1 :rolleyes:

That say I recommend to stay with 12.10 WHQL drivers for now if you want to avoid problems.

madshi
18th January 2013, 19:51
That is pretty disappointing. The fix for full/half floating point processing also benefited madVR processing quality.

ageback
19th January 2013, 01:09
Not possible :rolleyes: Please tell us what is the output of the script. Don't run it directly. Run command line first and then run the script. It will not close the window and you will be able to see the error.

Yes I ran build in cmd window but not double click.Nothing,nothing output by the script.Just like this:

C:\MPC-HC\build(Enter)
C:\MPC-HC\

Windows 2003 SP2, VS2010 SP1.

fairchild
19th January 2013, 08:50
I can confirm issue that kasper is describing. Issue was broken in early 12.11 beta revision then fixed in later 12.11 beta, reported to AMD as well.

Dodgexander
19th January 2013, 09:49
Is there any reason why MPC-HC 1.6.6.6525 won't find any DVB channels with my PCTV Nanostick 290e?

Its a DVB-T2 Stick in the UK. Meaning it should receive Mpeg 2 video and mpeg 1 audio SD channels and h264 and LATM AAC Audio HD Channels.

MPC-BE 1.1.3.0 Picks up the channels fine but can't play them.

cca
19th January 2013, 09:51
AMD released 13.1 WHQL drivers. We can read in the release notes http://support.amd.com/us/kbarticles/Pages/AMDCatalystSoftwareSuiteVersion131.aspx



Unfortunately they are lying. This bug is present. Indeed the bug was fixed in 12.11 BETA11 but not in WHQL 13.1.

Another new bug in 13.1 are ugly artifacts with DXVA decoding in some h.264 videos. http://i.imgbox.com/acrpgLz2.png and how it should look like https://dl.dropbox.com/u/16282309/AMD/good.png
sample: https://dl.dropbox.com/u/16282309/AMD/sample.mkv
I reported this to AMD so if we are lucky they will fix it in 14.1 :rolleyes:

That say I recommend to stay with 12.10 WHQL drivers for now if you want to avoid problems.

Unfortunately I justed these drivers in my own Radeon 5850. The bug is indeed NOT fixed and still present. It was fixed on the 12.11 beta drivers though.

@madshi how exactly this affects madvr? Seems to work here.

vBm
19th January 2013, 10:13
Yes I ran build in cmd window but not double click.Nothing,nothing output by the script.Just like this:

C:\MPC-HC\build(Enter)
C:\MPC-HC\

Windows 2003 SP2, VS2010 SP1.

you need to call build.bat

do build.bat /help for more info

madshi
19th January 2013, 10:57
@madshi how exactly this affects madvr? Seems to work here.
It affects the NV12 -> RGB conversion quality when using anything DXVA2 related (decoding, deinterlacing, scaling). With those fixed 12.11 beta drivers madVR could use 16bit floating point conversion, resulting in good quality and maintaining full BTB and WTW. Now with 13.1 drivers madVR has to fall back to 10bit (I think) conversion, which is lower quality and eventually loses BTB and WTW.

cca
19th January 2013, 13:06
It affects the NV12 -> RGB conversion quality when using anything DXVA2 related (decoding, deinterlacing, scaling). With those fixed 12.11 beta drivers madVR could use 16bit floating point conversion, resulting in good quality and maintaining full BTB and WTW. Now with 13.1 drivers madVR has to fall back to 10bit (I think) conversion, which is lower quality and eventually loses BTB and WTW.

I see. In any case, I reverted back to the 12.11 beta 11 which doesn't exhibit this bug and I don't currently play any games that require newer driver.

kasper93
19th January 2013, 15:05
@Dodgexander Try disabling internal filters and use LAV or ffdshow for video decoding. Internal filters don't work with h.264 DVB live streams and that can cause problems with searching (from my experience) and later with playing ;) Don't use DXVA decoding, no matter if it's lav's or mpc's... Also you can try changing "Network Provider" in capture settings, but default "Microsoft Network Provider" should work.

Dodgexander
19th January 2013, 22:20
@Dodgexander Try disabling internal filters and use LAV or ffdshow for video decoding. Internal filters don't work with h.264 DVB live streams and that can cause problems with searching (from my experience) and later with playing ;) Don't use DXVA decoding, no matter if it's lav's or mpc's... Also you can try changing "Network Provider" in capture settings, but default "Microsoft Network Provider" should work.

Thanks kasper. Ill use lav software decoding to test it out then, but do you have any idea why with MPC-HC I can't find any channels? Whereas with the MPC-HC BE version on here it does pick up channels?

ageback
20th January 2013, 01:04
you need to call build.bat

do build.bat /help for more info

Of cause I know the /help switch.I've been building this project over 1 year.I'll take more tests.

mrglobal
20th January 2013, 03:49
Is anyone working on captions and other forms metadata following the WebVTT standard within WebM files in mpc-hc ? My interest is in metadata application usage in WebM video.

kasper93
20th January 2013, 15:29
@Dodgexander Try few times and make sure that there aren't any ghost mpc-hc/be processes running. Sometimes it doesn't close properly and lock tuner...
To be honest there shouldn't be any differences between BE and HC versions. Make sure that you have disabled internal filters ;p

You can look on that old manual made by @XPC http://www.mediafire.com/view/?sc3badr1d4ekt1f

vBm
20th January 2013, 17:28
As of today we're using our own trac. http://trac.mpc-hc.org (http://trac.mpc-hc.org)
If you want to reclaim your username please visit our wiki page Reclaim Account (http://trac.mpc-hc.org/wiki/Reclaim_Account).

openID works as well ;)

welcome :D

v0lt
20th January 2013, 20:54
Thanks!

But
http://trac.mpc-hc.org/log/?verbose=on
Fucking hash numbering. :angry:
Can I see the normal revision numbers?

nevcairiel
20th January 2013, 21:22
Git doesn't have normal revision numbers.

Armada
20th January 2013, 21:24
Thanks!

But
http://trac.mpc-hc.org/log/?verbose=on
Fucking hash numbering. :angry:
Can I see the normal revision numbers?
If you need the revision number for a hash you can use the new hash2rev.sh helper script in the contrib folder.

Snowknight26
21st January 2013, 00:26
Curiosity has gotten the best of me: Any reason for the switch?

v0lt
21st January 2013, 03:49
If you need the revision number for a hash you can use the new hash2rev.sh helper script in the contrib folder.
I need to see a log with normal revision numbers.

This skipt does not do. It generally does not show anything.
...\mpc-hc\contrib>hash2rev.sh
Welcome to Git (version 1.7.11-preview20120710)

Run 'git help git' to display the help index.
Run 'git help <command>' to display help for specific commands.

Dodgexander
21st January 2013, 05:16
@Dodgexander Try few times and make sure that there aren't any ghost mpc-hc/be processes running. Sometimes it doesn't close properly and lock tuner...
To be honest there shouldn't be any differences between BE and HC versions. Make sure that you have disabled internal filters ;p

You can look on that old manual made by @XPC http://www.mediafire.com/view/?sc3badr1d4ekt1f

That's what I thought. I think earlier versions of mpc worked but that was with a different tuner. It's very odd how be works and this doesn't. Is be based on an older version of mpc hc? Has anything been changed in relation to receiving dvb tv?

I tried again with same setting as I had a bit of success with be but still won't find channels. Thanks for all your help though!

Obviously internal filters are disabled. I tried with ffdshow and lav too! But in be it finds channels with lav fine just won't play them!

I opened a ticket (http://trac.mpc-hc.org/ticket/2869#no4) with details

(Edit) I had the offset wrong, disregard this problem.

vBm
21st January 2013, 09:49
Curiosity has gotten the best of me: Any reason for the switch?

Newer trac with lots of improvements and full control for starters :)


I need to see a log with normal revision numbers.

This skipt does not do. It generally does not show anything.
...\mpc-hc\contrib>hash2rev.sh
Welcome to Git (version 1.7.11-preview20120710)

Run 'git help git' to display the help index.
Run 'git help <command>' to display help for specific commands.


you need to specify which hash you want to convert.

for example

E:\toolz\repository\GitHub\mpc-hc\contrib>hash2rev.sh 519ef2671600df1e7db79448754152e628df2f8e

6624

Armada
21st January 2013, 22:31
I need to see a log with normal revision numbers.
I do not understand why it is so critical, but since we're still using revision numbers in the version number it would be handy if we could add them to the log in an extra column. We're trying to find out if that is possible.


E:\toolz\repository\GitHub\mpc-hc\contrib>hash2rev.sh 519ef2671600df1e7db79448754152e628df2f8e

6624
It does not need the full hash though, anything accepted by git will be accepted by the script.

Dodgexander
21st January 2013, 23:28
That's what I thought. I think earlier versions of mpc worked but that was with a different tuner. It's very odd how be works and this doesn't. Is be based on an older version of mpc hc? Has anything been changed in relation to receiving dvb tv?

I tried again with same setting as I had a bit of success with be but still won't find channels. Thanks for all your help though!

Obviously internal filters are disabled. I tried with ffdshow and lav too! But in be it finds channels with lav fine just won't play them!

I opened a ticket (http://trac.mpc-hc.org/ticket/2869#no4) with details

(Edit) I had the offset wrong, disregard this problem.

I have created a new ticket (http://trac.mpc-hc.org/ticket/2872) with information on another problem.

I cannot receive the HD Channels in the UK, plus switching to them seems to break the playback of any channel until a restart.

sonicboy520
25th January 2013, 16:41
Hi
I got a mac mini 2012 ,it came with ivybridge i5 . But when use 10bit output it get a blank screen,but the subtitle is correct. Does ivebridge supprt 10bit mode ?
The mpc-hc version is 1.6.6.6655 (4709ce8),from XhmikosR's Builds.

glorp
25th January 2013, 19:58
Something in recent builds of MPC-HC has broken the advanced subs handling in LAV splitter. If I have an mkv with eng main audio and eng subs (both flagged default, none forced, subs are srt format) and a lav advanced string of "eng:eng|f;eng:off;*:eng;*:*|f" then MPC will still show eng subs if subs are enabled in MPC. I reverted back to build 1.6.6.6464 and that reverses it so that it works as it used to. something between that and current version changed so that the eng : off match no longer works as it did to turn the subs off even when mpc subs are enabled. using evr-cp and dxva.

nevcairiel
25th January 2013, 20:09
Here is the callstack (from 1.6.6.6538) where it happens, if anyone wants to look into it:


LAVSplitter.ax!CLAVSplitter::Enable(long lIndex, unsigned long dwFlags) Line 1250 + 0x5d bytes C++
mpc-hc.exe!CMainFrame::UpdateSubtitle(bool fDisplayMessage, bool fApplyDefStyle) Line 13772 C++
mpc-hc.exe!CMainFrame::OpenMediaPrivate(ATL::CAutoPtr<OpenMediaData> pOMD) Line 12016 C++
mpc-hc.exe!CGraphThread::OnOpen(unsigned int wParam, long lParam) Line 82 C++


Edit:
Underground78 said he wants to look into it on the weekend.

STaRGaZeR
25th January 2013, 22:16
After a long time I upgraded today from r3946 to r6366, and inmediately noticed an issue with the autofit option (once again). I always have a fixed window size and position, remembered with the "Remember last window position" and "Remember last window size" options. I also use ffdshow to resize everything to screen resolution, so input video to MPC-HC is always 1680x1050. Thanks to the autofit option, each time I opened a video it was resized to fit that fixed window without issues. However in r6366 when the autofit option is enabled it doesn't matter what window size I choose, as long as I open a video MPC resizes the window(!!!) it to an apparent arbitrary size (it's always the same) and even moves(!!!) the window instead of leaving it alone.

I've tried to find the rev that caused this and it was between r4360 and r4902. I can't find any builds between these, anybody got links so I can point to the exact revision that is causing this?

Thanks in advance!

Qotscha
25th January 2013, 22:32
Something in recent builds of MPC-HC has broken the advanced subs handling in LAV splitter. If I have an mkv with eng main audio and eng subs (both flagged default, none forced, subs are srt format) and a lav advanced string of "eng:eng|f;eng:off;*:eng;*:*|f" then MPC will still show eng subs if subs are enabled in MPC. I reverted back to build 1.6.6.6464 and that reverses it so that it works as it used to. something between that and current version changed so that the eng : off match no longer works as it did to turn the subs off even when mpc subs are enabled. using evr-cp and dxva.

For me 1.6.6.6500 is the last build where LAV subtitle selection works correctly.

kasper93
25th January 2013, 22:38
For now we can use mpc-hc builds older then r6518 (7035e41). Selection of subtitle track through lav splitter menu or navigate menu in mpc-hc doesn't work too, I've reported this to Underground78 some time ago. We need to wait for the fix. It's funny that everyone discover this bug after new LAVF release ;p while the bug is present for some time. Nightly build can be broken once in a while... :)

Qotscha
25th January 2013, 23:09
Well, I think this subtitle selection bug was discovered some time ago:

http://forum.doom9.org/showthread.php?p=1610326#post1610326

http://forum.doom9.org/showthread.php?p=1610712#post1610712

It was just rediscovered now :)

STaRGaZeR
26th January 2013, 04:42
After a long time I upgraded today from r3946 to r6366, and inmediately noticed an issue with the autofit option (once again). I always have a fixed window size and position, remembered with the "Remember last window position" and "Remember last window size" options. I also use ffdshow to resize everything to screen resolution, so input video to MPC-HC is always 1680x1050. Thanks to the autofit option, each time I opened a video it was resized to fit that fixed window without issues. However in r6366 when the autofit option is enabled it doesn't matter what window size I choose, as long as I open a video MPC resizes the window(!!!) it to an apparent arbitrary size (it's always the same) and even moves(!!!) the window instead of leaving it alone.

I've tried to find the rev that caused this and it was between r4360 and r4902. I can't find any builds between these, anybody got links so I can point to the exact revision that is causing this?

Thanks in advance!

It seems it's r4858 fault. Reverting the GetZoomAutoFitScale function to r4857 fixes the weirdness. I don't get what's the logic of the new function at all TBH, will stay with a custom build with the function reverted.

Underground78
26th January 2013, 14:42
It seems it's r4858 fault. Reverting the GetZoomAutoFitScale function to r4857 fixes the weirdness. I don't get what's the logic of the new function at all TBH, will stay with a custom build with the function reverted.

Hmm I'm not sure what you're expecting exactly from Auto-fit but it doesn't seem to be what it really does (and did before). It always has been auto-fit to X% of the screen. Lately the value of X was changed to 75% and it was made a setting the user can change. My guess is that what you really want is in fact having auto-zoom completely disabled.

About the subtitles selection thing, this is a work in progress that it will be fixed one way or another in the next stable. Note that nightly builds can't be expected to be stable! While we are happy that users test them since it helps us fixing bugs we aren't aware of before a stable version is released, you have to keep in mind that those versions are and always will be considered experimental.

wanezhiling
26th January 2013, 17:10
http://www.sendspace.com/file/lc1w3a
MPC-HCs Real Video decoder causes a crash, LAV Video decoder is fine.:)

PS: Tested on MPC-HC.1.6.6.6659 x86

vBm
26th January 2013, 17:32
http://www.sendspace.com/file/lc1w3a
MPC-HCs Real Video decoder causes a crash, LAV Video decoder is fine.:)

I've just tried this sample under 1.6.5 stable and git HEAD (https://github.com/mpc-hc/mpc-hc/commit/c261330c8e33039b72f7c7e3dc4dcc0a512ec719) and it works just fine. Filter screenshot is here (http://i.imgur.com/At8NXiy.jpg).
Do you have dump file by any chance ?

wanezhiling
26th January 2013, 17:37
Do you have dump file by any chance ?
http://www.sendspace.com/file/3n7ax7

PS: I tested on MPC-HC.1.6.6.6659 x86 (http://xhmikosr.1f0.de/mpc-hc/MPC-HC.1.6.6.6659.x86.exe), default setting.

vBm
26th January 2013, 18:02
http://www.sendspace.com/file/3n7ax7

PS: I tested on MPC-HC.1.6.6.6659 x86 (http://xhmikosr.1f0.de/mpc-hc/MPC-HC.1.6.6.6659.x86.exe), default setting.

Problem was at ffmpeg (http://git.videolan.org/?p=ffmpeg.git;a=commit;h=c5c2060cf597c8eb5989ca4ba68a1eaeb59f7cdb) side. By mistake sse3 was used and being that my cpu is sse3 capable i didn't experience the problem.

It will be fixed in our next nightly by updating ffmpeg ofc. Thanks for the report.

wanezhiling
26th January 2013, 18:25
Thanks for reply, you are right, I tested on an old machine, my other PCs work fine all.

RedDwarf1
27th January 2013, 00:19
For anything but 100%, MPC 6.4.9.1 gives a sharper image than MPC-HC 1.5.2.3456 for me.

Using VMR-9 renderless and Bicubic A=-1.0 rendered as a 3D surface. It's quite noticeable.

Has anyone noticed this? Can anyone explain why?

GrofLuigi
27th January 2013, 04:03
About file associations on windows 7: I have eliminated the OS's annoyances by elevating, UACing, taking permissions on HKEY_CLASSES_ROOT (both per machine and per user) and whatnot and I want to use the "old" direct method of file association, for example:

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.avi]
@=mplayerc64.AVI

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\mplayerc64.avi]
blah blah... (whatever MPC puts there)

Now I understand it would be undesirable for some/most users to do it that way and I don't have a problem doing that part myself, but I have a question:

In order to further reduce clutter, would MPC-HC mind if I put all associations in one class (the second part, HKEY_LOCAL_MACHINE\SOFTWARE\Classes\mplayerc64.avi or whatever I call it) and have different dot-extensions (the first part) point to it?

I thought I'd ask before I do it... :)

Edit: in other words, will it be surprised/crash if, for example, MKV arrives through registry extension for .AVI? As far as I can see, all shell entries look the same, and of course, I will preserve mime types and other things in the first part for other programs. Is the grouping in options/file associations done just for convenience?

Armada
27th January 2013, 15:20
For anything but 100%, MPC 6.4.9.1 gives a sharper image than MPC-HC 1.5.2.3456 for me.

Using VMR-9 renderless and Bicubic A=-1.0 rendered as a 3D surface. It's quite noticeable.

Has anyone noticed this? Can anyone explain why?
I have not noticed anything, do you have this problem on all video files or just some? Could you make a screenshot comparison (http://screenshotcomparison.com/)?

v0lt
27th January 2013, 18:30
Attention!
Versions from 6644 to 6666 and have a bug mixer. For example, when mixing from 5.1 to stereo not mixed center channel (and possibly others). This can result to the fact that when watching a movie you will not hear the characters voices.

In the 6667 version of the bug fixed. Been used patch by Aleksoid.

clsid
27th January 2013, 19:15
There is a bug in this commit:
https://github.com/mpc-hc/mpc-hc/commit/b69c83f4e586068dace96ef7bdadf433891ab73c

"File > Open DVD/BD" gives error

To fix it
sl.AddTail(CString(Path + _T("BDMV\\index.bdmv")));
should be changed to
sl.AddTail(CString(Path + _T("\\BDMV\\index.bdmv")));
in mainform.cpp

vBm
27th January 2013, 21:53
There is a bug in this commit:
https://github.com/mpc-hc/mpc-hc/commit/b69c83f4e586068dace96ef7bdadf433891ab73c

"File > Open DVD/BD" gives error

To fix it
sl.AddTail(CString(Path + _T("BDMV\\index.bdmv")));
should be changed to
sl.AddTail(CString(Path + _T("\\BDMV\\index.bdmv")));
in mainform.cpp

Fixed at 1bac6ce8 (https://github.com/mpc-hc/mpc-hc/commit/1bac6ce838848b52336a7111949f4293a863a6a1)

Armada
27th January 2013, 21:55
Attention!
Versions from 6644 to 6666 and have a bug mixer. For example, when mixing from 5.1 to stereo not mixed center channel (and possibly others). This can result to the fact that when watching a movie you will not hear the characters voices.

In the 6667 version of the bug fixed. Been used patch by Aleksoid.
Unfortunately your commit was reverted, because we wanted the problem to be fixed upstream. They've already prepared a fix.

cca
30th January 2013, 07:54
Anyone tested these (http://support.amd.com/us/kbarticles/Pages/AMDCatalyst132BetaDriver.aspx) for the 32bit float textures bug?

kasper93
30th January 2013, 12:16
@cca: Works fine with this drivers ;)

cca
30th January 2013, 17:35
@cca: Works fine with this drivers ;)

Thank you for the feedback, I'll try to install them now then!

kasper93
30th January 2013, 19:41
Don't be too exited, they will break it in next WHQL drivers. :scared:

ageback
31st January 2013, 01:48
Update S.Chinese.

https://dl.dropbox.com/u/132862/mplayerc.sc.rc.rar

cca
31st January 2013, 05:24
Don't be too exited, they will break it in next WHQL drivers. :scared:

ROFL, I'm sure they will :D . I did install this these drivers, seem to work fine with MPC-HC and 32bit floating processing mode. madVR also seems to work, DXVA also works.

Dstruct
1st February 2013, 12:35
With MPC-HC 1.6.5.6366 (WinXP SP3) sometimes movie playback doesn't start properly. Status bar says that playback is active but it just hangs at the start of the file. I have to press Stop and Playback and then the movie playback starts. Weird. Never had this with the last stable version ...

I'm just using MPC's internal filters and decoders ...

luke823
2nd February 2013, 16:48
By any chance, is there any kind of api to embed mpc into another application?

betaking
3rd February 2013, 12:58
S.Chinese update
http://www.mediafire.com/?sns9y4tcfl1q9ql

Px
5th February 2013, 12:58
Small bug: if using Haali Media Splitter, external TrueHD track and internal TrueHD decoder, there are no sound and video played with minutes "jumps". Switching from Haali to internal splitter or switching decoding from internal to ffdshow decoder removes problem.

Jacinto
5th February 2013, 17:15
Hi, 2 questions:
How can I drag the player from the screen? (how potplayer o mpc-be) and how can I use the xy filters?, if I drag sub to player, I watch two sub in the screen (not mark "auto-load subtitles")
Please, forgive my english

betaking
7th February 2013, 08:21
last git 036ce33ea169006ffec04eb521cacab59a687142 can not compile mpc-hc.exe!
08:33:50.534 2>mplayerc.rc(3128): error RC2104: undefined keyword or key name: Saturation: [C:\mpc-hc\src\mpc-hc\mpc-hc.vcxproj] windows vista sp2,vs2010sp1!
If i use mplayerc.rc form git 64c65c2a3d2fc384822dd35bfdbaaec965b32d0d compile is ok!

vBm
9th February 2013, 15:45
As of last night (https://github.com/mpc-hc/mpc-hc/commit/cd48740354b85e9feedf1b12c69e65e29654135a) MPC-HC is digitally signed.

Superb
10th February 2013, 05:51
Is the bug w/ LAV Splitter's advanced subtitle handling fixed?

STaRGaZeR
10th February 2013, 20:08
Hmm I'm not sure what you're expecting exactly from Auto-fit but it doesn't seem to be what it really does (and did before). It always has been auto-fit to X% of the screen. Lately the value of X was changed to 75% and it was made a setting the user can change. My guess is that what you really want is in fact having auto-zoom completely disabled.

About the subtitles selection thing, this is a work in progress that it will be fixed one way or another in the next stable. Note that nightly builds can't be expected to be stable! While we are happy that users test them since it helps us fixing bugs we aren't aware of before a stable version is released, you have to keep in mind that those versions are and always will be considered experimental.

Nope, I really want to auto fit, as in when I open the video I want it to be auto fitted to a defined window. The old option did just that. The window adapted to aspect ratio too as it should. You are right regarding the old behavior though, it was just my specific situation that led me to incorrect conclusions. However after testing with the old and new algorithms I still don't see the logic in the new function: the window gets autosized to weird sizes depending on the video's aspect ratio and resolution. Window borders seem to be incorrectly calculated too. Not to mention that it's using work area instead of monitor resolution as base for calculations, which is weird.

Thing is that you're trying to achieve different things with the old and new algos. In this case I would have made both available as different options instead of just replacing the old one, since it's easy to do so.

Here's the patch I'm using that adds the old behavior (improved) as another option in the drop down list, feel free to commit it if you like it, as it doesn't touch current behavior. It also modifies the auto fit factor option to accept floats instead of just integers for more fine grained control over the scale factor. For the auto fit old option to work as before, the auto fit factor should be set to 66.66%, which is the value (2/3) that was hardcoded before.

http://www.mediafire.com/?85ddnqq9jwt6ski

pureocean
10th February 2013, 23:00
Firstly, I'm sorry, my bad english.

I always use MPC-HC's all standalone filters, expect MPC Video Decoder.
I did a test with DxVA Checker. MPCVideoDec a little better (GPU using more effective!)
than ArcSoft and Cyberlink. Thanks to developers!

Now, I wanted use MPCVideoDec filter. Playing fine but the picture is tears momentarily
when backward and forward (keyboard: left/right keys or on seeking area
from mouse). I can't read very fast subtitles, therefore I frequently use "left arrow" key.

I tried another AVC videos. Same. And tried with PotPlayer and "Mplayer2.exe". Same.
I changed MPCVidDec's settings. Same. WMR-7 and WMR-9, too.

This instant tear issue not happened ArcSoft or CyberLink 264 Filters.

I can't understand. I am just wondering if is it normal? Is MPC's own style, architecture?

My system info:
CPU: AMD Phenom II X3 710
OS: Win2003 sp2, 32-bit
Display: Radeon HD 3200 - Catalyst 13.1
MPCVideoDec.ax: 1.6.6.6739

clsid
11th February 2013, 07:16
Is the bug w/ LAV Splitter's advanced subtitle handling fixed?Not yet.

nuhkka
11th February 2013, 23:43
anybody know to fix this driver problem i'm having?

for some reason my h.264 videos decoded with dxva look blocky .. i have an intel i3-2120 with hd 2000 igpu .. i have already updated the drivers and the problem proceeds

http://i.imgur.com/Ik6B2QA.jpg

left is a video that is opened without dxva (if i enable dxva in vlc the videos will look blocky as well)

on the right is how my h.264 videos look

vivan
12th February 2013, 00:24
Don't use MPC DXVA decoder, use LAV Decoder (http://forum.doom9.org/showthread.php?t=156191) instead (with Intel QS h/w decoder).

kasper93
12th February 2013, 03:11
Don't use MPC DXVA decoder, use LAV Decoder instead (with Intel QS h/w decoder).

Great advice. :eek: really... It didn't change anything.

@nuhkka Looks like sharpening filter to me. Disable all video "enhancement" in video card driver settings.

vivan
12th February 2013, 04:49
kasper93,
1) I was responding to nuhkka.
2) that is not "sharpening", lol, this is just broken intel dxva implementation.

vBm
13th February 2013, 12:21
Building the latest commit failed:
do
git submodule update --init

and then try again.

ageback
13th February 2013, 12:24
do
git submodule update --init

and then try again.

Solved now.Thanks!

v0lt
13th February 2013, 16:22
I opened mpc-hc.sln. Chose ffmpeg and ran Rebuild.
Resuilt:
1>------ Rebuild All started: Project: ffmpeg, Configuration: Debug Win32 ------
1>Build started 13.02.2013 19:17:16.
1>PrepareForNMakeBuild:
1> Creating directory "...\mpc-hc\bin\lib\Debug_Win32\".
1>CoreClean:
1> make -j1 DEBUG=yes VS2010=yes clean
1> Cleaning ffmpeg...
1> rm -f ../../../bin/lib/Debug_Win32/ffmpeg.lib
1> rm -rf ../../../bin/obj/Debug_Win32/ffmpeg/
1> rm: cannot remove `../../../bin/obj/Debug_Win32/ffmpeg//ffmpeg.log': Permission denied
1> make.exe: *** [clean] Error 1
1>
1> ------------------------------
1> [ERROR] 'make -j1 DEBUG=yes VS2010=yes clean' - failed!
1> ------------------------------
1>
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.MakeFile.Targets(33,5): error MSB3073: The command "gccbuild.bat Clean x86 Debug Silent Nocolors" exited with code 1.
1>
1>Build FAILED.
1>
1>Time Elapsed 00:00:04.05
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
If I run the Build, then no problem.

kasper93
13th February 2013, 18:03
1> rm: cannot remove `../../../bin/obj/Debug_Win32/ffmpeg//ffmpeg.log': Permission denied
It is because MSVC write log file and "make" is trying to remove it at the same time. We need to improve cleaning in Makefile.

Before you didn't have this error because errorlevel was not reported by gccbuild.bat, it was fixed recently.

EDIT: This should resolve the problem for now. https://github.com/kasper93/mpc-hc/commit/97d037715cf1bb44ca733cfa9492ba6f014936bb

cogs
14th February 2013, 09:49
First post, hope this is the right place and you gurus can help.

Using MPC-HC 1.6.4.6052 (32687bc) on Win7 x64. I use D3D fullscreen on the secondary display (which is my TV) and refresh rate "autochange", so video plays on the TV while the MPC-HC window is visible on the PC monitor. Everything works (almost) perfectly, no tearing, beautiful smooth playback, easy to control.

Problem is, with video files that MPC-HC flags as variable frame rate it doesn't "autochange" even though the "properties" dialog shows the correct frame rate, and playback runs at constant frame rate.

I've looked at MKV header info and cannot see anything that flags as variable frame rate. How does MPC-HC determine this? What can be done to force MPC-HC to "autochange" when it incorrectly (or even correctly?) determines a file is variable frame rate?

I have tried remuxing with MKVMerge - this worked for some files but not all. I am open to suggestions as to how to fix files so that MPC-HC can properly determine constant frame rate if that's the solution.

Finally, please, please, please could the developers re-enable the Options and Open File dialogs when a video is playing in D3D fullscreen. Maybe my MPC-HC implementation is unusual but it's effective and I miss being able to fiddle with options, etc. while the kids are watching a movie!

betaking
14th February 2013, 10:25
S.Chinese update for last git
http://www.sendspace.com/file/qb3x4s

nuhkka
15th February 2013, 01:22
kasper93,
1) I was responding to nuhkka.
2) that is not "sharpening", lol, this is just broken intel dxva implementation.

is this for all intel hd 2000 computers? or could it be a hardware/software problem on my part?

vivan
15th February 2013, 01:43
It's software problem - in dxva decoder. Happens with any Intel QuickSync GPU (HD 2000, HD 3000, HD 4000 and so on). Dunno if it's some problem with documention - but almost all dxva decoders are broken (same corruption if not worse (http://3.firepic.org/3/images/2013-02/15/670pb9ez6yfu.png) on videos with high number of reference frames) and there's nothing to do with this. The only two that are working without any problem are eric's ffdshow Intel QS decoder (http://forum.doom9.org/showthread.php?t=162442) (not pure DXVA, though) and nev's LAV Decoder (http://forum.doom9.org/showthread.php?t=156191) (both QS and DXVA).

betaking
16th February 2013, 16:23
S.Chinese update for last git
http://www.sendspace.com/file/2n3zt5
fix some wrong translation!

mike23
17th February 2013, 08:36
Sorry for the question:
How (with which keys strokes) can I switch to full screen view and back to windowed view?

I got it somehow to be in full screen (with slider at the bottom) but found no way back to windowed view.

Thx
Mike

jkauff
17th February 2013, 15:40
Sorry for the question:
How (with which keys strokes) can I switch to full screen view and back to windowed view?

I got it somehow to be in full screen (with slider at the bottom) but found no way back to windowed view.

Thx
Mike
Ctrl-Enter.

mike23
17th February 2013, 18:23
Ctrl-Enter.

Does NOT work

LigH
17th February 2013, 18:41
Then try Alt+Enter.

And why don't you look into the list of assigned keys?

Snowknight26
17th February 2013, 19:38
Both of those combinations work.

v0lt
19th February 2013, 18:46
New option Normalize Matrix. Can be set to off, half or full.
http://i.imgur.com/ALX2QVr.png
mpc-hc_6806_halfnormmatrix_01.7z (http://www.mediafire.com/?n38p6tr85cgx7a4)
Yes or no?

kasper93
19th February 2013, 19:13
New features are always welcome :) I don't have opinion about this one, really. But One thing is sure, tooltip to explain things for end user, would be nice. Because this way it's little bit confusing.

BTW, You could make fork and push the change to your private repository. Then whole team could discuss the change on github.

browser
20th February 2013, 11:21
Hi all

I am trying to find a way to "detect" whether an .mkv file contains a normal or a sbs movie.
I tried to see if there are any differences through the mediainfo, and i saw that some of them (sbs) are containing some info according to this.

Is there a way to detect that in MPC HC ??
I am trying to automatically change some external filters when i am watching an sbs movie or not.

Thanks in advance !

v0lt
20th February 2013, 14:57
a sbs movie
What? :confused:

LigH
20th February 2013, 15:03
Probably "Side-by-side 3D"?

clsid
20th February 2013, 18:11
Any news on the subtitle selection issue?

browser
21st February 2013, 06:17
Sorry if this wasn't clear. Yes i am referring to side by side 3d.

hayan
21st February 2013, 14:44
XhmikosR's Builds

Certificate Patch

1.6.6.6801
Certum -> Certum Level III CA -> Open Source Developer, Fotis Zafiropoulos - Open Source Developer

1.6.6.6805-6806
Open Source Developer, Fotis Zafiropoulos - Open Source Developer

No Trusted Root Certificate Path?

vBm
22nd February 2013, 23:24
XhmikosR's Builds

Certificate Patch

1.6.6.6801
Certum -> Certum Level III CA -> Open Source Developer, Fotis Zafiropoulos - Open Source Developer

1.6.6.6805-6806
Open Source Developer, Fotis Zafiropoulos - Open Source Developer

No Trusted Root Certificate Path?
It's all normal here.
Care to make a screenshot maybe ? (in case we're not looking at the same place)

betaking
23rd February 2013, 12:10
S.Chinese update for last git
http://www.sendspace.com/file/44tusw

minaust
23rd February 2013, 14:03
Hi all.

I've just noticed that there are also Intel builds in the nighties. Is there any merit to using Intel builds over Microsoft builds or vice-versa?

LigH
23rd February 2013, 14:06
Not seriously. Most really time-critical decoder routines are already assembler optimized, the choice of the C compiler doesn't make any obvious speed difference.

minaust
23rd February 2013, 14:23
Not seriously. Most really time-critical decoder routines are already assembler optimized, the choice of the C compiler doesn't make any obvious speed difference.

Thanks for the quick response. I'll play with both, just for grins and giggles. The Intel builds do seem to be a bit bigger.

LigH
23rd February 2013, 15:05
Yes; speed optimization often results in bigger code, e.g. because loops are unrolled into repetitive sequences.

chano22000
24th February 2013, 00:45
Any news on the subtitle selection issue?
Dear mpc-hc developers,

I am stuck with mpc-hc 1.6.6.6500 as the subtitle language advanced selection provided by lav / haali splitter is broken in newer mpc-hc builds.

When do you plan to restore it ?

Thanks a lot for your overall work and solving this issue.

Armada
24th February 2013, 03:13
Dear mpc-hc developers,

I am stuck with mpc-hc 1.6.6.6500 as the subtitle language advanced selection provided by lav / haali splitter is broken in newer mpc-hc builds.

When do you plan to restore it ?

Thanks a lot for your overall work and solving this issue.

Underground78 is already working on a solution, we consider it a blocker so it will be solved before the next stable is released.

Sorry for the question:
How (with which keys strokes) can I switch to full screen view and back to windowed view?

I got it somehow to be in full screen (with slider at the bottom) but found no way back to windowed view.

Thx
Mike

Both of those combinations work.

You've accidentally hit Ctrl+F and enabled D3D Fullscreen, press Ctrl+C to stop playback and turn it off then. It is a very common problem.

In the nightly I changed the default hotkey to Ctrl+Alt+F to reduce the chances of the hotkey being hit accidentally. And I've also added a little OSD reminder when people hit escape while D3D Fullscreen is active.

Moritzio
24th February 2013, 07:44
Can I scale and change placement on embedded PGS subs in m2ts files? I'm using ffdshow for video (ffdshow DXVA) and audio. So far no luck on changing placement, but I can change scale if I use the ffdshow video decoder for PGS subs, while internal MPC-HC subs controls do not work for either. If I demux and convert SUP to SUB/IDX, then I can control those options.

hayan
24th February 2013, 09:38
It's all normal here.
Care to make a screenshot maybe ? (in case we're not looking at the same place)

http://s1.postimage.org/8oonyldal/crl.jpg

betaking
24th February 2013, 13:53
S.Chinese update for last git
http://www.sendspace.com/file/l6ql68

filler56789
24th February 2013, 15:43
http://s1.postimage.org/8oonyldal/crl.jpg

You meant http://s1.postimage.org/8oonyldal/crl.jpg alright. ;)

hayan
27th February 2013, 20:32
External Filters failure when 32bit and 64bit Filters was mixed
Options-->External Filters

MPC-HC x64 External Filters sequence
↑LAV Filters (x64) fail
↓LAV Filters (x86)

MPC-HC x86 External Filters sequence
↑LAV Filters (x86) fail
↓LAV Filters (x64)

Can you split the 32/64bit External Filters store location?
ie.
HKCU\Software\Gabest\Media Player Classic\Filters\External_x86
HKCU\Software\Gabest\Media Player Classic\Filters\External_x64

MPC-HC 1.6.6.6844 (1.6.6.6801 no problem)

vBm
28th February 2013, 00:30
@hayan

Underground78 checked it and indeed there's a problem, he's working on it and it will be addressed issue soonish (before the weekend I think)

Aleksoid1978
1st March 2013, 00:46
Re-open Ticket 2931 (https://trac.mpc-hc.org/ticket/2931). Bug still exists.

cogs
1st March 2013, 13:15
What can be done to force MPC-HC to "autochange" when it incorrectly (or even correctly?) determines a file is variable frame rate?

Does anyone have any information about this, or can maybe refer me to some?

bouwew
3rd March 2013, 13:08
Just noticed using the latest nightly builds (6854, 6865) that the player automatically starts playing the next file in the folder.
Is there a setting to turn this behavior off?

Never mind, found it : Play --> After Playback --> select Exit.
Was expecting to find this under Options somewhere...

betaking
3rd March 2013, 13:49
Just noticed using the latest nightly builds (6865) can not use EXternal MPC-HC_standalone_filters! I Have disabled the internal filters!
http://s21.postimage.org/u3nui2m91/2013_03_03_205107.png

http://s16.postimage.org/ct86wa1gj/2013_03_03_205116.png

http://s21.postimage.org/eoy06fnl1/image.jpg
last git 6d45ff5bc6519e53aad536d9156efc51b44d84a4 have this problem too!

litmusblue
3rd March 2013, 15:37
Just noticed using the latest nightly builds (6865) can not use EXternal MPC-HC_standalone_filters! I Have disabled the internal filters!
http://s21.postimage.org/u3nui2m91/2013_03_03_205107.png

http://s16.postimage.org/ct86wa1gj/2013_03_03_205116.png

http://s21.postimage.org/eoy06fnl1/image.jpg
last git 6d45ff5bc6519e53aad536d9156efc51b44d84a4 have this problem too!

same problem here :(

Armada
3rd March 2013, 16:43
It is probably caused by commit 2ccec30 (https://github.com/mpc-hc/mpc-hc/commit/2ccec30a86a326a86af9649ba5b0695c17f90cc8), though it should allow the external filters even if they're duplicates of the internal ones as long as they're disabled.

betaking
4th March 2013, 08:53
last Git 21705b23a5bd98c0df12a710d35bce533b4c41a7 not fix this problem!

Aleksoid1978
5th March 2013, 06:22
Hi developers. Why you are not reopened ticket 2931 (https://trac.mpc-hc.org/ticket/2931). ??

vBm
5th March 2013, 10:45
last Git 21705b23a5bd98c0df12a710d35bce533b4c41a7 not fix this problem!

Issue is found and it will be fixed tonight.


Hi developers. Why you are not reopened ticket 2931 (https://trac.mpc-hc.org/ticket/2931). ??

All of us tried it and no one could reproduce what you've said. Care to explain a bit more ?

betaking
5th March 2013, 10:59
OK! Thansk fox fix it!

Aleksoid1978
5th March 2013, 13:38
All of us tried it and no one could reproduce what you've said. Care to explain a bit more ?

Sorry - all ok.

vBm
5th March 2013, 23:45
OK! Thansk fox fix it!

should be fixed as of 54e98638 (https://github.com/mpc-hc/mpc-hc/commit/54e986387b05f38755cee654c788894936dbb82b)

Volfield
6th March 2013, 07:35
should be fixed as of 54e98638 (https://github.com/mpc-hc/mpc-hc/commit/54e986387b05f38755cee654c788894936dbb82b)

Still can't use xy-VSFilter (auto-loading version) when Playback -> Auto-load subtitles is checked (MPC-HC.1.6.6.6812.x86 works fine). Also Subtitles -> Misc Prefer external subtitles over embedded subtitles and Ignore embedded subtitles are checked (i use xy-VSFilter for embedded subs and MPC internal engine for external subs).

nevcairiel
6th March 2013, 12:11
Still can't use xy-VSFilter (auto-loading version) when Playback -> Auto-load subtitles is checked (MPC-HC.1.6.6.6812.x86 works fine). Also Subtitles -> Misc Prefer external subtitles over embedded subtitles and Ignore embedded subtitles are checked (i use xy-VSFilter for embedded subs and MPC internal engine for external subs).

This is kinda intentional. As soon as you enable the Internal Subtitle Renderer, it blocks external VSFilter, because otherwise they may conflict rather oddly. Its not a supported use-case at this time.

One thing related to this that i find rather stupid is that all the forks of VSFilter don't change the name and CLSID of their filters, which results in MPC-HC thinking this is vanilla VSFilter, which has the exact same features as the ISR, and deserves to be blocked. If the xy-VSFilter people would just change the CLSID of the filter (and possibly the same to include xy as well, for good measure), this wouldn't even happen.

Additionally, i have no clue why you would want the ISR for some subtitles but not for others (or vice versa). :)

TL;DR: Ask the xy-VSFilter developers to change the CLSID of their filter, so it doesn't collide with vanilla VSFilter anymore.

Armada
6th March 2013, 12:30
TL;DR: Ask the xy-VSFilter developers to change the CLSID of their filter, so it doesn't collide with vanilla VSFilter anymore.
If we decide this is the best course of action I'll send them a suggestion myself.

hayan
6th March 2013, 17:14
"disable desktop composition (Aero)" no effect on Win8, gray out it?

clsid
6th March 2013, 17:28
Still can't use xy-VSFilter (auto-loading version) when Playback -> Auto-load subtitles is checked (MPC-HC.1.6.6.6812.x86 works fine). Also Subtitles -> Misc Prefer external subtitles over embedded subtitles and Ignore embedded subtitles are checked (i use xy-VSFilter for embedded subs and MPC internal engine for external subs).You can control the blocking of (xy-)VSFilter with the hidden option "BlockVSFilter" in the Registry (or INI).

But using different renderers for external/embedded subs is just silly.

cyberbeing
7th March 2013, 10:23
The main reason why xy-VSFilter has maintained the original CLSID, is to maintain drop-in compatibility with any existing third-part applications or codecs which either manually load or contain workarounds for VSFilter.dll

IMHO, blocking VSFilter.dll in MPC-HC when the ISR is enabled is the correct behavior to have, otherwise you risk problem like the ISR rendering subtitles on top of VSFilter.dll rendering and killing performance. Unfortunately there is a lot of bad advice on the internet, and anybody who sets the non-autoloading version "DirectVobSub" to prefer in MPC-HC will cause both ISR and VSFilter to render subtitles at the same time, even in the current version I tested 1.6.6.6899. This is by far the most common issue I've seen people run into when they attempt to migrate from using the MPC-HC ISR to VSFilter.dll.

If MPC-HC really does have a hidden "BlockVSFilter" key in the registry, in many ways I would like if it would also block would also cover "DirectVobSub" set to prefer in the external filters when the ISR is enabled, like it already does for the auto-loading version. This would have a large benefit of fixing what I suspect are a large number of semi-broken MPC-HC subtitle setups in the wild. The users who require this specific behavior would still be able to enable it by disabling the hidden BlockVSFilter registry key.

On the other side, it can also still confusing to many users that the poorly labeled "Auto-load subtitles" setting in MPC-HC control is really an "Enable MPC-HC ISR subtitle auto-loading / Disable VSFilter" toggle. I would normally suggest adding informative tooltips, but that would likely confuse users even more. At some point the entire subtitle settings dialog likely needs to be redesigned to more gracefully control whether the internal or potentially one of multiple external subtitle renderers is allowed to load. This entire situation is just going to get more complex once xy_sub_filter using the new subtitle interface is released, with only madVR initially supporting it.

pankov
7th March 2013, 10:54
I think it could be useful to have the ability to display more than one subtitles on screen (AFAIK currently this is only possible using two different subtitle renderers, right?).
For example if you are using a teaching video you can have to the original language subtitles and ones in your native language position at a different place on the screen.
This way the viewer can hear and see the original language and at the same time see the translation.
I'm not saying that this is a common usage but it has practical benefits so why remove it?

wanezhiling
14th March 2013, 04:34
http://pan.baidu.com/share/link?shareid=376288&uk=3558042035
Can't recognize audio track(AAC), lav splitter is fine.

vBm
14th March 2013, 19:05
http://pan.baidu.com/share/link?shareid=376288&uk=3558042035
Can't recognize audio track(AAC), lav splitter is fine.

Fixed as of 0fe0f107 (https://github.com/mpc-hc/mpc-hc/commit/0fe0f107d6894ce48aa1ed6dd610aac80d123be8) thanks to Aleksoid.

vBm
17th March 2013, 20:26
After 3 months since the last stable build, we decided to release 1.6.6.

This release has many bugfixes and a few new features. Also, the binaries are digitally signed (http://mpc-hc.org/2013/02/25/binaries-are-signed/) so you can easily verify their integrity.

Highlights of this release:

Uncompressed RAR files can now be played directly in MPC-HC, drag any .rar or part file (.r00, .r01, etc.) into the player to play it (thanks to RARFileSource)
The Subtitle menu now shows all available subtitle tracks including the tracks offered by the splitter
“Now playing” information can now be sent to Skype’s mood message, MSN support has been removed
VSync is now turned off by default due to playback issues, if you have Aero on you already have VSync and will not notice the difference
The hotkeys related to D3D Fullscreen and Frame Time Correction have changed to avoid accidental activation
The external filter list has been split for the 32-bit and 64-bit versions of the player, your current filter list will automatically be corrected


Also besides the usual localization updates a new Romanian localization has been added. We thank our translators for keeping MPC-HC accessible to our non-English users.

You can download the new version here (http://mpc-hc.org/downloads/). For the complete changes see the changelog (http://mpc-hc.org/changelog/).

And if you're interested in looking at commits since the last stable you can see it here (https://github.com/mpc-hc/mpc-hc/compare/1.6.5...1.6.6). We've had 591 commits by 22 authors. :)

chano22000
17th March 2013, 21:41
Does version 1.6.6 correct as planned the subtitle language advanced selection provided by lav / haali splitter broken after mpc-hc 1.6.6.6500 ?

Underground78 is already working on a solution, we consider it a blocker so it will be solved before the next stable is released.


Thanks for your work.

Armada
17th March 2013, 21:53
Does version 1.6.6 correct as planned the subtitle language advanced selection provided by lav / haali splitter broken after mpc-hc 1.6.6.6500 ?
Yes, extra options regarding that have been added to Subtitles > Misc, but the default should work.

chano22000
19th March 2013, 11:16
Yes, extra options regarding that have been added to Subtitles > Misc, but the default should work.

I have just updated with the latest build (1.6.7.6967) from 1.6.6.6500 (the latest before the bug) and made a quick check.

The advanced subtitles selection as handled by haali or lav splitter seems to work again, but the audio selection menu is now greyed out (just above the subtitle selection menu available in full screen mode) as if there is only one audio track even though several are available for selection. Shortcuts still work to get next/previous audio track.

Apparently a GUI issue.

Thanks again for your fantastic collaborative work.

clsid
19th March 2013, 16:02
Embedded audio tracks can be selected in the Navigate menu. It has always been that way. Showing those tracks in the Play menu is still on the ToDo list.

vivan
19th March 2013, 18:02
Feature request: support for "wildcard character" in Autoload paths (Subtitles -> Misc).
It's useful if you have several folders with subtitles. E.g. I have different translations in folders with name like "Subs [somebody]" and want to add folder "Subs *" to autoload path once and for all.

Armada
19th March 2013, 20:59
Feature request: support for "wildcard character" in Autoload paths (Subtitles -> Misc).
It's useful if you have several folders with subtitles. E.g. I have different translations in folders with name like "Subs [somebody]" and want to add folder "Subs *" to autoload path once and for all.
Please make a feature request on the bug tracker (https://trac.mpc-hc.org/wiki/How_to_Report_Issues) so we can discuss it.

jkauff
20th March 2013, 03:44
Search didn't turn up anything, has there been any information posted about the pixel shaders listed in the right-click menu? I'd like to know what each one does, and when they might be appropriate to use.

EDIT: I realize these shaders are enabled by madVR, but if I understand the issue correctly the choice of what shaders to offer is up to the player developers.

Dodgexander
21st March 2013, 03:43
Check the pixel shader pack thread in the same sub forum as this one.

You can add to madvr even.

Sent from my Blade S using Tapatalk 2

pankov
21st March 2013, 11:59
Check the pixel shader pack thread in the same sub forum as this one.

You can add to madvr even.

Sent from my Blade S using Tapatalk 2

Would you mind sharing a link?
I did a quick look and didn't see it. Are you sure it's in this subforum?

LigH
21st March 2013, 12:44
You did not try entering "pixel shader pack" into the forum search, did you?

Video pixel shader pack (http://forum.doom9.org/showthread.php?t=157634&highlight=pixel+shader+pack)

jkauff
21st March 2013, 17:19
The information is in that thread, but it's outdated now that madVR has incorporated some of the routines. It would be good to know why the MPC-HC devs chose the particular 22 shaders they did (some seem redundant with madVR settings), along with a short explanation of when it might be appropriate to use them. Some, like Emboss, seem to be included just because they exist rather than being truly useful.

clsid
21st March 2013, 18:10
Shaders are not just for use with madVR, but also for other (less advanced) renderers.

wanezhiling
22nd March 2013, 02:30
http://forum.doom9.org/showpost.php?p=1620759&postcount=14526
jitter in dxva mode.
work fine in sw mode (MPC MPEG Video Decoder).

latest build 6978

pankov
22nd March 2013, 09:32
You did not try entering "pixel shader pack" into the forum search, did you?

Video pixel shader pack (http://forum.doom9.org/showthread.php?t=157634&highlight=pixel+shader+pack)

You are absolutely correct - I didn't try it because I was browsing from the phone and didn't have the time.

Now that I'm on the PC I did see it using either your link or the search function but I find it very strange that even now I can't seem to find it while simply browsing this subforum. I see a list of all topics and it's not there !?!?!? It says "Showing threads 1 to 23 of 23" and the one for the shaders pack is missing !?!?
Is it only me or there is a bug in the forum software?

romulous
22nd March 2013, 09:49
Is it only me or there is a bug in the forum software?

Down the bottom of the forum (just under where it shows 'showing threads 1 to 23 of 23'), change the 'from the' field from 'last month' to 'last 2 months'. Then, check the second page of threads - the relevant thread is the first thread on the second page :) As the last reply in that thread is over a month ago, it does not show in the thread list by default (as 'from the' defaults to 1 month).

For anyone wondering why the sudden interest in the pixel shaders, Blight is looking to add support for custom pixel shaders to Zoom Player (for use with madVR), and has asked for comment from the community on the design, and what pixel shaders to include etc

judelaw
29th March 2013, 12:44
monitor (pri) + TV (ext)
mpc-hc on TV, play
Win+P - disable monitor
player hangs, but not crash (if return monitor (win+P -enable monitor), playback restores already on the monitor)
EVR - good, EVR CP - bad, VMR* - not good, SYNC renderer, madVR - good

it seems the problem appeared after r1050 (1048?) (4 years ago) :) 1043 - good

chano22000
29th March 2013, 19:12
Hi,

I updated from MPC-HC.1.6.7.6967 to the latest available built (MPC-HC.1.6.7.7010).

When in D3D fullscreen (Windows XP - EVR/CP) and moving the mouse down, the navigation bar appears and is clickable but no cursor appears anymore which now makes the feature unusable.

I suspect this bug might be related to the recent "Replace "On top > Never" by "On top > Default" committed March 24th, 2013.

Best regards.

Dodgexander
30th March 2013, 05:41
Down the bottom of the forum (just under where it shows 'showing threads 1 to 23 of 23'), change the 'from the' field from 'last month' to 'last 2 months'. Then, check the second page of threads - the relevant thread is the first thread on the second page :) As the last reply in that thread is over a month ago, it does not show in the thread list by default (as 'from the' defaults to 1 month).

For anyone wondering why the sudden interest in the pixel shaders, Blight is looking to add support for custom pixel shaders to Zoom Player (for use with madVR), and has asked for comment from the community on the design, and what pixel shaders to include etc

But you can already add custom pixel shaders in mpc-hc

Sent from my Blade S using Tapatalk 2

romulous
30th March 2013, 06:13
But you can already add custom pixel shaders in mpc-hc

As I mentioned in my post, we are talking about Zoom Player, not MPC.

nikusor665
31st March 2013, 08:53
I'm having a problem with mpc-hc

It plays all the audio tracks of a movie file at once , I cant select only one of them under the Filters menu, like I did with earlier versions of mpc-hc.

I even tried installing the older versions, but the problem persists.

What can I do ?

Skibicki
31st March 2013, 13:25
nikusor665, enable audio switcher in internal filters

nikusor665
31st March 2013, 16:26
Ok that seems to do the trick.

However, I'm using and have used (an older version of) ffdshow for its wonderful normalize feature and the audio switcher has its own not so good normalize feature and some other stuff that I do not enable of course, but running both internal audio switcher and ffdshow is that theoretically ok ? Cause if I dont enable audio switcher, ffdshow works fine on its own where there's only one audio track.

jmartinr
31st March 2013, 16:50
Ok that seems to do the trick.

However, I'm using and have used (an older version of) ffdshow for its wonderful normalize feature and the audio switcher has its own not so good normalize feature and some other stuff that I do not enable of course, but running both internal audio switcher and ffdshow is that theoretically ok ? Cause if I dont enable audio switcher, ffdshow works fine on its own where there's only one audio track.

Disable the nomalize feature of the audio switcher and just try.

wanezhiling
31st March 2013, 17:14
Did anyone notice latest mpc-hc encounter corrupt image in dxva mode on H.264 ts files, especially AMD.

vBm
31st March 2013, 17:21
Did anyone notice latest mpc-hc encounter corrupt image in dxva mode on H.264 ts files, especially AMD.

Yes, and that commit (https://github.com/mpc-hc/mpc-hc/commit/6d51fc694ab79ea51e530ba7eeab7ea3a548e9a8) has been reverted for now.

It was v0lt's commit with help of Aleksoid1978 for fixing playback on Intel HD.

Dodgexander
31st March 2013, 20:40
As I mentioned in my post, we are talking about Zoom Player, not MPC.

Read the thread title? I know that's what a mod would say ;D

---

Since updating to the latest version the mpc-hc.exe process often(but not always) doesn't end when I close the program. Anyone else with this problem?

Sent from my Blade S using Tapatalk 2

JanWillem32
1st April 2013, 00:45
Since updating to the latest version the mpc-hc.exe process often(but not always) doesn't end when I close the program. Anyone else with this problem?Is this only when the internal subtitle rendererer was used? The subtitle renderer shares a badly designed thread lock with the main thread. When closing it can stall a very long time. Especially in debug builds it can take over a minute (without actually faulting). Though this particular lock has been in there for a long time, thread locking issues may have been aggravated by recent revisions.

romulous
1st April 2013, 01:52
Read the thread title? I know that's what a mod would say ;D


Everyone who has posted about the shaders here knows this is a MPC-HC topic. The reason why the question was posted here was that the MPC-HC shaders are ones that Blight is considering using in Zoom - so, the obvious place to ask 'what do these particular shaders do' (which is essentially what was asked), is here in the MPC-HC topic. So, not O/T at all.

truexfan81
1st April 2013, 04:25
Read the thread title? I know that's what a mod would say ;D

---

Since updating to the latest version the mpc-hc.exe process often(but not always) doesn't end when I close the program. Anyone else with this problem?

Sent from my Blade S using Tapatalk 2

Is this only when the internal subtitle rendererer was used? The subtitle renderer shares a badly designed thread lock with the main thread. When closing it can stall a very long time. Especially in debug builds it can take over a minute (without actually faulting). Though this particular lock has been in there for a long time, thread locking issues may have been aggravated by recent revisions.

i have this problem also, and i do not use subtitles, mine does it every 3 or 4 times i exit

Dodgexander
1st April 2013, 05:41
No, afraid I don't use subtitles.
This happened only since the latest update on two pc's.

LigH
1st April 2013, 18:03
http://gcc.gnu.org/gcc-4.8/

GCC 4.8.0 released.

WARNING

Changelog: (http://gcc.gnu.org/gcc-4.8/changes.html)
GCC now uses a more aggressive analysis to derive an upper bound for the number of iterations of loops using constraints imposed by language standards. This may cause non-conforming programs to no longer work as expected, such as SPEC CPU 2006 464.h264ref and 416.gamess. A new option, -fno-aggressive-loop-optimizations, was added to disable this aggressive analysis. In some loops that have known constant number of iterations, but undefined behavior is known to occur in the loop before reaching or during the last iteration, GCC will warn about the undefined behavior in the loop instead of deriving lower upper bound of the number of iterations for the loop. The warning can be disabled with -Wno-aggressive-loop-optimizations.

:o A compiler which fails compiling the SPEC benchmark suite correctly without specific switches was released. :stupid:

nevcairiel
1st April 2013, 18:07
:o A compiler which fails compiling the SPEC benchmark suite correctly without specific switches was released. :stupid:

A benchmark which relys on undefined/non-spec conform behaviour in a compiler :stupid:

LigH
1st April 2013, 18:22
Not only ... there may be more software which expects a compiler to generate binaries working as expected, no matter if optimization is enabled or not. ;)

nevcairiel
1st April 2013, 18:28
Not only ... there may be more software which expects a compiler to generate binaries working as expected, no matter if optimization is enabled or not. ;)

If you write your code so that someone reading the code with a C spec at hand can't tell you what is the expected result, what is the compiler supposed to do?

The point is, the only code thats broken is code which is itself broken, because it abuses parts of C which are basically undefined, so the result is undefined.
Read the GCC 4.8 release notes, it links to pages that explain why stuff breaks, and why the code is illegal.

And in any case, its not going to get chaged back in GCC, so might as well test and if such occurances occur, the undefined code should be fixed, not the compiler.

I didn't switch to 4.8 myself yet because i didn't have time to test everything, and the benefit is usually very small, but this wouldn't be a reason not to.

corporalgator
1st April 2013, 21:51
I'm also having a problem with the program not closing after I hit close since the last update. No subtitles used. It happens about every other time for me. I have it to close automatically or I just hit close, which should dump me back into XBMC, but instead I get stuck on a black screen, and I have to bring up task manager to kill the process.

Switching applications doesn't work since the app has been closed, but not the process.

Dodgexander
2nd April 2013, 21:11
I'm also having a problem with the program not closing after I hit close since the last update. No subtitles used. It happens about every other time for me. I have it to close automatically or I just hit close, which should dump me back into XBMC, but instead I get stuck on a black screen, and I have to bring up task manager to kill the process.

Switching applications doesn't work since the app has been closed, but not the process.

Exactly the same as me, I first noticed it because reclock comes up each time saying that the audio is locked by another application (the previous process still running).

Sent from my Blade S using Tapatalk 2

clsid
3rd April 2013, 00:23
Test old builds to narrow down the range in which the problem started. That will be helpful for the devs.
http://xhmikosr.1f0.de/mpc-hc/old/

vood007
3rd April 2013, 20:12
I just found out that FXAA works with MPCHC directly when adding a profile for MPC in NV Control Panel and turning on FXAA. Works surprisingly good for reducing flickering from over sharpening. Try it... Maybe some On/Off options can be build into MPC directly?

JanWillem32
3rd April 2013, 21:49
FXAA is a 3D-perspective attuned pixel shading method to approximate higher levels of supersampling ('natural') anti-aliasing on output to the presentation buffers. It most certainly works on a 2D view of a single texture (the video output form), but such a heavy process is in the case of a video renderer better spent on the natural form of the input video. Meaning; filtering the images from the video in their generally Y'CbCr, chroma down-sampled, unresized state (and maybe a mild, but specific filter to compensate for the various resizer flaws after resizing). With the more decent video renderers the quality issues seen with consumer-grade video sources are not caused at the output stage of the video renderer where FXAA can be activated. Pretty much only the low quality of the video source matters.

turbojet
4th April 2013, 06:20
vood007: Thanks for sharing the tip. FXAA helps clean up the edges nicely, without much blur, especially SD sources on HD displays even with Jinc resizing. Another scenario it helps me is downscaling sources, due to lack of a Jinc like resizer. BTW if anyone is interested in sharpening, LumaSharpen (http://dropcanvas.com/l46x9) which doesn't get much attention on this board, does a really good job sharpening everything but high contrast edges by default. It might be deserving of adding to default mpc shaders.

vood007
4th April 2013, 13:57
vood007: Thanks for sharing the tip. FXAA helps clean up the edges nicely, without much blur, especially SD sources.....

Yes Lumasharpen and FXAA is a nice combo and a perfect finisher for my ffdshow/avisynth filter chain and best thing is it runs on GPU. For better control of GPU clocks i use Nvidia Inspectors (http://blog.orbmu2k.de/) Multi Display Power Saver and added MPC to its video profile. This way the card does not use full 3D clocks while watching videos.

toniash
4th April 2013, 15:15
Yes Lumasharpen and FXAA is a nice combo and a perfect finisher for my ffdshow/avisynth filter chain and best thing is it runs on GPU. For better control of GPU clocks i use Nvidia Inspectors (http://blog.orbmu2k.de/) Multi Display Power Saver and added MPC to its video profile. This way the card does not use full 3D clocks while watching videos.

How can I use FXAA on AMD/ATI?

JanWillem32
4th April 2013, 15:48
By implementing your own pixel shader stages. From what I've seen from the source code of an FXAA project, the regular stages for pre-resize and post-resize pixel shaders won't suffice, as secondary texture buffers are used (and it depends on a few extra environment variables). It's reasonably easy to create such stages when you have access to a renderer's internal rendering path.

Dodgexander
5th April 2013, 03:16
Test old builds to narrow down the range in which the problem started. That will be helpful for the devs.
http://xhmikosr.1f0.de/mpc-hc/old/

I have been trying to repeat the problem for a while, but the problem is it happens so intermittently its almost impossible to repeat.

GTPVHD
5th April 2013, 10:07
http://blogs.msdn.com/b/somasegar/archive/2013/04/04/visual-studio-2012-update-2-now-available.aspx

http://www.microsoft.com/en-us/download/details.aspx?id=38188

http://support.microsoft.com/kb/2797912

corporalgator
5th April 2013, 17:53
I downloaded the latest nightly and the problem with mpc not exiting correctly seems to have been fixed. I'll report back if it really isn't.

Armada
5th April 2013, 18:51
http://blogs.msdn.com/b/somasegar/archive/2013/04/04/visual-studio-2012-update-2-now-available.aspx

http://www.microsoft.com/en-us/download/details.aspx?id=38188

http://support.microsoft.com/kb/2797912

We were hoping that the compiler bug (https://connect.microsoft.com/VisualStudio/feedback/details/776147/bug-in-vs2012-x64-optimizing-compiler) we reported would be fixed in that release. It seems they fixed a problem very similar to it, but we're still able to reproduce it. Don't worry about compiling MPC-HC under VS2012 though, we worked around this bug as soon as we reported it.

corporalgator
6th April 2013, 02:58
Nevermind, latest nightly still has no exit problem. I'll go back and see if I can find out where it started.

betaking
6th April 2013, 05:11
S.Chinese update
http://www.sendspace.com/file/vaoq67

Dodgexander
6th April 2013, 15:26
Nevermind, latest nightly still has no exit problem. I'll go back and see if I can find out where it started.

Thanks for this, I am trying the penultimate stable build at the moment and so far no exit problems. But it doesn't happen every time(or when you expect it too) which is a pain.

Sent from my Blade S using Tapatalk 2

wanezhiling
6th April 2013, 16:29
http://pan.baidu.com/share/link?shareid=421917&uk=3558042035
mpc-hc can't handle the subtitle properly.

cyberbeing
7th April 2013, 04:32
http://pan.baidu.com/share/link?shareid=421917&uk=3558042035
mpc-hc can't handle the subtitle properly.

The first line under [Script Info] is GB2312 ASCII which is invalid because it cannot co-exist with the rest of the file which was saved as UTF-8 with signature. Essentially the file is corrupted. Remove or fix that first line to be valid UTF-8, and that script should work properly.

Aleksoid1978
7th April 2013, 09:16
The first line under [Script Info] is GB2312 ASCII which is invalid because it cannot co-exist with the rest of the file which was saved as UTF-8 with signature. Essentially the file is corrupted. Remove or fix that first line to be valid UTF-8, and that script should work properly.

MPC-BE handle the subtitle properly.

cyberbeing
7th April 2013, 11:04
xy-VSFilter used to handle that subtitle properly as well. At least on our end, this behavior is caused from merging in MPC-HC's UTF-8 without BOM auto-detection commits.

https://github.com/mpc-hc/mpc-hc/commit/7cb86ad153e6c6409a49cd1f9546aaa7411c514a
https://github.com/mpc-hc/mpc-hc/commit/fcfb1bac41f643fcbecfab81af5c45384819c8db
https://github.com/mpc-hc/mpc-hc/commit/6d1472b2f18266d92e5bc068667de348c0cd3b3b

@Aleksoid1978
Do you have a fixed version of those commits in MPC-BE, or do you just not include the UTF-8 auto-detection behavior at all?

Aleksoid1978
7th April 2013, 11:09
xy-VSFilter used to handle that subtitle properly as well. At least on our end, this behavior is caused from merging in MPC-HC's UTF-8 without BOM auto-detection commits.

https://github.com/mpc-hc/mpc-hc/commit/7cb86ad153e6c6409a49cd1f9546aaa7411c514a
https://github.com/mpc-hc/mpc-hc/commit/fcfb1bac41f643fcbecfab81af5c45384819c8db
https://github.com/mpc-hc/mpc-hc/commit/6d1472b2f18266d92e5bc068667de348c0cd3b3b

@Aleksoid1978
Do you have a fixed version of those commits in MPC-BE, or do you just not include the UTF-8 auto-detection behavior at all?

I do not use code from MPC-HC for UTF-8 detection.

cyberbeing
7th April 2013, 11:59
I do not use code from MPC-HC for UTF-8 detection.

Let me ask this a different way...

Has MPC-BE enhanced the original Guliverkli/Gabest VSFilter code to include support for UTF-8 w/o BOM auto-detection, or are you using the original Gabest code for opening subtitles? The original Gabest code works with wanezhiling's sample, but it does not do auto-detection.

In other words, does MPC-BE have source code which provides UTF-8 w/o BOM auto-detection, which I could merge into xy-VSFilter as a replacement for MPC-HC's commits?

Aleksoid1978
7th April 2013, 12:05
Let me ask this a different way...

Has MPC-BE enhanced the original Guliverkli/Gabest VSFilter code to include support for UTF-8 w/o BOM auto-detection, or are you using the original Gabest code for opening subtitles? The original Gabest code works with wanezhiling's sample, but it does not do auto-detection.

In other words, does MPC-BE have source code which provides UTF-8 w/o BOM auto-detection, which I could merge into xy-VSFilter as a replacement for MPC-HC's commits?

I use utf8 cpp library Release 2.3.2 for detect UTF-8.
https://sourceforge.net/projects/utfcpp/

nevcairiel
7th April 2013, 12:14
as a replacement for MPC-HC's commits?

Its not that MPC-HCs detection code is not working, its actually functioning perfectly - it does what its supposed to do (if thats the right thing is another question)
It tries to read the file as UTF-8, and if that fails, it by design goes back to Text/ANSI parsing. Considering this file is a mixture of both, it could easily go either way.

However, since this file actually has a UTF-8 BOM, this should probably overrule the fallback to ASCII/ANSI, and ignore the invalid line instead.
Sounds like an easy fix, i'll open a PR at Github.

For some reason people always seem to run to "revert" or "replace" instead of going with the solution of "fix". ;)

PS:
Changes here: https://github.com/mpc-hc/mpc-hc/pull/69

cyberbeing
7th April 2013, 15:30
Its not that MPC-HCs detection code is not working, its actually functioning perfectly - it does what its supposed to do (if thats the right thing is another question)
It tries to read the file as UTF-8, and if that fails, it by design goes back to Text/ANSI parsing. Considering this file is a mixture of both, it could easily go either way.

However, since this file actually has a UTF-8 BOM, this should probably overrule the fallback to ASCII/ANSI, and ignore the invalid line instead.

That's what I figured was going on, when I noticed ASCII on the first line of a script saved as UTF-8 w/ BOM.


For some reason people always seem to run to "revert" or "replace" instead of going with the solution of "fix". ;)
As a non-programmer myself, "fix" usually isn't a viable option. ;)

Sounds like an easy fix, i'll open a PR at Github.

PS:
Changes here: https://github.com/mpc-hc/mpc-hc/pull/69

Thanks nevcairiel, and Aleksoid1978 as well for pointing out that alternative UTF-8 detection library.

I had already finished merging what Aleksoid1978 pointed out before I noticed your post, so I guess I'll compare the two methods at some point.

wanezhiling
8th April 2013, 07:37
http://forum.doom9.org/showpost.php?p=1623115&postcount=983
MPC-HC can handle this smi subtitle, but can't handle like what PotPlayer did.

PotPlayer (http://i.imgur.com/NyBKy19.png) can choose KR+EN or KR or EN.:)

mpc-hc (http://i.imgur.com/MY0bLrw.png)

vBm
8th April 2013, 17:24
S.Chinese update
http://www.sendspace.com/file/vaoq67

That file is already in the HEAD. You either didn't save your changes or you uploaded wrong file.

Can you post new one ?

betaking
9th April 2013, 03:37
That file is already in the HEAD. You either didn't save your changes or you uploaded wrong file.

Can you post new one ?

OK!
http://www.sendspace.com/file/v1zpw1

vBm
9th April 2013, 11:59
OK!
http://www.sendspace.com/file/v1zpw1

Thanks. Merged as of 4868661a (https://github.com/mpc-hc/mpc-hc/commit/4868661a40733274c4d0bfcf405b2bed6a2e44dc)

dbcooper
10th April 2013, 05:51
Forgive me if this is a silly question, but is it possible that support for Media Foundation filters will be added?

Armada
10th April 2013, 10:55
Forgive me if this is a silly question, but is it possible that support for Media Foundation filters will be added?
We'd like to support it, but MPC-HC is in essence a DirectShow player. Supporting Media Foundation would require a lot of work. On top of that it would most likely mean dropping support for DirectShow, I can't see those two frameworks working nicely alongside each other in one player.

JanWillem32
10th April 2013, 19:24
EVR-CP already has some commented out sections for the Media Foundation parts. These were left by previous developers. However, there's no Media Foundation graph builder to use it in the main program. (I guess using the system default graph builder would suffice, though.) Because splitters, decoders, renderers and menu navigation filters for Media Foundation are rare right now, a lot of these would have to be converted from DirectShow parts.
I personally very much prefer Media Foundation over DirectShow. The Media Foundation systems are much more modern, and there are more features.
Because we will still support Windows XP SP3 for some time to come, we can't drop support for DirectShow just yet. I don't see Media Foundation and DirectShow inside the same executable happening, either.

truexfan81
10th April 2013, 22:52
EVR-CP already has some commented out sections for the Media Foundation parts. These were left by previous developers. However, there's no Media Foundation graph builder to use it in the main program. (I guess using the system default graph builder would suffice, though.) Because splitters, decoders, renderers and menu navigation filters for Media Foundation are rare right now, a lot of these would have to be converted from DirectShow parts.
I personally very much prefer Media Foundation over DirectShow. The Media Foundation systems are much more modern, and there are more features.
Because we will still support Windows XP SP3 for some time to come, we can't drop support for DirectShow just yet. I don't see Media Foundation and DirectShow inside the same executable happening, either.

would dropping DirectShow cause filters such as lav and madvr to stop working?

JanWillem32
11th April 2013, 00:09
In their current form, yes indeed.

dukey
11th April 2013, 00:29
There isn't even a dvd navigator for media foundation I believe.

MokrySedeS
12th April 2013, 10:24
Is there any progress with this (https://trac.mpc-hc.org/ticket/1295) feature request? Any plans?
MediaPortal already added support (http://wiki.team-mediaportal.com/1_MEDIAPORTAL_1/0_What's_New/1.3.x/Native_Blu-ray_Support) for this, but I like MPC-HC so much more...

TheElix
13th April 2013, 15:30
http://msdn.microsoft.com/en-us/library/windows/desktop/ms684247%28v=vs.85%29.aspx
Are developers aware of this Windows function? This is different than simply setting process priority in task manager. This feature is already used by foobar2000 and it helps to reduce drop-outs (and its consequences: pops, crackling, stuttering etc.). It could help video playback greatly.

vBm
14th April 2013, 00:55
http://gcc.gnu.org/gcc-4.7/

GCC 4.7.3 released.
Next nightly should be compiled using 4.7.3 toolchain.

http://msdn.microsoft.com/en-us/library/windows/desktop/ms684247%28v=vs.85%29.aspx
Are developers aware of this Windows function? This is different than simply setting process priority in task manager. This feature is already used by foobar2000 and it helps to reduce drop-outs (and its consequences: pops, crackling, stuttering etc.). It could help video playback greatly.

Underground78 replied to me on IRC and said that he is aware of it and that we already use that.

[21:07:04] <@vBm> unrelated ... when you have time ... check this out Underground78 -> http://forum.doom9.org/showpost.php?p=1624019&postcount=372
[21:07:55] <@Underground78> vBm: we already use that
[21:09:22] <@Underground78> vBm: yes I've found call to that function

Mangix
14th April 2013, 01:02
It could help video playback greatly.
no.

video is not audio. that being said, the audio renderer can use this if it does not already.

also, madVR does something similar already.

TheElix
14th April 2013, 18:03
Underground78 replied to me on IRC and said that he is aware of it and that we already use thatNice. Is it set by default to max priority (Pro Audio)?

Armada
16th April 2013, 14:32
Nice. Is it set by default to max priority (Pro Audio)?
No, EVR-CP is set to AVRT_PRIORITY_HIGH. The maximum priority would be AVRT_PRIORITY_CRITICAL, but I don't think that's a good idea, it probably wouldn't make that much of a difference anyway.

TheElix
17th April 2013, 17:55
What about audio renderer? I think video and audio renderer are separate processes, are they not?

nevcairiel
17th April 2013, 17:57
What about audio renderer? I think video and audio renderer are separate processes, are they not?

They are not, all in the same process.

Aleksoid1978
18th April 2013, 02:15
To developer - very bad playback on internal video decoder
http://aleksoid.voserver.net/Sample/H264/Interlace/422/Taylor.Swift.BRIT.Awards.2013.1080i50.H264.422.44Mbps.ts

JanWillem32
18th April 2013, 12:13
I just tried that sample. The sample is 50 fields per second interlaced, 8-bit, 4:2:2, AVC. The internal video decoder doesn't pass any interlaced 8-bit 4:2:2 format to the video renderer, while external decoders pass interlaced UYVY and YUY2.
For the internal decoder that means that the deinterlacer and converter to RGB are invoked. These are two really expensive conversions. Once the filter notices that many frames have been dropped and decoding is out of sync, it seeks to a reasonable point ahead to catch up. That's what's happening.
Even with the modifications I locally made to the video decoder parts, I could only achieve output of interlaced NV12. That does play decently, but I very much dislike the 4:2:2 to 4:2:0 chroma down-sampling in the process.
I could not get any 8-bit, 4:2:2 output from the decoder. Does any other developer have experience with the code for the internal AVC codec?

Aleksoid1978
18th April 2013, 12:41
This sample play fine with MPC-BE's internal decoder.

P.S.
Why do I post these examples, and files - I think that the developers will deal with the player, it froze the development of a couple of 2 years ago :)

Or opt out of the internal filters - why mislead users.

jkauff
18th April 2013, 15:29
Is Media Foundation fully supported on anything but Win 8? I know it's partially supported on Win 7 SP1. Might not be worth the effort for the partial support.

clsid
18th April 2013, 15:32
First of all, there is no need to drop DirectShow when adding Media Foundation support (which I don't see happening). MPC-HC already supports rendering through different frameworks (DS/QT/RM/Shockwave).
Secondly, Media Foundation has no benefits. It would be a total waste of efforts.
Thirdly, XP is still used by 40% of people worldwide. Supporting it is still essential and there is absolutely no need to drop support for it, nor would it bring any significant benefits atm.

Reino
19th April 2013, 20:45
DirectShow graph manager: Use the real filter name for source filters.
Previously the filename was used instead.Looks a lot better for DC-BSM this way. Thanks a lot!

Aleksoid1978
24th April 2013, 06:31
Hi dev. On ATI have image corruptions on many WEB-DL rip, short sample - http://aleksoid.voserver.net/Sample/H264/L3.1/Mentalist.s05e16.There.Will.Be.Blood.HD720p.WEB-DL.Rus.Eng.BaibaKo%20(1)-001.mkv

LigH
24th April 2013, 07:36
Forum rule #6 (http://forum.doom9.org/forum-rules.htm): Do not ask about downloaded copyrighted material (http://forum.doom9.org/announcement.php?a=36) (at least not so blatantly...)

kasper93
24th April 2013, 10:45
Hi dev. On ATI have image corruptions on many WEB-DL rip

This is known issue. AMD broken it some time ago in their drivers. I'm sure it can be fixed somehow, lav's dxva works fine. But really it's upstream bug and we should wait for the fix. That's not problem with web-dl but with h.264 L3.1 in general.

Fell free to help us and send patch with proper fix. :)

judelaw
24th April 2013, 11:50
Forum rule #6 (http://forum.doom9.org/forum-rules.htm): Do not ask about downloaded copyrighted material (http://forum.doom9.org/announcement.php?a=36) (at least not so blatantly...)
nothing venture nothing have (волков бояться - в лес не ходить)

TheElix
24th April 2013, 12:47
What MPC-HC needs, I think, is a nice fast-forward and rewind feature for all types of video.

Aleksoid1978
24th April 2013, 13:32
This is known issue. AMD broken it some time ago in their drivers. I'm sure it can be fixed somehow, lav's dxva works fine. But really it's upstream bug and we should wait for the fix. That's not problem with web-dl but with h.264 L3.1 in general.

Fell free to help us and send patch with proper fix. :)

Problem not in driver :) Problem in MPC-HC code - see

void CopyScalingMatrix(DXVA_Qmatrix_H264* pDest, PPS* pps, DWORD nPCIVendor)


and this code for ATI, but only for older UVD/UVD+ video card. For new UVD2+ - no need special code ...

If you want a fix - give me a access to MPC-HC repository. :)

clsid
24th April 2013, 14:10
This may be helpful for the DXVA issue:
http://git.1f0.de/gitweb?p=lavfsplitter.git;a=commitdiff;h=28ac28dacce9202b424a1d1bc7e06b5ee4b18eaa
http://git.1f0.de/gitweb?p=lavfsplitter.git;a=commitdiff;h=043ffa8d670e45dd8e87da1b5048a62f5e404115
http://git.1f0.de/gitweb?p=lavfsplitter.git;a=commitdiff;h=0e09dd31237a30cd3bbab4d126b95dbb127b07a5

kasper93
24th April 2013, 14:12
I'm sure you are right... I don't know if I should comment on this, but I think we don't care about fix for that. Changes are coming...

clsid
24th April 2013, 14:13
What do you mean?

Orz
24th April 2013, 14:51
What do you mean?

I guess mpc-hc will use LAVFilters as internal filter

LigH
25th April 2013, 07:39
@ TheElix:

Learn about I, IDR, P, and B frames in GOPs as long as 10 seconds. Then talk again about "fast rewind in any case"...

Superb
25th April 2013, 17:35
Guys, the download link on the main website should be:
http://sourceforge.net/projects/mpc-hc/files/MPC%20HomeCinema%20-%20Win32/MPC-HC_v1.6.7.7114_x86/MPC-HC.1.6.7.7114.x86.exe/download

And not:
http://sourceforge.net/projects/mpc-hc/files/MPC%20HomeCinema%20-%20Win32/MPC-HC_v1.6.7.7114_x86/MPC-HC.1.6.7.7114.x86.exe/download?accel_key=72%3A1366907644%3Ahttp%253A//mpc-hc.org/%3Aedb58f73%2483eac959afc05a4f975383f09e58b609e674d51f&click_id=f17130d8-adc5-11e2-89ad-0200ac1d1d8e&source=accel

A little bit clearer...
(Anyone can get the clean links by surfing here (http://sourceforge.net/projects/mpc-hc/files/MPC%20HomeCinema%20-%20Win32/))

EDIT: Btw, congrats on the new version!

vBm
26th April 2013, 09:21
After almost 1 and a half month since the last stable build, we decided to release 1.6.7.

This release is mainly a bugfix release. It also has a big performance improvement when using an INI file to store the settings.

Highlights of this release:

New INI parser: the accesses are now cached for faster settings loading/saving. Using the INI file should now be as fast as using the registry
DVB capture: Improve channel switching
Playlist improvements



You can download the new version here (http://mpc-hc.org/downloads/). For the complete changes see the changelog (http://mpc-hc.org/changelog/).

And if you're interested in looking at commits since the last stable you can see it here (https://github.com/mpc-hc/mpc-hc/compare/1.6.6...1.6.7). We've had 157 commits by 22 authors. :)

minaust
26th April 2013, 09:31
Playlist improvements


Speaking of which, where do I look for info on the .mpcpl playlist format for use in manual tweaking/editing?

wanezhiling
26th April 2013, 09:48
http://pan.baidu.com/share/link?shareid=451001&uk=3558042035
Can't display the sub in fullscreen, work fine in windowed mode.

vivan
26th April 2013, 11:26
Works fine here, in both fullscreen (http://3.firepic.org/3/images/2013-04/26/oqv5w0jkj2u3.png) and windowed modes...

JanWillem32
26th April 2013, 12:40
No, it actually is broken, as I get a debug warning: "Error in Rasterizer::ScanConvert: size (4579x35) is too big".
The rasterizer has a hard limit of 4000 pixels internally. Seeing that the full aperture and 4k video formats already go beyond that, I think this check should be removed. If we also count the various ASS/SSA special effects, 4000 was already rather small to begin with.
An easy fix, I'll see if I can get it integrated:https://github.com/JanWillem32/mpc-hc/commit/16c0994233c2e6325927316c94013835092da9d6

JEEB
26th April 2013, 13:39
No, it actually is broken, as I get a debug warning: "Error in Rasterizer::ScanConvert: size (4579x35) is too big".
The rasterizer has a hard limit of 4000 pixels internally. Seeing that the full aperture and 4k video formats already go beyond that, I think this check should be removed. If we also count the various ASS/SSA special effects, 4000 was already rather small to begin with.
This check was added lately to MPC-HC's VSFilter, and I have patched it into my xy-VSFilter fork because VSFilter-likes tend to take quite a bit of RAM for their rendering, and there are some samples that can just make it go OOAS (esp. on 32bit operating systems, where the single process's limit is 2GB). This limit was also discussed with xy-VSFilter's cyberbeing, and while it was found not to be perfect, it shouldn't even come up if the size of the rendered area is as big as the general 4K resolution (3840x<something>).

There is a similar sanity check in libass as well, but that doesn't use as much memory to render its surfaces to begin with, so the check is somewhat different.

You are welcome to comment on how to improve this check, or improve the memory usage of VSFilter's rendering, but I don't think removing this check is a good idea at this moment. Things like this really shouldn't OOM or OOAS in my honest opinion :) .

Edit: The check was at first an x * y kind of thing, but then it was changed to be an or check. Maybe some kind of such a check would be better in the end?

clsid
26th April 2013, 14:56
Seems more logical to do a x*y check. In the example above only the width has a high value, which is typical for subs.

JanWillem32
26th April 2013, 16:14
I really hate checks like these that go by any assumptions. What is the cold, hard texture size limit for this renderer? It obviously can handle more than 4000 pixels.
If it is just a memory issue;
The only memory limit you can assume is the addressing limit of a particular system; 32 bits for unsegmented x86-32, 48 bits for segmented x86-32 and 64 bits on x86-64. For all other address/memory statuses, we query the operating system. Usually we omit such an extra check, and just check if an allocation function fails.
Although the person that programmed the next part of the memory allocation routine really lacked any decent programming skill (there is a check for a nullptr after regular operator new in the code), I see no problem in using the usual method of letting the memory allocator gracefully fail in this particular routine.

JEEB
26th April 2013, 16:54
Just to make it clear, I hate such arbitrary "sanity checks" as well. :)


If it is just a memory issue;

Yes, it is just a memory issue. Memory issue because if your script happens to have either a typo or an insane thing it can quite possibly just go through your local process's memory space limit :) (esp. with 32bit Windows). Unfortunately I've had the "pleasure" to receive reports on such things getting into the wild.


For all other address/memory statuses, we query the operating system. Usually we omit such an extra check, and just check if an allocation function fails.
Although the person that programmed the next part of the memory allocation routine really lacked any decent programming skill (there is a check for a nullptr after regular operator new in the code), I see no problem in using the usual method of letting the memory allocator gracefully fail in this particular routine.
Agreed. So switching that new statement later on (mpScanBuffer = DEBUG_NEW unsigned int[mHeight];) to a malloc should be the real fix and should let the null pointer check do its work instead of breaking havoc? I think I'll try that with one of the samples that were problematic, actually.

Edit:
No, it still crashes with an insane sample I was pointed towards before on a 32bit Windows XP, even if that new is changed to be a malloc, and it is then checked. This (http://www.cccp-project.net/beta/test_files/hadena_maoyuu_isr_xy_crash_sample.mkv) is the sample in question.

// mpScanBuffer = DEBUG_NEW unsigned int[mHeight];
mpScanBuffer = (unsigned int*)malloc(mHeight * sizeof(unsigned int));
if (!mpScanBuffer) {
TRACE(_T("Error in Rasterizer::ScanConvert: mpScanBuffer is NULL"));
return false;
}

Any other ideas on how to properly fix this?

JanWillem32
26th April 2013, 17:30
For that particular one, malloc() returning a nullptr on failure is at least standard behavior, and can be checked. Using other options such as nothrow new or system calls probably don't have any advantages in this case.
There are actually numerous errors in various allocation routines. In terms of handling memory, PartialEndPath() is probably the worst. Examples:
-DebugBreak() is followed up after failing something. DebugBreak() compiles to assembly "int 3": a hardware interrupt that is only recoverable if a debugger is attached. It is useful in debug builds in debug mode, but not there.
-The checks after realloc() are bad. I don't have to comment on this part, I think...
-And again usage of regular operator new twice without facilitating its throw part for failures. I see this issue everywhere in the code. It's okay for debug and temporary code to assume things won't throw, but it's not acceptable for any release.

As there are some checks after GDI calls and there is staging in the rendering passes, the people who wrote this must have read some sort of programming cookbook at least. However, I don't understand why there are such basic errors in the programming everywhere.

JanWillem32
26th April 2013, 18:21
Edit:
No, it still crashes with an insane sample I was pointed towards before on a 32bit Windows XP, even if that new is changed to be a malloc, and it is then checked. This (http://www.cccp-project.net/beta/test_files/hadena_maoyuu_isr_xy_crash_sample.mkv) is the sample in question.

// mpScanBuffer = DEBUG_NEW unsigned int[mHeight];
mpScanBuffer = (unsigned int*)malloc(mHeight * sizeof(unsigned int));
if (!mpScanBuffer) {
TRACE(_T("Error in Rasterizer::ScanConvert: mpScanBuffer is NULL"));
return false;
}

Any other ideas on how to properly fix this?Are you certain that this particular allocation is the point in the code that's directly crashing? I saw it take 8545269 * 8 on input, which is a little over 65 MB, and only once. That's not really a lot. What sort of crash was it, anyway? I've actually never seen malloc() crashing.

JEEB
26th April 2013, 18:34
Are you certain that this particular allocation is the point in the code that's directly crashing? I saw it take 8545269 * 8 on input, which is a little over 65 MB, and only once. That's not really a lot. What sort of crash was it, anyway? I've actually never seen malloc() crashing.
It can be somewhere else, let me transfer the crash dump from the virtual machine to this laptop, and check the actual backtrace. The glyph that is the problem in that sample gives an error "[ass] Glyph bounding box too large: 614x667599px" in libass, which should tell you about the size of that thing :)

Edit:
Sorry for the commotion, I don't seem to be able to replicate the crash with the ISR any more with or without that change of new to malloc, if it ever crashed on my VM with VMR7 or Haali's renderer... The triangle does seem to come up, but I am not exactly sure how big it ends up being rendered. The screen resolution of my VM is 800x600.

An older MPC-HC VSFilter crashes, though, and the one I was testing all the time (xy-VSFilter) follows suite. After trying to see where the hell the latter crashes for a few hours, I no longer have the power in myself tonight to check if a current MPC-HC VSFilter with that new->malloc change crashes or not with that sample. Maybe tomorrow. That is all I have to report for now...

Edit2:
Actually yes, just built an MPC-HC VSFilter with that new->malloc change and it does crash as well. Backtrace:

> VSFilter.dll!Rasterizer::Draw_noAlpha_sp_Body_sse2(RasterizerNfo & rnfo={...}) Line 1311 C++
VSFilter.dll!Rasterizer::Draw(SubPicDesc & spd={...}, CRect & clipRect={...}, unsigned char * pAlphaMask=0x00000000, int xsub=0, int ysub=0, const unsigned long * switchpts=0x0315f92c, bool fBody=true, bool fBorder=false) Line 1548 C++
VSFilter.dll!CLine::PaintBody(SubPicDesc & spd={...}, CRect & clipRect={...}, unsigned char * pAlphaMask=0x00000000, CPoint p={...}, CPoint org={...}, int time=0, int alpha=0) Line 1040 C++
VSFilter.dll!CRenderedTextSubtitle::Render(SubPicDesc & spd={...}, __int64 rt=95190000, double fps=30.303030303030305, tagRECT & bbox={...}) Line 2805 C++
VSFilter.dll!CSubPicQueueImpl::RenderTo(ISubPic * pSubPic=0x02bbebbc, __int64 rtStart=95190000, __int64 rtStop=95520000, double fps=30.303030303030305, int bIsAnimated=1) Line 130 C++
VSFilter.dll!CSubPicQueue::ThreadProc() Line 466 C++
VSFilter.dll!CAMThread::InitialThreadProc(void * pv=0x02bba9a8) Line 117 C++
VSFilter.dll!_callthreadstartex() Line 314 C
VSFilter.dll!_threadstartex(void * ptd=0x02bbaa58) Line 292 C
kernel32.dll!_BaseThreadStart@8() Unknown

Also suddenly VS12 doesn't want to take in my MPC-HC binary for whatever reason... So I am not 100% sure if this backtrace is correct, but replicating this crash should be rather easy >_> . 32bit OS + 32bit build and that sample should do it.

betaking
27th April 2013, 11:43
S.Chinese update
http://www.sendspace.com/file/h7r7gv
PS: to all dev last mpc-hc git include/version.h bump version still 1.6.7 not 1.6.8!
:D may be XhmikosR forget to change?

heyer
27th April 2013, 15:02
Is there any way to open named pipes with MPC-HC?

vBm
27th April 2013, 15:35
S.Chinese update
http://www.sendspace.com/file/h7r7gv
PS: to all dev last mpc-hc git include/version.h bump version still 1.6.7 not 1.6.8!
:D may be XhmikosR forget to change?

Thanks for the update, should be pushed soon.
EDIT: Pushed as 3be9b80 (https://github.com/mpc-hc/mpc-hc/commit/3be9b80ce2c699643f1bcfd8f7fc3abb0a9ccbd1) (comment added that you were author because we forgot to change it when doing a commit. Sorry for that.)

And yeah, he forgot to push version bump to main repo. Pushed as of 7ae4697 (https://github.com/mpc-hc/mpc-hc/commit/7ae4697a110ab5632e1a7d5d793e641a5a635415)

JanWillem32
28th April 2013, 10:18
heyer, about named pipes and other UNC names; MPC-HC could easily support them, but its input device and file verification system is really flawed on first inspection. I'll see if I can fix that right now...
update:
I fixed some parts of the file opening system and disc handling parts to be able to better interpret UNC and other network names. I can't add support for the feature of path names longer than 260 characters, as that would take a lot more work. If anyone wants to try; I uploaded two binaries.
single-issue only tester builds deviated from revision 7112: (does not include my regular stuff)
x64: http://www.mediafire.com/download.php?kbrtc2kzbjwstbx
x86 SSE2: http://www.mediafire.com/download.php?x4aa3d4ll4rjv3h

JEEB, about that error, Line 1311 of rasterizer.cpp is a comment. Draw_noAlpha_sp_Body_sse2() doesn't do any allocations by itself, so it's a bit odd. You also didn't mention the exception code/name and possible address. Do you have a dump file? Maybe I can analyze anything from that. Setting up a PC to test a 32-bit OS would take a while. (I haven't used 32-bit Windows installs since late 2007, so I don't have any 32-bit setup disks, nor do I have extra licenses.)

wanezhiling
30th April 2013, 18:01
http://pan.baidu.com/share/link?shareid=457911&uk=3558042035

MPC-HC: 3min25s, wrong
LAV Splitter: 3min34s, accurately correct

JEEB
1st May 2013, 18:26
JEEB, about that error, Line 1311 of rasterizer.cpp is a comment. Draw_noAlpha_sp_Body_sse2() doesn't do any allocations by itself, so it's a bit odd. You also didn't mention the exception code/name and possible address. Do you have a dump file? Maybe I can analyze anything from that. Setting up a PC to test a 32-bit OS would take a while. (I haven't used 32-bit Windows installs since late 2007, so I don't have any 32-bit setup disks, nor do I have extra licenses.)
My version of the MPC-HC source tree isn't too old (de5611c, Apr 17th), but it seems like line 1311 in it for MSVS is the first alpha_blend_sse2 call inside Draw_noAlpha_sp_Body_sse2 (line 1321 (https://github.com/mpc-hc/mpc-hc/blob/master/src/Subtitles/Rasterizer.cpp#L1321) in current github). Most probably some memory allocation goes wrong before that, or something just goes plain wrong within that function. Or the stack trace is completely bonkers...

Exception code is 0xC0000005, which is the "Read/write to a virtual address for which it does not have the appropriate access" one. Which generally means "Segfault due to null pointer somewhere that was getting accessed."

Also I finally got MSVS to read the debug symbols for the MPC-HC build used in this all, but the reason of crashing didn't change at all.

Locals for the crashing point were:

+ s 0x0012f888 <Error reading characters of string.> unsigned char *
gran 0 int
end_gran 12 int
color 0 int
h 44302592 int
color2 44302336 int
end_w 1376256 int
- rnfo {w=616 h=620 spdw=1280 ...} RasterizerNfo &
w 616 int
h 620 int
spdw 1280 int
overlayp 616 int
pitch 5120 int
color 4294964746 unsigned long
xo 0 int
yo 0 int
+ sw 0x0315f92c {4294964746} const unsigned long *
+ s 0x00000000 <NULL> unsigned char *
+ src 0x00000000 <NULL> unsigned char *
+ dst 0x0c7fd1b0 {???} unsigned long *
+ am 0x0001f464 <Error reading characters of string.> unsigned char *


P.S.
Microsoft gave out 32bit XP licenses for virtual machines with, among other things, certain Windows 7 versions (howto (http://blog.zeltser.com/post/15781390680/windows-xp-mode-for-vmware-virtualization) on how to use it in VMware). Also virtual machines for web development that contain XP are IIRC also available (link (http://www.modern.ie/en-us/virtualization-tools#downloads)). Not to mention that if you just do not input a license key during the installation, you will be able to test the OS for a limited amount of time, which is enough for a couple of tests :) .

P.P.S.
The recommendation from nielsm/jfs was to use a sanity test like this in general:
<@jfs> JEEB: that's my suggestion, check for (x*y)>(1<<26)

JanWillem32
1st May 2013, 21:53
That's a lot better. I just put a simple debug session on one of my samples that contains a complex subtitle. The passed RasterizerNfo structure contains "s" and "src" that point to the same, valid binary input. The allocation of this memory evidently failed in that session, as both are nullptr. That error is left unchecked somewhere. RasterizerNfo's "s" and "src" pointers derive from struct SubPicDesc's "bits" pointer. That pointer is initialized to nullptr by SubPicDesc::SubPicDesc(), and after that it should be assigned by CMemSubPicAllocator::Alloc(). As that function fails on allocating memory, it throws bad_alloc (it will probably be visible as a first-chance exception in your debug session log). As it is never caught, the main routine just continues until it derails at that particular point of the subtitle renderer.
I actually re-wrote CMemSubPicAllocator::Alloc() already some time ago (actually more for the various optimizations I made).
I don't agree on any 'sanity' check based on no hard limitation of the given renderer, hard limitation of the platform total address space or queried limits from the environment. Common servers and workstations are already heading towards multiple terabytes of memory, so unless the expression "(x*y)>(1<<26)" uses a unit vector of quite a lot of bytes, it's again nowhere near platform limitations.

Aleksoid1978
1st May 2013, 23:35
Missing PGS subtitle at the start on this file http://aleksoid.voserver.net/Sample/Subtitle/PGS/PGS_Multiple.m2ts

cyberbeing
2nd May 2013, 03:33
Aleksoid1978, I seem to remember you posting essentially the same sample months ago (PGS_StartBroken.m2ts (http://forum.doom9.org/showpost.php?p=1593106&postcount=20207)) for corrupted display of those first lines, and MPC-HC committed this (https://github.com/mpc-hc/mpc-hc/commit/747bc341764b44e8254bec5a4a1709b96ec0078c) in response. The first PGS subtitle lines in that sample lack a color palette, so they are made transparent in order to follow the PGS/HDMV specification. If MPC-BE handles it differently, what do you use as the color palette?

Aleksoid1978
2nd May 2013, 06:05
Aleksoid1978, I seem to remember you posting essentially the same sample months ago (PGS_StartBroken.m2ts (http://forum.doom9.org/showpost.php?p=1593106&postcount=20207)) for corrupted display of those first lines, and MPC-HC committed this (https://github.com/mpc-hc/mpc-hc/commit/747bc341764b44e8254bec5a4a1709b96ec0078c) in response. The first PGS subtitle lines in that sample lack a color palette, so they are made transparent in order to follow the PGS/HDMV specification. If MPC-BE handles it differently, what do you use as the color palette?

When parse Palette - fill m_pDefaultPalette.
And then use it - if CompositionObject have no palette.

JEEB
2nd May 2013, 09:24
When parse Palette - fill m_pDefaultPalette.
And then use it - if CompositionObject have no palette.
Please do correct me if I am reading this incorrectly, but if there is no such palette parsed, then according to the specification the undefined palette values should be transparent, no?

A Palette Definition Segment is not required to carry data for every entry in a Palette and, as defined in Section 9.14.4.2.2.1, by default each Palette entry is assigned a fully transparent color...

and then later in the more technical section 9:

T_value: The Opacity output value for the Palette entry denoted by this palette_entry_id. A value of zero identifies full transparency...

Each Palette entry shall have a default T_value of ‘0’; the default values of Y_value, Cr_value and Cb_value are undefined.


If there is a palette available in the stream so that it can be read and known before those subpictures, then of course this is a bug :)

Aleksoid1978
2nd May 2013, 09:40
Correct palette parse later then this sample - but before it's render. And when it's render - use m_pDefaultPalette.

PetitDragon
4th May 2013, 00:08
Does anyone know for what reason XhmikosR stopped icl13 compiling?

vBm
4th May 2013, 09:35
Does anyone know for what reason XhmikosR stopped icl13 compiling?

There's no worth in doing so at the moment. It takes double time to build it and at the moment there's a problem being that compiler is broken. (we have already made (http://software.intel.com/en-us/forums/topic/370930) a bug report and waiting for a fix)

Until that happens we will not provide ICL13 builds.

clsid
4th May 2013, 14:10
Plus, the 0.1% increase in performance is not worth the trouble.

PetitDragon
5th May 2013, 12:10
Thank vBm and clsid for the answer.

Reino
5th May 2013, 12:25
Audio Switcher: Improve normalization algorithm.
Use a much better regain strategy (similar to ffdshow's) and fix the regain rate to be linear rather than completely exponential.I don't understand why anyone has reported this yet, but what exactly is the improvement in this? I always use the Audio Switcher's normalize-feature for (low-volume)movies, but now even without(!) "Normalize" ticked in the Audio Switcher options, everything is clipping frantically; dialogs, music, everything. Not to mention how it sounds with "Normalize" ticked.
Luckily MPC-BE hasn't integrated this commit.

Underground78
5th May 2013, 16:34
I don't understand why anyone has reported this yet, but what exactly is the improvement in this? I always use the Audio Switcher's normalize-feature for (low-volume)movies, but now even without(!) "Normalize" ticked in the Audio Switcher options, everything is clipping frantically; dialogs, music, everything. Not to mention how it sounds with "Normalize" ticked.
My bet is that you are using a crazy boost setting (which is unrelated to "normalize" settings) because after that commit the amplification used for normalization tends to be smaller overall... So please double-check your settings and if boost was unrelated, just open a ticket and we will have a closer look. :thanks:

Reino
5th May 2013, 17:06
Hah, seems you're right. I never knew a boost setting existed and although I never touched it, it was somehow set all the way to 300%. Putting it back to 0% fixed it.

Underground78
5th May 2013, 17:09
Hah, seems you're right. I never knew a boost setting existed and although I never touched it, it was somehow set all the way to 300%. Putting it back to 0% fixed it.

Maybe wrong hotkey but open a ticket if that setting changes from its own will.

ceb
5th May 2013, 17:38
I always use the Audio Switcher's normalize-feature for (low-volume)movies...
In regards to this, what is the difference between normalize and boost?
Whenever I have a file with low volume I use the boost slider, should I have being using normalize instead?

karamancho
5th May 2013, 18:09
In regards to this, what is the difference between normalize and boost?
Whenever I have a file with low volume I use the boost slider, should I have being using normalize instead?

normalize increases the volume of the quieter parts only, boost amplifies the whole audio

Virtual_ManPL
5th May 2013, 18:15
Plus, the 0.1% increase in performance is not worth the trouble.

But wasn't it a 20% boost with ICL12 compared to MSVC2008 when you do decoding+filtering as I recall correctly from 2011 year tests? ;)

ceb
6th May 2013, 10:20
normalize increases the volume of the quieter parts only, boost amplifies the whole audio
Wish I had known this before...
Thanks!

LigH
6th May 2013, 12:59
This sounds rather wrong to me.

2-pass peak normalization changes the whole volume linearly by scanning the whole audio in the first pass to find the volume peak, calculating one amplification factor, and multiplying the whole audio with this factor in the second pass. Disadvantage: The whole audio has to be scanned once before the peak factor is known; probably not applicable in a media player. Exception: A "replay gain" volume is stored in the audio channel or container already by the encoder, then the normalization factor is already known before playing.

1-pass adaptive normalization (in fact rather a kind of DRC = Dynamic Range Compression) may do that only for a short lookahead window, changing the amplification factor while the audio is being played (a.k.a. AGC = Automatic Gain Control). Disadvantage: Pumping volume when the volume range changes often and briefly.

nevcairiel
6th May 2013, 14:55
"Boost" is just a static volume increase, no adaptive anything.
"Normalize" is your standard 1-pass normalization, with all the disadvantages it comes with.

clsid
6th May 2013, 15:43
But wasn't it a 20% boost with ICL12 compared to MSVC2008 when you do decoding+filtering as I recall correctly from 2011 year tests? ;)You remember wrong. That was a test long ago for a specific processing filter inside ffdshow, which since then has been rewritten and optimized.

turbojet
7th May 2013, 08:16
It's nice to see audio normalization is being worked on. I had always found mpc-hc to have the least amount of volume pumping compared to ffdshow and reclock but still could be improved upon. I watched a few videos with the new fixes and didn't notice any pumping but it also takes specific sounds like loud sudden claps to trigger pumping in the old mpc-hc. It seemed to drop way too low and then regain a lot slower than it should. I'll keep an eye out for a sample.

After giving up on mpc-hc normalization a couple years ago I switched to windows 7 loudness equalization which works great with no pumping, how does it do this? But it comes with one big disadvantage, it affects all audio.

EDIT: Found a decent sample (http://www.sendspace.com/file/889a7i) for testing the normalize. The new code handles it much better than old but the reverb at 2 seconds is quieter than it should be. At least when the guy starts talking it's at the level it should be, it's very quiet with the old. The new doesn't get nearly as loud as the old at 0db (no clipping) boost, even with new boost at 300% (clipping) could this be fixed along with the reverb issue in the sample?

DrNein
8th May 2013, 06:11
Nevermind, latest nightly still has no exit problem. I'll go back and see if I can find out where it started.

I have encountered this problem too (after exit/close, the process remains running).

MPC-HC.1.6.5.6366.x86 okay
MPC-HC.1.6.6.6957.x86 process remains
MPC-HC.1.6.7.7114.x86 process remains

Armada
8th May 2013, 09:12
I have encountered this problem too (after exit/close, the process remains running).

MPC-HC.1.6.5.6366.x86 okay
MPC-HC.1.6.6.6957.x86 process remains
MPC-HC.1.6.7.7114.x86 process remains
This is a known problem and has been fixed (https://github.com/mpc-hc/mpc-hc/commit/9c5bdfe645a41622e6fd4bfa471ff55014a62e30) in the nightlies since build 7157.

Dodgexander
9th May 2013, 02:11
Great to see the problem has been fixed

Sent from my Blade S using Tapatalk 2

krohm
9th May 2013, 07:40
im having a problem where mpc doesnt allow scrubbing for camstudio codec recorded with hypercam... it plays through ok but wont allow scrubbing....

any assistance/word on the issue etc would be appreciated,

cheers

LigH
9th May 2013, 07:58
You mean an AVI file which doesn't support seeking?

Try to remultiplex it with VirtualDub or AviMux-GUI. It may miss some keyframe list or similar AVI chunks.

Superb
9th May 2013, 11:53
This is a known problem and has been fixed (https://github.com/mpc-hc/mpc-hc/commit/9c5bdfe645a41622e6fd4bfa471ff55014a62e30) in the nightlies since build 7157.Great work. Might be a good time to officially release 1.6.8... I've personally encountered this bug more than a few times.

v0lt
9th May 2013, 12:06
mpc-hc_7173.x86_avitest_2.7z
* attempt to improve playback for non interleaved AVI files
* reduced memory consumption when playing AVI files
* there are other improvements and bugs

Introduced in 1.6.8.7182 (a8719e5).
Get it here (http://www.mediafire.com/?xfgh33iws56bh).

krohm
9th May 2013, 14:31
You mean an AVI file which doesn't support seeking?

Try to remultiplex it with VirtualDub or AviMux-GUI. It may miss some keyframe list or similar AVI chunks.

i have tried this actually,..

doesnt allow seeking, but plays fine if not...

jkauff
9th May 2013, 17:58
i have tried this actually,..

doesnt allow seeking, but plays fine if not...
You could try converting to .mkv using mkvmerge. That's what I do with all my .avi files.

krohm
11th May 2013, 03:06
You mean an AVI file which doesn't support seeking?

Try to remultiplex it with VirtualDub or AviMux-GUI. It may miss some keyframe list or similar AVI chunks.

apparently yea, quote from videohelp.com re me posting this problem.. '...RIFF tree architecture it creates. For some reason it produces garbage after the end of the Legacy Index. It is not a corrupt chunk, it's just completely invalid data possibly some internal method for storing variables.'

Have tried using vdub and avimux to no avail... im going to start using lagarith to encode.

cheers

Toku
11th May 2013, 04:33
Might be slightly off topic, but I just bought a Windows 8 tablet which I installed MPC-HC on, but since the program isn't really touch optimised some bits are slightly annoying to use. (Bringing up the seekbar for example) Does anyone know of a media player similar to MPC-HC which is touch optimised?

vood007
11th May 2013, 18:58
No real alternatives to MPCHC let alone any better control options. What about gestures? Have a look here: http://www.strokesplus.com/

DrNein
11th May 2013, 22:22
This is a known problem and has been fixed (https://github.com/mpc-hc/mpc-hc/commit/9c5bdfe645a41622e6fd4bfa471ff55014a62e30) in the nightlies since build 7157.

Great work. Might be a good time to officially release 1.6.8... I've personally encountered this bug more than a few times.

Have been using MPC-HC.1.6.8.7163.x86 without the process remaining issue for a few days now. Thanks!

filler56789
13th May 2013, 07:33
Does anyone know for what reason XhmikosR stopped icl13 compiling?
There's no worth in doing so at the moment. It takes double time to build it and at the moment there's a problem being that compiler is broken. (we have already made (http://software.intel.com/en-us/forums/topic/370930) a bug report and waiting for a fix)

Until that happens we will not provide ICL13 builds.

He stopped the "lite" builds too, apparently :scared:

nevcairiel
13th May 2013, 08:04
Lite builds are done on a longer interval, not daily.

filler56789
13th May 2013, 08:32
^ But today is 2013/05/13,

the lite builds were last-updated on 2013/05/04,

and info.md says:
The Lite and ICL13 builds are built every 4 days. :confused:

vBm
13th May 2013, 13:39
^ But today is 2013/05/13,

the lite builds were last-updated on 2013/05/04,

and info.md says:
:confused:

info.md wasn't updated. Lite builds are made once per week and for some reason script failed to make a lite build. Our main and only concern is and always will be regular release builds and standalone filters. (stuff you can grab from our website)

Lite and ICL13 are just testings, they can vanish any time. Depends on X's will ofc.

filler56789
13th May 2013, 18:15
info.md wasn't updated. Lite builds are made once per week and for some reason script failed to make a lite build. Our main and only concern is and always will be regular release builds and standalone filters. (stuff you can grab from our website)

Thanks for the clarification.

vBm
13th May 2013, 18:37
Thanks for the clarification.
info.md (http://xhmikosr.1f0.de/mpc-hc/Info.md) updated finally.



The Lite builds are built every Sunday at 01:00 (GMT+2).
The ICL13 builds are postponed for the time being until a few bugs are fixed in the compiler.

FlashGordon
13th May 2013, 19:42
Is there a reason why this feature https://trac.mpc-hc.org/ticket/1732 was never added? I'd find it pretty useful. There's a key for AR presets, why not PnS?

Superb
14th May 2013, 14:39
Have been using MPC-HC.1.6.8.7163.x86 without the process remaining issue for a few days now. Thanks!Verified here as well. Issue is gone.

betaking
15th May 2013, 12:39
S.Chinese update
http://www.sendspace.com/file/fuximr

ageback
16th May 2013, 00:10
S.Chinese update
http://www.sendspace.com/file/fuximr

Fix: "構件" should be "构建":devil:

https://dl.dropboxusercontent.com/u/132862/mplayerc.sc.rc.txt

Superb
16th May 2013, 01:58
@Devs:
I've noticed that when I change the subtitle font via options, the charset isn't initialized on the font choosing dialog.
Looked in the code a bit and I think this will solve it:

PPageSubStyle.cpp

Change:
void CPPageSubStyle::OnBnClickedButton1()
{
LOGFONT lf;
lf <<= m_stss;

CFontDialog dlg(&lf, CF_SCREENFONTS | CF_INITTOLOGFONTSTRUCT | CF_FORCEFONTEXIST | CF_SCALABLEONLY);
...

To:
void CPPageSubStyle::OnBnClickedButton1()
{
UpdateData();
LOGFONT lf;
lf <<= m_stss;
if (m_iCharset >= 0) {
lf.lfCharSet = (BYTE)m_charset.GetItemData(m_iCharset);
}

CFontDialog dlg(&lf, CF_SCREENFONTS | CF_INITTOLOGFONTSTRUCT | CF_FORCEFONTEXIST | CF_SCALABLEONLY);
...

I couldn't check the change, since I don't have a dev environment installed. :/

betaking
16th May 2013, 12:18
S.Chinese update
http://www.sendspace.com/file/3soqyu

vBm
16th May 2013, 17:06
Fake apps on Windows App Store (http://mpc-hc.org/2013/05/16/fake-apps/)

It has come to our attention that there are several fake apps on the Windows App Store that use our program’s name.
We are not publishing MPC-HC on Windows App Store yet, so any programs you find there should be considered fake and should be reported as they violate the license.

Don’t forget, that our official builds, both the stable and the beta builds, are digitally signed (http://mpc-hc.org/2013/02/25/binaries-are-signed/).

Superb
20th May 2013, 00:28
Any dev? :o
http://forum.doom9.org/showthread.php?p=1628607#post1628607

vBm
20th May 2013, 10:27
Any dev? :o
http://forum.doom9.org/showthread.php?p=1628607#post1628607

Armada was doing some work (https://github.com/Armada651/mpc-hc/commit/bcd35f45bb83b38438f4731ed6c9cd8ec902652b) regarding that but it's not yet pushed to main repo.

Superb
20th May 2013, 11:15
Thanks! :D This bug annoyed me for a long time now...

vBm
22nd May 2013, 09:08
Nightly builds have been migrated to our server (https://trac.mpc-hc.org/wiki/nightlybuilds).

These are the only supported builds because the developers can debug those builds and the building environment is trusted.

Note that although we provide ICL13 nightly builds, they are not supported officially and should not be used for bug reporting.

Perene
23rd May 2013, 18:52
Guys,
I am using Windows 8, and my previous motherboard was toasted, it was Abit IP35 Pro. So I bought the Intel DG41TY, and my config is now 3 GB DDR2, Q9450, and my video card 8800 GTS 512 MB G92 I had to not install, since it was blocking the x1 capture card called Blackmagic. Later I discovered this is a very good video card, even though it's from 2007, most cheap cards from today don't match in performance.

Since I am using the onboard video from this Intel I expected worse results, but I am having a problem that is only happening with MPC-HC, not VLC.

When I play any 720p video, no matter if I use LAV or ffdshow, the image has a strange effect, as if it was blinking to me several times, after a few seconds. I had to use Video Mixing Renderer 7 (renderless) due to the fact that VMR-9 and EVR custom are not working. EVR can work with low-res videos, but if I try to use with a 720p file it will freeze.

I was using EVR custom before I ditched the 8800 video card.

What kinds of settings I need to turn on or off to prevent this from happening? I am also playing this MKV 720p file with one SRT tiny subtitle created for it (it has the same name from the video, so MPC automatically recognizes).

I tried playing that video using VLC, but didn't noticed the flickering. Which means this is only happening with MPC. Do you recommend using LAV instead of ffdshow or it won't matter here, and is there something I should do to fix this?

Edit: it seems the answer was choosing 2D surfaces instead of 3D. I will see if it works now.

vBm
23rd May 2013, 20:40
Thanks! :D This bug annoyed me for a long time now...

Patch landed (https://github.com/mpc-hc/mpc-hc/commit/12722c40571b9fda8922afb2cad2613ec1b3ac96) into main repo. It'll be available in tonight's nightly (http://nightly.mpc-hc.org/).

tahaa7
23rd May 2013, 20:51
Can anyone please explain what does ReClock's "Use built-in estimator" setting in Video Settings mean? Thanks.

JanWillem32
23rd May 2013, 22:01
Perene, maybe I can help a bit. I'm familiar with blinking issues during video playback. Does the blinking issue occur when using plain EVR and VMR-9? If so, it's a an issue of your video card and/or its driver.
It could also be the VSync options. These can be disabled in the "View", "Renderer Settings" menu.
If you don't mind using test builds of a renderer in development, you can try one of my recent ones (the support thread I made is on the same board of this forum). I made pretty good progress on improving rendering performance, maybe that will help in this case.

betaking
24th May 2013, 01:23
S.Chinese update
http://www.sendspace.com/file/cdlcxb

cyberbeing
24th May 2013, 04:15
Can anyone please explain what does ReClock's "Use built-in estimator" setting in Video Settings mean? Thanks.

Reclock's built-in estimator is primarily to enable detection of VFR (Variable Frame Rate) videos during playback, but it's also used as a fallback when DirectShow detection is either broken or fails to detect the correct frame rate before playback begins.

Armada
25th May 2013, 20:05
We've completed a major update to the D3DFullscreen option for the VMR9, EVR-CP and Sync renderers. It now allows you to switch between fullscreen and windowed mode like you would with regular fullscreen. Now we require some users who use this option regularly to test it so we can eliminate any bugs before the changes are integrated.

If you want to help you can get the test builds here: https://github.com/mpc-hc/mpc-hc/pull/89

Please disable the graph worker thread in Options > Playback, as it will freeze when the worker thread is enabled currently.

Superb
25th May 2013, 22:27
Is it something like madVR's exclusive mode now?

EDIT:
https://github.com/Armada651/mpc-hc/commit/8bc97635fa03acca6b78ea7d738aed65930011f5
** D3DFullscreen can now switch to windowed mode (just like "regular" fullscreen mode)
** D3DFullscreen support for madVR has been disabled (it already has exclusive mode)
(to make it clearer)

nevcairiel
25th May 2013, 23:01
No, its not automatic like madVR, you can simply switch manually while the player is running.

Octo-puss
26th May 2013, 11:26
I am not sure I understand the change, and I absolutely don't understand the wording of It now allows you to switch between fullscreen and windowed mode like you would with regular fullscreen..
I never had problems switching a movie to fullscreen. I am missing something here - could someone explain it for an idiot?

fvisagie
26th May 2013, 11:45
Previously D3D fullscreen needed Ctrl+C to exit amongst others.

Cheers,
Francois

Octo-puss
26th May 2013, 12:03
Guess I have no idea what D3D fullscreen is and how (+why) to activate it. Alt+Enter always did the job for me.

Armada
26th May 2013, 22:34
It's an advanced feature which you can enable in the Output options that gives you more control over VSync, but most people have no use for it. It was just very user unfriendly which is why I wanted to change it and it allowed me to get more familiar with the renderers.

clsid
29th May 2013, 16:55
@devs
Please have a look at this suggested change:
http://forum.doom9.org/showthread.php?p=1597560#post1597560

Armada
29th May 2013, 22:12
@devs
Please have a look at this suggested change:
http://forum.doom9.org/showthread.php?p=1597560#post1597560
Why not bind that functionality to the 3 keys that have not been used yet? Alt+7, Alt+5 and Alt+9?

wanezhiling
30th May 2013, 16:16
http://forum.doom9.org/showpost.php?p=1630088&postcount=1134
Same is mpc-hc

Aleksoid1978
30th May 2013, 22:53
http://forum.doom9.org/showpost.php?p=1630088&postcount=1134
Same is mpc-hc

Yes, yes :)

Problem that frame size stored in header = 960, but real frame size is 320 ... i do not know how is possible and what to do !!

wanezhiling
31st May 2013, 04:51
Not a big problem, using lav solve it. :)

Aleksoid1978
31st May 2013, 06:47
Not a big problem, using lav solve it. :)

Yes - i know.

Question - you have a similar files with HDMV LPCM, but only from another video

wanezhiling
31st May 2013, 07:00
Kelly Chen Love Fighters Concert 2008? (http://pan.baidu.com/share/link?shareid=506023&uk=3558042035)

Aleksoid1978
31st May 2013, 07:27
Kelly Chen Love Fighters Concert 2008? (http://pan.baidu.com/share/link?shareid=506023&uk=3558042035)

It's normal playback. I'm talk about broken sound ...

clsid
31st May 2013, 15:05
Why not bind that functionality to the 3 keys that have not been used yet? Alt+7, Alt+5 and Alt+9?That would be unnecessary and bloated imo. I highly doubt anyone needs rotation with small increments in two directions, certainly not after the proposed changes.

GTPVHD
31st May 2013, 21:44
http://gcc.gnu.org/gcc-4.8/

GCC 4.8.1 (May 31, 2013) released.

AGKnotUser
1st June 2013, 01:48
I haven't been able to get to mpc-hc.org for a few days now. I hope this is temporary?

filler56789
1st June 2013, 02:07
I haven't been able to get to mpc-hc.org for a few days now. I hope this is temporary?

Maybe there is a problem between your ISP and mpc-hc.org.

v0lt
1st June 2013, 03:44
I propose to remove the "Down-sample to 44100 Hz" option.

AGKnotUser
1st June 2013, 04:05
Maybe there is a problem between your ISP and mpc-hc.org.

Don't think so. Can't be reached from Optimum or Verizon.

Armada
1st June 2013, 10:35
I propose to remove the "Down-sample to 44100 Hz" option.
I agree, seems useless by now.

LigH
1st June 2013, 12:24
Check it from one more location with http://isup.me/mpc-hc.org — and it is accessible via Deutsche Telekom too. Try a traceroute to both mpc-hc.org and 37.34.55.187; if the second works, but the first can't resolve the name, it may just be an issue with DNS servers.

AGKnotUser
1st June 2013, 15:43
Check it from one more location with http://isup.me/mpc-hc.org — and it is accessible via Deutsche Telekom too. Try a traceroute to both mpc-hc.org and 37.34.55.187; if the second works, but the first can't resolve the name, it may just be an issue with DNS servers.

http://isup.me/mpc-hc.org says it's up.
The traceroute resolves the name but it times out with both mpc-hc.org and 37.34.55.187.

AGKnotUser
1st June 2013, 18:22
Something very strange is going on. I can reach the site using an anonymous browser but I cant' get to it using Firefox or Internet Explorer. The connection keeps timing out.

nevcairiel
1st June 2013, 18:24
Sounds like you're using a proxy that doesnt like that site.

AGKnotUser
1st June 2013, 18:35
Sounds like you're using a proxy that doesnt like that site.

How can I check for that?

Edit: I went into options and changed from "Use system proxy settings" to "No proxy" and it still timed out. What else should I try?

Edit2: The trace route gets to 12 hops (last one in Switzerland) and times out at the 13th.

Superb
3rd June 2013, 11:19
Talk to your ISP's support. :/

AGKnotUser
4th June 2013, 12:34
Talk to your ISP's support. :/

I did. They can get to it. It seems I'm the only one who can't.

Mercury_22
4th June 2013, 13:14
I did. They can get to it. It seems I'm the only one who can't.

1. If you have a router reset it to default factory settings
2. Use other browser than IE BUT make sure it's not using IE's proxy settings e.g. Firefox go to Options->Advanced-> Network->Connection settings-> select auto detect proxy
3. Also check your firewall and hosts file (%SystemRoot%\system32\drivers\etc\hosts)

P.S. I recommend you to install Latest Nightly x64 from FF (http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-trunk/) cause it's the most INcompatible with plugins, add-ons and other apps which are possibly messing your connection

paradoxical
4th June 2013, 15:32
Or just simply run ipconfig /flushdns in a command prompt first. It's the fastest and least intrusive way that might fix the problem.

Mercury_22
4th June 2013, 17:35
Or just simply run ipconfig /flushdns in a command prompt first. It's the fastest and least intrusive way that might fix the problem.
Well ... you can add "netsh int IP reset" & "netsh int TCP reset" to that then, just in case... :)

hayan
7th June 2013, 15:24
Old bug: MPC-HC don't wait the sound system (audiodg.exe) initialize

Demand:
HDD (non-SDD)
Vista+
Not use Windows Startup sound (No any system sound :rolleyes: I like mute)
Not play any sound after system startup (ie.youtube, music, games:o)

Open MPC-HC
drag n drop video file(video+audio) to MPC-HC, First X seconds out of sync and no sound :eek:

PS:audiodg.exe does not exist in the Task Manager when your system does not play any sound
PS:sound system(audiodg.exe) is initialize(Read files from HDD) for the first time when play any sound

MPC-HC + LAV Filters x64
Win8 x64
Creative Old WDM soundcard & New HDA soundcard

chano22000
7th June 2013, 15:53
Hi,

In order to avoid Windows 7 upmixing stereo to 5.1 which prevents the AVR to do any further NEo6/Dolby/etc... processing on music, I need to keep the windows speaker's configuration to stereo even though my configuration is 5.1.

Bitstreaming multichannel audio from films is still OK but when the audio is LPCM, and even though lav audio outputs all the channels, the windows mixer downmixes to 2.0 and the other channels are lost.

I understand that there is no other solution but to use a WASAPI audio renderer.

I discovered by accident that MPC Audio Renderer supports wasapi (which is not at all advertised on the various forums). It looks far more adequate that the reclock way for just handling wasapi (I use the smooth motion feature of madVR for video).

MPC audio renderer does globally what is expected but I experience major issues :
1) Film freeze when navigating in the movie
2) Switching to a DTS-HD MA makes a freeze
3) The "use wasapi" tickbox is always checked and disabling it is not kept the next time mpc-hc is launched

There are no issues at all when using the default audio renderer

Before I try to further characterize the bugs and open a ticket, is MPC Audio Renderer still experimental or is it actively maintained (which I really hope).

Thanks a lot for yor work.

Kind regards.

(Configuration : Windows 7x64 - MPC-HC 1.6.8.7259 / LAV Filters / madVR 32 bits)

hayan
7th June 2013, 16:11
I discovered by accident that MPC Audio Renderer supports wasapi
Options -> Output -> Move your mouse to Drop Down Lists (Audio Renderer)

You can see popup message "MPC Audio renderer is broken, do not use" :o

chano22000
7th June 2013, 16:41
Thanks Hayan for this unfortunate info.

Any chance for MPC Audio renderer to get repaired ?

Kind regards.

dansrfe
8th June 2013, 15:39
Strange Bug: When playing music files from a folder and pressing the the left or right arrow on MPC-HC after dragging the player to my second screen the entire player window shifts slight right, traveling across the screen.

mindbomb
13th June 2013, 19:21
I have a question about the maximum texture resolution's "desktop" setting for subtitles.
With multiple displays, is the desktop setting always the resolution of the primary display, or does it vary based on which display is playing the video?


Any chance for MPC Audio renderer to get repaired ?


It is repaired in the mpc be svn builds. Though, it still mixes to the default format, so your problem wouldn't be solved.

LigH
15th June 2013, 08:57
SourceForge just notified me of MPC-HC 1.6.8; no changelog available yet...

nevcairiel
15th June 2013, 09:31
SourceForge just notified me of MPC-HC 1.6.8; no changelog available yet...

http://mpc-hc.org/2013/06/15/1.6.8-released/

Mercury_22
15th June 2013, 13:40
DVB-C support should be added to the changelog too ! At least where 6900 symbol rate (and QAM64 & QAM 256 modulation) are used (e.g. Germany ):)

Too bad that Tv channels (like any item from "The Playlist" too) (Still ?:p) can't be selected / used with a remote control = keyboard

vBm
15th June 2013, 14:40
After almost 1 and a half month since the last stable build, we decided to release 1.6.8.

This release focuses mainly on improving DVB-T support alongside with the usual bugfixes.

Highlights of this release:

MPC-HC can now support DVB-T2 broadcast and display EPG information for Freeview (UK free-to-air channels). The scan feature has also been improved for better channel detection.
The normalization algorithm used by the Audio Switcher has been improved to avoid annoyingly big volume drops.
A bug that resulted in missing PGS or DVB subtitles has been fixed.
There was a memory leak in some cases when playing files with chapters.
We fixed a bug that could have made MPC-HC slow to close with audio keeping playing for a while.


You can download the new version here (http://mpc-hc.org/downloads/). For the complete changes see the changelog (http://mpc-hc.org/changelog/).

And if you're interested in looking at commits since the last stable you can see it here (https://github.com/mpc-hc/mpc-hc/compare/1.6.7...1.6.8). We had 303 commits by 20 authors. :)

adamhj
15th June 2013, 15:29
it seems mpc-hc can not associate files for non-administrator users in win7. when i run mpc-hc under a non-administrator user in win7, if i click the modify button under options - player - formats, it prompt me to enter the password of an administrator user, then i enter it and press ok, a new option dialog popup and i can change file associate there, the problem is, change made here only affects the administrator user, the associating for media files for current non-administrator user is never changed at all

this bug exists in mpc-hc 1.6.7.7114 x32 at least. os version is win7sp1

clsid
15th June 2013, 16:20
It needs administrator access to create essential registry keys. Once those are in place, it should be possible to associate for a regular user.

fairchild
15th June 2013, 21:36
Can someone explain to me why MPC-HC cannot auto jump to the next playlist file on a BD-disc automatically where-as the latest MPC-BE has no problem doing this? It's what's preventing me to switch to MPC-HC full-time. Example:

Open MPC-HC then do CTRL+D to open BD/DVD and it automatically picks the biggest track per Lav Splitter. Then I choose the first .mpls file in the BDMV directory, in this example it's 00013.mpls (I can do it this way or just double click it or drag it to the open MPC-HC window and it begins to play no problem.) Now when I setup MPC-HC to do After Playback-Play next in the folder, instead of jumping to 00014.mpls like MPC-BE does without a problem, it just says No more media in the current folder. (which is obviously not the case).

I also made sure to check the option in Tweaks-Open next/previous file in folder on "skip back/forward" when there is only one item in playlist.

Am I missing something obvious or is this just the way that MPC-HC is currently working and MPC-BE devs figured out some magic to make it work this way with BD discs?

The discs in question are my The Big Bang Theory blu-ray discs (I have the complete series)

kasper93
15th June 2013, 22:53
@fairchild:

MPC-HC jump to next file just fine. So problem is on your side. I was trying to find what could be cause for you problem, but I can't reproduce it no matter what. Try to reset settings maybe.

fairchild
15th June 2013, 23:02
Kasper, thanks that worked. Now I have to try to get back to how I had it setup before and see if the problem persists.

Edit: finally input all my setting back and things are now working well. I guess over time something messed up, I had usually used the INI method will stick with registry version for now since it's very simple to backup settings now. Thanks again!

wanezhiling
16th June 2013, 06:10
http://pan.baidu.com/share/link?shareid=1919183913&uk=3558042035
Cant show the vobsub subtitle.
Extracted it(external), then worked

cyberbeing
16th June 2013, 10:56
http://pan.baidu.com/share/link?shareid=1919183913&uk=3558042035
Cant show the vobsub subtitle.
Extracted it(external), then worked

This is the VOBSUB idx "custom colors: ON" bug with MKV which has existed forever.

Aleksoid1978
17th June 2013, 07:40
This is the VOBSUB idx "custom colors: ON" bug with MKV which has existed forever.

But - MPC-BE show subtitle.

Superb
17th June 2013, 17:11
Then submit a patch for MPC-HC so we'll enjoy your work too, heh :-)

cyberbeing
17th June 2013, 17:43
But - MPC-BE show subtitle.

Yeah, I remember seeing the following in your changelog when I was browsing though some of your subtitle related changes last month.

Изменение : Исправил отображение VobSub субтитров из MKV, при условии что у субтитров выставлено свойство "custom colors: ON", не корректно формировалась custom palette;

I had completely forgotten about this bug, until wanezhiling posted his sample.

Dstruct
22nd June 2013, 10:14
Via Pixel Shaders I think.

Weirdo
23rd June 2013, 16:56
I'm having trouble playing DVD's created with TMPGEnc Authoring Works 5. The title order is not respected (even more so when using the seek bar for navigation, it seems to further confuse MPC-HC). For example, it'll loop between titles 4-6, when there are 8 in total. Or, it will mess up the order and jump from title 5 to 4. No issues with any other software/hardware player.
Using v.1.6.8.7417, Win 8 x64 - I attach the DVD files with no VOB's. (edit: files here (http://www.mediafire.com/?zp8osocr24v0wn2))

AGKnotUser
25th June 2013, 13:22
Well ... you can add "netsh int IP reset" & "netsh int TCP reset" to that then, just in case... :)

Thanks to all who responded. I called my back ISP and finally got through to an escalated rep. He queried the engineers and I got back a message that it indeed was a problem they were working on. It took about two weeks to solve. At least I have access again.

Octo-puss
25th June 2013, 18:55
Why does playback continue if I use the Play-Go To... function while playing DVD files? Is that a bug, or is it working as intended (if so, why?)? When I play anything else, playback correctly stops at the frame I jump to.

Armada
25th June 2013, 21:10
Why does playback continue if I use the Play-Go To... function while playing DVD files? Is that a bug, or is it working as intended (if so, why?)? When I play anything else, playback correctly stops at the frame I jump to.
Unfortunately this is a limitation of the DVD navigator, the same is happening if you use the seekbar. We can't seek unless the DVD is playing, it might be possible to detect when seeking is done and then pause again but that is non-trivial.

Tom Keller
26th June 2013, 20:05
What happened to the "D3D Fullscreen" mode for madVR? Since a view builds it is greyed out. I remember this mode beeing removed for madVR in the past, but was brought back since some people (like myself) used to use it most of the time.

Is there a technical reason for removing it again?

Armada
26th June 2013, 23:08
What happened to the "D3D Fullscreen" mode for madVR? Since a view builds it is greyed out. I remember this mode beeing removed for madVR in the past, but was brought back since some people (like myself) used to use it most of the time.

Is there a technical reason for removing it again?
Yes, the reason is that madVR already handles D3D fullscreen internally. You can notice this by the "exclusive" messages in the OSD which indicate when it switches between normal fullscreen and D3D fullscreen.

At the point that I removed the option the only thing that it was doing was having madVR use a separate window. If there is an advantage to that that I'm not aware of then let me know and I'll see how we can fix it.

This change is part of a bigger change for D3D fullscreen for the VMR9 and EVR-CP renderers. They now support switching between windowed and D3DFullscreen during playback and can be toggled in the same way as normal fullscreen.

Tom Keller
27th June 2013, 02:21
At the point that I removed the option the only thing that it was doing was having madVR use a separate window. If there is an advantage to that that I'm not aware of then let me know and I'll see how we can fix it.
There is an advantage:

With a dual screen setup you can have the interface on display 1, while playing the video on display 2 (or vice versa). There were just a few people like me, using the mpc-hc this way:

http://forum.doom9.org/showpost.php?p=1486489&postcount=16660
http://forum.doom9.org/showpost.php?p=1486615&postcount=16669

But if it's too problematic to reintroduce this option because of the changes for the VMR9/EVR-CP fullscreen behavior, we'll have to live with it.

Octo-puss
27th June 2013, 10:46
Unfortunately this is a limitation of the DVD navigator, the same is happening if you use the seekbar. We can't seek unless the DVD is playing, it might be possible to detect when seeking is done and then pause again but that is non-trivial.
Oh ok.
But maybe performance while playing DVD files could be improved? I jump forward a lot while watching stuff, and when it comes to DVDs, it's really really slow, almost like if I had a decade old CPU. Definitely not a disk problem, btw.

Armada
27th June 2013, 11:07
There is an advantage:

With a dual screen setup you can have the interface on display 1, while playing the video on display 2 (or vice versa). There were just a few people like me, using the mpc-hc this way:

http://forum.doom9.org/showpost.php?p=1486489&postcount=16660
http://forum.doom9.org/showpost.php?p=1486615&postcount=16669

But if it's too problematic to reintroduce this option because of the changes for the VMR9/EVR-CP fullscreen behavior, we'll have to live with it.
Rather than reintroducing the useless D3DFullscreen option for madVR, maybe we should introduce some kind of pop-out player bar like the playlist. Which elements from the interface are you using on your primary display?

Tom Keller
27th June 2013, 11:56
That could be a problem, since i use a lot of different interface elements. Mostly the playlist... or some of the 'play' options, like the filters list for configuring (or - in case of playback problems - watching the usage of) DirectShow filters, which don't have their own tray icon... and for switching between different audio- and subtitle streams... sometimes the 'navigate' elements too for skipping unwanted Video-DVD content.

Since display 2 (= my tv) is in another room, i use the remote of my tv tuner card to control the main functionality of the player via Girder. But the number of buttons on the remote is limited and most of them are used for primal playback functionality and navigation in DVD menus. That's why i have to set up some thing manually in between (or during) the playback of files and therefore it's more practical for me to have most of the interface elements at hand without switching between window and fullscreen mode.

But (as i said): if it's not possible or too difficult to reintroduce the option, i'll find a way to deal with it. I already did the same with the options dialog, which (after some code changes in the past) didn't show up anymore on the primary display, while playing back a video in D3DFullscreen mode on the secondary display.

LigH
27th June 2013, 12:10
@ Octo-puss:

You did not explain if "playing a DVD" means a physical DVD disc or a DVD-Video like file structure on harddisk. If it is the former, slow seeking may not be much surprise:

When you seek on a real DVD (a disc in an optical drive), the laser needs to find the new position on the disc which will certainly take a while; industrially manufactured DVDs and DVD+R have an advantage over DVD-R regarding seeking, e.g. DVD+R tracks use a higher groove wobble frequency and phase modulation (ADIP) instead of the land pre-pit technique on DVD-R for addressing. Especially in faster PC drives, seeking on DVD-R can be quite unreliable because pre-pits are so small that finding them at a high speed is a matter of luck.

Octo-puss
27th June 2013, 13:43
I said "DVD files", which can obviously still look misleading. I meant DVD copied to PC, played by running video_ts.ifo file.

Armada
27th June 2013, 16:26
That could be a problem, since i use a lot of different interface elements. Mostly the playlist... or some of the 'play' options, like the filters list for configuring (or - in case of playback problems - watching the usage of) DirectShow filters, which don't have their own tray icon... and for switching between different audio- and subtitle streams... sometimes the 'navigate' elements too for skipping unwanted Video-DVD content.
You can already pop out the playlist before going to fullscreen, so at least you're still able to do that.

Since display 2 (= my tv) is in another room, i use the remote of my tv tuner card to control the main functionality of the player via Girder. But the number of buttons on the remote is limited and most of them are used for primal playback functionality and navigation in DVD menus. That's why i have to set up some thing manually in between (or during) the playback of files and therefore it's more practical for me to have most of the interface elements at hand without switching between window and fullscreen mode.
I'll keep this usage scenario in mind and find a good way to address it, thanks for the feedback.

But (as i said): if it's not possible or too difficult to reintroduce the option, i'll find a way to deal with it. I already did the same with the options dialog, which (after some code changes in the past) didn't show up anymore on the primary display, while playing back a video in D3DFullscreen mode on the secondary display.
We're actually looking to bring back the options dialog during D3DFullscreen playback for people who run a dual-screen setup.

Tom Keller
27th June 2013, 19:47
Thank you for taking care of it. I'm looking forward to the next builds.

DMD
28th June 2013, 06:45
Good morning.

Wonder if in future releases is possible to insert in the section
Playback> DVD/OGM
The "Preferred language" for Blu-ray Navigator

Thanks

http://img850.imageshack.us/img850/2797/s4p.png (http://imageshack.us/photo/my-images/850/s4p.png/)

Virtual_ManPL
28th June 2013, 17:45
Can someone confirm this bug #3257 - Audio isn't heard (https://trac.mpc-hc.org/ticket/3257) ?
Thanks

Delerue
29th June 2013, 02:46
Is there a way to make the internal subtitles to watch for file changes, like FFDShow?

chano22000
30th June 2013, 20:08
Hello,

Since MPC-HC audio renderer should currently be avoided as advised in balloon comment, I use Reclock as a WASAPI exclusive renderer for LPCM streams to the HDMI output(without reclocking anything). It effectively bypasses the Windows Mixer (volume control, channel mixing, 32bits float conversion and dithering ...).

I just gave a try for mpc-hc to read a wav audio file (44,1kHz - 16 bits stereo) using LAV as splitter and decoder.

Reclock properties confirm the the bitperfect output through WASAPI but surprise : the mpc-hc volume control modifies the sound level.

Same behaviour with a AAC stream from a film decoded by LAV as 6 channel LPCM.

How is it possible since mpc-hc should rely on the windows mixer for that purpose ? Does it mean that bitperfect cannot be achieved for LPCM streams in mpc-hc ? How to bypass mpc-hc audio processing ?

Thank you for your feedback !

Kind regards.

filler56789
30th June 2013, 21:03
Can someone confirm this bug #3257 - Audio isn't heard (https://trac.mpc-hc.org/ticket/3257) ?

Changed 2 days ago by underground78

Component changed from Diagnosed to Solved
Milestone set to next release

Will be in nightly builds as of revision 7503.

Great, however the last lite build still is r7482 :scared:

P.S.: no lite builds anymore (2013/07/01, 00:35 GMT) : - /

wanezhiling
1st July 2013, 02:30
No lite build need anymore.
Because mpc-hc has replaced internal mpc filters to LAV from now. :p

Keiyakusha
1st July 2013, 02:59
Why? LAV, while good, not the only filters out there. Someone may use something else and still prefer to keep things simple.

But taking this step further, personally I'd like to see MPC-HC build where decoders, splitters, AudioSwitcher, anything under "settings-playback" category (includes evr-cp and everything related), web interface and possibly something else removed completely. So it will be a GUI where LAV and madvr are hardcoded (but not bundled) :D

filler56789
1st July 2013, 03:13
No lite build need anymore.
Because mpc-hc has replaced internal mpc filters to LAV from now. :p

So be it. But the devs really should have updated "info.md" already :sly:

The Lite builds are built every Sunday at 01:00 (GMT+2).
The ICL13 builds are postponed for the time being, until a few bugs are fixed in the compiler.

Qotscha
1st July 2013, 11:10
We use Microsoft filter for online sources File Source (URL) (http://msdn.microsoft.com/en-us/library/windows/desktop/dd375642(v=vs.110).aspx) and this is how this filter works. It shouldn't cache all the data, but it does and I think 4GB limit is because you are using FAT32 which doesn't allow larger files.

The best solution for you is using LAV Source Splitter for http. You need to add this to register. Past it to notepad and save as "http.reg" then double click on it and that's all. Note that you need to have LAV installed ;)
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\http]
"Source Filter"="{B98D13E7-55DB-4385-A33D-09FD1BA26338}"



FWIW, you could try using DVB directly in MPC-HC it is not that bad ;)

Is there any way to use internal LAV Splitter Source for http?

nevcairiel
1st July 2013, 11:15
Is there any way to use internal LAV Splitter Source for http?

Not yet, but Underground78 is working on it, it should be possible to use the new internal LAV for streaming soon, too.

clsid
1st July 2013, 15:55
Since DXVA1 support has been removed from MPC-HC yesterday, I made a modified build of MPCVideoDec for Windows XP users. It only does DXVA decoding of H.264 and VC-1, no other formats and no software decoding. To use it simply add it as an external filter. There is no need to register the filter.

Download:
filter (http://www.sendspace.com/file/8pib39) (1.8 MB)
source (http://www.sendspace.com/file/dczm8v) (4.8 MB)

Modifications:
* Changed name and GUID.
* Removed software decoding.
* Disabled some unneeded ffmpeg code to reduce binary size.
* Reverted this commit (https://github.com/mpc-hc/mpc-hc/commit/35637b4878e5bff41519dea06cf6690dc7f6607c) related to Intel GPUs. I suspect that change was responsible for a recent surge in crash reports.

wanezhiling
1st July 2013, 16:08
Why not add mpeg2 dxva1,clsid ?

Aleksoid1978
2nd July 2013, 00:23
Since DXVA1 support has been removed from MPC-HC yesterday, I made a modified build of MPCVideoDec for Windows XP users. It only does DXVA decoding of H.264 and VC-1, no other formats and no software decoding. To use it simply add it as an external filter. There is no need to register the filter.

Download:
filter (http://www.sendspace.com/file/8pib39) (1.8 MB)
source (http://www.sendspace.com/file/dczm8v) (4.8 MB)

Modifications:
* Changed name and GUID.
* Removed software decoding.
* Disabled some unneeded ffmpeg code to reduce binary size.
* Reverted this commit (https://github.com/mpc-hc/mpc-hc/commit/35637b4878e5bff41519dea06cf6690dc7f6607c) related to Intel GPUs. I suspect that change was responsible for a recent surge in crash reports.

Better way - use MPC-BE's standalone filter for this.

kasper93
2nd July 2013, 00:52
Better way - upgrade your OS! Why do you even want to use 13 years old system? ಠ_ಠ

Aleksoid1978
2nd July 2013, 01:12
Better way - upgrade your OS! Why do you even want to use 13 years old system? ಠ_ಠ

I agree - but some do not think so :)

filler56789
2nd July 2013, 01:58
And if your computer is fast enough, why worry about DXVA / Quicksync / whatever ? :D

wanezhiling
2nd July 2013, 03:45
Internal LAV doesn't support ape tak... etc

why?

betaking
2nd July 2013, 04:19
Internal LAV doesn't support ape tak... etc

why?

MPC-HC integrates LAV Filters directly and no extra installation steps are required. The embedded version of LAV Filters doesn't interact at all with other installed DirectShow filters (including standalone versions of LAV Filters).

wanezhiling
2nd July 2013, 04:32
What you said has no any relation with my question at all :p

mindbomb
2nd July 2013, 04:35
the internal filters page seems pretty confusing atm with the nightlies with lav filters.
are there plans to simplify it?

perhaps just 3 buttons - video, audio, and container
and from there you can configure lav filters further

Orz
2nd July 2013, 06:17
the internal filters page seems pretty confusing atm with the nightlies with lav filters.
are there plans to simplify it?

perhaps just 3 buttons - video, audio, and container
and from there you can configure lav filters further

I agree. Some formats supportted by LAV aren't in the configuration lists, the "Internal filters" page need to be redesigned after integrating LAV.

minaust
2nd July 2013, 10:01
Better way - upgrade your OS! Why do you even want to use 13 years old system? ಠ_ಠ

Because XP works well and works reliably. And is more functional. Microsoft got that one right. Last I heard (as of about a month ago), a little over 37% of all personal computers are still running XP. 7 is at 45%, Vista and 8 are each at about 4.5% each, and OS X, linux and unix make up the rest. XP won't die until MS kills it by putting out something superior, which I don't see happening any time soon. I don't think XP's EOL next year will kill it. I know a half dozen people still running Windows 98.

Even though I can boot into 7 or XP, my entire ripping/encoding toolchain is still on XP. Viewing is on either.

If Win 7 is so great, why is XP mode an upgrade? :D

And it doesn't help that I've been using XP for all 13 of those years. :)

Edit: Late breaking news: 8 just passed Vista and is now at 5.1% Wow!!

fagoatse
2nd July 2013, 10:50
Why? LAV, while good, not the only filters out there. Someone may use something else and still prefer to keep things simple.

But taking this step further, personally I'd like to see MPC-HC build where decoders, splitters, AudioSwitcher, anything under "settings-playback" category (includes evr-cp and everything related), web interface and possibly something else removed completely. So it will be a GUI where LAV and madvr are hardcoded (but not bundled) :D

Well, if you're looking for something bare-bones give https://github.com/mpv-player a try.

Because XP works well and works reliably. And is more functional. Microsoft got that one right. Last I heard (as of about a month ago), a little over 37% of all personal computers are still running XP. 7 is at 45%, Vista and 8 are each at about 4.5% each, and OS X, linux and unix make up the rest. XP won't die until MS kills it by putting out something superior, which I don't see happening any time soon. I don't think XP's EOL next year will kill it. I know a half dozen people still running Windows 98.

If Win 7 is so great, why is XP mode an upgrade? :D

And it doesn't help that I've been using XP for all 13 of those years. :)

Keep in mind that those statistics include china, 3rd world countries and regular office usage where adoption to new technologies is at least a few years behind. It does not represent regular home users who has already adopted 7 as their main OS. There's no reason to use xp over 7 if your hardware can handle it. If not then you might as well look for some lightweight linux distro. XP is a horrible OS by design.

While xp supports is not going anywhere yet, judging by its playback capabilites it's already unsuitable for enthusiasts.

/end of rant

filler56789
2nd July 2013, 15:13
...
you might as well look for some lightweight linux distro. XP is a horrible OS by design.

There are LOTS of things that Windows (apps) can do but Linux (apps) can't, regardless of the chosen distro. And except for the post-Win2K "visual styles" thing (Luna, Royale, Zune, and similar custom stuff), XP is an usable OS by design, at least for us, the so-called "advanced users" :sly: whereas Vista, Seven and 8 are "exceedingly gay" :D by design ;)
Surely there are many things that XP cannot do when compared to Vista / Seven / 8 , but if the XP user doesn't use/want/need those new features, why bother?

\ end of replica+OT

the_weirdo
2nd July 2013, 15:51
Surely there are many things that XP cannot do when compared to Vista / Seven / 8 , but if the XP user doesn't use/want/need those new features, why bother?


Then don't complain when something doesn't support XP.

vood007
2nd July 2013, 18:02
Back in 2009 i printed xp vs 7 forum battles on toilet paper but my business failed because NOONE WANTS TO READ THIS!!!

pureocean
2nd July 2013, 18:25
@clsid:

I'm sorry about the removal of the standard filters. :(

Nevertheless, thanks for MPCDXVAVideoDec.ax. I know, in this mini-filter not contain FFMpeg codes.
Therefore, 10-bit X264 videos can't play. For playing need to use last MPCVideoDec.ax (1.6.9.7503) or
Media Player Classic - BE filters.

Anyway, thanks all developers for updates and efforts!

--
My OS: Windows 2003 (NT 5.2), GPU: Radeon 3200

clsid
2nd July 2013, 19:35
The modified filter intentionally only supports DXVA, as DXVA1 is the only functionality missing from current MPC-HC. You don't need the software decoders from MPCVideoDec. MPC-HC uses LAV Filters now and those support 10-bit H.264 perfectly. Actually, better than MPCVideoDec ever did.

XinHong
2nd July 2013, 20:45
But taking this step further, personally I'd like to see MPC-HC build where decoders, splitters, AudioSwitcher, anything under "settings-playback" category (includes evr-cp and everything related), web interface and possibly something else removed completely. So it will be a GUI where LAV and madvr are hardcoded (but not bundled) :D

Totally agree, a special Ultra Lite version with only LAV+madVR (and maybe EVR for old configs) would be great

Aleksoid1978
3rd July 2013, 01:25
LAV Shoutcast do not support name & description tag.

Skankee
3rd July 2013, 02:49
I use MPC-HC.1.7.0.7545.x86 and i can´t play Opus files (Win 7 32bit).
After installing Lav 0.58 (without seting it as external Filter) it works. Is this a bug ?

wanezhiling
3rd July 2013, 03:44
Becasue mpc-hc doesn't enable all formats support from LAV, ape, tak, opus...

Internal LAV filters are not the full version of offical LAV

kasper93
3rd July 2013, 17:13
Becasue mpc-hc doesn't enable all formats support from LAV, ape, tak, opus...

Internal LAV filters are not the full version of offical LAV

It is full version but we need to register more formats. There are work in progress and l'm sure that before next stable everything will work as expected. Little patience guys. MPC-HC team are people with real life and can't fix everything in just one or two days.

Aleksoid1978
4th July 2013, 02:00
Do not show VobSub & DVB subtitle in MKV.
Here samples - http://aleksoid.voserver.net/Sample/Subtitle/MKV/

jkauff
4th July 2013, 03:15
It is full version but we need to register more formats. There are work in progress and l'm sure that before next stable everything will work as expected. Little patience guys. MPC-HC team are people with real life and can't fix everything in just one or two days.
For the next stable, can you include Eric Gur's IntelQuickSyncDecoder.dll for LAV in the installation package?

filler56789
4th July 2013, 04:39
Then don't complain when something doesn't support XP.

But I don't. Funny how people like to find meanings and "reasons" where they don't exist, only because they always have to have the last word (even when their "last word" happens to be wrong — or impertinent, or irrelevant).

nevcairiel
4th July 2013, 07:32
I'm sure you will start complaining when stuff stops working next year when XP EOL's, and everyone turns off the XP compat hacks that have accumulated over the years.

LigH
4th July 2013, 08:00
Please respect Rule 3 (http://forum.doom9.org/forum-rules.htm). People will have reasons. And may it just be the small purse (new hardware and software may be expensive for unemployed or underpaid people).

In these times of acquisitiveness crises and unregulated interception, the value of a media player free of charge and free of advertizing may be priceless; but if you can spare a little, don't hesitate.

kasper93
4th July 2013, 15:42
For the next stable, can you include Eric Gur's IntelQuickSyncDecoder.dll for LAV in the installation package?

It's already included... from the beginning.

karamancho
4th July 2013, 16:05
could you add a configurable path to the lav filters folder for the people that already have lav filters installed and configured

betaking
4th July 2013, 16:32
could you add a configurable path to the lav filters folder for the people that already have lav filters installed and configured

see mpc-hc_config.h
// If this is enabled, the registered LAV Filters can be loaded as internal filters
#define ENABLE_LOAD_EXTERNAL_LAVF_AS_INTERNAL 0

karamancho
4th July 2013, 16:56
I was thinking of adding a path to the options window. as of now I don't think the code from above works properly (or I'm missing something).
If I delete the lavfilters folder inside the MPC-HC the external ones are used, however the internal filters page in the options window is empty.

Aleksoid1978
5th July 2013, 00:58
Seeking is broken on MKV+MPEG2(made by latest MakeMKV version)+VMR9
Sample - http://aleksoid.voserver.net/Sample/MKV/MPEG2/Jack%20-%20The%20Giant%20Slayer.mkv

nevcairiel
5th July 2013, 07:11
Seeking is broken on MKV+MPEG2(made by latest MakeMKV version)+VMR9
Sample - http://aleksoid.voserver.net/Sample/MKV/MPEG2/Jack%20-%20The%20Giant%20Slayer.mkv

Works just fine here.

wanezhiling
5th July 2013, 07:58
Same here

Aleksoid1978
5th July 2013, 08:03
I record from screen - http://aleksoid.voserver.net/Sample/MKV/MPEG2/Record_1.mp4
After seeking image twitch, shows the previous frame.

Before start - i reset settings.

wanezhiling
7th July 2013, 14:36
http://pan.baidu.com/share/link?shareid=1705346462&uk=3558042035
Can't load the srt sub.

Reino
7th July 2013, 15:32
Remove the first invalid character.

wanezhiling
7th July 2013, 16:01
Oh thx, i didn't notice that.

Maybe we need a workaround for such broken subs?:)

nevcairiel
7th July 2013, 17:08
You have just been told the work around. :)

wanezhiling
7th July 2013, 17:23
PotPlayer can load the broken sub directly. :)

betaking
7th July 2013, 17:30
I use TortoiseGit
git.exe submodule update --init

Cloning into 'libbluray'...
fatal: unable to connect to git.1f0.de:
git.1f0.de[0: 178.63.14.197]: errno=No error

Clone of 'git://git.1f0.de/libbluray.git' into submodule path 'libbluray' failed


git did not exit cleanly (exit code 1) (6053 ms @ 13/07/07 PM 08:28:23)

Snowknight26
7th July 2013, 19:28
https://github.com/mpc-hc/mpc-hc/blob/f3d446ae25554067e3af5d0600b199f0403dd592/src/filters/renderer/VideoRenderers/EVRAllocatorPresenter.cpp#L795

Line 795 can be removed as bDoneSomething isn't used in that scope.


Now that LAV filters are being used as the internal filters, has there been any discussion of packing everything into one executable (how it was done before the switch) instead of having external dependencies (LAVFilters folder in the same location as the program)?

cyberbeing
7th July 2013, 20:20
http://pan.baidu.com/share/link?shareid=1705346462&uk=3558042035
Can't load the srt sub.
Remove the first invalid character.
Oh thx, i didn't notice that.

Maybe we need a workaround for such broken subs?:)

More specifically, it would seem that subtitle a duplicate UTF-8 BOM written to the beginning of the file, which causes the second BOM to end up in the body of the text.

Armada
7th July 2013, 20:43
https://github.com/mpc-hc/mpc-hc/blob/f3d446ae25554067e3af5d0600b199f0403dd592/src/filters/renderer/VideoRenderers/EVRAllocatorPresenter.cpp#L795

Line 795 can be removed as bDoneSomething isn't used in that scope.
It seems you are right, the commit is in review thank you for pointing it out.

EDIT: A commit that addresses that was already being reviewed, thanks anyway.
Now that LAV filters are being used as the internal filters, has there been any discussion of packing everything into one executable (how it was done before the switch) instead of having external dependencies (LAVFilters folder in the same location as the program)?
This is one of the prices we have to pay for integrating LAVFilters. It makes things a lot easier for us, so that's a small price to pay really.

clsid
7th July 2013, 21:12
A single executable does not have any real benefits. Current builds are just as portable as the old ones. In fact, current method will use less space for those who use multiple copies of the exe.

On a related note, is it still planned to move the shaders outside of the exe as well?

kasper93
7th July 2013, 21:19
On a related note, is it still planned to move the shaders outside of the exe as well?

Yes, work is nearly finished. You can track progress here https://github.com/mpc-hc/mpc-hc/pull/66

Snowknight26
7th July 2013, 23:33
This is one of the prices we have to pay for integrating LAVFilters. It makes things a lot easier for us, so that's a small price to pay really.

If that's the case it'd be beneficial to rename the files to differentiate between 32- and 64-bit filters. Currently it's not possible to have both 32- and 64-bit MPC-HC in the same folder as the LAV Filters files will be overwritten.

Dstruct
8th July 2013, 02:08
Could you make the mouse pointer disappear after some time of inactivity also in window mode (not just as it is in fullscreen mode) if the pointer is on the picture?


Edit: Maybe only in playback mode. When stopped I don't care about the mouse pointer.


Tracker: https://trac.mpc-hc.org/ticket/3284

ceb
9th July 2013, 00:37
I read very often of people using madVR, LAV filters and other "things" (sorry, don't know the correct term :p) but personally I'm fine with default MPC-HC/BE.
Now that MPC-HC uses LAV filters, how does it affect me? Better IQ?

I usually disable DXVA because it makes seeking slower (by the way, is this normal?) and also because I don't need it having a powerful enough PC, anyway I can't find the option to disable the various DXVAs, where are they now?

I'm not sure if this was a recent change or not but I noticed that the option "Sub pictures to buffer" has been increased to 10, I believe it was 3 before. I watch videos (mostly anime) with soft subtitles, so should I leave it at 10? Since it says "buffer" it makes me think that the higher the number the better (if the hardware can handle it of course), am I wrong? I also leave everything at default except unticking "Round up to power of two"; I don't know what this option does but I've seen it suggested various times in the usual "guide for best quality".

Lastly, are there plans for the GUI?

Any help is appreciated. :)

kasper93
9th July 2013, 01:12
I read very often of people using madVR, LAV filters and other "things" (sorry, don't know the correct term :p) but personally I'm fine with default MPC-HC/BE.
Now that MPC-HC uses LAV filters, how does it affect me? Better IQ?
LAV Filters are the best filters out there. They support various HW accelerations. They are way more stable than old filters. Old filters have had many problems which are now resolved. New filters are faster also.

About madVR, it gives you the highest video quality possible with many color calibration features and great upscaler. Basically build-in EVR-CP is just fine for playback, but if you want better quality you should look at madVR. MadVR offers few very interesting options like smooth motion FRC which allow you to completely get rid of judder when viewing for example 24fps movie on 60Hz display.

I usually disable DXVA because it makes seeking slower (by the way, is this normal?) and also because I don't need it having a powerful enough PC, anyway I can't find the option to disable the various DXVAs, where are they now?
To open video decoder setting just double click bold format name in "internal filters" options page. Or by play->filters menu while in playback.

And yes if you have PC that can handle software playback fine it's recommended to disable HW acceleration. Software decoding is more stable. Slower seeking or other problems that you can experiences with DXVA decoding are normal and depend on your HW and drivers. HW accel is basically for PCs where CPU can't handle software decoding.

I'm not sure if this was a recent change or not but I noticed that the option "Sub pictures to buffer" has been increased to 10, I believe it was 3 before. I watch videos (mostly anime) with soft subtitles, so should I leave it at 10? Since it says "buffer" it makes me think that the higher the number the better (if the hardware can handle it of course), am I wrong? I also leave everything at default except unticking "Round up to power of two"; I don't know what this option does but I've seen it suggested various times in the usual "guide for best quality".
You should leave subtitle buffer at default value. Higher buffer works better with some subtitles and therefore was changed to 10 some time ago.

Hover on "Round up to power of two" with mouse and you will see tooltip explaining this option.

Lastly, are there plans for the GUI?
Watch movies not player. :)

burfadel
9th July 2013, 12:32
Hardware decoding depends entirely on how good the card is at doing this. Newer cards are really quite good at doing the decoding, probably no reason not to use it unless you have issues. I believe video cards have dedicated hardware for this, whereas by CPU it's entirely software? The video card hardware method is more efficient power wise I believe.

burfadel
9th July 2013, 12:35
This may seem like it's jumping the guns a bit, but any plans on making it compatible with Visual Studio 2013 when it comes out? It's already in preview: http://www.microsoft.com/visualstudio/eng/2013-downloads

nevcairiel
9th July 2013, 12:38
Hardware decoding depends entirely on how good the card is at doing this. Newer cards are really quite good at doing the decoding, probably no reason not to use it unless you have issues.

Even newer high-end cards are still quite slow in comparison to modern CPUs
My NVIDIA GTX780 can decode a medium-complex 1080p clip at a maximum of 120 frames per second.

AMD cards or older NVIDIA cards reach only 60-70 fps.

My previous CPU (a Intel Core i7-2600K) can decode this clip at over 300 fps (i didn't benchmark this particular clip with my new CPU)
The only exception is Intels GPU in Sandy Bridge/Ivy Bridge/Haswell, which can decode rather quickly, usually at least ~250fps as well.

If i take the performance aspect in mind (which can matter during seeking, etc), and also think about compatibility and driver-dependencies - if i actually have a CPU that can decode the clip properly without even breaking a sweat, i would opt for a software decoder that is known to work, independent of GPU drivers and the limitations of the GPU decoders.

If you have a good CPU, there is just no huge advantage using the GPU decoder, is all.

wanezhiling
9th July 2013, 14:07
Current modern NVIDIA/AMD GPUs are quite slow in terms of decoding, thats true. Only Intel GPUs have fast speed.

Furthermore, Eric (or nevcairiel?) metioned that seeking speed is related to decoding speed as well, fast decoding = fast seeking?

ceb
9th July 2013, 21:24
Thank you for the reply. :)
To open video decoder setting just double click bold format name in "internal filters" options page. Or by play->filters menu while in playback.
Found it; have to say it was easier before to just tick off the hardware accelerations, now I have to go in each individual filter's setting and disable it. Isn't there a way to disable all hardware acceleration at once? Even registry keys and other ways are fine for me.
Hover on "Round up to power of two" with mouse and you will see tooltip explaining this option.
Now I know what it does but how does the option affect subtitle quality?
Watch movies not player. :)
I agree, but I just asked it there were any plans ahead. I'm fine with the current GUI in terms of functionality, not so much in terms of looks, though of course this is a personal matter.

For reference I have an Intel Core i5 2500 and an ATI 5770 (last series to have the ATI name :D), so yes I should be OK in terms of performance.

kasper93
9th July 2013, 21:46
Isn't there a way to disable all hardware acceleration at once?
You have only one settings for all formats...

Now I know what it does but how does the option affect subtitle quality?
As far as I know it doesn't affect quality at all.

I agree, but I just asked it there were any plans ahead. I'm fine with the current GUI in terms of functionality, not so much in terms of looks, though of course this is a personal matter.
Well, someday just no one knows when ;p

nevcairiel
9th July 2013, 23:00
Found it; have to say it was easier before to just tick off the hardware accelerations, now I have to go in each individual filter's setting and disable it. Isn't there a way to disable all hardware acceleration at once? Even registry keys and other ways are fine for me.

Just open the settings of any video decoder and set the hwaccel to "None", done. All decoders share the settings.

In the future, the LAV settings will be better integrated into the mpc-hc GUI itself so its easier to find, but its a ongoing process, not everything happens at once. :)

Raylan Givens
9th July 2013, 23:12
Guys, I'd truly appreciate a little help about 1 question or 2 I've got:

1. I'd really like to know why MPC-HC with same resizer and renderer and all, is using more GPU and CPU resources than Potplayer. Both players are being extremely light in resources, but still...

2. The MOST improtant... Why MPC-HC isn't able to show subtitles on all formats while I'm trying to use EVR ( NOT EVR-CP ), while Potplayer shows subtitles on all formats ( with EVR ), despite the fact I can't use some mostly useless features?

Now to clarify...

About the first question: Say, I'm using on both EVR-CP with Billinear ( PS 2.0 ) on a 720p MKV. Potplayer is clearly using less resources.

About the second question: Say, I'm using all default filters on both, but I change the renderer to EVR. That's it, MPC-HC does show no subtitles while Potplayer -seemingly at least- shows subs normally without problems... It doesn't break DXVA native.

Am I missing something? I just use a 23" 1080p PC monitor and thus, I can hardly notice any difference in quality. Especially now that MPC-HC 1.7 has LAV filters as default, the difference has been increased even more...

Potplayer with default filters and EVR renderer is hardly using any recources.

P.S. I'm really curious because I love the simplicity of MPC-HC and especially the fully Windows native UI and Menu UI without bells and whistles and many features of Potplayer I personally consider as "bloat" since I don't use 'em. In short, I want to keep using MPC-HC as default.

mindbomb
9th July 2013, 23:48
with evr, you need an external subtitle renderer like xy vsfilter, and for hardware acceleration, use nvidia cuvid, intel quicksync or dxva copyback in lav video.

ceb
10th July 2013, 00:40
You have only one settings for all formats...
Just open the settings of any video decoder and set the hwaccel to "None", done. All decoders share the settings.
Oh it was that easy... :o
Thanks!

JanWillem32
10th July 2013, 01:58
Raylan Givens, the performance (and several other) problems of the custom video renderers in MPC-HC are well-known. I'm not that surprised other solutions fare better in terms of efficiency. I tried to fix the internal renderers at first, but it turned out to be pretty much unmaintainable bad code. The renderer hasn't had real maintenance since I left it like this two years ago. If you would like to compare video renderer efficiency, it would be a lot fairer to compare other programs with one of my builds that contain a replaced video renderer and some other related updated parts.

wanezhiling
10th July 2013, 04:05
1. I'd really like to know why MPC-HC with same resizer and renderer and all, is using more GPU and CPU resources than Potplayer. Both players are being extremely light in resources, but still...
PotPlayer optimized EVR-CP/VMR9 Renderless many times AFAIK, while MPC-HC/BE doesn't.
Try JanWillem32's version. :)

2. The MOST improtant... Why MPC-HC isn't able to show subtitles on all formats while I'm trying to use EVR ( NOT EVR-CP ), while Potplayer shows subtitles on all formats ( with EVR ), despite the fact I can't use some mostly useless features.
"Most video renderers have function for showing bitmap .
So PotPlayer use it..."
--- By offical PotPlayer admin

Thats why PotPlayer can show subs with "unsupported" video renderers (Overlay Mixer, VMR7/9 windowed, vanilla EVR, OpenGL) although the quality is a bit bad.:)

ageback
10th July 2013, 06:24
I build in Windows 2003 ENT SP2 with VS2010 SP1 and latest patches. Then I got build error:

13:10:02.265 33> C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.MakeFile.Targets (38,5): error MSB3073: Command "build_lavfilters.bat Build x86 Silent Nocolors" has exited code is 1. [D:\@Opensource Projects\mpc-hc\src\thirdparty\LAVFilters\LAVFilters.vcxproj]

Can anyone help me, please? Before LAVFilters integration there was no such error.

kasper93
10th July 2013, 11:20
@ageback: :readguid: https://trac.mpc-hc.org/wiki/How_to_compile_the_MPC

filler56789
10th July 2013, 20:12
Shall MPC-HC be renamed to LPC-HC ?

LAV Player Classic Homecinema :sly: :D

SeeMoreDigital
10th July 2013, 20:22
Shall MPC-HC be renamed to LPC-HC ?

LAV Player Classic Homecinema :sly: :D



Well... I like it :D

ageback
11th July 2013, 06:18
@ageback: :readguid: https://trac.mpc-hc.org/wiki/How_to_compile_the_MPC

I've set up the env and I've been building mpc-hc for years.

ryrynz
11th July 2013, 07:33
I've set up the env and I've been building mpc-hc for years.

Maybe they updated the guide?

ageback
11th July 2013, 11:11
Maybe they updated the guide?

But in Windows 7 with the same enviroment it builds OK.

kasper93
11th July 2013, 12:12
@ageback: Are you sure that you have all submodules set correctly? Like guide says:
git submodule update --init --recursive

ageback
11th July 2013, 13:22
Of cause I'm sure I've pulled all submodules.

betaking
11th July 2013, 13:35
hi this is Simplified Chinese translation rc and txt for last git
http://www.sendspace.com/file/cpxkyh
"-" in .rc file should be ""-"".
i have already fix it for Simplified Chinese translation!

vBm
11th July 2013, 14:07
hi this is Simplified Chinese translation rc and txt for last git
http://www.sendspace.com/file/cpxkyh
"-" in .rc file should be ""-"".
i have already fix it for Simplified Chinese translation!

Yeah we know but Underground78 hasn't yet pushed the fix for it.

kasper93
11th July 2013, 14:39
Of cause I'm sure I've pulled all submodules.

So :logfile:

@betaking:

"LAV Filters" is the name and you should not translate that.

ageback
12th July 2013, 01:48
So :logfile:

@betaking:

"LAV Filters" is the name and you should not translate that.

I've posted error log.

kasper93
12th July 2013, 02:10
Yeah, but that line that you have posted tell us only that build_lavfilters.bat failed. I would like to see actual error so we will know where it fail exactly. We can't help you out of nothing.

ageback
12th July 2013, 02:55
I see. I'll put MPC-HC in C:\ root and try to catch the detail log.

ageback
12th July 2013, 05:09
Well, I tried again, built with VS2010 open MPC-HC.SLN other than running build.bat which I did before. This time it can generate mpc-hc.exe but when calling "src\thirdparty\LAVFilters\build_lavfilters.bat" the error still existed. The error log I have posted before is the only one. Even when I manually call src\thirdparty\LAVFilters\build_lavfilters.bat Build x86 nothing happened, nothing.
I think "src\thirdparty\LAVFilters\build_lavfilters.bat" has some compatibility issues with Windows XP/2003.

kasper93
12th July 2013, 14:51
Even when I manually call src\thirdparty\LAVFilters\build_lavfilters.bat Build x86 nothing happened, nothing. Strange, no output at all? Try to remove "@ECHO OFF" from build_lavfilters.bat and hopefully you will see where it fails.

ageback
12th July 2013, 23:07
I removed "@ECHO OFF" from build_lavfilters.bat and exported output to LAV.txt file. I don't know where the problem issues. Can you please help me to parse the file? Thanks in advance.

kasper93
13th July 2013, 11:46
Sure will have a look as soon as the attachment will be approved. It's better to use pastebin or similar...

EDIT:

This is strange. ERRORLEVEL is 1 on first call to :Main. It really make no sense. Only thing that could be wrong is your PATH try to clean it up a little. Especially this part C:\WINDOWS\Media\ɨĂčŇÇşÍÉăĎńÍ·.{E211B736-43FD-11D1-9EFB-0000F8757FCD};;; I have no idea but maybe this sets errorlevel. I don't see anything else wrong. It's even before doing anything useful.

If cleaning patch won't help you will need to do small experiment and add echo error: %ERRORLEVEL% in few places in the script and check after what call it's changed.

Check PM.

ageback
14th July 2013, 00:36
I removed C:\WINDOWS\Media\ɨĂčŇÇşÍÉăĎńÍ·.{E211B736-43FD-11D1-9EFB-0000F8757FCD};;;, replace old build_lavfilters.bat with the one you provided, rebooted. Then put an "aaa.bat" file in C:\MPC-HC, with content CALL "src\thirdparty\LAVFilters\build_lavfilters.bat" Build x86. After running it got output line: 94

kasper93
14th July 2013, 02:37
Great. I remember now what is the problem with XP. Will fix that tomorrow. It's easy to forget about this little thing.

EDIT:

I fixed it, it's in main repo, so give it a try :)

clsid
14th July 2013, 17:15
Since MPC-HC has no direct dependency on LAV Filters, it should imo not build LAV Filters when building just MPC-HC, only when building complete Solution or package.

kasper93
14th July 2013, 18:25
Since MPC-HC has no direct dependency on LAV Filters
Depends what do you thinks by that. Media player without ability to decode anything is not useful. I think nothing has changed since old internal filters. LAV is now part of MPC-HC and it shouldn't be shipped without it. I know that technically it doesn't need LAV to work, but do we really need to split this two things? MPC-HC is closely connected to LAV.

SeeMoreDigital
14th July 2013, 18:52
LAV is now part of MPC-HC and it shouldn't be shipped without it. I know that technically it doesn't need LAV to work, but do we really need to split this two things? MPC-HC is closely connected to LAV.Yep... I'm of the opinion that the LAV versions of Media Player Classic should be immediately identifiable and a new topic started...

So how about we say goodbye to Media Player Classic Home Cinema and hello to Media Player Classic LAV ;)

ageback
15th July 2013, 02:47
Great. I remember now what is the problem with XP. Will fix that tomorrow. It's easy to forget about this little thing.

EDIT:

I fixed it, it's in main repo, so give it a try :)

It's working now! Thank you!

ryrynz
15th July 2013, 07:29
So how about we say goodbye to Media Player Classic Home Cinema and hello to Media Player Classic LAV ;)

LAV Media Player.

madshi
15th July 2013, 07:41
Since MPC-HC has no direct dependency on LAV Filters, it should imo not build LAV Filters when building just MPC-HC, only when building complete Solution or package.
Agreed, and I'd still very much like to see Lite builds without any internal filters.

From my point of view, I have multiple media players installed, and I want to use LAV in all of them. So it doesn't really make much sense for me to have LAV be part of the media players themselves. If every media player had LAV built in, I'd have to update LAV multiple times on my PC, every time a new LAV build is released. That just doesn't make any sense (for me).

I understand some people like a complete one-stop package solution. But that's just one part of the user base. Don't forget the other half of the user base.

vBm
15th July 2013, 09:04
Agreed, and I'd still very much like to see Lite builds without any internal filters.

From my point of view, I have multiple media players installed, and I want to use LAV in all of them. So it doesn't really make much sense for me to have LAV be part of the media players themselves. If every media player had LAV built in, I'd have to update LAV multiple times on my PC, every time a new LAV build is released. That just doesn't make any sense (for me).

I understand some people like a complete one-stop package solution. But that's just one part of the user base. Don't forget the other half of the user base.
Just delete LAVFilters folder and you have 'lite' build. Can't be easier then that.

madshi
15th July 2013, 09:08
Just delete LAVFilters folder and you have 'lite' build. Can't be easier then that.
Ok, if that does the trick then all is well (from my point of view)!

wanezhiling
15th July 2013, 09:23
:) I'm satisfied with current situation. Don't need to set external LAV "Prefer" anymore.

nevcairiel
15th July 2013, 10:22
Ok, if that does the trick then all is well (from my point of view)!

That is indeed all that needs to be done, there is no "hard link" to LAV, a Lite build would be the same binary, just packaged without LAV.

ryrynz
15th July 2013, 10:23
Just delete LAVFilters folder and you have 'lite' build. Can't be easier then that.

Can we get the installer when selecting 'custom install' have LAV filters inserted as an option to untick?
Then with future reinstalls if it's detected that LAV has been unticked then the installer will default to 'custom install' with LAV unticked for a non nonsense upgrade for lite build installs.
Or perhaps you could add 'Lite' to the dropdown box.

minaust
15th July 2013, 11:20
Agreed, and I'd still very much like to see Lite builds without any internal filters.

From my point of view, I have multiple media players installed, and I want to use LAV in all of them. So it doesn't really make much sense for me to have LAV be part of the media players themselves. If every media player had LAV built in, I'd have to update LAV multiple times on my PC, every time a new LAV build is released. That just doesn't make any sense (for me).


I second that.

kasper93
15th July 2013, 11:57
I second that.
Like vBm said:
Just delete LAVFilters folder and you have 'lite' build. Can't be easier then that. And you can always just disable internal filters in options. I doubt that MPC-HC will be shipped without filters. But You can easily disable them.

That is indeed all that needs to be done, there is no "hard link" to LAV, a Lite build would be the same binary, just packaged without LAV.
If I'm not wrong lite build was shipped without mediainfo and stuff, but I may be wrong, too lazy to check it out.

clsid
15th July 2013, 14:10
Correct, Lite builds don't contain statically linked MediaInfo and unrar libs.

Funny how everybody is now talking about distribution, while my suggestion was purely for compilation. So to clarify:
1) Don't compile LAV Filters when building MPC-HC project in Solution file. Only compile it when building whole Solution.
2) Don't compile LAV Filters when telling build script to build "Main" or "MPCHC", only when passing "LAVFilters" or "All".

Btw, it should be trivial to add an option to the installer for LAV Filters. Then people can just uncheck it if they don't want it.


Edit: static linking of MediaInfo and Unrar provides just minimal size benefits. About 100KB compressed, and 500KB uncompressed. So the devs could consider using external DLLs. Then there would be no more need for Lite builds, as everybody can simply extract the files they want from the 7z archive.

Armada
15th July 2013, 18:02
Q: Will you drop the lite builds now that you can just delete LAVFilters?

A: While there have been discussions about dropping the lite builds, we do not yet have any plans to do so.

Btw, it should be trivial to add an option to the installer for LAV Filters. Then people can just uncheck it if they don't want it.
Can we get the installer when selecting 'custom install' have LAV filters inserted as an option to untick?
Then with future reinstalls if it's detected that LAV has been unticked then the installer will default to 'custom install' with LAV unticked for a non nonsense upgrade for lite build installs.
Or perhaps you could add 'Lite' to the dropdown box.
I have proposed this change (https://github.com/Armada651/mpc-hc/commit/1df6437fa1d4152b27f68b8688d9722c3ed69336) before, but the main concern is that inexperienced users won't know what it is and uncheck it because they think they don't need it.

ryrynz
15th July 2013, 22:34
I have proposed this change (https://github.com/Armada651/mpc-hc/commit/1df6437fa1d4152b27f68b8688d9722c3ed69336) before, but the main concern is that inexperienced users won't know what it is and uncheck it because they think they don't need it.

Anybody that generally selects custom install or chooses a non default item generally knows what they're doing. Can't baby everyone.

clsid
16th July 2013, 00:52
Experienced users usually tend to disable as much as possible, while inexperienced users typically enable as much as possible. So we don't really need to worry about that. You can make it obvious what the option does by giving it a description such as "Use internal codecs (LAV Filters)".


@underground78
There seems to be a bug in your latest audio switcher commit. The wrong audio track may get selected when using Haali splitter. You can reproduce it by playing a .mkv file where the second audio track is marked as default. As an additional side effect, audio is broken until I switch the audio track, and video plays at wrong speed as well.

truexfan81
16th July 2013, 06:10
Experienced users usually tend to disable as much as possible, while inexperienced users typically enable as much as possible. So we don't really need to worry about that. You can make it obvious what the option does by giving it a description such as "Use internal codecs (LAV Filters)".


@underground78
There seems to be a bug in your latest audio switcher commit. The wrong audio track may get selected when using Haali splitter. You can reproduce it by playing a .mkv file where the second audio track is marked as default. As an additional side effect, audio is broken until I switch the audio track, and video plays at wrong speed as well.

clsid i'm pretty sure he built that based on the internal lav filter, so it was probably not checked against Haali

kasper93
16th July 2013, 11:44
clsid i'm pretty sure he built that based on the internal lav filter, so it was probably not checked against Haali

It's not based on LAV. It should work with every splitter out there. It's player part. We should not mix these things.

You can make it obvious what the option does by giving it a description such as "Use internal codecs (LAV Filters)".

Right, but on the other hand I don't understand why do you all want not to install filters? I mean you can easily disable them is settings after installation. And that make much more sense because low merit mode will be used if nothing else can play particular file. Not installing make sens only for power users but they can remove "LAVFilters" folder or just don't extract it form .7z package you are not forced to use installer.

wanezhiling
16th July 2013, 12:18
Many players have no options to disable internal filters at all, MPC-HC is already kind enough.

If you dont like/use internal LAV, disable them all in settings or just remove "LAVFilters" folder.

Armada
16th July 2013, 12:22
Q: Will you drop the lite builds now that you can just delete LAVFilters?

A: While there have been discussions about dropping the lite builds, we do not yet have any plans to do so.
I need to go back on this statement, it seems the lite builds were turned off without discussion.

filler56789
16th July 2013, 15:06
I need to go back on this statement, it seems the lite builds were turned off without discussion.
To make things more confused, the file info.md (http://nightly.mpc-hc.org/Info.md) still says:

The main builds (MSVC 2010) start to update and build at 01:00 (GMT+2)
and the builds are uploaded right after they are done so around 01:30 (GMT+2).

The Lite builds are built every Sunday at 01:00 (GMT+2).

The ICL13 builds are postponed for the time being, until a few bugs are fixed in the compiler.

jkauff
16th July 2013, 15:34
Many players have no options to disable internal filters at all, MPC-HC is already kind enough.
It could be a little kinder and let you disable them all with one click. Of course, now with LAV being internal, I don't need to do that anymore.

clsid
16th July 2013, 15:39
Right-click > Disable all filters

renq
16th July 2013, 16:30
This 4K video doesn't play on MPC-HC, but latest VLC plays it-
https://bit.ly/12MQMvQ

Snowknight26
16th July 2013, 18:52
Probably because it wasn't cut correctly. Remux it to fix it.

ffmpeg.exe -probesize 50000000 -i "20000101 0207 - 10906V SID 0x01 - instant record.ts" -acodec copy -vcodec copy -y outupt.ts

Armada
17th July 2013, 14:59
Experienced users usually tend to disable as much as possible, while inexperienced users typically enable as much as possible. So we don't really need to worry about that.
I'm more concerned about what's in between, users who are experienced enough to disable anything they think they don't need.

But through a combination of clearly defining what it is and making it part of an 'advanced' setup we may be able to achieve something that works for both parties.

kasper93
17th July 2013, 15:05
@renq @Snowknight26: nevcairiel already improve (http://git.1f0.de/gitweb?p=lavfsplitter.git;a=commit;h=90db672a71592a46ccdb6a9f98c138e686d0febf;js=1) this in LAV to handle bad files like this one. Will be in MPC-HC on next update.

ney2x
17th July 2013, 18:29
Probably because it wasn't cut correctly. Remux it to fix it.

ffmpeg.exe -probesize 50000000 -i "20000101 0207 - 10906V SID 0x01 - instant record.ts" -acodec copy -vcodec copy -y outupt.ts

slightly off-topic:
What's a good way or application that I need to used to cut/split certain scene of a movie for sample? I used Avidemux in cutting some movies that I uploaded for sample but it the bit rate and audio stream (according to MediaInfo) is not the same with the original. Thanks.

ryrynz
18th July 2013, 06:16
I'm more concerned about what's in between, users who are experienced enough to disable anything they think they don't need.

But through a combination of clearly defining what it is and making it part of an 'advanced' setup we may be able to achieve something that works for both parties.

That's how you mititgate these issues sure but these people will always remove things they think they don't need and that's just part of being an advanced user.

Who here hasn't done this at some stage removed some component of software that's required for something and come up with some error or issue?

You're being overly cautious over something that's no big deal.

chano22000
18th July 2013, 16:54
Dear mpc-hc team,

Thank you so much for mpc-hc and your hard work. With the integration of LAV and optionally madVR, mpc-hc is quality-wise probably the best open source solution.

This is true for video but audio is no more at the right level. Since madVR introduced the smooth motion FRC, Reclock is no more mandatory and there are yet no reasons not to bitstream audio or output bitperfect LPCM.

mpc-hc does not support WASAPI (current recommendation is not to use mpc-hc audio renderer which is buggy). Not being able to bypass the Windows mixer forces channel upmix (stereo becoming multichannel which disables Prologic or Neo6 from the AVR) and prevents bitperfect LPCM (AFAIK the Win7 mixer does at least 32bit reencoding, attenuation, mixing, systematic resampling according the fixed rate selected in the sound control panel).

I am not aware of any other solution but to use Reclock to get a WASAPI output (not reclocking anything, with audio clock slaved on video). It works but has a serious limitation since resampling is not smart. It should be avoided as much as possible and should therefore not occur when the audio LPCM output format (bit depth, sampling rate) is supported by the AVR and the audio card (Nvidia Geforce HDMI does not accept (sub)multiples of 44,1 kHz). Reclock only allows "do not change" (and uncommon/unsupported rates are not resampled = no sound) or resample to a fixed rate (leading to resample a 44,1 khz track to 48 kHz if kept as default). In any case, James (Slysoft) has other priorities and reclock is globally overkill for just WASAPI.

Since the video part is now near perfect, would it be possible yet to focus on the audio side and have a quality driven WASAPI exclusive mpc-audio renderer. I understand that the mpc-be developer has started some work on his own side which is still on its way.

I hope I am not alone loving mpc-hc ... and sound quality !

Thank you for what has been done and for the future.

Kind regards.

Dstruct
18th July 2013, 18:21
ASIO would be much better.

jkauff
18th July 2013, 23:27
ASIO would be much better.
ASIO and WASAPI would be best. I'm lucky, I have an M-Audio Audiophile 192 card with rock-solid ASIO drivers, but I'm sure many people have hardware that doesn't support ASIO, or may have flaky drivers. In any case, it's more dependent on 3rd parties than WASAPI.

JRiver still has ASIO, but they're now enabling WASAPI Event-driven by default (if you choose WASAPI).

That said, I don't think it would be a trivial matter to add WASAPI support to MPC-HC. Even foobar2000 developer Peter P. needed several tries to get it right.

mindbomb
19th July 2013, 03:49
mpc-be does have a working mpc audio renderer with wasapi exclusive mode support.

chano22000
19th July 2013, 09:28
I tried mpc-hc audio renderer in wasapi exclusive mode some weeks ago and got issues with numerous audio streams where reclock is ok.

Options -> Output -> Move your mouse to Drop Down Lists (Audio Renderer)

You can see popup message "MPC Audio renderer is broken, do not use" :o

ikarad
21st July 2013, 22:24
How use lavfilter integrated in mpc-hc? I don't find the options to check.

Armada
21st July 2013, 23:34
How use lavfilter integrated in mpc-hc? I don't find the options to check.
It has been integrated in the nightly builds, almost all internal filters have been replaced by LAV filters. So when MPC-HC would normally use it's own filters it now instead uses a packaged LAV filters. It's still a work in progress though, so some things are not yet polished and you may encounter bugs (report them if you find any).

Aleksoid1978
22nd July 2013, 06:17
1 - MPC-HC + XySubFilter + madVR = bug, subtitles display twice, throw TextPassThruFilter and XySubFilter.
http://i.imgur.com/mJv4iVM.png

A know that need disable Auto Load Subtitle, but it's not right way. I think need disable TextPassThruFilter.

2 - Even if disable TextPassThruFilter(uncheck AutoLoad Subtitle), File with embedded + load external we have bug when both subtitle displayed - embedded + external at one time.
http://i.imgur.com/wjk7t7P.png

clsid
22nd July 2013, 13:37
Latest version still selects the wrong audio track (first) when second track is marked as default. Using Haali splitter. Preferred language lists are empty in MPC-HC.

chano22000
22nd July 2013, 19:12
Hi mindbomb

mpc-be does have a working mpc audio renderer with wasapi exclusive mode support.

Where can I get the mpc-be standalone filters ? They are no more available in the latest releases from http://dev.mpc-next.ru/index.php/board,29.0.html since last update of the audio renderer (rev 3044 ?).

Kind regards.

Aleksoid1978
23rd July 2013, 06:09
Hi mindbomb

Where can I get the mpc-be standalone filters ? They are no more available in the latest releases from http://dev.mpc-next.ru/index.php/board,29.0.html since last update of the audio renderer (rev 3044 ?).

Kind regards.

Here - http://dev.mpc-next.ru/index.php/topic,1654.msg9236.html#msg9236

Tiberian
24th July 2013, 17:03
New member so go easy on me, trying to resolve an issue with MPC-HC but this isn't a deal breaker - I'll still continue to use it since it's been the best media player for me over the years since it was first created/released.

Anyway, here's the short short version: OS is Windows 7 Pro x64. I don't have a big "home theater," everything is done on my laptop, a Dell Latitude E6400 with Intel GMA 4500 graphics. Now, in the past when I used older versions of MPC-HC (meaning versions before the 1.7 branch which - iirc - is when the LAV filters were introduced as part of the distribution) I was able to just use the MPC-HC executable and nothing more to play pretty much any file save for Real content (which I don't even touch, ever).

My issue is with the movie trailers from Apple located at their trailers webpage (http://trailers.apple.com). In the past, as I said, pre-1.7 MPC-HC I was always always able to play the trailers (typical MOV containers with h.264 video streams and AAC audio streams inside) without a single issue at all, even DXVA would work just fine off the Intel GPU I have (yes it's lame and I intend to get a replacement mobo at some point that has the Nvidia Quadro on it, but not at this moment).

Now, from the very first time I used a post-v1.7 MPC-HC build with the LAV filters included, I can't play those trailers anymore, and no, rolling back to the pre-1.7 release builds doesn't resolve the issue or play the videos anymore either. The only thing that's changed on this machine (this Windows 7 installation is nearly 11 months old and gets regular updates, etc, but I haven't altered anything in any respects to video, I'm still using the latest Intel graphics driver v8.15.10.2869). About a week ago I grabbed the latest MPC-HC build (my very first one was v1.7.0.7621 from 7-17-2013) and ever since that first run of that build, these QuickTime MOV container files won't play. Here's the error I get:

File Source (Async.)::Output

Media Type 0:
--------------------------
Unknown

AM_MEDIA_TYPE:
majortype: MEDIATYPE_Stream {E436EB83-524F-11CE-9F53-0020AF0BA770}
subtype: MEDIASUBTYPE_QTMovie {E436EB89-524F-11CE-9F53-0020AF0BA770}
formattype: TIME_FORMAT_NONE {00000000-0000-0000-0000-000000000000}
bFixedSizeSamples: 1
bTemporalCompression: 0
lSampleSize: 1
cbFormat: 0


Media Type 1:
--------------------------
Unknown

AM_MEDIA_TYPE:
majortype: MEDIATYPE_Stream {E436EB83-524F-11CE-9F53-0020AF0BA770}
subtype: TIME_FORMAT_NONE {00000000-0000-0000-0000-000000000000}
formattype: TIME_FORMAT_NONE {00000000-0000-0000-0000-000000000000}
bFixedSizeSamples: 1
bTemporalCompression: 0
lSampleSize: 1
cbFormat: 0

It's obviously detecting it for what it is - a QuickTime container file - but it just won't play it for the reason I can't comprehend.

I'm not really sure how (or even if) I can resolve this and I'd really really like to get it done without resorting to a backup-reinstall of the whole dang OS since it's running so well at this point. I did try to use several 1.6.x branch builds and I get the same error. Heck, I can't even watch those trailers now using Windows Media Player which has always natively been able to play them under Windows 7. I suspected maybe Apple had changed something so they wouldn't play with anything but QuickTime installed (a format change to the container, who knows, I'm just speculating - you folks know this stuff much better than I do) so I grabbed a few trailers I had from earlier this year and even one or two from 2011 I had on a backup disc and they simply won't play. Every time I attempt to play one I get the same basic error as noted above.

If anyone is able to help, or has some suggestion I'd appreciate hearing it. I'm so used to having everything just working without issues in Windows 7 - with MPC-HC being able to play pretty much anything that I normally care to watch without having to load any "codec packs" because of Windows 7's native multiformat decoder as well as what MPC-HC can do internally/natively all by itself.

But now I can't play these trailers and again this isn't a make or break thing I suppose, I just can't stand it when something is borked and I can't figure it out on my own.

Any assistance is greatly appreciated, thanks.

fvisagie
25th July 2013, 07:54
I used Avidemux in cutting some movies that I uploaded for sample but it the bit rate and audio stream (according to MediaInfo) is not the same with the original. Thanks.

Ensure the drop-down controls under Video and Audio are both set to Copy. To further prevent any re-encoding and/or glitches due to missing reference frames, always cut on I-frame boundaries.

xiulet
25th July 2013, 20:49
hi i am using mpc-hc + madvr( smooth motion)+ reclock only for wasapi mode, and my avr is showing correctly the bitstreams, seems it's working for me.
http://i.minus.com/ib0AlOVKPa7USz.PNG
http://i.minus.com/ihWljUFrixWh4.PNG

may be i didn't understand well the post about this , i dosen't speak english well.

:)

betaking
26th July 2013, 14:39
hi this is Simplified Chinese translation rc and txt for last git
http://www.mediafire.com/download/o56qrmo5u8246l3/mplayerc.sc..zip

Thingol
26th July 2013, 21:33
Turkish translation updated.
https://dl.dropboxusercontent.com/u/11769082/mplayerc.tr.rc.txt

DUDERANCH
27th July 2013, 08:54
Hello all.

I have been using this MPC for years. I like it due to the low resource usage (even though I have the power) and clean looking interface.

I have read on a lot of video forums people are talking about some filter called LAV and another called MadVR. Can someone explain what these do? I heard they give better quality but how is that possible? Once a Blu-ray or DVD is encoded how can it go back to good quality? This makes no sense to me.

I use default MPC-HC settings. Back in the day I remember you needed codec packs but not anymore.

I have a 1680x1050 22" monitor and a 3GB 7950 gpu. Are these filters going to make my 480p rips look like HD?

xiulet
27th July 2013, 09:14
Hello all.

I have been using this MPC for years. I like it due to the low resource usage (even though I have the power) and clean looking interface.

I have read on a lot of video forums people are talking about some filter called LAV and another called MadVR. Can someone explain what these do? I heard they give better quality but how is that possible? Once a Blu-ray or DVD is encoded how can it go back to good quality? This makes no sense to me.

I use default MPC-HC settings. Back in the day I remember you needed codec packs but not anymore.

I have a 1680x1050 22" monitor and a 3GB 7950 gpu. Are these filters going to make my 480p rips look like HD?

Take a look this tutorials and learn about configurations
all together tutorial (http://www.homecinema-hd.com/us/tutorials/windows/htpc/tutorial-htpc-1.html)
madvr tutorial (http://yabb.jriver.com/interact/index.php?topic=80253.0)
The quality of a video is one that is, is not posible that a 480p looks like a hd and vice versa, but are several levels of quality of a rip.

Lav filters are now integrated on mpc-hc http://nightly.mpc-hc.org/

:)

truexfan81
27th July 2013, 21:09
wow that's just great now I cannot even play .wmv in Windows Media Player. Madvr and Lav filter and this garbage actaully screwed up my computer. First black screen crash since Windows XP just fantastic.

MPC-HC version 1.6.5 32 bit - everything works perfectly.

Update MPC-HC to new version 32 bit + Madvr + lav filters = .wmv doesn't play, quiet audio, wasted 2 hours of my life, crashes computer.

what a bunch of crap.

more info might be helpful, example: windows version, graphics hw, mpc-hc version used, etc

Superb
28th July 2013, 00:16
lol I can't even play .avi or .mkv anymore.

never again will I listen to the hype.

if it ain't broken don't fix.

I got no quality improvement and a bunch of crashes. what disaster.Really don't know what you're talking about. I bet you have some broken or misconfigured filters on your machine. Can't remember the last time I've had a crash w/ MPC-HC+LAV+madVR.

There's no doubt, by the way, that madVR improves the video quality (I watch 720p videos on 1080p screens).

I bet you did something wrong (blindly following guides w/o knowing what you do is probably the cause).

Guest
28th July 2013, 00:42
Go post your questions at the site hosting the guide you followed. We don't provide support at Doom9 for random guides found on the net. And we don't like to help people that come in here and start calling respected software crap.

dansrfe
28th July 2013, 00:47
lol nice. xiulet posts the guide and then you tell me to go there.

4chan says go to Doom9 to get better MPC-HC quality but watch out for elitists. Look's like they were right and then wrong. There is no better quality because it doesn't work, there are no tutorials, half the subforums are dead, but there are elitists.

Dude, you're wasting Doom9's server space by posting useless comments. Think long and hard before posting any comment anywhere and read the documentation of whatever you're using before bitching about it to anyone or anywhere.

truexfan81
28th July 2013, 01:02
lol nice. xiulet posts the guide and then you tell me to go there.

4chan says go to Doom9 to get better MPC-HC quality but watch out for elitists. Look's like they were right and then wrong. There is no better quality because it doesn't work, there are no tutorials, half the subforums are dead, but there are elitists.

i'm going to make this simple for you.
1. grab the latest mpc-hc nightly this has LAV built-in
http://nightly.mpc-hc.org/

2. grab the latest madvr
http://madshi.net/madVR.zip

calmly take your time, go through the madvr settings, try them out until you find what you like (this takes time as there are many options, but its worth it because when you get it just right it is so much better than the alternatives)

3. enjoy

Superb
28th July 2013, 01:08
lol nice. xiulet posts the guide and then you tell me to go there.

4chan says go to Doom9 to get better MPC-HC quality but watch out for elitists. Look's like they were right and then wrong. There is no better quality because it doesn't work, there are no tutorials, half the subforums are dead, but there are elitists.
Huh? It doesn't work FOR YOU. Probably something YOU did wrong.
It doesn't/shouldn't take 2 hours (as long as you know what you do).
I'm willing to spend 5 minutes on TeamViewer and fix all your decoder issues. Send me a PM w/ ID and password if you'd like.

mindKILL3R
28th July 2013, 03:02
Hi. I don't know much about video yet, but I have a question about choppy playback in MPC-HC.

I noticed that some BDrips stutter/look choppy even though my task manager shows CPU usage at around 50% during the stuttering (and 10-15% otherwise). I have an i7 930 2.80GHz and Radeon HD 5850, plus 24GB of RAM. Is this more likely to be a hardware or software issue? I just grabbed the latest MPC-HC nightly but I don't know much about codecs. Currently using CCCP.

EDIT: Also, I noticed that the problem vanishes sometimes when I pause or close the player, but only sometimes, which doesn't make much sense.

truexfan81
28th July 2013, 03:29
Hi. I don't know much about video yet, but I have a question about choppy playback in MPC-HC.

I noticed that some BDrips stutter/look choppy even though my task manager shows CPU usage at around 50% during the stuttering (and 10-15% otherwise). I have an i7 930 2.80GHz and Radeon HD 5850, plus 24GB of RAM. Is this more likely to be a hardware or software issue? I just grabbed the latest MPC-HC nightly but I don't know much about codecs. Currently using CCCP.

EDIT: Also, I noticed that the problem vanishes sometimes when I pause or close the player, but only sometimes, which doesn't make much sense.

need more info, mpc-hc version, windows version, etc

mindKILL3R
28th July 2013, 04:03
need more info, mpc-hc version, windows version, etc

It's MPC-HC 1.7.0.7662 and Windows 7 64-bit.

truexfan81
28th July 2013, 04:20
It's MPC-HC 1.7.0.7662 and Windows 7 64-bit.

if you are running the latest nightly (that version number tells me you are) then you don't need cccp, i'm betting its causing your problem. remove that, see if it helps, if not we will figure it out from there.

also

if you go into the mpc-hc options, and click the Output tab, which renderer do you have selected at the top where it says DirectShow Video? thanks

Vyral
29th July 2013, 08:15
@DUDERANCH
Grap this codec pack and follow the instructions : http://haruhichan.com/forum/showthread.php?7545-KCP-Kawaii-Codec-Pack
Make sure you uninstall ALL instances of MPC-HC, CCCP, ffdshow, madVR, Haali, K-lite, CoreAVC etc. before installing KCP.

LigH
29th July 2013, 08:23
I used to believe that "codec packs" are in general not recommendable. Some install more than you need. Some "tweak" the system to a state beyond repair. Some contain commercial components without license (warez).

One could spend time in recherching if this "Kawaii Codec Pack" is harmless. Or rather in explaining how to use the original filters.

fagoatse
29th July 2013, 09:46
I used to believe that "codec packs" are in general not recommendable. Some install more than you need. Some "tweak" the system to a state beyond repair. Some contain commercial components without license (warez).

One could spend time in recherching if this "Kawaii Codec Pack" is harmless. Or rather in explaining how to use the original filters.

True.
Moreover, the integration of lav filters defeats the purpose of such endeavours.
Anyway, I don't think mpc-hc requires any guide for newcomers as the default settings are more than enough in majority of cases. As a rule of thumb, just stay away from any codec packs.

cyberbeing
29th July 2013, 11:10
Anyway, I don't think mpc-hc requires any guide for newcomers as the default settings are more than enough in majority of cases. As a rule of thumb, just stay away from any codec packs.

MPC-HC default settings are not compatible with xy-VSFilter or XySubFilter, which means the majority of fansub viewers are all affected. It also somewhat does necessitate such guides for people who do not read the instructions in our installer or FAQ. I hate guides in general though, since some give bad advice. This is the main reason we at xy-VSFilter Project personally recommend and endorse use of CCCP for users who want to use MPC-HC. It's just about the most minimalistic and harmless codec pack you can find, and also the only way to get xy-VSFilter with some more recent bug-fixes at the moment.

Part of the reason CCCP exists is so everything can be pre-configured, tested, and checked to make sure all components are compatible and functioning as expected, rather than just the latest and greatest nightly build. Many users can't seem to be bothered to read instructions, remove conflicting filters from their system, and properly configure everything themselves. I've lost count of how many times I've heard a MPC-HC users who installed xy-VSFilter complain of "flickering subtitles", "duplicate subtitles", or "xy-vsfilter doesn't load", which are all user-error issues resulting from misconfiguration of MPC-HC. I've also lost count of how many times installing CCCP fixed completely broken DirectShow setups for people, which go beyond just MPC-HC configuration issues.


My best guess is that mindKILL3R installed the CCCP 2013-07-16 RC2 Beta and ran into this issue:
A performance issue with the CCCP LAV Filters compile put into the RC2 has been fixed. Was originally caused by the toolchain containing mingw-w64's winpthreads, and not the original pthreads-win32. I blame movax (and Zeranoe, kind of :P). This was not a problem in any of the stable releases because pthreads was not used in them.
This was fixed by JEEB in 2013-07-22 RC3 Beta, and did not exist in the 2013-05-30 stable release.

nevcairiel
29th July 2013, 12:24
Guides give bad advice and codec packs distribute outdated/broken/customized versions of things, i wish codec packs would at least stick to vanilla releases and the official builds. :p
In general, neither guides or codec packs are any better really. A bad codec pack can have equally weird things in them as a bad guide would make the user install/configure himself.

cyberbeing
29th July 2013, 12:38
In general, neither guides or codec packs are any better really. A bad codec pack can have equally weird things in them as a bad guide would make the user install/configure himself.

I fully agree with this statement.

Deft
30th July 2013, 08:03
Is the options UI going to be revamped any time soon? Maybe there could just be player, video, audio, and subtitles tabs. Put the more obscure options in an advanced options tab.

Right now I think there are far too many options. Does anyone even mess with the options in these tabs? "Formats", "Web Interface", "Sync Renderer Settings", "Internal Filters", "Capture", "Miscellaneous"

ryrynz
30th July 2013, 09:58
Shouldn't you just be playing your files rather than hanging around in the options? The options page is fine as it is and has been for years. The options are sorted into appropriate areas, it's quite tidy really.

JanWillem32
30th July 2013, 11:22
I'd actually prefer adding a lot more tabs. Maybe the options screen could be a bit bigger as well. Many of the audio and video renderer options can only be accessed by navigating trough the right-click, "View" and "Play" menus. These menus disappear once you click something, don't offer much space or functionality for visual formatting and there are no features for these menus to explain what the options do. For example, the color management options are in the right-click and "View" menus. These options are complicated and could really use some documentation. On top of that, it's really common to change several of these options at the same time.
Manipulating the code for the menus is really annoying though. I don't like the heavily templated menu and other window classes, the way these are operated in MPC-HC nor the application settings class at all. On top of that, the sets of files MainFrm and AppSettings are some of the most often edited of them all. I generally avoid changing too much in there myself (I merely changed a few thousand lines in these files), but I'd welcome some good ideas/programming to implement proper code and methods for the menus.

SamKook
30th July 2013, 13:07
Does anyone even mess with the options in these tabs? "Formats", "Web Interface", "Sync Renderer Settings", "Internal Filters", "Capture", "Miscellaneous"

Yes, people do use these options, I've use 2/3rd of these myself in the last month and very frequently use the internal filters to test decoding some files(but not so much anymore when I update to a build with LAV integrated though).

minaust
31st July 2013, 08:58
Does anyone even mess with the options in these tabs? "Formats", "Web Interface", "Sync Renderer Settings", "Internal Filters", "Capture", "Miscellaneous"

Yes. I do, for one.

minaust
31st July 2013, 10:07
One could spend time in recherching if this "Kawaii Codec Pack" is harmless. Or rather in explaining how to use the original filters.

This codec pack seems harmless enough. Contains:

MPC-HC 1.7.0.7634
madVR v0.86.9
LAVFilters-0.58.1 x86
xy-VSFilter 3.0.0.211
ReClock v1.8.8.0 (optional)
MediaInfo 0.7.64 DLL (optional)

The purpose seems to be Hi10P/10-bit support. The site (haruhichan.com) seems to have it's own codec for that.

Earlier versions had a lite build of MPC-HC, and there apparently have been some configuration problems with it. I got the impression that those problems were resolved by reading this thread. Live and learn...

Tom Keller
31st July 2013, 13:52
Since the 1.7.0 builds introduced support for some streaming protocols like RTSP and MMS via LAV Filters, i would like to ask:

Are there some future plans to add support for RTMP too? Or does that only depend on the development of the LAV Filters?

nevcairiel
31st July 2013, 13:58
RTMP is scheduled for both LAV and MPC-HC, but RTMP requires a boatload of different parameters to be able to play most streams, and how these are to be communicated is still a point that needs to be worked out properly.

Mercury_22
31st July 2013, 15:12
RTMP is scheduled for both LAV and MPC-HC, but RTMP requires a boatload of different parameters to be able to play most streams, and how these are to be communicated is still a point that needs to be worked out properly.
Maybe taking a "look" at XBMC's implementation will help since AFAIK it's based on ffmpeg too

nevcairiel
31st July 2013, 15:34
Maybe taking a "look" at XBMC's implementation will help since AFAIK it's based on ffmpeg too

No, they use librtmp/rtmpdump.

Anima123
31st July 2013, 17:39
I didn't follow much of the development of mic-hc recently. With the latest mpc-hc, did that means that one can uninstall LAV filters?

How's the AV decoder configuration should be set to use with the internal LAV filters in mpc-hc?

The above two questions is not direct for me to understand. Will someone kind enough to write a how-to for guys like me?

Thanks in advance.

Skibicki
1st August 2013, 04:13
Anima123, the integrated LAV Filters settings are separate from installed versions so keep an installation for other software using LAV Filters. Change filter and decoder settings by double clicking bold entries in the internal filters menu.

Qotscha
2nd August 2013, 21:53
I use MPC-HC to watch my NDVR recordings. The problem is that same recording always gets a bit different URL when selected to be played in recording managing software, thus making "Remember file position" option useless.

I have tried to solve this problem using a VBScript that searches registry (HKEY_CURRENT_USER\Software\Gabest\Media Player Classic\Settings) if the same recording with another URL has already been played and changes the File Name and HKEY_CURRENT_USER\Software\Gabest\Media Player Classic\Recent File List\File values to match the new URL before starting playback. This works fine if mpc-hc.exe is not running when the change in registry is made.

The problem is that when MPC-HC is already running, the change in Settings gets reverted, when a new video file is opened or MPC-HC is closed. Recent File List change, however, doesn't get reverted. Could there be, for example, a command line switch to make MPC-HC re-read current registry information, or at least File Name values, when a new media file is opened instead of trusting the information read before?

I have also tried to read File Position registry value and use /start command line switch but that doesn't seem to work properly when MPC-HC is already running. And the disadvantage of this method, is that there will be "extra" entries in recent file list.

AlexCeed
4th August 2013, 20:36
Could we please have the lite version again? I loved the fact that mpc-hc came with no filters at all; this way I could make my player from scratch.
What is wrong with having two editions? A lite one and a normal one?

v0lt
5th August 2013, 03:12
Could we please have the lite version again?
Delete "LAVFilters" folder from the "MPC-HC" folder.

AlexCeed
5th August 2013, 15:39
Delete "LAVFilters" folder from the "MPC-HC" folder.
What about all those internal filters?

kasper93
5th August 2013, 16:47
Disable them in options... But I don't know where you will find replacement for them :p

I see that people don't understand why the lite builds were provided in the first place. It was just workaround to have smaller exe file for people who haven't used internal (mostly broken) filters.

You need to understand that it is better to disable filters in options. It work just fine if you want to use external filters and in case you lack of particular decoder it will fallback to internal one.

Lite builds are useless now. Give me one good reason why we need them...

ney2x
5th August 2013, 18:14
Guys, where can I view the changelogs of every MPC-HC nightly builds? I ask this because there are certain builds that's giving me dumps if I play a certain movies. TIA.

wanezhiling
5th August 2013, 18:28
Guys, where can I view the changelogs of every MPC-HC nightly builds?
https://github.com/mpc-hc/mpc-hc/commits/master

Superb
5th August 2013, 22:24
Delete "LAVFilters" folder from the "MPC-HC" folder.Nice trick! :O Love it this way.
Maybe it would be smart to compile the Audio Switcher filter externally as well and then add a "Lite" option in the installer so it won't install a "Filters" (instead of LAV) folder under MPC-HC's directory.

Lite builds are useless now. Give me one good reason why we need them...If you install LAV Filters externally for other programs DirectShow programs as well.
If newer versions of LAV Filters are released and people don't want to use nightlies (once stable 1.7.x will be released).
And most importantly: because we can. :)

kasper93
5th August 2013, 23:25
If you install LAV Filters externally for other programs DirectShow programs as well.
If newer versions of LAV Filters are released and people don't want to use nightlies (once stable 1.7.x will be released).
And most importantly: because we can. :)

I understand that. Just disable internal lav in settings and you can forget about it :) What is wrong with this solution? This is not a reason to have lite builds at least in my opinion.

vBm
6th August 2013, 00:50
And most importantly: because we can. :)

That's the exact reason there are no Lite builds anymore... xD

SamKook
6th August 2013, 01:16
The old lite builds also didn't have mediainfo included(which is why I never used them so it's perfect the way it's now) which would bring the size down a little bit more.

Raylan Givens
6th August 2013, 13:24
I'd like to highlight:

Audio Mixing 5.1 doesn't work on LAV Audio Filters. On MPC 1.68 default it works exactly as I prefer... It's like using "copy" on all of my 5.1 speakers... You know, I really don't like the normal 5.1 without mixing. I mean, talking only from the center speaker and effects from all others.

http://i5.minus.com/iQDXU8lPYyaGr.png

This is the reason I still use my old X-Fi Platinum, because via CMSS-3D I can do exactly that. I'm using upmix mode "surround" at 50% and I'm getting the sound evenly on all of my 5 speakers. I'd like to drop my X-Fi though, because you might know the driver support truly sucks. And here I'd like to report that Stereo Mixing works on LAV Audio at least. I convert the native 5.1 sound to stereo in order to let CMSS-3D do the mixing. Additionally, you probably know that onboard Realtek "Speaker Fill" also sucks... The 2 rear speakers produce distorted sound. As I see it, the best option for me would be Onboard Realtek ( 889 ) because driver support is the best along with MPC HC 5.1 mix in order to get the results I prefer.

http://i2.minus.com/iPYtBjchp6ebL.png

Also, would be possible to consider a change for the playlist? I'd really like to have the option to move the playlist to the side, as on Potplayer.

Skibicki
7th August 2013, 19:23
the option to move the playlist to the side, as on Potplayer. You can drag the playlist, it can be attached to a side of the video area in maximized or fullscreen mode, also it can attach to the top or be a seperate window. It's not the same but I hope it helps.

Armada
8th August 2013, 17:09
You can drag the playlist, it can be attached to a side of the video area in maximized or fullscreen mode, also it can attach to the top or be a seperate window. It's not the same but I hope it helps.
It can also be attached to the side if you try, it just doesn't detect it very well.

http://i.imgur.com/iAdiMei.png

cihub
10th August 2013, 14:13
Anyone knows if there is a way (maybe not with MPC-HC but MPlayer etc.) to load external streams while watching DVD from *.IFO, e.g. like when you start watching from *.VOB?

lt1-gt
12th August 2013, 22:49
Thanks for helping,

I'm running XP SP3, and need to run two WMC HC players simultaneously. It is for an art project, where one sound card sends a signal to Audio-sensing LEDs, and the other sound card is hooked up the the stereo.

Right now I am using a headphone splitter, but the LEDs are producing some feedback in the speakers.

My goal is to have 2 WMC HC players open (one for each sound card), and just press the PLAY button on my keyboard to play both players.

Any ideas?

cihub
13th August 2013, 11:50
lt1-gt,
don't know if it'll work for you, but you can search around combo "asio4all & ReClock". ASIO4ALL allows outputting same signal (at least in foobar2000) through multiple output ports like optical, coaxial etc. I've never figured out it myself (and do not know if it will work the same way as in foobar2000), but in order to use it in MPC-HC you'll probably need ReClock which will play the role of an audio renderer (?).

Also, you can create small script (or ask someone on specialised forums) in AutoHotKey or AutoIt that'll launch both apps simultaneously (BTW, both of them are for Windows). For those who know, it may take 10--20 min. If you have no prior experience in writing such scripts, it'll probably be much faster to ask someone, even for some amount of money or some favour.

wanezhiling
15th August 2013, 06:43
http://i.imgur.com/zt3ZeWe.png
When add these two options in internal LAV? :)

Carpo
15th August 2013, 10:18
Is there any benefit to compiling MPC-HC using SSE4.1/2 and AVX? If some what files would need to be edited in mpc-hc's source files?

LigH
15th August 2013, 10:32
"The player" (the user interface) won't benefit much, as it mainly waits for the user input.

If at all, decoders may benefit. But they usually are already quite optimized, especially in their assembler code parts (and partially in the C code too if their compiler is able), because their developers often take early efforts in supporting barely documented new hardware (which they may not even own yet to test their code)... ;) — This statement is not authoritative.

Carpo
15th August 2013, 10:45
guess i'll leave it as it is then :)

nevcairiel
15th August 2013, 10:51
There is indeed very little benefit to try to compile with AVX or anything like that.
All of the speed critical code is usually already hand-optimized, and selects the fastest variant at runtime, and such compiler modes will only result in very minor speed changes.

Raylan Givens
15th August 2013, 11:04
You can drag the playlist, it can be attached to a side of the video area in maximized or fullscreen mode, also it can attach to the top or be a seperate window. It's not the same but I hope it helps.

It certainly helped. Thank you! Strangely I didn't notice I can do that. Now if I could lock and keep adding/removing files -flexibility, would be great.

Incidentally, did you see any improvement by going from VS2010 to 2012? Did it help in something?

fagoatse
15th August 2013, 15:51
Is there any benefit to compiling MPC-HC using SSE4.1/2 and AVX? If some what files would need to be edited in mpc-hc's source files?

The biggest gains would be in ISR I presume. JW32's rewritten EVR-CP seems to benefit form SSE2+ as well. But all that is handwritten. Compiler's opt levels don't do much.

DMD
17th August 2013, 22:04
Good evening.

I have a problem when playing back forced subtitles of the Blu-ray disc.
When I start the disc and I select the language (Italian), the disc is played without forced subtitles.
The setting is automatically selected for this function.

http://img842.imageshack.us/img842/8725/hkll.png (http://imageshack.us/photo/my-images/842/hkll.png/)



May depend on what this?

thanks

Armada
18th August 2013, 00:55
http://i.imgur.com/zt3ZeWe.png
When add these two options in internal LAV? :)
All options on that page are on by default, the page is just hidden to avoid confusion.

Megalith
19th August 2013, 14:41
I'm a little confused about the "Correct Monitor/Desktop AR Diff" setting. Turning it on makes the image look wider, but I'm not sure why it's doing anything at all based on my resolution, which is 1920x1080, exactly the same as my Blu-ray rips.

Dstruct
19th August 2013, 15:01
I'm a little confused about the "Correct Monitor/Desktop AR Diff" setting.

What graphics card? On (at least older) Matrox cards this option (enabled) didn't work correctly for me.


On my current Nvidia Geforce GTS 450 it seems to work properly.

Megalith
19th August 2013, 15:05
GeForce GTX 680.

So if my desktop resolution is the same as the resolution of the video I'm playing back, switching the option on (when it's working properly) shouldn't result in any kind of difference, correct?

Dstruct
19th August 2013, 15:34
GeForce GTX 680.

So if my desktop resolution is the same as the resolution of the video I'm playing back, switching the option on (when it's working properly) shouldn't result in any kind of difference, correct?

Yes, I think so.

wanezhiling
19th August 2013, 16:58
MPC-HC can't seek swf files?

http://pan.baidu.com/share/link?shareid=429545904&uk=3558042035

vBm
19th August 2013, 20:41
MPC-HC can't seek swf files?

http://pan.baidu.com/share/link?shareid=429545904&uk=3558042035

Thanks for the report. It's fixed (https://github.com/mpc-hc/mpc-hc/commit/2615ccee35ade77922902a8ff825d77dbfaf9758).

Raylan Givens
20th August 2013, 19:21
Guys, please, can someone explain me what exactly does the option: "Allow animation when buffering" ?

It does indeed lower the CPU usage pretty much I'd say ( if I turn it off), especially the moment when the subtitles appear...

With it on, when the subtitles appear, CPU utilization goes from 2% to 4-4.5%. With it off it stays at 2% ( 1080p ). Should I have it permanently off? What do you think?

Mark Rejhon
24th August 2013, 06:38
I want to compliment the authors of MPC-HC that it properly plays 120fps videos on 120Hz monitors.

My testing results are in: World's First 120fps Web Embedded Video (http://forum.doom9.org/showthread.php?t=168486)
Although originally a web browser test, I am now testing various software players to see how smoothly they play this video. MPC-HC passed where VLC failed!

betaking
26th August 2013, 03:11
hi this is Simplified Chinese translation rc and txt for last git
http://www.sendspace.com/file/f4cn25

Aleksoid1978
27th August 2013, 06:20
1 - Latest version is broken subtitle render - there is no TextPassThruFilter in graph. It's for embedded subtitle. If load external - all ok.
2 - If load external subtitle - Subtitles submenu show only external subtitle.

Libeluratio
27th August 2013, 12:11
Hello everybody,

I am bitstreaming HD-audio to my Onkyo amp and I get 2-3 audio drops by movie.
This is very frustrating because thanks to custom resolution in nvidia pannel settings, I reached the 0 Dropped frames graal by movie, but now i realize that I've got those very annoying audio drops.

I am using: mpc-hc, no internal filter, only external filters:

Haali Media splitter
ffdshow video
ffdshow audio

all of this with madvr, and no avysinth.

all my movies are with dts-hd tracks so I do'nt know if the problem happen with ac3, true-hd, dolby digital, etc.*

Do you have any clues on what could cause those audio drops ?

Thank you !

Armada
27th August 2013, 12:49
Guys, please, can someone explain me what exactly does the option: "Allow animation when buffering" ?

It does indeed lower the CPU usage pretty much I'd say ( if I turn it off), especially the moment when the subtitles appear...

With it on, when the subtitles appear, CPU utilization goes from 2% to 4-4.5%. With it off it stays at 2% ( 1080p ). Should I have it permanently off? What do you think?

It does what it says, it allows the player to display animated ASS subtitles. If you only use static subtitles such as SRT you can safely turn it off, but in that case there should be no advantage since they're not animated anyway. In general we recommend keeping the option enabled.

I want to compliment the authors of MPC-HC that it properly plays 120fps videos on 120Hz monitors.

My testing results are in: World's First 120fps Web Embedded Video (http://forum.doom9.org/showthread.php?t=168486)
Although originally a web browser test, I am now testing various software players to see how smoothly they play this video. MPC-HC passed where VLC failed!

That's good news, thank you for the compliment. However I do expect there to be some issues with our internal VSync when playing back such formats. With Aero enabled it is redundant and thus has been disabled by default for Vista and later due to these issues. In the near future I plan to rewrite parts of the algorithm to resolve them.

1 - Latest version is broken subtitle render - there is no TextPassThruFilter in graph. It's for embedded subtitle. If load external - all ok.
2 - If load external subtitle - Subtitles submenu show only external subtitle.
I can't reproduce this with the latest nightly, are you sure you're using the internal subtitle renderer and not an external one?

Aleksoid1978
28th August 2013, 00:47
I can't reproduce this with the latest nightly, are you sure you're using the internal subtitle renderer and not an external one?

Sorry - my fault. Disable subtitles autoload :)

onomatopellan
28th August 2013, 17:48
Just upgraded to MPC-HC.1.7.0.7743.x86.VS2012 and now keys Y and U (jump to prev/next subtitle) don't work anymore.
Back to MPC-HC.1.7.0.7670.x86.VS2012 and they work again.

Using xyvsfilter as external filter.

clsid
28th August 2013, 17:57
You should use S and Shift+S. Although I don't know if that also works without ISR. If not, you need to wait until the devs import some enhancements from MPC-BE.

It seems Y and U are old keybindings from the Navigate menu. Those should probably be removed, since everything is controlled through Play menu now.

onomatopellan
28th August 2013, 18:01
Thanks clsid but I think we are talking about different things. Using S it changes the subtitle track. But I was talking about jumping to next subtitle line in the video.

Edit: MPC-HC.1.7.0.7725.x86.VS2012 is the first release where Y and U keys stop working. 7715 also works fine.

ageback
30th August 2013, 09:36
Building failed with Windows 2003 SP2 and VS2010 SP1. It happened after recently build batch files change.
Error log:

Assembler messages:
EXEC : Fatal error : can't create obj\GCCInfo.o: No such file or directory [D:\
@Opensource Projects\mpc-hc\src\thirdparty\LAVFilters\LAVFilters.vcxproj]
C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.MakeFile.Targets(38,5): e
rror MSB3073: Command “build_lavfilters.bat Build x86 Silent Nocolors” Exited.Code 1。 [D:\
@Opensource Projects\mpc-hc\src\thirdparty\LAVFilters\LAVFilters.vcxproj]

LigH
30th August 2013, 15:08
Using a Windows Server 2003 for development? ... Interesting.

It shall certainly be equal to Windows XP, but who knows if you have to add specific MS libraries to the development system or install/enable tools not usual on a Server system.

clsid
30th August 2013, 15:15
You can fix it by adding "mkdir obj" (without quotes) in the script, above the gcc call.

Raylan Givens
1st September 2013, 00:01
As it seems in version 7760 seeking back and forth has been fixed... Smooth without dropping frames. Nice one!

Superb
1st September 2013, 00:54
Yeah, seeking feels great now. (and yes- I've noticed "Fast Seek" is on by default now)

Raylan Givens
1st September 2013, 01:22
I didn't notice... So, that did the difference. Previously ( before 7760 ) was it the same? I mean, could I turn fast seek on in order to fix the issue?

Incidentally, the 5.1 mixing still doesn't work as in 1.68 version. It doesn't work at all, I'd say. I can "downmix" native 5.1 to stereo, though...

wanezhiling
1st September 2013, 04:58
http://i.imgur.com/IqdOSkw.png
Would auto-zoom function work on swf?

betaking
1st September 2013, 11:05
hi this is Simplified Chinese translation rc and txt for last git!
http://www.sendspace.com/file/0ww4r7

Raylan Givens
1st September 2013, 11:53
+ Playlist: Add a "Move to Recycle Bin" right click option, with optional keyboard shortcut

Would be too dificult to add one more command which include subtitles? I mean, directly delete the movie along with her subtitles...

vBm
1st September 2013, 12:59
+ Playlist: Add a "Move to Recycle Bin" right click option, with optional keyboard shortcut

Would be too dificult to add one more command which include subtitles? I mean, directly delete the movie along with her subtitles...

Devs rarely read D9. Best bet is to open a ticket (https://trac.mpc-hc.org/newticket) if you want bug reporting or feature requesting.

filler56789
1st September 2013, 13:04
+ Playlist: Add a "Move to Recycle Bin" right click option, with optional keyboard shortcut

Respectfully, I disagree. IMHO a media player should not have any of the following capabilities of a file manager: create, rename, move or delete files.

vBm
1st September 2013, 15:19
Respectfully, I disagree. IMHO a media player should not have any of the following capabilities of a file manager: create, rename, move or delete files.

That already exist in MPC-HC btw.

dansrfe
1st September 2013, 18:14
Would it be beneficial to include a "Next/Previous Title" as a shortcut key?

For example, when I play the Inception bluray, the first title is the one which includes director's commentary, however when I just want to watch the film I have to right click and manually select the next title which plays the film only.

filler56789
1st September 2013, 18:20
That already exist in MPC-HC btw.

Thanks for the info.
And then I'm glad that I didn't upgrade it yet. :)

isamu
2nd September 2013, 23:30
Hi guys,

quick question....does anyone know of an external filter or plugin that allows MPC-HC to play .iso files directly without the need for conversion?

LigH
3rd September 2013, 11:51
Because an ISO file as disk image can contain "anything" (DVD-Video content, Blu-ray content, or just a collection of different files with or without any audio/video file in directory branches of uncertain depth), I doubt that "an ISO file" can be a generally acceptable source. What shall MPC-HC do if you use e.g. the install image of a Linux distro, what shall it play?

Better mount an ISO image with a virtual CD/DVD/BD drive like Daemon Tools. If this image has a recognized structure, then it will be playable in the "File — Open Disk" submenu. If not, navigate to a playable file.

vBm
3rd September 2013, 13:33
Hi guys,

quick question....does anyone know of an external filter or plugin that allows MPC-HC to play .iso files directly without the need for conversion?

Because an ISO file as disk image can contain "anything" (DVD-Video content, Blu-ray content, or just a collection of different files with or without any audio/video file in directory branches of uncertain depth), I doubt that "an ISO file" can be a generally acceptable source. What shall MPC-HC do if you use e.g. the install image of a Linux distro, what shall it play?

Better mount an ISO image with a virtual CD/DVD/BD drive like Daemon Tools. If this image has a recognized structure, then it will be playable in the "File — Open Disk" submenu. If not, navigate to a playable file.

Or instead of Daemon Tools use something more lightweight and open sourced -> http://sourceforge.net/projects/wincdemu/

Aleksoid1978
4th September 2013, 03:58
Switching from bitmap(HDMV/DVB) subtitles to text does not work properly, the output text subtitle is broken(size at position).
Short sample - http://aleksoid.voserver.net/Sample/Subtitle/PGS/mpchc-pgs-sample.mkv

But it's happened with any MPEG-TS + Sub + external .str/.ass subtitle.

onomatopellan
5th September 2013, 16:32
Regression: Since 24th Aug commits, Y and U keys did stop working.

http://i44.tinypic.com/34dq52c.png

kasper93
5th September 2013, 20:43
@onomatopellan

Are you sure? It just doesn't do silly 5 second jump now. When you have subtitles (external) loaded, jump works fine.

Superb
5th September 2013, 20:48
@onomatopellan: Works for me.

Media Player Classic - Home Cinema (Beta)
----------------------------------

Build information:
Version: 1.7.0.7760 (3c79306)
MPC-HC compiler: MSVC 2012 Update 3 (SSE)
Build date: Sep 1 2013 01:03:23

LAV Filters:
LAV Splitter: 0.58.2.0
LAV Video: 0.58.2.0
LAV Audio: 0.58.2.0
FFmpeg Compiler: MinGW-w64 GCC 4.8.1

Operating system:
Name: Windows NT 6.1 (build 7601, Service Pack 1)
Version: 6.1 (64-bit)


EDIT: Spoke too soon. Works only w/ external subtitles. Doesn't work w/ ones embedded inside container (tested w/ mkv).

onomatopellan
5th September 2013, 21:48
I'm glad it's not just me. And yes, I am testing with mkv files with embedded subtitles.

isamu
5th September 2013, 22:13
Or instead of Daemon Tools use something more lightweight and open sourced -> http://sourceforge.net/projects/wincdemu/

Thanks for the link I ended up trying it and it works pretty good. Still, for convenience sake I'll probably use good ole VLC to watch them directly.

jkauff
6th September 2013, 05:30
Thanks for the link I ended up trying it and it works pretty good. Still, for convenience sake I'll probably use good ole VLC to watch them directly.
PowerDVD also plays DVDs and BDs stored in an ISO image, but of course you have to pay for it. I assume both programs look inside the ISO for a VIDEO_TS or BDMV folder and then extract the files on the fly as needed. I'm sure someone could code something similar for MPC-HC if they had the time and the inclination, but that's the problem with software created by volunteers on their own time.

kasper93
6th September 2013, 12:04
EDIT: Spoke too soon. Works only w/ external subtitles. Doesn't work w/ ones embedded inside container (tested w/ mkv).

That's true but it never worked with embedded subtitles. At least not is near past.


Tapatalk 4 @ GT-I9300

onomatopellan
6th September 2013, 14:32
That's true but it never worked with embedded subtitles. At least not is near past.


Tapatalk 4 @ GT-I9300
Now I'm using MPC-HC.1.7.0.7715.x86.VS2012 (build from 23 Aug). It's the last build where Y and U work with embedded subtitles.

I hope this can be fixed in recent builds because it's a really useful feature.

kasper93
6th September 2013, 18:23
@onomatopellan: Note that it just do 5 second jump when you are using embedded subtitles. This never worked. Same as subresync bar doesn't work with embedded subtitles and you can't save them, only subtitles from queue will be saved to file.

I'm just saying that this is not a regression. It just never worked. :) If you want to do 5 sec jump just use arrows.

onomatopellan
6th September 2013, 23:03
@onomatopellan: Note that it just do 5 second jump when you are using embedded subtitles. This never worked. Same as subresync bar doesn't work with embedded subtitles and you can't save them, only subtitles from queue will be saved to file.

I'm just saying that this is not a regression. It just never worked. :) If you want to do 5 sec jump just use arrows.
:eek:
You are right, it's always jumping 5 seconds. And here I was thinking I was jumping to previous subtitle. Thanks for clarifying this.

Superb
7th September 2013, 20:14
So now...
With external subtitles loaded: jumps to the next previous subtitle.
With no subtitles loaded: jumps 5 seconds back or forward.
With embedded subtitles loaded: does nothing.

Armada
8th September 2013, 22:49
So now...
With external subtitles loaded: jumps to the next previous subtitle.
With no subtitles loaded: jumps 5 seconds back or forward.
With embedded subtitles loaded: does nothing.
Why do you use this feature as opposed to just jumping back/forward in the video?

kasper93
9th September 2013, 16:52
With no subtitles loaded: jumps 5 seconds back or forward.
Not true...

Raylan Givens
10th September 2013, 09:21
First time I notice MPC using even less CPU resources than Potplayer... I'm talking about 1.70 versions and with XVID ( avi ) files... As it seems they should have implemented some nice perf-related patches.

Miracle... Anyone else noticed the same? It can't be my imagination...

jkauff
10th September 2013, 11:30
Were you using LAV before as an external filter, or were you using the internal filters? LAV has an option for hardware decoding using QuickSync or CUVID, maybe you have it turned on and didn't know it. In any case, LAV software decoding doesn't use a lot of CPU on my box--it's pretty efficient.

kasper93
10th September 2013, 21:40
Miracle... Anyone else noticed the same? It can't be my imagination...

We use LAV Filtes as internal filters now and yeah this is very big improvement for speed and compatibility with H/W decoding :)

bwlonsdale
11th September 2013, 12:44
I live in PAL land and I'm using reclock, MPC-HC and (would like to continue) using madVR.

The new nightly build doesn't work when the automatic refresh rate change is in use with MPC-HC. I just get a black screen. I get the following error on the screen from madVR:

creating direct3D device failed (80070005).

Not sure if the error lies in madVR which worked fine on the latest stable build or if MPC-HC needs looking at.

I'm using madVR because the image quality is better but also because of another bug/issue. When using the custom EVR presenter, if watching certain SD material (in an MKV container, but not tried any other) , there is a rather ugly thick green line down the right hand edge of the display.

I've recently converted a bunch of old Firefly episodes using Handbrake and they all exhibit the green line and a couple of the films I've done also do the same thing.


[EDIT] Just been checking things out in Handbrake and it appears a bug in there has caused the source of the issue with the green line. Despite the cropping being set to auto, it appears to have retained an earlier crop setting and chopped off a bit of the video at either edge when it shouldn't have - so the resulting width was 706 instead of 720. I'm guessing the missing video on either side is being populated with a nice green colour instead of black. I've seen the issue a couple times before when watching TV in media center (some rather low quality broadcasts) so I guess it's not something you guys have control over. Another AMD bug most likely...




Media Player Classic - Home Cinema (Beta)
----------------------------------

Build information:
Version: 1.7.0.7805 (6b2b0e4)
MPC-HC compiler: MSVC 2012 Update 3 (SSE)
Build date: Sep 11 2013 01:03:50

LAV Filters:
LAV Splitter: 0.58.2.0
LAV Video: 0.58.2.0
LAV Audio: 0.58.2.0
FFmpeg Compiler: MinGW-w64 GCC 4.8.1

Operating system:
Name: Windows NT 6.1 (build 7601, Service Pack 1)
Version: 6.1 (64-bit)

Superb
11th September 2013, 15:28
Why do you use this feature as opposed to just jumping back/forward in the video?
Well, if I've missed the past 2 sentences the characters said, it's nice to be able to jump there directly. Useful feature for a viewer.
From a subtitle translator/"syncer" point of view, this is great for last review before release.

Not true...Why not? I've tested it and that's what it did. Or perhaps I've skipped some "if condition"?

kasper93
11th September 2013, 23:30
5 second jump was removed some time ago.

v_spec
11th September 2013, 23:42
Is there a list of default keys for MPC-HC?

I cleared the default key for "Quick File Open…" because I have it associated with a different function but I remember there was another way to activate the Quick File Open function. Like how the Esc key is not used in MPC-HC but when in full screen pressing Esc will exit full screen and pause the video. I remember there was such a function for Quick File Open as well but I can't remember right now off the top of my head.

Snowknight26
12th September 2013, 01:08
Alt+F -> Enter when not in full screen mode.

v_spec
12th September 2013, 02:21
Thanks for the reply, but nope, that's not it. It opens the "Open" window directly. I forgot exactly what I did but it happens from time to time when I 'm dragging and dropping videos into MPC-HC really fast and switching between active windows and somehow the "Open" dialogue pops up in MPC-HC. I stumbled upon this in the past but never made of note of it because I felt it wasn't relevant at the time.

Snowknight26
12th September 2013, 13:34
That key combination selects Quick Open File, which is exactly what shows the standard Windows open file dialog box.

Why don't you just reassign a new key combination instead of searching for functionality that probably doesn't even exist?

v_spec
12th September 2013, 18:53
I'm not trying to use the function, but instead trying to figure out what causes it. Trying to reproduce the steps of a bug, if it is one. It's not important, just one of those insignificant things I stumbled upon back then and can't reproduce now. I'm sure to run into this again and I'll report back when I do.

Tom Keller
13th September 2013, 18:50
Some strange behaviour:

I have 2 displays (monitor & tv) and use madVR (without exclusive fullscreen mode) for most of the time. When playing a file from the playlist on display 1 (monitor) and switch to fullscreen on display 2 (tv), after the playback of the current file the player closes itself WITHOUT playing the following files from the playlist.

It seems like using madVRs exclusive fullscreen mode fixes this behaviour... BUT sometimes the player closes itself too, after manually switching from one file on the playlist to another, EVEN with other video renderers (like Haali or EVR Cust.). So i would assume: this is not directly related to the video renderer itself. Maybe kind of a timing problem!?


EDIT:
I did some testing... and it seems like this is only happening, while using the internal LAV Video Decoder. There are no such problems with ffdshow or CoreAVC as video decoders.


EDIT2:
It's the same with the external LAV Video Decoder. Tested: 0.58.0 - 0.58.2. With pre-1.7.0-mpc-hc-versions everything works fine.


EDIT3:
Some more testing with different media splitters: no problem with Haali Media Splitter and LAV Video Decoder! Final conclusion: LAV Video Decoder + LAV Splitter + MPC-HC 1.7.0 are having some strange problems together... at least: on my system!

Armada
14th September 2013, 19:51
Some strange behaviour:

I have 2 displays (monitor & tv) and use madVR (without exclusive fullscreen mode) for most of the time. When playing a file from the playlist on display 1 (monitor) and switch to fullscreen on display 2 (tv), after the playback of the current file the player closes itself WITHOUT playing the following files from the playlist.

It seems like using madVRs exclusive fullscreen mode fixes this behaviour... BUT sometimes the player closes itself too, after manually switching from one file on the playlist to another, EVEN with other video renderers (like Haali or EVR Cust.). So i would assume: this is not directly related to the video renderer itself. Maybe kind of a timing problem!?


EDIT:
I did some testing... and it seems like this is only happening, while using the internal LAV Video Decoder. There are no such problems with ffdshow or CoreAVC as video decoders.


EDIT2:
It's the same with the external LAV Video Decoder. Tested: 0.58.0 - 0.58.2. With pre-1.7.0-mpc-hc-versions everything works fine.


EDIT3:
Some more testing with different media splitters: no problem with Haali Media Splitter and LAV Video Decoder! Final conclusion: LAV Video Decoder + LAV Splitter + MPC-HC 1.7.0 are having some strange problems together... at least: on my system!
And I presume "Close after playback" is turned off? We're talking about a crash here?

Please make a ticket on our bugtracker (http://trac.mpc-hc.org) and if it is a crash attach the minidump if you have it.

Tom Keller
14th September 2013, 20:59
And I presume "Close after playback" is turned off?
"After Playback" is set to "Exit", because i want the player to close after the last(!) file of the playlist is played. At least it was its normal behavior in the past... and it still is with other filters than LAV Filters.

After changing the "After Playback" setting to "Do Nothing", at the first glance the problem doesn't occur. But on the following tests, the player still closes itself after playing the first file on the list while using the LAV Filters.


We're talking about a crash here?

Please make a ticket on our bugtracker (http://trac.mpc-hc.org) and if it is a crash attach the minidump if you have it.
It seems like it is not a crash. There's no error message... no minidump file is created - the player simply closes itself!

I'll open a new ticket on the bugtracker...

EDIT:
Done -> http://trac.mpc-hc.org/ticket/3468

clsid
15th September 2013, 17:17
MFC bloat fix for VS2012:
http://blogs.msdn.com/b/vcblog/archive/2012/02/06/10263387.aspx

Unfortunately, I don't see any size reduction after a quick test.

sneaker_ger
19th September 2013, 23:37
So, does the EMET fix actually work for anyone? For me (Win 7 x64 SP1, EMET 4.0, MPC-HC 7844) MPC-HC opens but crashes when trying to play a file:
http://abload.de/img/mpc-hc_7844_emet4f7d3w.png

pearlblack15
20th September 2013, 18:08
Hi, I am not sure if this could be labeled as a bug but I am having problem with the short-cut keys in MPC-HC.
The Problem is: After few minutes of uninterrupted playback, none of the keys seem to function anymore like the seeking, volume, pause/play etc. Its only after double clicking with the mouse or pausing by single click that the keys starts working again!! They will, however work if I keep using one of the keys after random intervals. There is no time frame as to when they will stop functioning.

Setup info:
Media Player Classic - Home Cinema (Beta)
----------------------------------

Build information:
Version: 1.7.0.7833 (3832387)
Compiler: MSVC 2012 Update 3 (SSE)
Build date: Sep 17 2013 01:03:02

LAV Filters:
LAV Splitter: 0.58.2.0
LAV Video: 0.58.2.0
LAV Audio: 0.58.2.0
FFmpeg compiler: MinGW-w64 GCC 4.8.1

Renderer: MadVR 0.86.3

Operating system:
Name: Windows NT 6.1 (build 7601, Service Pack 1)
Version: 6.1
I think the problem is since v1.7.0.77xx but I am not sure. Sorry.

Armada
20th September 2013, 23:04
Sounds like the player window is just losing focus to some other program.

arestarh
21st September 2013, 14:35
Hello!
Updated Ukrainian translation for mpc-hc:
http://www.mediafire.com/?ww5af4pcvce6dih

sneaker_ger
22nd September 2013, 10:43
So, does the EMET fix actually work for anyone? For me (Win 7 x64 SP1, EMET 4.0, MPC-HC 7844) MPC-HC opens but crashes when trying to play a file:
http://abload.de/img/mpc-hc_7844_emet4f7d3w.png

Upon further investigation this seems to only happen when using LAV. I made a post in the LAV thread (http://forum.doom9.org/showthread.php?p=1644907#post1644907) if anyone wants to follow.

mastrboy
25th September 2013, 18:02
Is it possible to NOT crop subtitles when using "Pan & Scan -> Scale to 16:9 TV" ?

yonta
27th September 2013, 09:00
In D3D Fullscreen mode, I get a sudden framerate drop when I move my mouse to the bottom of the screen to make the seek bar appear.
With 1080i60 content, FPS drops to under 40 from 60. Even 480i60 content gets down to 40.
24p content doesn't really seem to get a framerate drop but the playback gets a little bit unstable (the CTRL+J graph starts to jump up and down)
I tested old versions for this problem and found out v1.7.0.7597 is the last version that doesn't drop FPS with the seek bar.

Armada
27th September 2013, 20:10
In D3D Fullscreen mode, I get a sudden framerate drop when I move my mouse to the bottom of the screen to make the seek bar appear.
With 1080i60 content, FPS drops to under 40 from 60. Even 480i60 content gets down to 40.
24p content doesn't really seem to get a framerate drop but the playback gets a little bit unstable (the CTRL+J graph starts to jump up and down)
I tested old versions for this problem and found out v1.7.0.7597 is the last version that doesn't drop FPS with the seek bar.
This was introduced by a commit that made the seekbar update when the position changes. Unfortunately updating the OSD is a lot slower than I expected. I will slow the updates down, but I can't completely eliminate the effect is has on performance while it is shown.

UPDATE: Couldn't get that change in before the stable, will address it in the nightlies.

Armada
29th September 2013, 16:13
After almost 4 months since our last stable build, we decided to release our next major version.

Security advisory: Due to known buffer overflows in the internal filters of v1.6.8 and below, it is strongly recommended that you update to the new version. More information on which filters are affected will follow soon.

Highlights of this release:


Replace the internal filters with LAV Filters. LAV Filters are modern open source DirectShow filters based on FFmpeg. They are known to be reliable and fast and overall should be more stable than the old filters. MPC-HC integrates LAV Filters directly and no extra installation steps are required. The embedded version of LAV Filters doesn’t interfere at all with other installed DirectShow filters (including the standalone versions of LAV Filters).
Support loading HTTP/RTSP/UDP/RTP streams using embedded source filters
Windows 8.1 support.
Many more bugfixes and improvements, check the changelog for details.


Due to the switch to LAV Filters, DXVA1 support for Windows XP has been dropped. Windows XP users can use LAV Filters' Nvidia CUVID decoder if they still require hardware acceleration. If you can’t use any of the available hardware acceleration methods, you can use our old standalone MPCVideoDecoder from v1.6.8, at your own risk.

This release wouldn’t have been possible without nevcairiel's LAV Filters (http://code.google.com/p/lavfilters/), alexmarsev, Armada, Underground78 and our many other contributors (https://github.com/mpc-hc/mpc-hc/graphs/contributors).

You can download the new version here (http://mpc-hc.org/downloads/). For the complete changes see the changelog (http://mpc-hc.org/changelog/).

JarrettH
29th September 2013, 19:55
Integration is great news! That was one of the cruxes of MPC (that you had to disable all internal filters to play nice). Does that mean it might be faster than using LAV separately?

Armada
29th September 2013, 20:21
Integration is great news! That was one of the cruxes of MPC (that you had to disable all internal filters to play nice). Does that mean it might be faster than using LAV separately?
Performance compared to external LAV won't change, but one of the big advantages over external LAV is that we can now better integrate LAV Filters into MPC-HC so that they'll be easier to use together.

Dion
30th September 2013, 01:47
Support loading HTTP/RTSP/UDP/RTP streams using embedded source filters.

This is awesome. Now if BubbleUPnP would port there app to PC grrrr. Or someone makes an alternative.

wanezhiling
30th September 2013, 02:36
Windows XP users can use LAV Filter’s Nvidia CUVID or Intel QuickSync decoder if they still require hardware acceleration.

Intel GPUs have no hardware support on WinXP, so DXVA or QS only works on Vista and above.:)

So LAV Filter’s Nvidia CUVID is the only available hardware acceleration method on WinXP.:)

hello_hello
30th September 2013, 03:57
Due to the switch to LAV Filters, DXVA1 support for Windows XP has been dropped. Windows XP users can use LAV Filter’s Nvidia CUVID or Intel QuickSync decoder if they still require hardware acceleration. If you can’t use any of the available hardware acceleration methods, you can use our old standalone MPCVideoDecoder from v1.6.8, at your own risk.

Firstly, thanks to those involved in maintaining MPC-HC.

Some questions (running XP and 8600GT video card)....
Not having needed to think about Nvidia CUVID until now, I gather it's not quite the same thing as DXVA? I tested it using a couple of h264 videos. For 720p I wasn't sure it was reducing CPU usage at all (it sat around 30% to 40%), so I dug out a 1080p video for testing. My old dual core struggles with it, stuttering a bit (although CPU usage doesn't seem to hit 100%). Enabling Nvidia CUVID dropped CPU usage to around 40% and stopped the stuttering.
As a test I then disabled MPC-HC's internal h264 transform filter and used ffdshow's DXVA decoder instead. I guess I'll be sticking with that for h264 decoding now, given CPU usage dropped to 10% as a result (most of which was probably audio decoding via ffdshow and a Winamp compressor plugin) and MPC-HC displayed DXVA in the status bar again.

So not knowing anything about Nvidia CUVID is that normal? It'd generally need to tax the CPU more than DXVA?

I also tend to have multiple instances of MPC-HC open simultaneously (for comparing encodes etc, not necessarily playing at the same time) and Nvidia CUVID seemed to have a limit of three 720p videos before the whole system "went to crap", whereas with DXVA it tends to take a lot more before things start to melt down. Maybe that's my old 8600GT video card, but I assume CUVID and DXVA aren't quite the same thing?

PS I'm not sure whether ffdshow is maintained any longer but it's DXVA decoder seems rock solid (at least on this PC) so maybe instead of recommending the standalone MPCVideoDecoder from version 1.6.8, given there doesn't seem to be much confidence when doing so, ffdshow's DXVA decoder could be suggested/recommended instead for those still using XP?

wanezhiling
30th September 2013, 04:38
For old CPU & GPUs, native DXVA is always the best choice, because CUVID/QuickSync/DXVA CB cost more resources due to their principle.

mindbomb
30th September 2013, 04:53
on the bright side, cuvid will work with vc-1 and mpeg 2, where dxva typically won't work on an 8600gt and other vp2 cards

wanezhiling
30th September 2013, 08:59
Q: now how can i know which git is the latest nightly build compiled from?

latest stable 1.7.0 --> a1ef5bd
latest nightly 1.7.0.23 --> ???

Orz
30th September 2013, 09:16
Q: now how can i know which git is the latest nightly build compiled from?

latest stable 1.7.0 --> a1ef5bd
latest nightly 1.7.0.23 --> ???

See https://github.com/mpc-hc/mpc-hc/pull/108

The Seeker
30th September 2013, 09:27
Will one see any benefits from using the x64 version?

Lich King
30th September 2013, 09:52
i've intel pentium dual core 997 processor with intel hd graphics..
should i use dxva native, dxva copyback or none (software decoding)..??
i mostly play 1080p or 720p movies..

thanks..

Armada
30th September 2013, 10:00
i've intel pentium dual core 997 processor with intel hd graphics..
should i use dxva native, dxva copyback or none (software decoding)..??
i mostly play 1080p or 720p movies..

thanks..
DXVA native is the fastest method and enabled by default if available, DXVA copyback is only needed when the renderer does not support DXVA and it is slower than native.

Intel GPUs have no hardware support on WinXP, so DXVA or QS only works on Vista and above.:)

So LAV Filter’s Nvidia CUVID is the only available hardware acceleration method on WinXP.:)

I made the correction, thanks for the feedback.

Q: now how can i know which git is the latest nightly build compiled from?

latest stable 1.7.0 --> a1ef5bd
latest nightly 1.7.0.23 --> ???

We have recently changed the nightly version number scheme to count the number of commits since the latest stable (git tag) instead of counting the total number of commits.

Reino
30th September 2013, 16:09
Intel GPUs have no hardware support on WinXP, so DXVA or QS only works on Vista and above.:)

So LAV Filter’s Nvidia CUVID is the only available hardware acceleration method on WinXP.:)Or you could use MPC-BE's Video Decoder (standalone filter).

clsid
30th September 2013, 17:32
Current nightlies have lower version than old nightlies. Why not bump to 1.7.1 now for nightlies to avoid confusion and use 1.7.2 for next stable?

XRyche
1st October 2013, 01:06
Will MPC-HC's automatic update include updating to the latest stable LAV Filters as well?

ryrynz
1st October 2013, 01:12
Lavfilters are built into mpc so of course updating the player updates lav too that is providing lav has been updated. It will not update external Lavfilters.

XRyche
1st October 2013, 05:03
Actually I should have asked if MPC-HC will keep up with the latest LAV Filters release. Just because the LAV Filters are now integrated doesn't necessarily mean they will be kept current.

ryrynz
1st October 2013, 06:41
It will keep up. LAV filters is regularly updated and so is MPC-HC, I notice LAV is generally updated every few weeks or so in the nightly builds.

Armada
1st October 2013, 15:14
Actually I should have asked if MPC-HC will keep up with the latest LAV Filters release. Just because the LAV Filters are now integrated doesn't necessarily mean they will be kept current.
The build included with MPC-HC is based on the latest git commit with some custom MPC-HC patches (https://github.com/mpc-hc/LAVFilters). The update checker will not check for LAV updates nor is it currently planned to, but it's something we can consider if keeping up with the updates turns out to be a problem.

We will try to keep it up-to-date, but if we are ever lagging behind you can also do it yourself. Grab a zip package with the filters from the LAV Filters project page and just extract the *.ax and *.dll files into the LAVFilters (or LAVFilters64) subfolder. The version of LAVFilters is checked before it is used as we currently require version 0.58.1 at minimum.

Ofcourse we recommend that you just use the version packaged with the stable or nightly MPC-HC until we release an update as using a non-packaged version is not officially supported.

isamu
1st October 2013, 17:45
Hello and thank you for the latest version guys. I tried the latest 1.5 version yesterday on some anime and the performance and quality is very good. I was intrigued by the built in shaders MPC has , so I started playing around with some of them, and have a few questions:

1)Which sharpen shader do you recommend for anime? "Sharpen complex x2"? "Edge sharpen"? Is sharpen edge better than sharpen complex x2 or vice versa?

2)Should I place the sharpness shader in the "Pre-resize pixel shaders" or "Post-resize pixel shaders" box...or both? What is the difference?

3)Is there a way to adjust the level of sharpness you wish to apply for each shader? Perhaps some sort of sharpness slider like in ffdshow?

AngelGraves13
2nd October 2013, 08:30
Forced subtitles doesn't work in the latest MPC HC since the switch to LAV filters.

I'm using MPC BE with LAV set up to play Forced Subtitles by default ONLY. MPC HC ALWAYS plays subtitles now...even under the Forced option. Don't know what the issue is exactly. They're set up the same but HC doesn't respect the Forced option.

Thunderbolt8
2nd October 2013, 08:38
Current nightlies have lower version than old nightlies. Why not bump to 1.7.1 now for nightlies to avoid confusion and use 1.7.2 for next stable?this.

Armada
2nd October 2013, 14:05
Forced subtitles doesn't work in the latest MPC HC since the switch to LAV filters.

I'm using MPC BE with LAV set up to play Forced Subtitles by default ONLY. MPC HC ALWAYS plays subtitles now...even under the Forced option. Don't know what the issue is exactly. They're set up the same but HC doesn't respect the Forced option.
Have you turned this option on for the internal LAV filters or for the external one? The settings are separate.

UPDATE: Fixed in the nightly: https://github.com/mpc-hc/mpc-hc/commit/d08a416f969ee4a6de591c18d068dbfd9d602905

kasper93
2nd October 2013, 17:08
We have option for it in subtitle misc settings if I recall correctly. Can't test it right now on the phone...

Tapatalk 4 @ GT-I9300

karamancho
4th October 2013, 19:13
Since I don't use internal LAV filters with MPC-HC, I've added LAV video and audio decoders and splitter in the external filters list.
What about the LAV splitter source, do I need to add that one too in the external filters list?

clsid
4th October 2013, 21:51
You do not need to add anything at all to the external filters list. MPC-HC automatically uses the filters that are installed on your system when needed. The external filters lists exists purely to override the merits of the filters.

kasper93
4th October 2013, 22:43
> What about the LAV splitter source, do I need to add that one too in the external filters list?

It won't be used anyway. You need to use installer to register LAV as source filter for particular extensions.

> You do not need to add anything at all to the external filters list. MPC-HC automatically uses the filters that are installed on your system when needed. The external filters lists exists purely to override the merits of the filters.

Exactly, in fact external filters should be empty (if possible, I use it only to block few things with insane high merit) and you should configure your system so correct filters are used.

karamancho
5th October 2013, 00:53
When I remove everything from the external filters list MPEG Layer-3 Decoder and AVI Splitter are loaded instead of LAV Audio Decoder and LAV Splitter (WinXP)

fohrums
5th October 2013, 03:53
MPC-HC is missing only 1 major component that will have me completely sold: "Streaming video-progress loading bar" that way I can see how much the player has loading and where i'm able to skip without it rebuffering. Any thoughts on this folks? I'm very shocked it's not implemented yet.

AngelGraves13
5th October 2013, 10:06
Have you turned this option on for the internal LAV filters or for the external one? The settings are separate.

UPDATE: Fixed in the nightly: https://github.com/mpc-hc/mpc-hc/commit/d08a416f969ee4a6de591c18d068dbfd9d602905

Thnx...works now.

AngelGraves13
5th October 2013, 10:06
Can you guys add an Audio and Subtitle button in the UI similar to MPC BE?

GCRaistlin
5th October 2013, 12:13
Exactly, in fact external filters should be empty (if possible, I use it only to block few things with insane high merit)
I believe it's true if you don't perform any post-processing using ffdshow raw video? Besides ffdshow rav video I have VSFilter in External filters list. Is it OK?

you should configure your system so correct filters are used
Is there a way to discover what video formats (of which FOURCC codes) are supported by LAV Video?

ashlar42
6th October 2013, 18:28
Anyone able to summarize why MPC-BE? I see a list of features in the relevant thread but is there anywhere to understand its genesis?

GCRaistlin
6th October 2013, 19:35
How to find out the current audio delay (changed by "+"/"-" keys) in MPC-HC?

Dstruct
6th October 2013, 19:42
Status bar.

Megalith
6th October 2013, 21:22
Do the developers have any plans to fix the MPC Audio Renderer, which is supposedly broken? What exactly is wrong with it, anyway?

mindbomb
6th October 2013, 21:29
i think it only supports 16 bit stereo for one.

Peter_Pan
6th October 2013, 22:15
On my old machine (WinXP SP3, Athlon64 X2 4600+, NVIDIA GeForce 210, NVIDIA 296.10 WHQL, LAV Filters 0.58.2 Stand-Alone) the new MPC hogs the CPU if I enable in the output section VMR9-Renderless for the Video-Renderer. Further settings like VMR-Mixer-Modus, Surface: 3D-Surface (recommeded) and Resizer: Bicubic A=-1.00 (PS 2.0) are enabled for high quality .srt-subtitle display. With the previous version, MPC 1.6.8.7417, and the external usage of the LAV Filters 0.58.2 this subtitle settings work flawlessly. 720p, 1080p or other resolutions make no difference with this combo. So something maybe wrong with the implementation of the LAV Filters package as deactivating internal LAV Filters and using the 0.58.2 external one package, makes no difference with the new 1.7.0.7858 (a1ef5bd).

So according to the internal LAV Filter video decoder settings in the internal filters section of the new MPC (a1ef5bd), NVIDIA CUVID is availabe and in playback mode its also marked as "active", but it doesn't "seem" to be in effect properly, because as soon as I enable VMR9-Renderless subtitles, the CPU usage is again on the fritz. Disabled again, everything gets back to normal, meaning no more CPU hogging! So either its a CUVID implementation matter, or - and this seems more likely to me - VMR9 (Renderless) is the "troublemaker". ;)

Sadly VMR9-Renderless is required to get those SRT subtitles displayed. Obviously, other video renderers won't work with these.

I hope someone more sophisticated with this issue than me can reproduce the above described behaviour of the new MPC. I also tried newer nightly builds of MPC which came after (a1ef5bd) but ended with the same results.

hello_hello
7th October 2013, 11:14
I just popped in to report the same problem as Peter_Pan in the post above. I've only tried srt and DVD subtitles, but so far DVD subtitles are fine, srt subtitles.... not so much. Some additional information:

The problem only exists for me while the subtitles are actually being displayed. Even if they're enabled, for periods where there's no subtitles on the screen the video plays normally. As soon as the subtitles appear it basically freezes.

I've tried WVM9 renderless and EVR custom presenter. Same problem with either renderer. I've also tried ffdshow's video decoder, ffdshow's DXVA decoder and LAV filters both with and without NVIDIA CUVID enabled . I've even used ffdshow's own subtitles filter to load the subtitles but so far nothing allows me to work around the problem. I just can't play video while displaying srt subtitles.

WinXP SP3, Nvidia 8600GT.

Thanks.

Peter_Pan
7th October 2013, 16:11
The problem only exists for me while the subtitles are actually being displayed. Even if they're enabled, for periods where there's no subtitles on the screen the video plays normally. As soon as the subtitles appear it basically freezes.
Exactly to the point hello_hello. I just experienced it again with the new nightly and your description can't be more precise. I hope this ugly bug can be fixed in time.

clsid
7th October 2013, 21:30
Please test some old nightly builds. That should help narrow down the period in which the problem was introduced. This will speed up the process of solving the problem.
http://nightly.mpc-hc.org/old/

hello_hello
8th October 2013, 00:39
Versions 1.6.8.7259 and 1.6.9.7503 seem to display srt subtitles fine using internal transform filters, and also when using ffdshow's DXVA decoder, but not when using ffdshow's standard video decoder. Maybe that's been the case for a long time and I've not noticed, given I pretty much always use DXVA.

Version 1.7.0.7545 is the same except it's internal transform filters won't work with srt subtitles either, so it's ffdshow/DXVA only for 1.7.0.7545 (I don't have LAV filters installed on this PC for testing).

By the current stable version, ffdshow/DXVA decoding no longer works with srt subtitles either, so there's no displaying srt subtitles at all.

I'm not 100% sure it's a CPU usage issue as such, although for my old E6750 dual core, enabling srt subtitles does increase CPU usage a bit, however nowhere near 100% for the video I'm currently playing (720p). CPU usage sits around 30% without subtitles enabled, then jumps to about 55% with them enabled and the video starts to stutter and freeze.

For the moment at least, it seems srt subtitles and MPC-HC's internal h264 decoder stopped playing nice with the change to version 1.7, and when using an external decoder (except DXVA) the problem began earlier. If it'll help to know exactly when, I can play around some more later.

hello_hello
8th October 2013, 09:52
I tried (I think) the last stable build (1.6.8.7417) and version 1.6.3.4922 and they're exactly the same (as each other).

So to summarise:
Prior to version 1.7, srt subtitles can be displayed as long as DXVA decoding is used (I haven't got LAV filters installed to check NVIDIA CUVID so I'm just referring to internal decoders or ffdshow). Disabling DXVA causes stuttering whether MPC-HC or ffdshow is decoding.

From version 1.7 onwards there's no internal DXVA decoder so an external DXVA decoder (ie ffdshow) must be used to display srt subtitles, but somewhere between 1.7.0.7545 and the current stable version, even that stopped working.

Just to make sure it's not a h264 or mkv only issue, I tried an Xvid/Avi while loading some external srt subtitles using the current stable version and the stuttering returned. CPU usage sat around 55% (E6750) but playback stopped and started and even mouse movement was erratic until I disabled the subtitles.

I hope the above helps.
Cheers.

Peter_Pan
8th October 2013, 12:34
Just to make sure it's not a h264 or mkv only issue, I tried an Xvid/Avi while loading some external srt subtitles using the current stable version and the stuttering returned. CPU usage sat around 55% (E6750) but playback stopped and started and even mouse movement was erratic until I disabled the subtitles.
I did a little trial & error myself and it seems to me the last version without the above quoted symptoms is MPC-HC.1.7.0.7634.x86. With this one HD-MKVs and normal XviDs with srt-subs play as smooth as they should, meaning no abnormal CPU-usage or even freezing during playback.

Beginning with the version right after this one, MPC-HC.1.7.0.7646.x86.VS2012, the above described problems occur right after enabling VMR9-Renderless srt-subtitles. So maybe it has something to do with the introduction of "VS2012"? Again, I don't know the technical details behind this so its just an assumption of mine.

hello_hello
8th October 2013, 13:08
I did a little trial & error myself and it seems to me the last version without the above quoted symptoms is MPC-HC.1.7.0.7634.x86. With this one HD-MKVs and normal XviDs with srt-subs play as smooth as they should, meaning no abnormal CPU-usage or even freezing during playback.

Unfortunately I'm getting a different result, which is kind of odd. I tried 1.7.0.7634.x86 and still got stuttering video using MPC-HC's internal h264 decoder. With ffdshow decoding (no DXVA) it also produced stuttering video. Only ffdshow's DXVA decoder allowed me to play video with srt subtitles smoothly. Strange....

wanezhiling
8th October 2013, 13:35
Try to disable VMR-9 Mixer Mode

Peter_Pan
8th October 2013, 15:57
Try to disable VMR-9 Mixer Mode
Tested it again with VMR9-Mixer disabled and I get the same stutters and freezes as Hello_Hello and I described. Sorry, thats not it.

wanezhiling
8th October 2013, 16:13
Well since the only working solution is a pure dxva decoder, just pick one dxva1 decoder.

Peter_Pan
8th October 2013, 16:27
Well since the only working solution is a pure dxva decoder, just pick one dxva1 decoder.
No, it's not the only working solution. The previous final version 1.6.8.7417 combined with the latest stand-alone version of LAV Filters 0.58.2 works flawlessly, if you use an NVIDIA card for hardware video acceleration and therefore CUVID. So there must be something broken in the new 1.7.7634 version. Simple as that. I can wait for the fix, no problem. I just wanted to point out the issue, thats all.

And according to the 1.7.0 final release notes NVIDIA's CUVID is still supported and I am glad for that. See the middle section of the first post for that information.

clsid
8th October 2013, 19:01
It is an obvious performance issue. Some default values were changed in MPC-HC. The new values give higher quality subtitles, at the cost of higher CPU usage.

options > subtitles:
1) Change "maximum texture resolution" from Desktop to a lower resolution.
2) Uncheck "Allow animation when buffering"
3) Reduce buffer size

That should improve performance.

protovision
9th October 2013, 04:00
I created a shader in mpc-hc, but forgot to copy it over to a new windows 7 x64 install on a new drive.

I mounted the old drive, but can't find them, anyone know how I can get a copy of my shaders?

thx!

EDIT - I found them in my old registry, and was able to move them over using info from http://smallvoid.com/article/winnt-offline-registry-edit.html. They're under "HKCU\Software\Gabest\Media Player Classic\"

hello_hello
9th October 2013, 04:03
Try to disable VMR-9 Mixer Mode

No difference unfortunately.

Well since the only working solution is a pure dxva decoder, just pick one dxva1 decoder.

Using the current stable version, even DXVA decoding won't work with srt subtitles.

It is an obvious performance issue. Some default values were changed in MPC-HC. The new values give higher quality subtitles, at the cost of higher CPU usage.

options > subtitles:
1) Change "maximum texture resolution" from Desktop to a lower resolution.
2) Uncheck "Allow animation when buffering"
3) Reduce buffer size

That should improve performance.

Eureka!!

1) Change "maximum texture resolution" from Desktop to a lower resolution.

Seems to fix the stuttering if the resolution is low enough.

2) Uncheck "Allow animation when buffering"

So far, disabling animation appears to have completely fixed the problem, without the need to adjust either of the other two settings.

3) Reduce buffer size

Didn't make any difference, as far as I could tell.

So I assume this is an "XP" issue? If so, why would that be?
Thanks for the help!

hello_hello
9th October 2013, 06:06
I thought I'd add some additional info as now I'm starting to think it's a hardware issue rather than an "XP" issue.
I have two almost identical PCs. Same motherboard and same video card. The "problem" PC has a dual core E6750 CPU. The other has a quadcore Q9450. Foolishly, I never thought to also test srt subtitles using it until now.
Recently, I installed Windows and programs on the E6750, imaged the setup and restored it to the Q9450 PC, so even the software and Windows installations are identical (aside from any additional software installed/upgraded in the past few months). The BIOS settings are also identical.

I can't test it properly yet as the Q9450 is in the middle of converting some video, but despite the CPU being fairly busy it's displaying srt subtitles fine at the moment without pushing CPU usage much higher, without stuttering and without having to disable "animation when buffering". So given how similar the two PCs are, I suspect it might be a hardware problem. Thinking about it, the E6750 can seem a little slow at times when it comes to displaying video (long pauses when switching monitors or entering/exiting full screen etc) and I do recall having to adjust the PCI BUS speed in the BIOS at one stage otherwise the PC wouldn't always boot (even after swapping video cards), but last time I reset everything that problem seemed to have mysteriously gone away....

Whether it's simply the difference between CPUs or not I don't know, but now I'm wondering what it could be about this PC which is causing the problem and whether it's simply hardware (although why the problem's only arisen with the latest MPC-HC, I have no idea). I can't at the moment, but later tonight I'll boot using the second hard drive which has a nice clean XP installation (no additional software) and run MPC-HC and a video with srt subtitles just to see what happens. If that doesn't work, I'll try disconnecting any non-essential hardware, or disabling overclocking etc (not that it's overclocked by much). It's got me curious and a little determined to find the cause now. Computers....

Sylt
9th October 2013, 07:37
Is there any Milestone when the new Pixel Shader Patch will be move to the main repository?

Peter_Pan
9th October 2013, 15:06
It is an obvious performance issue. Some default values were changed in MPC-HC. The new values give higher quality subtitles, at the cost of higher CPU usage.

options > subtitles:
1) Change "maximum texture resolution" from Desktop to a lower resolution.
2) Uncheck "Allow animation when buffering"
3) Reduce buffer size

That should improve performance.
Well, unchecking "Allow animation buffering" got me rid of the freezing and stuttering. So I have very similar results as hello_hello.

As he stated before, reducing the buffer size did next to nothing performance wise and reducing the texture resolution of the subtitles below "desktop" size, in my case "1280x720", is an absolute no-go, because of the at once visible blurryness. Too much for my taste. And regarding better subtitles quality: If it is there, it is at least not visible with my 720p desktop resolution. Maybe its visible on 1080p TFTs?

Also during camera movement in a movie I now get significantly more "tearing". Admitted, I am using an old LCD Display but this much isn't visible with the previous final version. I double-checked that.

Sadly the new "quality"-values do not apply to old/older systems which made MPC-HC so great for in the past. Maybe there is room for improvement regarding the performance on older systems?

clsid
9th October 2013, 15:55
The performance problem is due to the internal subtitle renderer being a bit dumb. It blindly assumes all SRT/ASS/SSA subtitles contain animated effects. As a result, a single subtitle line gets rendered multiple times instead of just once.

Underground78 has a development branch that contains several improvements for the subtitle renderer. It also contains a patch that makes the renderer smarter and only treat subs as animated when they really are. So that should fix the performance problem that you guys are having. I don't know why these patches have not been committed to the main branch yet, maybe Underground78 can comment on that. Even if most changes are still a work in progress, I think a few changes could be cherry picked.

Raylan Givens
9th October 2013, 23:02
I told you here an other time that keeping the "allow animation bla bla" consumes almost double CPU recources for nothing... For instance, the movie I'm watching right now has 1,70% CPU utilization on average and with animation on, it goes 3,5 and even 4%...

But some dudes were mocking me: "you don't know what you're talking about" lol... Just open process explorer and 5 secs observing should be enough.

On the other hand, reducing the buffering don't make any difference, unless is so subtle that I can't notice.

Incidentally, for some reason the 2560x1600 subtitles resolution doesn't work. The max resolution I can get is my native, 1080p res. If my memory serves me correct, I could get 1600p subtitles previously... Also, the 5.1 mixing ain't working in version 1.70.

Armada
10th October 2013, 22:47
In general reducing the subtitle buffer size will reduce performance not increase it, though it is a little bit more complex than that.

About the patches from Underground78, they're on a branch so they're still a work in progress, we will start merging them when he has more time. Those and other subtitle improvements are planned for the next stable.

Quitch
11th October 2013, 08:47
I'm configuring LAV Splitter for default subtitles, but the problem is I have two subtitle tracks, one is simplified Chinese and the other is traditional Chinese. Unfortunately simplified is the default but I want traditional. Both are tagged chi.

Is there any way to get it to default to traditional?

The subtitles look as follows:

CHS [chi] (subrip) [default] (Chinese (Traditional))
CHT [chi] (subrip) (Chinese (Traditional))

It's the second one, CHT, that I want.

filler56789
11th October 2013, 12:09
I'm configuring LAV Splitter for default subtitles, but the problem is I have two subtitle tracks, one is simplified Chinese and the other is traditional Chinese. Unfortunately simplified is the default but I want traditional. Both are tagged chi.

Is there any way to get it to default to traditional?

The subtitles look as follows:

CHS [chi] (subrip) [default] (Chinese (Traditional))
CHT [chi] (subrip) (Chinese (Traditional))

It's the second one, CHT, that I want.

Just remux with MKVtoolnix, and either set the CHT subtitle as the default track, or simply get rid of the CHS subtitle.

BTW, I think your question is very misplaced in this thread ---

--- or not? :confused:

Quitch
11th October 2013, 12:58
Well I'm configuring the LAV Splitter through MPC-HC, I don't have any external filters, so this seemed like the only place to ask the question. Apologies if I was wrong.

Is making that change quick, or does it need do lots of extractions and putting it back in containers and whatever else?

Snowknight26
11th October 2013, 13:49
It's a quick change. No remuxing needed.

the_weirdo
11th October 2013, 13:51
Is making that change quick, or does it need do lots of extractions and putting it back in containers and whatever else?

If you use Header editor (of MKVmerge GUI) to change default subtitle track to CHT one then it'll be quick. You can also use mkvpropedit (http://www.bunkus.org/videotools/mkvtoolnix/doc/mkvpropedit.html) (in MKVToolnix package) to batch editing your MKVs properties.

Quitch
11th October 2013, 14:21
Great stuff, thanks all.

karamancho
11th October 2013, 22:05
MPC-HC 1.7 losing focus (exits fullscreen) whenever Avast AV updates.
The funny thing is, Avasts update is in the 'background', has no UI or any windows or popups whatsoever.
*on WinXP sp3

Quitch
11th October 2013, 23:40
If you use Header editor (of MKVmerge GUI) to change default subtitle track to CHT one then it'll be quick. You can also use mkvpropedit (http://www.bunkus.org/videotools/mkvtoolnix/doc/mkvpropedit.html) (in MKVToolnix package) to batch editing your MKVs properties.

Is there an easy way to batch? It doesn't seem to understand wildcards in filenames.

the_weirdo
12th October 2013, 06:30
Is there an easy way to batch? It doesn't seem to understand wildcards in filenames.

If you run from Command Prompt then you can try this:
FOR %F IN (*.mkv) DO mkvpropedit "%~F" [parameters]

(In batch file, you need to use %% instead of %).

Quitch
12th October 2013, 11:12
You're a beautiful person, that works a treat. Unfortunately I'm getting an error from the tool about opening the file. I'm going to take it over to the subtitles forum (http://forum.doom9.org/showthread.php?p=1647573#post1647573).

Thanks again.

Pr3d
12th October 2013, 22:08
Hi,

i just updated MPCHC to 1.7.0 x64 version.
If i try to reproduce mkv files i receive "cannot render the file" error message.
Everything works fine with previous version.

Any help?
Thanks.

Armada
13th October 2013, 20:04
Hi,

i just updated MPCHC to 1.7.0 x64 version.
If i try to reproduce mkv files i receive "cannot render the file" error message.
Everything works fine with previous version.

Any help?
Thanks.
Try resetting your settings in Options > Miscellaneous.

Raylan Givens
14th October 2013, 21:45
Guys, I'm using only for H.264/AVC & AAC ( .mp4s ) the Microsoft's DTV decoders. Do you think my decision is bad in any possible way? I mean, is it better to let it as is even for only these 2 formats?

The only slightly "downside" is that the D3D Fullscreen is slightly slower ( when ALT + Enter ). With default decoders ( LAV ) the mechanism is extremely fast, like I don't use D3D.

GCRaistlin
14th October 2013, 22:31
As far as I can see it's currently impossible to play a video contained in one of multiple PGCs of a single IFO with an external audio track - the case like this (PgcDemux is used just for illustrating):
http://i58.fastpic.ru/thumb/2013/1015/c0/b6a940c084c94a99303b3af09de0f6c0.jpeg (http://fastpic.ru/view/58/2013/1015/b6a940c084c94a99303b3af09de0f6c0.png.html)
All we can do is to open the corresponding IFO directly and to specify additional audio track but we cannot switch between PGCs.

Is it possible to implement loading an external audio track right from Play | Audio menu?

hello_hello
16th October 2013, 14:07
Posting again regarding the video stuttering issue when displaying srt subtitles.....

Now I am thinking this problem is fairly hardware related. I finally got round to testing a little, but even when rebooting to a fresh Windows installation (no other software installed) I still couldn't display srt subtitles without the video stuttering and freezing (while "allow animation when buffering" is checked).

Next test was playing video with over-clocking disabled. Bingo! No stuttering when displaying srt subtitles regardless of decoder (I've tested LAV with and without Nvidia CUVID, and ffdshow with and without DXVA). Currently I'm playing a video with a resolution of 1920x1080 and srt subtitles enabled, no DXVA or CUVID, and there's not a stutter in site, with CPU usage averaging about 50% ("allow animation when buffering" is checked).

I had the E6750 CPU running at 3.2GHz (default clock speed 2.67GHz) so it's not like I'm pushing it hard. Anyone have any idea why overclocking a CPU would result in an inability to display srt subtitles and push CPU usage higher?


Edit:
Some additional info after a bit more testing (I probably should have written everything down as I changed things, but I'm pretty sure this is how it went). The same 1080p video was used for testing each time. Keep in mind video playback seems to be the only thing effected by changing the BIOS settings below. Aside from that the PC is very stable (it runs 24/7 and is only rebooted once or twice a week).

CPU bus speed 400MHz (default for CPU 333MHZ), PCI Express Frequency "auto".
Computer took a few attempts before it was willing to boot for some reason. CPU usage high (about 40%) when using LAV filters with Nvidia CUVID. Video stuttered even without subtitles being displayed and audio was way out of sync.

CPU bus speed 400MHz, PCI Express Frequency "100MHz".
This is how I'd been running the PC previously. CPU usage high when using LAV filters with Nvidia CUVID (about 40%). Video played okay without subtitles though. Stuttering began when subtitles were enabled.

CPU bus speed 400MHz, PCI Express Frequency "99MHz".
I think everything worked fine, including when displaying subtitles.

CPU bus speed 369MHz, PCI Express Frequency either "auto" or 99Mhz (and 100Mhz, I think).
CPU usage much lower when using LAV filters with Nvidia CUVID (between 15% and 20%). Enabling subtitles had a minimal impact on CPU usage (5% increase at most). No stuttering with or without subtitles enabled.

So if there's a moral to the story I'm not sure what it is, but for anyone with video stuttering problems maybe a little fiddling with BIOS settings could be in order? Anyone understand what would cause the above... and could they explain it to me? The problem seems to be related to PCI Express Frequency.

GCRaistlin
16th October 2013, 14:43
hello_hello, I confirm this. I have the same issues plus audio stuttering (http://forum.doom9.org/showthread.php?p=1645185#post1645185) with overclocking. Without overclocking the issue has gone but there is another one: external srt subtitles are displayed incorrectly (flashing, wrong timing) with madVR renderer. Besides that I remember I had some problems with shifting subtitles using internal subtitles renderer; anyway, it surely doesn't allow to set the speed ratio. So I reverted back to VSFilter - it works fine with overclocking and can change the speed ratio.

hello_hello
16th October 2013, 15:22
GCRaistlin,
I've edited my previous post to add some additional info regarding which BIOS settings work for me and which don't when it comes to displaying video with subtitles. I don't understand why it's happening, but at least now I know how to fix the problem. It's an old PC (E6750 CPU), and I don't even know if overclocking is done the same way any more (ie increasing CPU BUS speed).

I haven't tried a different subtitle renderer myself but I could get the video to stutter with certain BIOS settings, even when not displaying subtitles. I probably should have tested each BIOS setting with a different media player while I was at it to see what would happen, but I didn't think of it at the time. At the moment, the problem seems like it might be caused by the PCI Express Frequency setting in the BIOS, and not by overclocking as such..... at least for me. Have you tried fiddling with it yourself if your MB allows it? It was also interesting to discover CPU usage decreased by over 50% with the right BIOS settings when using Nvidia CUVID for decoding (even without factoring in subtitles). I don't understand that. When using DXVA, CPU usage seems to remain very low regardless of the BIOS settings. Computers...

The main reason I thought to play with the PCI Express Frequency is because my other PC (same motherboard) has a PCI Express USB3 card, and it drops out or refuses to run at USB3 speed while the PC is overclocked unless I manually set the PCI Express Frequency in the BIOS. It doesn't have a problem with stuttering video when displaying subtitles though, but maybe video cards can be equally as fussy?

GCRaistlin
16th October 2013, 16:42
hello_hello, I believe you're mixing up PCI bus speed with PCI Express bus speed. USB3, as well as modern videocards, doesn't concern PCI bus, only PCI Express bus. PCI bus frequency was surely locked to 33.33 MHz in my case. PCI Express bus frequency, as far as I know, can't be locked at its standard value while overclocking or else the videocard won't initialize.
I don't think 1 extra MHz of PCI Express bus frequency can cause stuttering, not to mention that 100 MHz is its standard value.

hello_hello
16th October 2013, 17:54
GCRaistlin,
Yes, you're correct. I referred to "PCI bus speed" when I should have been referring to "PCI Express Frequency". I don't know why, given I've looked at the setting and fiddled with it enough, but I went back and corrected my previous two posts so as not to (hopefully) confuse the issue.

I can only assume (guess) that maybe overclocking effects the MB's ability to control PCI Express Frequency to some extent, given manually changing it can fix problems. I know for a fact the USB3 card in my other PC is very unstable when the PCI Express Frequency is set to "auto" in the BIOS and the CPU is overclocked, but if I change it to 100Mhz, it works reliably.

I've tested various PCI Express Frequency settings in the BIOS in relation to overclocking and the ability to play video with subtitles, and honestly, I'm not making it up.... changing the PCI Express Frequency to 99Mhz rather than 100Mhz while overclocking fixed the stuttering problem when displaying subtitles, and cut CPU usage by over 50% when decoding with Nvidia CUVID. I even went back to the original BIOS settings to make sure the problem would return, and it did, then went back to 396MHz CPU bus/99MHz PCI Express frequency again to make sure the stuttering had gone.
It seems though, based on my limited testing, the PCI Express Frequency needed in the BIOS might change according to how much you're overclocking (hence my theory regarding overclocking and the MB's ability to control PCI Express Frequency accurately) but all I can suggest is you try it for yourself. If you do, I'd be interested to hear whether it works or not.

And I don't think I'm imagining it, but since setting the PCI Express Frequency to 99Mhz, video in general is slightly snappier. Videos open a little faster, seeking seems a little quicker, and CPU usage for Nvidia CUVID decoding is now on a par with DXVA (previously it was much higher). I can scroll pages on my PC monitor really fast now and it doesn't seem to cause the video running on the TV to stutter a little as it did before. I've even re-tested a tearing problem I was having. For some reason when running low resolution video full screen on my TV I'd see a little tearing when using a bicubic resizer in MPC-HC. While I prefer a bilinear resizer for low quality/resolution video anyway, the bicubic/tearing problem seems to (at least so far) no longer be a problem.

Anyway, as my earlier post was a little vague (because I couldn't remember for sure) I'm about to reboot and recheck while running the CPU BUS at 400MHz with the PCI Express frequency at 99Mhz. I'm fairly sure that stopped the stuttering, whereas 400Mhz/100Mhz causes it, but I'll reboot and report back.

hello_hello
16th October 2013, 18:36
Well I give up..... this PC's decided to be difficult all of a sudden. I tried two different CPU BUS Speed/PCI Express Freq combinations (400MHz/100MHz and 400MHz/99MHz) and in both cases the BIOS kept beeping at me and disabling overclocking before it'd boot. When I eventually got it to boot with those combinations, the 1080p video I'd been using for testing wouldn't play properly with Nvidia CUVID decoding (DXVA was fine). It was stuttering even without subtitles enabled. So while in stuttering mode I tried the same video with MPC-BE and VLC. The former played it fine (DXVA), with just a tiny bit of intermittent stuttering when subtitles were enabled. The latter made a mess of it.

So now I'm back to the 396Mhz/99Mhz combination. Everything plays fine. Subtitles display without causing stuttering and CPU usage remains nice and low. I've had enough for tonight. I might just sit back and actually watch something and maybe I'll be motivated to mess around with this some more tomorrow.

Pr3d
17th October 2013, 00:27
Try resetting your settings in Options > Miscellaneous.

No way, same error.

Pr3d
18th October 2013, 17:37
No way, same error.

I tried all the old 1.7.0.x builds and no one open mkv files.
If i try 1.6.9.x branch everything works.
So wired, don't you think?

jebediah
18th October 2013, 19:47
Well, a long story short.Just switched over from WinXP to Win7 on my HTPC. I formated the primary HDD "SSD" and did a clean install of Win7 as i always do.
All HD movies has been played smoothly on WinXP, both 720 and 1080, but now on Win7 all movies lags and freezes, and sometimes the sound and image are outsynced.
GPU-Z show me 99% GPU usage constantly when i watch a HD movie.
I've used the same MPC-HC settings for a couple years and it has worked just fine for me, but not now anymore.

Usually i use FFDShow and madVR, but i've tried FFDShow + Haali and FFDShow + Haali + Lav filters and only LAv filters, but all set ups ends as before, 99% GPU usage.

This is strange since it worked flawless in WinXP.

Things i've tried.
*Disable Aero
*Downclock and overclock the GPU
*Played the movie on another discs
*Set up the "High performance" in Power management
*Tried several Nvidia drivers, way back to 2012 drivers

And the HTPC specs.
*Intel i7-930
*Intel X25-M SSD 160GB + several 1TB WD discs
*Corsair HX 850W
*Corsair Dominator DHX+ DDR3 1600MHz 6GB
*Geforce GT 520 "not the best GPU but it did the job in WinXP"

There's absolutely no temperature problem and all drivers are up to date + bios.

Any settings in Win7 i've missed?

kasper93
18th October 2013, 20:15
@jebediah: Try resetting your settings in Options > Miscellaneous and do the same for madVR. Uninstall FFDShow (it's not developed anymore) unless you need it for some post processing. Generally it's better to use LAV Spliter than Haali.

Your GPU can't keep up. There is rule of thumb, if your hardware is good enough to handle software decoding you should use it. :) So please disable DXVA in LAV Video Decoder.

Next step is to adjust madVR settings.
1) Monitor GPU memory - if all memory is used try to lower queues in madVR settings. But I see that 520 have lots of memory so this shouldn't be needed.
2) Change scaling algorithms to something that you GPU can handle.

If you were using madVR on XP DXVA wasn't working, because XP doesn't support DXVA(2) and madVR doesn't support DXVA(1). And this probably is the problem, your GPU can't handle madVR and DXVA decoding
simultaneously. You can try EVR-CP it should play fine both with and without DXVA.

jebediah
19th October 2013, 11:13
@jebediah: Try resetting your settings in Options > Miscellaneous and do the same for madVR. Uninstall FFDShow (it's not developed anymore) unless you need it for some post processing. Generally it's better to use LAV Spliter than Haali.

Your GPU can't keep up. There is rule of thumb, if your hardware is good enough to handle software decoding you should use it. :) So please disable DXVA in LAV Video Decoder.

Next step is to adjust madVR settings.
1) Monitor GPU memory - if all memory is used try to lower queues in madVR settings. But I see that 520 have lots of memory so this shouldn't be needed.
2) Change scaling algorithms to something that you GPU can handle.

If you were using madVR on XP DXVA wasn't working, because XP doesn't support DXVA(2) and madVR doesn't support DXVA(1). And this probably is the problem, your GPU can't handle madVR and DXVA decoding
simultaneously. You can try EVR-CP it should play fine both with and without DXVA.

I think i've tried everything already. Every time i've changed codec or a splitter a also uninstalled MPc-HC and removed all the settings just to be sure.
When i tried madVR i also tried to lower the settings to the least demanding, and the GPU usage still goes up to 99%

And i think a disabled DXVA sometime when did my testing, not sure were or when.

I've noticed that EVR as DirectShow video + Lav splitter + Lav splitter source + Lav audio decoder works best, but i still get some random spikes time to time.

cogs
20th October 2013, 01:57
I have just installed 1.7.0 and a new feature prompts a feature request.

D3D fullscreen can now be switched to windowed mode, which almost solves an issue I had kludged a solution to. I have two independent installs of MPC-HC (one using registry settings and one using .ini), so that I can play D3D fullscreen to a TV in another room via HDMI, or play locally on the PC's monitor and speakers, by selecting the relevant option in a video file's context menu. Setting up file associations to get this working well was tricky.

I'd like to suggest an option to select an alternative audio renderer when fullscreen is active, so that audio switches with video when the selected fullscreen monitor is other than the primary display.

Thoughts? Useful to anyone else?

kerimcem
20th October 2013, 14:20
vc1 wmv wmva internal(lav) filiter dont work....

wanezhiling
20th October 2013, 14:28
vc1 wmv internal(lav) filiter dont work....

Everything is fine.

http://i1.tietuku.com/tfbnetszu.png
http://i1.tietuku.com/jfbiacdc0.png
http://i1.tietuku.com/7bdtnp3ra.png

kerimcem
20th October 2013, 14:37
Everything is fine.

http://i1.tietuku.com/tfbnetszu.png
http://i1.tietuku.com/jfbiacdc0.png
http://i1.tietuku.com/7bdtnp3ra.png

Format : Windows Media
File size : 387 MiB
Duration : 26mn 26s
Overall bit rate mode : Variable
Overall bit rate : 2 048 Kbps
Maximum Overall bit rate : 2 044 Kbps
Performer : xxxxxx
Encoded date : UTC 2008-05-05 19:19:43.000
Writing application : Flip4Mac WMV Export Component for QuickTime (Mac) ...9롘಴
Copyright :
Rating :
Video
ID : 2
Format : VC-1
Format profile : Advanced@L2
Codec ID : WMVA
Codec ID/Info : Windows Media Video
Codec ID/Hint : WMV
Description of the codec : Windows Media Video V9 Advanced - 960 x 540, 23.97 fps, Q=90 (VBR)
Bit rate : 1 996 Kbps
Width : 960 pixels
Height : 540 pixels
Display aspect ratio : 16:9
Frame rate mode : Variable
Nominal frame rate : 23.976 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Compression mode : Lossy
Language : English (US)

Audio
ID : 1
Format : WMA
Format version : Version 2
Codec ID : 161
Codec ID/Info : Windows Media Audio
Description of the codec : Windows Media Audio V9 Standard - 48 kbps, 44 kHz, 16 bit, Stereo (VBR)
Duration : 26mn 26s
Bit rate mode : Variable
Bit rate : 48.0 Kbps
Channel count : 2 channels
Sampling rate : 44.1 KHz
Bit depth : 16 bits
Stream size : 9.08 MiB (2%)
Language : English (US)

try two pc dont work internal filiter:sly:

Dstruct
20th October 2013, 14:37
I have just installed 1.7.0 and a new feature prompts a feature request.

D3D fullscreen can now be switched to windowed mode

Has problems here (App hang on D3D fullscreen exit): https://trac.mpc-hc.org/ticket/3611

Doom9
20th October 2013, 17:12
I'm the proud owner of a latest gen high end Ultrabook with a gorgeous 3200x1800 screen from Samsung. Unfortunately, my trusty old MPC-HC doesn't seem to like the HiDP situation too much.
Here's how MPC-HC looks if I run the display at quarter resolution (1600x900) with no scaling.

http://snag.gy/5RILh.jpg

One pixel on screen becomes 4 display pixels and everything looks as it's supposed to.
Then scale up to Full-HD resolution with 125% scaling:

http://snag.gy/M7PKc.jpg

Looks alright.
And now for the full resolution with 200% scaling (my eyes are good but not that good to see things at 3200x1800 on a 13" screen) and things become a bit problematic:

http://snag.gy/DqnXw.jpg

For reference I added another app in the background. Unfortunately, the shot doesn't properly reflect the scale of the problem... taking the full screen screenshot does scale up the minuscole controls of MPC-HC to a more manageable size (so what you see in the shot in terms of MPC controls is twice the size I see it on the display) - but on the device itself, they appear in the same size regardless of whethere I set scaling to 100% or 200%. This shot taken with my cellphone shows the true extent of the problem (http://snag.gy/kCHDe.jpg). The buttons are extremely tiny and hard to hit, and the position slider feels like it drags on for hours.

dukey
20th October 2013, 17:41
The bitmap graphics just want to be scaled. Still waiting for a high DPI desktop monitor. lives in hope

Raylan Givens
21st October 2013, 05:44
Is the "After Playback" options broken on you, too? It only plays the next file in playlist, no matter what. Did I something wrong?

jkauff
21st October 2013, 07:40
The bitmap graphics just want to be scaled. Still waiting for a high DPI desktop monitor. lives in hope
They're coming, if you've got about $4000 to spend.

Raylan Givens
21st October 2013, 12:45
There is rule of thumb, if your hardware is good enough to handle software decoding you should use it. :) So please disable DXVA in LAV Video Decoder.

Would you recommend the same advice on a mediocre PC like mine?

LigH
21st October 2013, 13:40
An i5 3570k will easily be able to decode FullHD in time, especially if LAV decoders can use multi-threading.
__

P.S.:

MPC-BE nightlies already support decoding HEVC. Is that planned for MPC-HC nightlies "soon™" as well?

truexfan81
21st October 2013, 17:57
An i5 3570k will easily be able to decode FullHD in time, especially if LAV decoders can use multi-threading.
__

P.S.:

MPC-BE nightlies already support decoding HEVC. Is that planned for MPC-HC nightlies "soon™" as well?

it will be in the next version of LAV, so after that is released the next nightly will have it

Raylan Givens
21st October 2013, 20:49
An i5 3570k will easily be able to decode FullHD in time, especially if LAV decoders can use multi-threading.
__


Yes, I know mate, but I'm just curious if the same advice could apply on my PC. I mean, does he think software decoding is for any reason better? Better image? Lower voltage or resources in general?

Unless he simply recommends software decoding just because the Nvidia 540 isn't enough... In this case my curiosity is off the table.

They're coming, if you've got about $4000 to spend.

For a small, 24" monitor, remove one zero, convert it to € ( ~540$ ) and I'd gladly get one.

I'm always fond of the notion investing in peripherals. If you chose wisely you can enjoy quality peripherals for long time. They worth the money, but certainly not a slight chance to pay 4000$.

Motenai Yoda
21st October 2013, 23:31
Request time: can someone sometime add a sw bicubic resizer (not ps)? Maybe -0.75 or -1.00?
My laptop's (arrandale) gpu load increase from 12% to 70% when using a ps resizers, but bilinear is so smooth!!!

hello_hello
22nd October 2013, 07:12
Yes, I know mate, but I'm just curious if the same advice could apply on my PC. I mean, does he think software decoding is for any reason better? Better image? Lower voltage or resources in general?

Unless he simply recommends software decoding just because the Nvidia 540 isn't enough... In this case my curiosity is off the table.

I wondered the same thing when I read that post. Why the rule of thumb stating CPU decoding should be used in preference to hardware decoding if possible?
Surely if I'm doing something CPU intensive for which the GPU can't lend a hand (ie video encoding) it makes sense to use the GPU for decoding/watching video?

Now I've got everything working correctly again (see my previous post #880) my old Nvidia 8600GT is happily decoding everything I throw at it. Everything up to and including High Profile, Level 4.1, at least. Why not let it?

the_weirdo
22nd October 2013, 09:43
No one prevents you from using hardware decoding. They just say that you should use software decoding if possible, because it's more stable than hardware decoding.

jkauff
22nd October 2013, 11:53
Nev has pointed out in the past that a fast CPU can decode many more frames per second than either CUDA or QuickSync. That's one reason why he recommends software decoding. QuickSync outputs more FPS than CUDA, so when I'm doing a Handbrake encode (eating up most of my CPU resources) I use QuickSync decoding to play a movie. My old eyes can't see the difference between software and QS anyway, frankly, with most of the sources I'm watching.

nevcairiel
22nd October 2013, 11:56
My old eyes can't see the difference between software and QS anyway, frankly, with most of the sources I'm watching.

The video quality is exactly the same.

jkauff
22nd October 2013, 11:59
The video quality is exactly the same.
Interesting. The rate at which you can feed the renderer (in my case madVR) doesn't affect rendering quality in any way? Didn't realize that.

nevcairiel
22nd October 2013, 12:04
Not at all. The only difference is speed, which can influence file opening speed and seeking speed.
Software decoding is also not influenced by bugs in your GPUs decoder or your GPU driver, which is why I prefer it when possible.

kasper93
24th October 2013, 00:43
MPC-BE nightlies already support decoding HEVC. Is that planned for MPC-HC nightlies "soon™" as well?

Starting from nightly 1.7.0.118 MPC-HC has support for HEVC and VP9 :) Thanks to LAV Filters and ffmpeg.

Damien147
24th October 2013, 03:17
If I put an autoload path subtitles of the same folder as the movie stop being read.Tried resetting settings and clean install but I still get the same thing,any ideas?

sneaker_ger
24th October 2013, 09:37
Were there any changes to the LAV building process? It does not crash anymore when used with EMET for me.

betaking
24th October 2013, 09:44
Were there any changes to the LAV building process? It does not crash anymore when used with EMET for me.

https://github.com/mpc-hc/mpc-hc/commit/959c6fb0ebe56b5701dea16778380f0bf488315f
Switch back to GCC 4.7.3 due to issues with EMET.

nevcairiel
24th October 2013, 09:51
Note that the switch will most likely not be permanent, and in the future GCC 4.8 will most likely be used again.

mindbomb
24th October 2013, 22:37
is there a way to show frame number?

LigH
25th October 2013, 07:19
ffdshow has On-Screen Display overlays if you use that as decoder filter.

Carpo
25th October 2013, 10:42
Has anyone got the nightlies to build with VS2013?

I get these errors repeated many many times, these are just a small sample

7> Unknown Option Build
7>
7> ------------------------------
7> [ERROR] 'sh build_ffmpeg.sh x86 Build' failed!
7> ------------------------------
7>
7>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.MakeFile.Targets(38,5): error MSB3073: The command "build_lavfilters.bat Build x86 Silent Nocolors" exited with code 1.

20>c:\mpc-hc\include\qt\fp.h(122): warning C4005: 'NAN' : macro redefinition (ShaderEditorDlg.cpp)
20> C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\math.h(106) : see previous definition of 'NAN'
20>c:\mpc-hc\include\qt\fp.h(122): warning C4005: 'NAN' : macro redefinition (ShaderCombineDlg.cpp)
20> C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\math.h(106) : see previous definition of 'NAN'
20> TunerScanDlg.cpp
20>c:\mpc-hc\include\qt\fp.h(122): warning C4005: 'NAN' : macro redefinition (SubtitleDlDlg.cpp)
20> C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\math.h(106) : see previous definition of 'NAN'
20>c:\mpc-hc\include\qt\fp.h(122): warning C4005: 'NAN' : macro redefinition (TextPassThruFilter.cpp)
20> C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\math.h(106) : see previous definition of 'NAN'
20>c:\mpc-hc\include\qt\fp.h(122): warning C4005: 'NAN' : macro redefinition (TunerScanDlg.cpp)
20> C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\math.h(106) : see previous definition of 'NAN'
20> UpdateChecker.cpp
20> UpdateCheckerDlg.cpp
20> vkCodes.cpp
20> VMROSD.cpp
20> VolumeCtrl.cpp
20> WebClientSocket.cpp
20> WebServer.cpp
20>c:\mpc-hc\include\qt\fp.h(122): warning C4005: 'NAN' : macro redefinition (VMROSD.cpp)
20> C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\math.h(106) : see previous definition of 'NAN'
20>c:\mpc-hc\include\qt\fp.h(122): warning C4005: 'NAN' : macro redefinition (WebServer.cpp)
20> C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\math.h(106) : see previous definition of 'NAN'
20> WebServerSocket.cpp
20> WinHotkeyCtrl.cpp
20>c:\mpc-hc\include\qt\fp.h(122): warning C4005: 'NAN' : macro redefinition (WebClientSocket.cpp)
20> C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\math.h(106) : see previous definition of 'NAN'
========== Build: 16 succeeded, 2 failed, 25 up-to-date, 2 skipped ==========

the issue with building lavfilters seems to be because of

C:\mpc-hc\src\thirdparty\LAVFilters>build_lavfilters.bat Build x86 Silent Nocolors
Unknown Option Build

------------------------------
[ERROR] 'sh build_ffmpeg.sh x86 Build' failed!
------------------------------


C:\mpc-hc\src\thirdparty\LAVFilters>build_lavfilters.bat
Unknown Option Build

Raylan Givens
25th October 2013, 13:21
Guys, Output Audio Renderer - What's the difference between "Speakers Realtek High Definition Audio 0020000" and the default direct sound device? In short, is there any meaningful difference?

Incidentally, if I set "Speakers Realtek High Definition Audio" with the default settings, I get no sound likely because the chip doesn't support floating point or something... If I uncheck the 32bit Floating in Lav output formats, it works normally... Meanwhile, the default direct sound device accepts floating point normally. Is this behavior the result of a bug?

JanWillem32
26th October 2013, 09:39
WaveOut and DirectSound outputs differ. WaveOut sends a buffer with rendering data to the sound adapter driver, regardless of compatibility. WaveOut also doesn't have decent sound mixing capabilities. DirectSound puts audio streams in a software renderer, mixes them, and outputs in the format configured for the audio output, causing it to be more compatible with various combinations of audio input streams and hardware than WaveOut. The cost of the DirectSound method is high latency.
There are other audio output options, such as WASAPI methods and ASIO, but these are not (decently) available for MPC-HC. These are mostly intended for low-latency access to the hardware and are especially demanding on the driver and rendering format (compatibility worse than WaveOut).
The rules for these types of audio outputs differ greatly by operating system. The most dramatic changes were in Windows Vista: http://en.wikipedia.org/wiki/Technical_features_new_to_Windows_Vista .

Raylan Givens
26th October 2013, 18:46
Thank you!

Incidentally, waveout you mean this, right? Because this is what I'm talking about. You must 'cause it acts the same as "Default Waveout Device"

http://i1.minus.com/ibai8fagNauE3L.png

Now I get it. If I connect my XFi do you think would be better to connect via default waveout device or still better let it as is, on default direct sound device? Keep in mind that I don't care about latency issues and I let the card's CMSS3D do the sound mixing ( surround 50% ).

JanWillem32
26th October 2013, 20:07
WaveOut is old. It's only there to work with old or exotic stuff. In terms of buffering and stability DirectSound is a lot better. Those that really care about latency issues should not use WaveOut nor DirectSound.

Raylan Givens
26th October 2013, 22:57
Right, thanks again. I let it on Default Direct Sound Device and I'm done with it.

One last question... Is there any difference between Bilinear and Bilinear PS 2.0? In terms of quality, efficiency and whatnot...

JanWillem32
26th October 2013, 23:23
The plain Bilinear resizer is done by StretchRect() on linear interpolation and doesn't allow rotation. The pixel shaded version allows rotation and is made using a typical drawing call. If the GPU has dedicated hardware to handle StretchRect() with linear interpolation, it will cost less resources. If not, the cost will be about the same. The quality should be equal for both.

renq
27th October 2013, 09:35
How can I play WMV videos in Win8.1 Pro N?
MPC crashes as I open one of them.

James Freeman
27th October 2013, 09:43
Anyone can help me to write a little Brightness Shader for MPC-HC?

My plan is to write a small Brightness shader only for custom steps x1-x2 (x1 and x2 are variables) out of 0-255.
The point is to make the blacks (or any custom range) brighter/darker but leave all the other steps alone.

This to prevent black crush, and have more control of only the lower darker black levels without changing all the other steps.

Many thanks.

EDIT:
@JanWillem32, I see you are an expert.
Can you help me to write this shader?

Octo-puss
27th October 2013, 12:06
Is seeking broken in any way? I noticed the player gets completely locked if I play a video consisting of extremely low amount of frames, say two, and try to seek around a few times. Not only no picture shows up when the file is played (I have to click somewhere in the seek bar to actually see anything), but only one of the frames can actually be seen (the second, I believe). If I click somewhere again, the whole program completely locks up about 90% of the time.

JanWillem32
27th October 2013, 13:36
James Freeman, do you mean multi-stage gamma controls, like the those used in studios? It's not a complicated filter. I just wrote a prototype. It still needs to be properly vectorized, but it somewhat works. For smoother transitions I could also try applying higher-order function fitting, but that would mean that the operating values would become much more complicated.
Be careful with these kinds of filters. Most settings will cause a ton of banding and may cause weird coloration with the altered mixes of red, green and blue. Do not try to mix colors (such as with the filter below) within R'G'B', use RGB or an absolute color space.// multi-stage gamma controls, prototype

sampler s0 : register(s0);

#define rxgamma .9
#define gxgamma .8
#define bxgamma 1.3
// xgamma must be higher than 0
#define rxpoint .3
#define gxpoint .2
#define bxpoint .1
// xpoint must be higher than 0
#define rygamma 2.1
#define gygamma 2.3
#define bygamma 2.7
// ygamma must be higher than 0
#define rypoint .5
#define gypoint .4
#define bypoint .6
// ypoint may be set equal to xpoint to disable the stage
// ypoint must be higher than xpoint to work
#define rzgamma 2.4
#define gzgamma 2.2
#define bzgamma 2.6
// zgamma must be higher than 0

float4 main(float2 tex : TEXCOORD0) : COLOR
{
float4 s1 = tex2D(s0, tex);
float3 sb = sign(s1.rgb);

if (s1.r < rxpoint) {
s1.r = pow(abs(s1.r/float(rxpoint)), rxgamma)*rxpoint;
} else if (s1.r < rypoint) {
float segmentsize = rypoint-rxpoint;
s1.r = pow(abs(s1.r/segmentsize-rxpoint/segmentsize), rygamma)*segmentsize+rxpoint;
} else {
float segmentsize = 1.-rypoint;
s1.r = pow(abs(s1.r/segmentsize-rypoint/segmentsize), rzgamma)*segmentsize+rypoint;
}

if (s1.g < gxpoint) {
s1.g = pow(abs(s1.g/float(gxpoint)), gxgamma)*gxpoint;
} else if (s1.g < gypoint) {
float segmentsize = gypoint-gxpoint;
s1.g = pow(abs(s1.g/segmentsize-gxpoint/segmentsize), gygamma)*segmentsize+gxpoint;
} else {
float segmentsize = 1.-gypoint;
s1.g = pow(abs(s1.g/segmentsize-gypoint/segmentsize), gzgamma)*segmentsize+gypoint;
}

if (s1.b < bxpoint) {
s1.b = pow(abs(s1.b/float(bxpoint)), bxgamma)*bxpoint;
} else if (s1.b < bypoint) {
float segmentsize = bypoint-bxpoint;
s1.b = pow(abs(s1.b/segmentsize-bxpoint/segmentsize), bygamma)*segmentsize+bxpoint;
} else {
float segmentsize = 1.-bypoint;
s1.b = pow(abs(s1.b/segmentsize-bypoint/segmentsize), bzgamma)*segmentsize+bypoint;
}

s1.rgb *= sb;// restore sign bits
return s1;
}

James Freeman
27th October 2013, 13:58
James Freeman, do you mean multi-stage gamma controls, like the those used in studios?

Yes, exactly.


EDIT:
I don't seem to grasp how to use this RGB Point/Gamma/XY system.

EDIT2:
Got It.
Its a 3 section Gamma changer.


EDIT3:
PERFECT !!!
MadVR + This shader = no banding (smooth).

Does exactly what I wanted.

Many thanks JanWillem32.


EDIT4:

The Default should be:
* I also added descriptions how to use.

// Multi-Stage Gamma Controls Filter

// This filter divides the greyscale to 3 separate individually controlled gamma sections.

// XPoint & YPoint determine the two cut points (0.333 & 0.666 giving exactly 3 equal thirds).
// XGamma controls whats Before XPoint.
// YGamma controls whats Before YPoint.
// ZGamma controls whats After YPoint.

// Default gamma is 1, lower = brighter, higher = darker.

// R.G.B should be the same to retain the greyscale without odd hue and color changes.

sampler s0 : register(s0);

#define rxgamma 3
#define gxgamma 3
#define bxgamma 3
// xgamma must be higher than 0
#define rxpoint 0.333
#define gxpoint 0.333
#define bxpoint 0.333
// xpoint must be higher than 0
#define rygamma 2
#define gygamma 2
#define bygamma 2
// ygamma must be higher than 0
#define rypoint 0.666
#define gypoint 0.666
#define bypoint 0.666
// ypoint may be set equal to xpoint to disable the stage
// ypoint must be higher than xpoint to work
#define rzgamma 0.5
#define gzgamma 0.5
#define bzgamma 0.5
// zgamma must be higher than 0

float4 main(float2 tex : TEXCOORD0) : COLOR
{
float4 s1 = tex2D(s0, tex);
float3 sb = sign(s1.rgb);

if (s1.r < rxpoint) {
s1.r = pow(abs(s1.r/float(rxpoint)), rxgamma)*rxpoint;
} else if (s1.r < rypoint) {
float segmentsize = rypoint-rxpoint;
s1.r = pow(abs(s1.r/segmentsize-rxpoint/segmentsize), rygamma)*segmentsize+rxpoint;
} else {
float segmentsize = 1.-rypoint;
s1.r = pow(abs(s1.r/segmentsize-rypoint/segmentsize), rzgamma)*segmentsize+rypoint;
}

if (s1.g < gxpoint) {
s1.g = pow(abs(s1.g/float(gxpoint)), gxgamma)*gxpoint;
} else if (s1.g < gypoint) {
float segmentsize = gypoint-gxpoint;
s1.g = pow(abs(s1.g/segmentsize-gxpoint/segmentsize), gygamma)*segmentsize+gxpoint;
} else {
float segmentsize = 1.-gypoint;
s1.g = pow(abs(s1.g/segmentsize-gypoint/segmentsize), gzgamma)*segmentsize+gypoint;
}

if (s1.b < bxpoint) {
s1.b = pow(abs(s1.b/float(bxpoint)), bxgamma)*bxpoint;
} else if (s1.b < bypoint) {
float segmentsize = bypoint-bxpoint;
s1.b = pow(abs(s1.b/segmentsize-bxpoint/segmentsize), bygamma)*segmentsize+bxpoint;
} else {
float segmentsize = 1.-bypoint;
s1.b = pow(abs(s1.b/segmentsize-bypoint/segmentsize), bzgamma)*segmentsize+bypoint;
}

s1.rgb *= sb;// restore sign bits
return s1;
}


Without Filter:
http://i557.photobucket.com/albums/ss18/ilya-v/Other/original_zpsb884901a.jpg

With Filter (Default settings):
Extreme Changes to show the effect of the filter.
http://i557.photobucket.com/albums/ss18/ilya-v/Other/3patrsgamma_zps7c196493.jpg



For a BT.1886 curve:
// Multi-Stage Gamma Controls Filter

// This filter divides the greyscale to 3 separate individually controlled gamma sections.

// XPoint & YPoint determine the two cut points (0.333 & 0.666 giving exactly 3 equal thirds).
// XGamma controls whats Before XPoint.
// YGamma controls whats Before YPoint.
// ZGamma controls whats After YPoint.

// Default gamma is 1, lower = brighter, higher = darker.

// R.G.B should be the same to retain the greyscale without odd hue and color changes.

sampler s0 : register(s0);

#define rxgamma 0.5
#define gxgamma 0.5
#define bxgamma 0.5
// xgamma must be higher than 0
#define rxpoint 0.2
#define gxpoint 0.2
#define bxpoint 0.2
// xpoint must be higher than 0
#define rygamma 1
#define gygamma 1
#define bygamma 1
// ygamma must be higher than 0
#define rypoint 0.666
#define gypoint 0.666
#define bypoint 0.666
// ypoint may be set equal to xpoint to disable the stage
// ypoint must be higher than xpoint to work
#define rzgamma 1
#define gzgamma 1
#define bzgamma 1
// zgamma must be higher than 0

float4 main(float2 tex : TEXCOORD0) : COLOR
{
float4 s1 = tex2D(s0, tex);
float3 sb = sign(s1.rgb);

if (s1.r < rxpoint) {
s1.r = pow(abs(s1.r/float(rxpoint)), rxgamma)*rxpoint;
} else if (s1.r < rypoint) {
float segmentsize = rypoint-rxpoint;
s1.r = pow(abs(s1.r/segmentsize-rxpoint/segmentsize), rygamma)*segmentsize+rxpoint;
} else {
float segmentsize = 1.-rypoint;
s1.r = pow(abs(s1.r/segmentsize-rypoint/segmentsize), rzgamma)*segmentsize+rypoint;
}

if (s1.g < gxpoint) {
s1.g = pow(abs(s1.g/float(gxpoint)), gxgamma)*gxpoint;
} else if (s1.g < gypoint) {
float segmentsize = gypoint-gxpoint;
s1.g = pow(abs(s1.g/segmentsize-gxpoint/segmentsize), gygamma)*segmentsize+gxpoint;
} else {
float segmentsize = 1.-gypoint;
s1.g = pow(abs(s1.g/segmentsize-gypoint/segmentsize), gzgamma)*segmentsize+gypoint;
}

if (s1.b < bxpoint) {
s1.b = pow(abs(s1.b/float(bxpoint)), bxgamma)*bxpoint;
} else if (s1.b < bypoint) {
float segmentsize = bypoint-bxpoint;
s1.b = pow(abs(s1.b/segmentsize-bxpoint/segmentsize), bygamma)*segmentsize+bxpoint;
} else {
float segmentsize = 1.-bypoint;
s1.b = pow(abs(s1.b/segmentsize-bypoint/segmentsize), bzgamma)*segmentsize+bypoint;
}

s1.rgb *= sb;// restore sign bits
return s1;
}

BT.1886 V2:
Brightens a little below 10%, but leaves below 1% untouched.
// Multi-Stage Gamma Controls Filter

// This filter divides the greyscale to 3 separate individually controlled gamma sections.

// XPoint & YPoint determine the two cut points (0.333 & 0.666 giving exactly 3 equal thirds).
// XGamma controls whats Before XPoint.
// YGamma controls whats Before YPoint.
// ZGamma controls whats After YPoint.

// Default gamma is 1, lower = brighter, higher = darker.

// R.G.B should be the same to retain the greyscale without odd hue and color changes.

sampler s0 : register(s0);

#define rxgamma 1
#define gxgamma 1
#define bxgamma 1
// xgamma must be higher than 0
#define rxpoint 0.01
#define gxpoint 0.01
#define bxpoint 0.01
// xpoint must be higher than 0
#define rygamma 0.7
#define gygamma 0.7
#define bygamma 0.7
// ygamma must be higher than 0
#define rypoint 0.1
#define gypoint 0.1
#define bypoint 0.1
// ypoint may be set equal to xpoint to disable the stage
// ypoint must be higher than xpoint to work
#define rzgamma 1
#define gzgamma 1
#define bzgamma 1
// zgamma must be higher than 0

float4 main(float2 tex : TEXCOORD0) : COLOR
{
float4 s1 = tex2D(s0, tex);
float3 sb = sign(s1.rgb);

if (s1.r < rxpoint) {
s1.r = pow(abs(s1.r/float(rxpoint)), rxgamma)*rxpoint;
} else if (s1.r < rypoint) {
float segmentsize = rypoint-rxpoint;
s1.r = pow(abs(s1.r/segmentsize-rxpoint/segmentsize), rygamma)*segmentsize+rxpoint;
} else {
float segmentsize = 1.-rypoint;
s1.r = pow(abs(s1.r/segmentsize-rypoint/segmentsize), rzgamma)*segmentsize+rypoint;
}

if (s1.g < gxpoint) {
s1.g = pow(abs(s1.g/float(gxpoint)), gxgamma)*gxpoint;
} else if (s1.g < gypoint) {
float segmentsize = gypoint-gxpoint;
s1.g = pow(abs(s1.g/segmentsize-gxpoint/segmentsize), gygamma)*segmentsize+gxpoint;
} else {
float segmentsize = 1.-gypoint;
s1.g = pow(abs(s1.g/segmentsize-gypoint/segmentsize), gzgamma)*segmentsize+gypoint;
}

if (s1.b < bxpoint) {
s1.b = pow(abs(s1.b/float(bxpoint)), bxgamma)*bxpoint;
} else if (s1.b < bypoint) {
float segmentsize = bypoint-bxpoint;
s1.b = pow(abs(s1.b/segmentsize-bxpoint/segmentsize), bygamma)*segmentsize+bxpoint;
} else {
float segmentsize = 1.-bypoint;
s1.b = pow(abs(s1.b/segmentsize-bypoint/segmentsize), bzgamma)*segmentsize+bypoint;
}

s1.rgb *= sb;// restore sign bits
return s1;
}

JanWillem32
27th October 2013, 15:48
The compiler went easy on me this time. It actually took me more effort to add comments than to optimize this function.// (C) 2013 Jan-Willem Krans (janwillem32 <at> hotmail.com)
// This file is part of Video pixel shader pack.
// This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.
// This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
// You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

// multi-stage gamma controls
// This shader can be run as a screen space pixel shader.
// This shader requires compiling with ps_2_0, but higher is better, see http://en.wikipedia.org/wiki/Pixel_shader to look up what PS version your video card supports.
// This shader is meant to work with linear RGB input and output. Regular R'G'B' with a video gamma encoding will have to be converted with the linear gamma shaders to work properly.
// Use this shader to control up to three stages of gamma curves.

// fractions, either decimal or not, are allowed
// RedxGamma, GreenxGamma and BluexGamma, bottom segment gamma, interval (0, 10], default 1
#define RedxGamma 1.4
#define GreenxGamma .8
#define BluexGamma 1.3
// RedyGamma, GreenyGamma and BlueyGamma, middle segment gamma, interval (0, 10], default 1
#define RedyGamma 21/5.
#define GreenyGamma 4.3
#define BlueyGamma 4.7
// RedzGamma, GreenzGamma and BluezGamma, top segment gamma, interval (0, 10], default 1
#define RedzGamma 3.7
#define GreenzGamma 5.2
#define BluezGamma 17/7.
// RedxPoint, GreenxPoint and BluexPoint, cutoff point of the first segment, interval (0, 1]
#define RedxPoint .3
#define GreenxPoint .2
#define BluexPoint .1
// RedyPoint, GreenyPoint, and BlueyPoint, cutoff point of the second segment, interval [{RedxPoint, GreenxPoint, and BluexPoint}, 1]
// Setting a value for these three equal to the value in RedxPoint, GreenxPoint or BluexPoint respectively will disable the stage.
#define RedyPoint .5
#define GreenyPoint 8/9.
#define BlueyPoint .6

sampler s0 : register(s0);
static const float3 xGamma = {RedxGamma, GreenxGamma, BluexGamma};
static const float3 yGamma = {RedyGamma, GreenyGamma, BlueyGamma};
static const float3 zGamma = {RedzGamma, GreenzGamma, BluezGamma};
static const float3 xPoint = {RedxPoint, GreenxPoint, BluexPoint};
static const float3 yPoint = {RedyPoint, GreenyPoint, BlueyPoint};
static const float3 ySegmentsize = yPoint-xPoint;
static const float3 zSegmentsize = 1.-yPoint;

float4 main(float2 tex : TEXCOORD0) : COLOR
{
float3 s1 = tex2D(s0, tex).rgb;// original pixel
float3 sb = sign(s1);// preserve sign bits
// transform gamma inside the three segments
float3 xstage = pow(abs(s1/xPoint), xGamma)*xPoint;
float3 ystage = pow(abs(s1/ySegmentsize-xPoint/ySegmentsize), yGamma)*ySegmentsize+xPoint;
float3 ret = pow(abs(s1/zSegmentsize-yPoint/zSegmentsize), zGamma)*zSegmentsize+yPoint;
// select from the correct segment depending on the cutoff points
if (s1.r < RedyPoint) {
ret.r = ystage.r;
}
if (s1.g < GreenyPoint) {
ret.g = ystage.g;
}
if (s1.b < BlueyPoint) {
ret.b = ystage.b;
}
if (s1.r < RedxPoint) {
ret.r = xstage.r;
}
if (s1.g < GreenxPoint) {
ret.g = xstage.g;
}
if (s1.b < BluexPoint) {
ret.b = xstage.b;
}
ret *= sb;// restore sign bits
return ret.rgbb;// gamma-altered color output
}

James Freeman
27th October 2013, 16:05
JanWillem32,

Any difference between the two versions?

JanWillem32
27th October 2013, 17:24
55 instructions versus 40.

James Freeman
27th October 2013, 17:49
Instructions = lines of code?
Less is better?
Newer has less instructions?

Any Quality difference?

What are these gamma values: 17/7 = 2.4285 ???

Any benefits having separate RGB's instead a single value?

Is this going to be in the Pixel Shader Pack so that everyone will benefit from this?


Anyway.
This Shader is just perfect for lifting the shadows a little (at a specific bandwidth) without effecting the rest of the picture.
I can't believe we did not have this sooner.

Thanks again, Jan.

JanWillem32
27th October 2013, 18:26
The final shader takes about 25% less compile time (32 to 37 ms versus 41 to 51 ms for the prototype), compiles to 40 instructions versus 55 for the prototype and has the usual set of comments inserted. The final shader can be compiled with the PS 2.0 compiling level, while the prototype can't. The actual code being executed is the same. It's just optimization plus adding comments.

17/7. is a totally normal fractional value with full precision. (I never round values to less than the point of satisfying full precision in 128-bit IEEE quadruple precision floating-point values, so I usually set my calculator to 50 significant decimal digits.) Notation of 17./7., 17./7, 17.0/7.0 and such are fine as well. Just include a dot in the notation so that the compiler recognizes it as a single-precision floating-point value.

Red, green and blue values are separated for the simple reason that it's possible, and it doesn't really take extra code to handle them separately.

The Pixel Shader Pack v1.5 will need quite a lot of extra work. I don't like the blocks of comments below the title of the shaders. It still mentions "screen space pixel shader" and such, which is just outdated. I also want to split the entire set of shaders per rendering color space+format. I'll have to add a 'readme' to properly document what to use in what renderer for that. Most of the pixel shaders are already available as multi-version (see the last few pages of the shader thread for examples).
Some shaders need to be scrapped for the simple reason that they should never be used (or I'll just put them in the junk folder called 'development'). I also wrote new shaders and corrected some wrong methods in older ones.
My main problem is actually the set of newly developed shaders. These hardly contain any comments, and some of them are just not user-friendly. I just don't have time to edit and test over 350 files.

Milardo
28th October 2013, 01:04
hi does anybody know how to get a usb 2.0 hdmi capture device to work in mpc-hc such as the one i have which is roxio game capture hd pro?

betaking
28th October 2013, 02:42
can not use TortoiseGit download submodule "qsdecoder"
in 1fo.de is ad4c50072dedfbd1cf5939a9317782b2f4d3e051
but on https://github.com/Underground78/lavfilters
is qsdecoder @ d7678f1

Motenai Yoda
28th October 2013, 15:36
@James Freeman only two notes:
1- why not add a gamma aware correction?
2- instead of this multi-stage gamma correction, use a s curve to increase contrast without loss detail, like photoshop brightness/contrast new one?
this does exactly the same as ps (in avisynth and in yv12 but most of the formula is it, change 109.5 to 127.5 and remove 16 +/-...)
#Contrast with an 'S' curve (like photoshop's Contrast/ Brightness new mode)
s=15 #contrast strength, it's the merge factor, value from -100 to 100
mt_lut(yExpr="x 100 "+String(s.float())+" - 100 / * x 16 - 109.5 / 1 - 1.5 * sin 1 + 109.5 * 16 + "+String(s.float())+" 100 / * +",chroma="copy")

JanWillem32
28th October 2013, 18:18
This is quite interesting...

1 - I already mention counteracting the problems with gamma during rendering in the shaders that mix colors. See: "This shader is meant to work with linear RGB input and output. Regular R'G'B' with a video gamma encoding will have to be converted with the linear gamma shaders to work properly."
The RGB, XYZ, LMS or sometimes even xyY color spaces will generally work fine. The shaders that include the aforementioned statement do not expect to receive R'G'B' input, so that these can do a gamma-correct operation.

2 - There are indeed better options to multi-stage variable color controls, I just wrote one that was easy to operate.
Stating "does exactly the same as ps" is plain wrong though.

Any decent brightness, contrast, gamma and other colorimetric controls should never be attempted in Y'CbCr color spaces such as used in YV12. The basic Y'CbCr format is only a color space modeled to be mostly compatible with the 1953 NTSC analog color television standard, and is as such completely worthless as a rendering format. Even R'G'B' (the initial conversion format from Y'CbCr) is a bad rendering format for most operations.

Offloading operations to the CPU by for example Avisynth is indeed a good idea for those that don't have a decent GPU.
Use RGB or an absolute color space with good quantization in both storage (16-bit integer or 32-bit floating point minimum) and calculation format (only floating point, 32-bit (maybe 24-bit for legacy stuff) minimum) during rendering and it should work fine.

S-curves are higher-order math. I can work with them, but most people can't. Higher-order curves don't take simple nodes (such as RedxPoint, GreenxPoint and BluexPoint I used in the script), but change the bends on the first- and onward-order mathematical derivatives of the function. Higher-order curves are certainly better for creating smooth transitions, though.

vood007
29th October 2013, 00:09
This is Curves Shader of SweetFX for MPCHC:



/* --- Curves settings --- */
#define Curves_contrast 0.30 //[-1.0 to 1.0] The amount of contrast you want

// -- Advanced curve settings --
#define Curves_formula 3 //[1 to 7] The constrast s-curve you want to use.
/* --- End of settings --- */

/* --- Defining Constants --- */

sampler s0 : register(s0);


/* --- Curves --- */
/*
by Christian Cann Schuldt Jensen ~ CeeJay.dk

Curves, uses S-curves to increase contrast, without clipping highlights and shadows.
*/

float4 CurvesPass( float4 colorInput )
{
float3 color = colorInput.rgb; //original input color
float3 lumCoeff = float3(0.2126, 0.7152, 0.0722); //Values to calculate luma with
float Curves_contrast_blend = Curves_contrast;
float PI = acos(-1); //3.14159265

//calculate luma (grey)
float luma = dot(lumCoeff, color);

//calculate chroma
float3 chroma = color - luma;

//Apply curve to luma

// -- Curve 1 --
#if Curves_formula == 1
luma = sin(PI * 0.5 * luma); // Sin - 721 amd fps, +vign 536 nv
luma *= luma;
#endif

// -- Curve 2 --
#if Curves_formula == 2
luma = ( (luma - 0.5) / (0.5 + abs(luma-0.5)) ) + 0.5;
#endif

// -- Curve 3 --
#if Curves_formula == 3
//luma = smoothstep(0.0,1.0,luma); //smoothstep
luma = luma*luma*(3.0-2.0*luma); //faster smoothstep alternative
#endif

// -- Curve 4 --
#if Curves_formula == 4
luma = 1.1048 / (1.0 + exp(-3.0 * (luma * 2.0 - 1.0))) - (0.1048 / 2.0); //exp formula
#endif

// -- Curve 5 --
#if Curves_formula == 5
luma = 0.5 * (luma + 3.0 * luma * luma - 2.0 * luma * luma * luma); //a simple catmull-rom (0,0,1,1)
Curves_contrast_blend = Curves_contrast * 2.0; //I multiply by two to give it a strength closer to the other curves.
#endif

// -- Curve 6 --
#if Curves_formula == 6
luma = luma*luma*luma*(luma*(luma*6.0 - 15.0) + 10.0); //Perlins smootherstep
#endif

// -- Curve 7 --
#if Curves_formula == 7
luma = ((luma-0.5) / ((0.5/(4.0/3.0)) + abs((luma-0.5)*1.25))) + 0.5;
#endif


//Add back the chroma
color = luma + chroma;

//Blend by Curves_contrast
colorInput.rgb = lerp(colorInput.rgb, color, Curves_contrast_blend);

//Return the result
return colorInput;
}

/* --- Main --- */

float4 main(float2 tex : TEXCOORD0) : COLOR {
float4 FinalColor = tex2D(s0, tex);

FinalColor = CurvesPass(FinalColor);

return FinalColor;
}

Motenai Yoda
29th October 2013, 04:46
@JanWillem32 my apologizes I read too quickly..
1- I notice that there isn't a correction 'cause test patterns posted by James Freeman hasn't.

2- I didn't write that to reproduce photoshop's one, but was an experiment to use a simple sin function to contrast chroma planes, I later adapted it for luma, and looks exactly the same, also is simple to manage for low mid and light part separately 'cause the nodal point in sin(0). Finally that was a merely example.

btw u said stuff like 16bit, 32bit (I think are for channel), but 24 bit... there is something that works in 24bit float? I hope u didn't mean 24bit RGB 'cause that are integers, 3 channels @8bit (while 32bit RGB add another channel, alpha). For luminosity stuff, YV12 as video content generally are, is good enough, u only need to work on Y, also masktools works only in yv12 (maybe the lastest in YV16 and YV24 too) but all calculation are done in 32bit float.

off topic closed for me.

@vood007 thanks, that stupid WolframAlpha don't give me 2Pi*n + Pi/2 but an "x~~0.5 (12.5664 n+3.14159)", precision for my curve is the curve 1

JanWillem32
29th October 2013, 09:56
vood007, that shader indeed includes indeed a set of common curve formulas, some polynomial, some non-polynomial. It unfortunately still tries to work on luma though. (The dot product of R'G'B' with the vector {.2126, .7152, .0722} yields the luma or Y' scalar for BT.1886/BT.709 (or so called 'HD') video.)
The curves can be altered to accept more user parameters, rather than just a contrast value, but won't be easy to configure.

1- I notice that there isn't a correction 'cause test patterns posted by James Freeman hasn't.Thave you tried the shader I posted? The color correction is extreme in that one. The shader should work as advertised. The settings used by James Freeman were mostly just conservative.2- I didn't write that to reproduce photoshop's one, but was an experiment to use a simple sin function to contrast chroma planes, I later adapted it for luma, and looks exactly the same, also is simple to manage for low mid and light part separately 'cause the nodal point in sin(0). Finally that was a merely example.The programming for the function itself is in a rather odd code format, but the base function should probably be fine.btw u said stuff like 16bit, 32bit (I think are for channel), but 24 bit... there is something that works in 24bit float? I hope u didn't mean 24bit RGB 'cause that are integers, 3 channels @8bit (while 32bit RGB add another channel, alpha).Older DirectX 9.0 compliant ATi GPUs had 24-bit floating point units for the pixel processing stages. For color processing in that era, the lower quantization didn't matter, as the buffers were generally poor quality anyway. All other DirectX 9.0 compliant (and onward) GPUs have standard 32-bit floating point units. Some even have 64-bit floating-point capabilities for special cases.For luminosity stuff, YV12 as video content generally are, is good enough, u only need to work on Y, also masktools works only in yv12 (maybe the lastest in YV16 and YV24 too) but all calculation are done in 32bit float.YV12 is already an abysmally poor quality format to begin with. Many videos still output 8-bit, 4:2:0 chroma down-sampled Y'CbCr color, so getting a buffer in the YV12 format isn't that odd. The main problem I have is with filters operating on the ancient Y'CbCr parts like as it contains a somewhat decent representation of color. I also find it inexcusable to implement filters that output on the common, but poor quality 8-bit per channel formats, unless the hardware really can't process any better. Good rendering means keeping quantization at at least good levels from the first operation up to the output stage. Also don't forget that the output stage itself is often times a negotiable format, too.off topic closed for me.Don't worry too much about slightly off-topic stuff. As long as it's audiovisual and/or software development related, it's good enough.

madshi
29th October 2013, 10:22
FWIW, madVR's "contrast" control already works by applying an S-curve to the gamma curve in linear light. However, James Freeman wanted something like an adjustable BT.1886 curve, which is quite a bit different (basically it takes into account the exact black level of the display).

James Freeman
29th October 2013, 12:38
James Freeman wanted something like an adjustable BT.1886 curve, which is quite a bit different (basically it takes into account the exact black level of the display).

All I wanted is a simple way to control the first few steps of the Greyscale without affecting the other steps above a certain threshold.

I got way more than what I wanted.

As for BT.1886 emulation,
I just lower the gamma for the first few steps, and add a little more to everything else.
The result is a nice deep image without crushed blacks.

Its not exactly a calibrated BT.1886 curve (I have an ICC for that),
but most of the time, it is a lot faster & more comfortable to change things "on the fly" than re-calibrate the display.
Besides, for low contrast displays the BT.1886 can be over-done, and have too elevated blacks.

I use the "Black Steps" from the AVS709HD disc, and tweak JanWillem32 gamma shader till I see the first steps (17-19) clearly,
without affecting steps 25 and above.

leeperry
29th October 2013, 13:16
Hi Jan, TYVM for the 3 section Gamma changer :)

You mention a forthcoming new PS script pack, any chance it would offer a HQ denoiser/MPEG deblocker and some sort of dynamic contrast thingie(much like DNIE (http://forum.doom9.org/showpost.php?p=1600258&postcount=15433))?

When I run my Sammy TV in 4:4:4 mode, only 60Hz is allowed(luckily mVR's FRC comes to the rescue) but no more denoiser/DNIE for me and both looked great(sadly 4:2:2 only) on Jinc3AR upscaled SD :o

Raylan Givens
1st November 2013, 18:59
Can Windows 8.1 decode AC3 audio natively? I mean the DTV-DVD decoder. Currently I've set both, DTV-DVD audio and video decoders as 'preffered' and it plays .mkv files without strange filters ( line21 or something, if my memory serves me correct ) showing in the filter list...

http://i2.minus.com/izTx4LYK7jPO4.png

jebediah
1st November 2013, 20:08
Since no one has answer or my question"See post 888" (http://forum.doom9.org/showpost.php?p=1648601&postcount=888)

What kind of graphic card do need then if a GT 520 doesn't do the work?
Would a GeForce GT 630 4GB do the trick?

JanWillem32
1st November 2013, 22:32
leeperry, I wrote several general denoise/deband shaders (even two recently). These won't deblock, though. Deblock is pretty much an integer transform dependent on the source video (and encoding). For AVC and VC-1 it's part of the standards, and deblock patterns are in the video source. For older codecs that do block transforms but don't have deblock in the standard, it's much harder to get it right. These are still by all means integer transforms unsuitable for any video renderer stage, and probably video mixer stage. Given the difficulty of analyzing/guessing where block artifacts happen, I'd say that this filter would be even hard to pull off if deblock would be handled in the decoder stages. At a minimum, the pattern, size and intensity of blocking would be required for a filter. The decoder does 'know' most of that, but that information isn't really available in the mixer and renderer stages.

I'm not even going to try writing a dynamic contrast filter. It's not a complicated transform, but it would require renderer support for a custom stage and I just don't like this kind of filter at all.

DNIE isn't a single filter. I recognized a variable colorfulness filter (I already wrote two), a dynamic gamma/dynamic contrast filter, a simple unsharp mask filter (several of these pre-date even my programming work) and frame interpolation (a complicated set of filters, mine are not that great (yet)).
The colorfulness filter may be somewhat compensated to avoid typical discoloration on skin tones (by setting red-versus-yellow (angle) and red-versus-cyan (complement) balances differently).

I guess you could try some pixel shaders and other renderer features to apply most of these effects, but let's put it this way: there are not that many video sources that will actually improve from all of these types and this amount of filters.

jebediah, I worked with worse GPUs and IGPs that could (just barely) render 1080p (just don't expect anything fancy from interlaced or high-frame rate video). Could you test the basic EVR, VMR-9 and overlay renderers in full screen mode with both Aero enabled and disabled? There could indeed very well be a difference in efficiency between the Windows XP and the Windows 7 drivers. If even the most basic renderers are too heavy on Windows 7, then it's probably that.

hello_hello
2nd November 2013, 14:11
Since no one has answer or my question"See post 888" (http://forum.doom9.org/showpost.php?p=1648601&postcount=888)

What kind of graphic card do need then if a GT 520 doesn't do the work?
Would a GeForce GT 630 4GB do the trick?

My 8600GT does the work, so I'd assume a GT520 should (although I don't know anything about that card). However I had to fiddle with the PCI Express speed in the BIOS to stop the stuttering. Even if you're not overclocking it might be worth setting the PCI Express frequency manually if you can.
http://forum.doom9.org/showpost.php?p=1648111&postcount=880
Mostly for me, the stuttering didn't start until srt subtitles were enabled, but one particular CPU BUS Speed/PCI Express Frequency combination wouldn't allow me to play 1080p video without stuttering even without subtitles. For whatever reason, my second PC with the same MB/OS and video card doesn't suffer from the problem, but maybe it's also driver/OS related in a way I don't understand. Or Aero related in your case. I'm running XP.

jebediah
2nd November 2013, 15:28
jebediah, I worked with worse GPUs and IGPs that could (just barely) render 1080p (just don't expect anything fancy from interlaced or high-frame rate video). Could you test the basic EVR, VMR-9 and overlay renderers in full screen mode with both Aero enabled and disabled? There could indeed very well be a difference in efficiency between the Windows XP and the Windows 7 drivers. If even the most basic renderers are too heavy on Windows 7, then it's probably that.

Believe me, i've tried every possible solution. VMR-7 works best, but the quality looks worse then my old VHS tapes, and this is both with Aero enable and disable. I can't really notice any different in GPU usage.

My 8600GT does the work, so I'd assume a GT520 should (although I don't know anything about that card). However I had to fiddle with the PCI Express speed in the BIOS to stop the stuttering. Even if you're not overclocking it might be worth setting the PCI Express frequency manually if you can.
http://forum.doom9.org/showpost.php?p=1648111&postcount=880
Mostly for me, the stuttering didn't start until srt subtitles were enabled, but one particular CPU BUS Speed/PCI Express Frequency combination wouldn't allow me to play 1080p video without stuttering even without subtitles. For whatever reason, my second PC with the same MB/OS and video card doesn't suffer from the problem, but maybe it's also driver/OS related in a way I don't understand. Or Aero related in your case. I'm running XP.

Yeah i know. My old rig that was a AMD Athlon 64 6000+ and a old ATi GPu did the work way better in XP 32 bit.

The PCI ex. is in auto in bios, but i can give it s try later on as soon my kid does to sleep.
Drivers doesn't matter, i've tried all the way back to a year old drivers for the graphic card.
Also i've tried to overclocked it via Afterburned with no success.

hello_hello
2nd November 2013, 20:56
The PCI ex. is in auto in bios, but i can give it s try later on as soon my kid does to sleep.

Maybe it'll be a wild goose chase, but it can't hurt to at least try. I'll be curious to find out if it makes a difference.

leeperry
3rd November 2013, 09:06
leeperry, I wrote several general denoise/deband shaders (even two recently).
OK, thank you for the detailed explanations.

I only saw some sharpening scripts with denoising in your big script pack (http://forum.doom9.org/showthread.php?t=157634) and the OP of this thread hasn't been updated since 2011, so where could I get ahold of those new denoising scripts of yours please? I need a proper denoising PS script pretty badly, J3AR scaling in mVR being merciless with subpar sources :o

JanWillem32
3rd November 2013, 18:20
In the last few pages of that thread are a few new pixel shaders that deband/denoise. I also wrote a few custom types for XRyche on request afterwards.
As for subpar sources, resizers are built for ideal signal precision (infinite color quantization, no artifacts) at certain input and output resolutions. Sharper resizers and other resizers that do surface and edge detection will only make images worse that do not quite have such ideal signal precision. Improving a video source is possible, but very difficult. Filters that try to deband and remove noise are some of the most complicated and processing-intensive types I've ever written. There are also no miracle filters/resizers that will improve the visual resolution of the video source or display device.

Reino
4th November 2013, 14:40
I'm facing a weird problem with MPC-HC:
Journaal_03112013-1200.7z (http://www.mediafire.com/download/145v5qq1g70b1h9/Journaal_03112013-1200.7z)
This archive contains the adaptive segmented stream of a Dutch news broadcast. POW_00556598-audio_eng=192000-video=900000.ts is actually a m3u8-playlist renamed to ts, because as a ts-file ffmpeg and LAV Splitter Source will see the broadcast as one stream instead of 38 different segments. The playlist contains dynamic links.
LAV Splitter Source (in GraphStudioNext) and MPC-BE together with LAV Splitter Source can render the "ts-playlist" perfectly, but not MPC-HC. Only when I change the dynamic links to full links will MPC-HC play it. How come?

jebediah
4th November 2013, 18:38
Maybe it'll be a wild goose chase, but it can't hurt to at least try. I'll be curious to find out if it makes a difference.

Non what so ever. I'm out of ideas atm, so i'll go with a clean install of Windows 7 again, if that doesn't work, then it's time for a new Graphic card.

JarrettH
4th November 2013, 22:58
Will there be new MPC releases with the new LAV releases? Thanks :cool:

ryrynz
5th November 2013, 00:10
They release new nightlies all the time. If you want to keep "up to date" just use them.

filler56789
5th November 2013, 00:31
They release new nightlies all the time.

Not exactly "all the time", their directory listing was last updated 4 days ago :)

ryrynz
5th November 2013, 01:16
Not exactly "all the time", their directory listing was last updated 4 days ago :)

Semantics.. don't be picky now. :P

filler56789
5th November 2013, 02:21
^ Don't worry, the 1.7.0.178 builds have been released =^.^=

TheElix
5th November 2013, 08:16
The new build works great for me so far. Successfully decodes HEVC. Search (time skipping) became very responsive too. Thanks a lot!

Frankenscript
5th November 2013, 12:47
I'm still having an issue with enabling AC-3 in the built-in LAV decoders, even with the 11/4 release. Messes up frame step. Anybody got any ideas?
See: http://forum.doom9.org/showthread.php?t=169682

Carpo
5th November 2013, 14:54
just grab the 59.1 and copy them to MPC-HC folder like i have done

Frankenscript
6th November 2013, 03:04
just grab the 59.1 and copy them to MPC-HC folder like i have done

Tried. Neither that nor the latest build with updated LAV cured my framestep jerkiness.

Carpo
6th November 2013, 11:12
have you posted a sample clip somewhere and inform nev so he can take a look?

nevcairiel
6th November 2013, 11:32
Its a player problem. I don't support MPC-HC, it has its own developers.
Its very well possible that the audio renderer doesn't support frame-stepping with bitstreaming, and tbh, i wouldn't care anyway, turn off bitstreaming if you want frame stepping, problem solved.

The decoder doesnt really do anything during frame stepping anyway, its completely controlled by the player and the renderers.

Frankenscript
6th November 2013, 12:48
Its a player problem. I don't support MPC-HC, it has its own developers.
Its very well possible that the audio renderer doesn't support frame-stepping with bitstreaming, and tbh, i wouldn't care anyway, turn off bitstreaming if you want frame stepping, problem solved.

The decoder doesnt really do anything during frame stepping anyway, its completely controlled by the player and the renderers.

It appears that using FFDShow instead of LAV for the audio seems to cure it, at least on a test system I have. I haven't tried it on my real HTPC, and will be out of town this weekend. When I get back I'll set it up on the HTPC and verify. I just wanted to avoid the whole external filter thing in MPC-HC, and thought the built in LAV would be a nice clean solution. Note, going into detailed controls to turn off the bitstreaming would be a pretty annoying fix if I just want to back up and frame step for a few secs. And with bitstreaming turned off, regular playing gets downconverted to PCM stereo. Ick.

Someone asked for a sample: pretty much any MKV with AC3 audio shows it. For example, I've got Star Trek Into Darkness ripped from bluray and Orphan Black Season 1 ripped from DVD... both show the issue.

I'll see about taking this up with the MPC-HC folks. Perhaps there's something they can do.

Marc

GCRaistlin
11th November 2013, 23:09
I have run into a strange trouble while playing a DVD that contains subtitles. If I enable ffdshow raw video filter the subtitles aren't being shown. If I disable it they are being shown. Other DVDs with subtitles play fine. Has anybody run into something similar? Is it a bug of MPC-HC or ffdshow?

hello_hello
13th November 2013, 04:16
I have a feature request for MPC-HC. Nothing vital, but one which might make life a little easier.

Currently when using the skip buttons to skip to the next/previous file in a folder, MPC-HC skips to the next supported file type. Would it be possible to have the skip function only skip to the next associated file type instead? ie if I've got MKVs associated with MPC-HC but MP3s associated with another program (as an example) I'd like the skip function to ignore the MP3s.
Irfanview is a image viewing program with an option to load only associated file types in a directory when opening images sequentially, so I guess it's possible to do.

ryrynz
13th November 2013, 05:08
What causes Windows 8 to auto prompt to reregister the filetypes when using the installer? Can this be prevented?

betaking
13th November 2013, 11:48
Visual Studio 2012 Update 4 final now!

sneaker_ger
13th November 2013, 12:06
Was LAV compiling also changed to gcc 4.8.x for the newest nightly?

nevcairiel
13th November 2013, 12:40
MPC-HCs about dialog shows you the compilers used.

VideoFanatic
13th November 2013, 19:46
Is there any way to have the playlist only show for audio files?

sneaker_ger
13th November 2013, 21:44
MPC-HCs about dialog shows you the compilers used.

I don't see build information about LAV/gcc there.

ryrynz
13th November 2013, 21:52
It'll be the exact same compilers.

sneaker_ger
13th November 2013, 22:04
So no gcc involved?

nevcairiel
13th November 2013, 22:20
Oh, its not displayed, its only in the clipboard info. Weird. If you press the copy to clipboard button, and paste it somewhere, it has the info. Why it has no field in the GUI .. space issues? :P

sneaker_ger
13th November 2013, 22:42
Aaah, thx.

betaking
16th November 2013, 06:52
hi this is Simplified Chinese translation rc and txt for last git!
http://www.sendspace.com/file/j35r1o

vBm
17th November 2013, 10:37
After almost 1 and a half months since our last stable build, we decided to release v1.7.1.

This release is mostly a bugfix release, with a few new features.

Highlights of this release:


Support for HEVC and VP9
Fixed MPC-HC crashing on startup on >= Windows 8. Broken codecs installed on the system tend to crash the player on startup.
Now this crash will only happen if/when you enter capture mode. One common cause is ffdshow x64. Check if you have it installed and uninstall it.
Many LAV Filters fixes including a crash on AMD cards with DXVA when stopping playback
Fixed subtitle selection settings of the internal LAV splitter
British (English) and Slovenian localization


You can download the new version here (http://mpc-hc.org/downloads/). For the complete changes see the changelog (http://mpc-hc.org/changelog/).

LigH
17th November 2013, 14:15
:p First downloads!
__

Thanks to the advanced LAV filters, it utilizes a Phenom-II X6 1045T (2.7 GHz) with 35-40% (CRF 24 (http://www.mediafire.com/watch/j4ns99nu4k16yyp/tos_60s_hevc.crf24.mp4)) to 60-70% (CRF 12 (http://www.mediafire.com/watch/zb8tbcr5v2tu31z/tos_60s_hevc.mp4)) while playing a 1080p HEVC video (using madVR as renderer). Maybe – yet – slower than the Strongene decoder filter, but with less installation hazzle. Great product!

nevcairiel
17th November 2013, 14:26
The HEVC decoder is basically not optimized at all yet. There is still loads of performance potential, my guess is that it might end up faster then H264 due to some architectural improvements.
Of course it also has to become quite a bit faster if we want to use it for 4K content, where it right now is still much too slow.

clsid
17th November 2013, 20:07
Fixed MPC-HC crashing on startup on >= Windows 8. Broken codecs installed on the system tend to crash the player on startup.
Now this crash will only happen if/when you enter capture mode. One common cause is ffdshow x64. Check if you have it installed and uninstall it.

To be more specific: the compatibility issue is only with the VFW interface of ffdshow. The DirectShow filter works fine. The latest version of ffdshow (r4525 x64 (http://sourceforge.net/projects/ffdshow-tryout/files/SVN%20builds%20by%20clsid/64-bit%20builds/ffdshow_rev4525_20131117_clsid_x64.exe/download)) can be used safely in combination with MPC-HC, as it no longer installs the VFW interface on Win8 x64.

Pr3d
18th November 2013, 14:15
error, sorry.

Raylan Givens
19th November 2013, 02:10
The first nightly builds have used VS2013 to compile. Are the LAV filters gonna use the same soon?

Any noticable improvements in VS2013 that MPC is going to receive the benefits?

ceb
19th November 2013, 18:52
I've been using the nightly builds for a long time without problems and seeing the release of v1.7.1, I'm just wondering, what additional testing is done on the stable builds compared to the nightly ones?

Regarding checking for updates, does it do it only when I launch MPC-HC or in the background every x days (depending on the setting)?

Frankenscript
19th November 2013, 20:06
What sub selection issues were there with LAV? I have been testing things to optimize sub selection on my system and wonder what changes I may notice.

FWIW I've been using nightly builds lately so maybe my tests were on a build with this change already committed...

Thanks!

ryrynz
19th November 2013, 22:36
what additional testing is done on the stable builds compared to the nightly ones?

Regarding checking for updates, does it do it only when I launch MPC-HC or in the background every x days (depending on the setting)?

Not much of anything really, because of the nature of the development you're perfectly safe for the most part using nightlies.

It checks when it's launched.

ceb
20th November 2013, 22:40
Not much of anything really, because of the nature of the development you're perfectly safe for the most part using nightlies.

It checks when it's launched.
Thanks. :)

BDX
22nd November 2013, 02:07
Open this link from a player: http://nlds150.cdnl3nl.neulion.com/nlds_vod/nhl/vod/2013/11/20/323/2_323_pit_wsh_1314_h_condensed_1_4500.mp4

What the hell happens around 0:20? If you download the file and then play it, it works just fine.

betaking
23rd November 2013, 11:30
hi this is Simplified Chinese translation rc and txt for last git!
http://www.sendspace.com/file/iq64g0

Raylan Givens
28th November 2013, 18:56
The D3D FullScreen some times causes MPC-HC to be unresponsive...

v. 1.71 x64

Dstruct
28th November 2013, 19:01
The D3D FullScreen some times causes MPC-HC to be unresponsive...

v. 1.71 x64

Same here.


https://trac.mpc-hc.org/ticket/3611

Dstruct
29th November 2013, 17:05
Hints
- When running on Windows XP, its recommended to turn the "Use HQ DXVA processing" setting off, its not fully supported on XP and might cause image corruption.

Is this still true? If so, this option should be greyed out/disabled on XP systems (so users can't enable it)!

MPC-HC 1.7.1 with internal LAV

vivan
29th November 2013, 19:05
http://5.firepic.org/5/images/2013-11/29/dmdvzamwmldw.png

vBm
2nd December 2013, 12:20
MPC-HC as of last nightly (http://nightly.mpc-hc.org/) supports XySubFilter.
Enjoy.

madshi
2nd December 2013, 12:26
Great - thanks! :)

[ReX]
2nd December 2013, 15:25
I wanted to use ISR for external subtitles while still being able to use XySubFilter with EVR-CP for embedded subtitles (i.e. enabling "Ignore embedded subtitles") to get the best of both worlds until Armada implements external subtitle support.

Since it would not make sense to ask you guys to change it upstream, at first I thought about periodically compiling MPC-HC without the change (https://github.com/mpc-hc/mpc-hc/commit/4ab7bb79e0f0803d5a093418d21ec57b4fb500ab) that blocks it from loading with ISR, but that takes too long on my machine.

So after wrestling for a long time with the compilation of XySubFilter v3.1.0.546 in VS2012 with WinSDK 8.0, I managed to compile a version that uses a different CLSID, bypassing the block and still being able to use the nightly builds.

Anyway, enough with the babbling, I'm posting it here for anyone who wants. The readme explains things better.

https://www.dropbox.com/s/hni86g1g8kqwymm/XySubFilter_CLSID_changed.7z
https://www.dropbox.com/s/t0cg7kywf9x315a/XySubFilter_CLSID_changed_VS2012.7z

cengizhan
2nd December 2013, 18:17
MPC-HC as of last nightly (http://nightly.mpc-hc.org/) supports XySubFilter.
Enjoy.

do you mean that internal subtitle renderer changed to xysubfilter?

nevcairiel
2nd December 2013, 18:47
do you mean that internal subtitle renderer changed to xysubfilter?

No, but it can use XySubFilter. The ISR is still present.

cengizhan
2nd December 2013, 18:58
No, but it can use XySubFilter. The ISR is still present.

strange. i have registered it, added to externel filters, disabled subtitle autoloading but still not visible in filters menu.

onomatopellan
2nd December 2013, 19:13
strange. i have registered it, added to externel filters, disabled subtitle autoloading but still not visible in filters menu.
Make sure you are using EVR-CP as video renderer (VMR9 works too). You also need to block "DirectVobSub(auto loading)" in external filters, as you can't use vsfilter and xySubfilter at the same time.

cengizhan
2nd December 2013, 20:37
Make sure you are using EVR-CP as video renderer (VMR9 works too). You also need to block "DirectVobSub(auto loading)" in external filters, as you can't use vsfilter and xySubfilter at the same time.

still not working.