View Full Version : Media Player Classic - BE Win32/x64
Aleksoid1978
30th April 2020, 07:23
I, Ctrl+I, Shift+I :)
beter
30th April 2020, 22:51
beter
About high FPS - disable VSync.
About audio drop when minimized - change Presentation mode to Flip/FlipEx.
These work. Thank you. :)
Hi, I'm new! Thanks to the developers for MPC-BE, it's great software! I have a question, what is the latest stable official version? I read here that we are talking about version 1.5.5, but on the first page, it is 1.5.4. Thank you!
Aleksoid1978
3rd May 2020, 04:15
Use latest SVN version - https://yadi.sk/d/hlf1lfC8mKU58/!_last
Thank you! But why on sourceforge is it still 1.5.4? On the first page, it is also 1.5.4. Is the SVN version a beta version?
stax76
5th May 2020, 01:51
I would like to request avisynth and vapoursynth portable mode support.
I would like to request avisynth and vapoursynth portable mode support.
.avs scripts will not work without AviSynth and all necessary plugins installed.
stax76
5th May 2020, 11:16
There are two different splitters that support avs I think. I guess the problem is lavf and not mpc be.
https://forum.doom9.org/showthread.php?p=1910529#post1910529
Is it possible to know which is the last official stable version? Is this the one on the first page? Thank you.
pirlouy
5th May 2020, 16:51
Yes, it is the one in front page. If you begin with MPC-BE, it is a good starting point.
And if you want, you can also use "nightly" builds, which in general are stable, you can use the link from Aleksoid1978 (previous page). Your choice.
Ok good! When I check for updates in the software, will it notify me when a new stable version arrives?
stax76
5th May 2020, 17:57
In mpv.net portable avisynth and vapoursynth do work, for avisynth a workaround was needed:
bool wasAviSynthLoaded;
void LoadLibrary(string ext)
{
if (!wasAviSynthLoaded && ext == "avs")
{
WinAPI.LoadLibrary("AviSynth.dll");
wasAviSynthLoaded = true;
}
}
Do you maybe have interest adding portable support in your player by adding such workaround?
Do you maybe have interest adding portable support in your player by adding such workaround?
I don’t understand what “portable support for AviSynth” means in DirectShow player. You can’t just load "AviSynth.dll" and a script into memory. We need a source filter, which can be added to DirectShow graph. Such a filter can be written by anyone, but this has not been done?
At one time I wanted to write something like this, but I could not find a working source (for VisualStudio), with which I could get all the frames that the script generates.
stax76
5th May 2020, 22:50
How does mpc be currently open .avs ? Using libavformat?
ryrynz
6th May 2020, 00:19
At one time I wanted to write something like this, but I could not find a working source (for VisualStudio), with which I could get all the frames that the script generates.
Could you just strip the guts out of ffdshow?
Any chance of Aleksoid updating the dav1d decoder to latest in nightly?
yes ffdshow has a source filter for avisynth.
at least that's what i understand when i read this: http://ffdshow-tryout.sourceforge.net/wiki/video:avisynth#add_ffdshow_video_source
ryrynz
6th May 2020, 03:44
Indeed, just a question if he wishes to do it. I've been wanting that for a while, even suggested it here one time but there was no interest.
How does mpc be currently open .avs ? Using libavformat?
AviSynth installs a driver on a system that implements an AVI compatible frame server. MPC-BE then opens the .avs using the AVI/WAV File Source system filter.
Could you just strip the guts out of ffdshow?
ffdshow is a very big project. This is usually difficult to use as an example to start. I will see it when I have time and desire.
stax76
6th May 2020, 08:03
AviSynth installs a driver on a system that implements an AVI compatible frame server. MPC-BE then opens the .avs using the AVI/WAV File Source system filter.
So it's using the non-portable VFW system, it's possible to use avisynth and vapoursynth directly with and without libavformat, it would be portable (no setup required) then, mpv uses for both avisynth and vapoursynth libavformat.
Problem is ffmpeg has crappy custom DLL loading blocking to load DLLs from the path env var as Windows does by default, so I put an avisynth.dll symlink (soft link) next to ffmpeg to make it load avisynth (suggested by qyot27).
There are a couple of tools that don't work portable without this trick.
Aleksoid1978
6th May 2020, 10:01
If somebody write DirectShow Source-filter that using avisynth and vapoursynth directly - welcome :)
@stax76
I opened the mpv and mpv.net code and did not find any mention of AviSynth.dll there. :confused:
stax76
6th May 2020, 10:16
It wasn't yet checked in, mpv uses lavf for avs and vs so you want the ffmpeg source:
https://github.com/stax76/mpv.net/blob/master/mpv.net/mpv/Core.cs#L1026
https://git.ffmpeg.org/gitweb/ffmpeg.git/blob_plain/HEAD:/libavformat/vapoursynth.c
https://git.ffmpeg.org/gitweb/ffmpeg.git/blob_plain/HEAD:/libavformat/avisynth.c
There are many sources, I can't tell you which is suitable for a player, mine is probably one of the simplest:
https://github.com/staxrip/staxrip/tree/master/FrameServer
ryrynz
6th May 2020, 12:36
Any chance of updating the dav1d decoder
5272 - Update dav1d git-0.6.0-80-g114e8f0.
Thanks!
There are many sources, I can't tell you which is suitable for a player, mine is probably one of the simplest:
https://github.com/staxrip/staxrip/tree/master/FrameServer
Thank. Good and simple example.
MPC-BE 1.5.5 (build 5274) beta (https://sourceforge.net/projects/mpcbe/files/MPC-BE/Nightly%20Builds%20%28from%20svn%20trunk%29/1.5.5%20%28build%205274%29%20beta/) (SF.net) with digital signature.
MPC-BE 1.5.5 Nightly builds: main file store (https://yadi.sk/d/hlf1lfC8mKU58), alternative 1 (https://yadi.sk/d/AjAXDDHtHRIELg), alternative 2 (https://cloud.mail.ru/public/V1rp/2iqNDT5Rx)
Also new and old versions can be found on VideoHelp.com (https://www.videohelp.com/software/MPC-BE).
Many thanks for the new MPC video renderer. It handles VFR content very nicely, which is something madVR has issues with.
I found an issue - if the subs delay feature is used (F1 / F2 in MPC-BE), then subtitles are not displayed. Subtitles are displayed only when there is no sub delay set. This is with XySubFilter as the subtitle renderer.
mclingo
9th May 2020, 19:38
Hi, having an odd problem with these files which wont play in MPC BE, the play fine with MPC both using EVR render and MADVR render but also wont play with KODI DS, they also play fine with films and tv player in win 10 but wont play with old windows media player. Thy wont play if I set MPC-BE to MADVR either suggesting some sort of oddity with the player and these files.
All players so the same thing, no errors, they just do nothing at all, its really odd, its like they are not being recognized as movies.
Here is movie info
https://1drv.ms/t/s!AgvFafeelEBik7dXGObMLRUGRo0Mfg?e=BqXkay
EDIT - think it might be a corrupt folder / hd, copied to another HD and now they play, very odd.
Aleksoid1978
10th May 2020, 03:41
I found an issue - if the subs delay feature is used (F1 / F2 in MPC-BE), then subtitles are not displayed. Subtitles are displayed only when there is no sub delay set. This is with XySubFilter as the subtitle renderer.
It's working with madVR/EVR-CP + XySubFilter ?
@stax76
https://github.com/v0lt/ScriptSourceFilter
Opens a video stream from AviSynth scripts.
stax76
10th May 2020, 08:05
@v0lt
That was fast, thank you! Using AviSynth and VapourSynth directly is certainly a better solution.
ryrynz
10th May 2020, 08:16
Volt, would you look to allow rules for selection of scripts? For example c:\1 load 1.avs c:\ load 2.avs etc?
stax76
10th May 2020, 08:37
If you request something uncommon you need to provide a thorough explanation, otherwise a developer don't know why it's important.
Volt, would you look to allow rules for selection of scripts? For example c:\1 load 1.avs c:\ load 2.avs etc?
I do not understand you. Scripts will open like any other media files. No special rules are planned.
ryrynz
10th May 2020, 09:58
Okay, was hoping for some MPC-BE integration that could manage them.
It's working with madVR/EVR-CP + XySubFilter ?
It's working with madVR, but not with EVR-CP.
Okay, was hoping for some MPC-BE integration that could manage them.
You write strange things. You now, without any external filters, open the .avs files in MPC-BE. You just need to install AviSynth+.
Aleksoid1978
10th May 2020, 11:59
It's working with madVR, but not with EVR-CP.
Must working - because MPC-BE support set subtitle's delay, also for XySubFilter.
If now - i don't know, need ask author XySubFilter what's happened.
Must working - because MPC-BE support set subtitle's delay, also for XySubFilter.
If now - i don't know, need ask author XySubFilter what's happened.
Well, it's easy to test if it works or not. :)
I've tested with the following XySubFilter versions: 3.1.0.746 (2015.10.16), 3.1.0.352 (2018.11.30), 3.1.0.750 (2018.12.31), 3.2.0.804 (2019.10.02). All versions have the same behavior: setting a subtitle delay makes the subtitle no longer be rendered with either EVR-CP or MPC-VR, but works as expected with madVR, in MPC-BE 1.5.5.5274.
I've tried an old MPC-HC version, too (1.7.17 - 2018.06.19). Setting a subtitle delay using F1/F2 with either madVR or EVR-CP, with XySubFilter versions 3.1.0.746 (2015.10.16), 3.1.0.352 (2018.11.30), 3.1.0.750 (2018.12.31) has the same result: the subtitles continue to be displayed with no delay applied to them, and the status bar flashes a message: "Subtitles not loaded or not supported renderer". MPC-HC v1.7.17 is not able to load XySubFilter 3.2.0.804 (2019.10.02) at all, so this XySubFilter version can't be tested with it.
It looks like:
- the issue is not with XySubFilter. All versions, from the oldest to the latest, are able to work with madVR.
- setting subtitle delay from the player with F1/F2 never worked with EVR-CP. The old MPC-HC had an internal check, refused to apply subs delay, kept displaying the subs with no delay, and showed a warning in the status bar. The latest MPC-BE has no check, it asks the video renderer to apply the subs delay, but the EVR-CP and MPC-VR don't implement the feature properly and simply don't show any subtitles at all.
I don't know if there is a custom interface for setting subs delay (not defined in the Microsoft docs), or a standard one (defined in the Microsoft docs). In either case, it looks like only madVR implements it properly. If EVR-CP and/or MPC-VR implement it at all, their implementation doesn't work.
That was fast, thank you! Using AviSynth and VapourSynth directly is certainly a better solution.
MpcScriptSource now has a lot of problems. It is difficult to use.
clsid
10th May 2020, 21:26
The subtitle delay hotkeys in MPC-HC work only with the internal subtitle renderer, not with external renderers like XySubFilter.
stax76
10th May 2020, 21:31
MpcScriptSource now has a lot of problems. It is difficult to use.
Maybe the original VFW source helps, I think it's this file:
https://github.com/AviSynth/AviSynthPlus/blob/master/avs_core/core/main.cpp
The subtitle delay hotkeys in MPC-HC work only with the internal subtitle renderer, not with external renderers like XySubFilter.
I must be some kind of a special snowflake then, because it sure works with madVR for me!
It's sure disappointing to see that nobody takes 15 seconds to do a quick test and see if it works or not, but has 15 seconds to post whatever.
That's, unfortunately, the usual experience with posting issues either with one of the players or with lav filters or madVR. It doesn't matter how detailed you report is, it doesn't matter if you do additional tests when the developers ask although it would have taken them a few seconds to have confirmation after the original report, it's very difficult to make them go over the "this doesn't happen" stage where no tests are carried out by them yet.
Aleksoid1978
11th May 2020, 01:51
I confirm "bug" with XySubFilter + sub delay.
P.S. Fixed.
raymondjpg
11th May 2020, 02:22
Can mpc-be bitstream 44.1 khz ac3 audio?
In my setup 44.1 khz ac3 stereo is being delivered to a Yamaha AV receiver as PCM. 48 khz ac3 stereo is being delivered as DD.
Not a problem, just curious to know if it might be something to do with my setup.
Regards
Aleksoid1978
11th May 2020, 03:41
Can mpc-be bitstream 44.1 khz ac3 audio?
In my setup 44.1 khz ac3 stereo is being delivered to a Yamaha AV receiver as PCM. 48 khz ac3 stereo is being delivered as DD.
Not a problem, just curious to know if it might be something to do with my setup.
Regards
Upload sample AC3 44.1 stereo - i will check.
P.S. I check - support, play bitstream, A/V receiver show DD.
raymondjpg
11th May 2020, 06:31
Upload sample AC3 44.1 stereo - i will check.
Sample attached.
TIA
I confirm "bug" with XySubFilter + sub delay.
P.S. Fixed.
Thank you very much!
Edit: I've built it and it works great!
For those who don't use TortoiseSVN (due to its shell extension hijacking all file access calls), here is a patch to update_version.bat that makes use of "svn.exe" and "sed.exe" inside the msys package used to build MPC-BE. This routine will be used only if the TortoiseSVN utility is not found. Will not recreate the generated files unnecessarily, so it will not affect the build.
Note: I could not use only bash commands to generate the files, because delayed expansion would be needed but would destroy the "!" characters in the manifest file.
Index: update_version.bat
===================================================================
--- update_version.bat (revision 5285)
+++ update_version.bat (working copy)
@@ -21,7 +21,7 @@
IF EXIST "SubWCRev.exe" SET "SUBWCREV=SubWCRev.exe"
FOR %%A IN (SubWCRev.exe) DO (SET SUBWCREV=%%~$PATH:A)
-IF NOT DEFINED SUBWCREV GOTO SubNoSubWCRev
+IF NOT DEFINED SUBWCREV GOTO SubSvnInfo
"%SUBWCREV%" . "include\Version_rev.h.in" "include\Version_rev.h" -f
IF %ERRORLEVEL% NEQ 0 GOTO SubError
@@ -34,6 +34,19 @@
ENDLOCAL
EXIT /B
+
+:SubSvnInfo
+IF NOT EXIST "%MPCBE_MSYS%\bin\svn.exe" GOTO SubNoSubWCRev
+IF NOT EXIST "%MPCBE_MSYS%\bin\sed.exe" GOTO SubNoSubWCRev
+for /f "delims=" %%A in ('%MPCBE_MSYS%\bin\svn info ^| %MPCBE_MSYS%\bin\sed -n 's/.*Revision: //p'') do SET VERSION=%%A
+SET /P RevStr=<"include\Version_rev.h"
+IF "%RevStr%" NEQ "#define MPC_VERSION_REV %VERSION%" (
+ "%MPCBE_MSYS%\bin\sed" 's/\$WCREV\$/%VERSION%/g' include\Version_rev.h.in > include\Version_rev.h
+ "%MPCBE_MSYS%\bin\sed" 's/\$WCREV\$/%VERSION%/g' src\apps\mplayerc\res\mpc-be.exe.manifest.conf > src\apps\mplayerc\res\mpc-be.exe.manifest
+)
+GOTO END
+
+
:SubNoSubWCRev
ECHO. & ECHO SubWCRev, which is part of TortoiseSVN, wasn't found!
ECHO You should (re)install TortoiseSVN.
Klaus1189
11th May 2020, 17:29
Sample attached.
TIA
Please upload somewhere else, we can not download the file, see here:
https://drive.google.com/file/d/1zPVWimjF6K5CS3mbBu10UVgYWklwqMan/view?usp=sharing
raymondjpg
11th May 2020, 23:50
Please upload somewhere else, we can not download the file, see here:
https://drive.google.com/file/d/1zPVWimjF6K5CS3mbBu10UVgYWklwqMan/view?usp=sharing
My apologies. I have uploaded the short ac3 test file to http://ul.to/yhwwvtfd.
Regards
Aleksoid1978
12th May 2020, 01:48
My apologies. I have uploaded the short ac3 test file to http://ul.to/yhwwvtfd.
Regards
I check - play bitstream.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.