Log in

View Full Version : Media Player Classic - BE Win32/x64


Pages : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 [148] 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235

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. :)

Kl3r
3rd May 2020, 03:47
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

Kl3r
5th May 2020, 01:06
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.

v0lt
5th May 2020, 04:32
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

Kl3r
5th May 2020, 16:17
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.

Kl3r
5th May 2020, 17:02
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?

v0lt
5th May 2020, 19:57
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?

huhn
6th May 2020, 01:49
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.

v0lt
6th May 2020, 05:54
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 :)

v0lt
6th May 2020, 10:06
@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!

v0lt
6th May 2020, 13:55
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.

v0lt
7th May 2020, 05:52
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).

KoD
9th May 2020, 18:28
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 ?

v0lt
10th May 2020, 05:47
@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.

v0lt
10th May 2020, 09:51
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.

KoD
10th May 2020, 10:08
It's working with madVR/EVR-CP + XySubFilter ?
It's working with madVR, but not with EVR-CP.

v0lt
10th May 2020, 10:24
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.

KoD
10th May 2020, 16:48
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.

v0lt
10th May 2020, 20:04
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

KoD
10th May 2020, 22:23
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

KoD
11th May 2020, 07:22
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.