View Full Version : Media Player Classic - BE Win32/x64
Aleksoid1978
24th February 2016, 06:27
@devs,
I've had to introduce ISubRenderCallback4 as a new interface for the ISR (of course all the old versions are also still supported). For 3D subtitles I need to be able to tell the ISR at which 3D depth to render the subtitles.
It sounds complicated, but it's really simple. You only need to look at the new "int xOffsetInPixels" parameter. And all you need to do is to add this integer (it can be positive or negative) to the subtitle X position. So if "xOffsetInPxels" e.g. has a value of -3, you would draw the subtitle at position e.g. "x,y:97,100" instead of "x,y:100,100".
Here's the new interface definition:
[uuid("C89CF1D4-29C5-4A96-8AAC-528EC6F7AF1E")]
interface ISubRenderCallback4 : public ISubRenderCallback3
{
STDMETHOD(RenderEx3)(REFERENCE_TIME frameStart, REFERENCE_TIME frameStop, REFERENCE_TIME avgTimePerFrame, RECT croppedVideoRect, RECT originalVideoRect, RECT viewportRect, const double videoStretchFactor = 1.0, int xOffsetInPixels = 0, DWORD flags = 0) = 0;
};
If you have any questions, just let me know.
Hi madshi - can you check this build https://yadi.sk/d/bPiEQ69DpPZJP for 3D subtitles output. For checking 3D you can only use LAV Video because internal Matroska/MPEG Splitter support demux MVC stream. Also - MPEGSplitter support export "stereo_subtitle_offset_id" and "stereo_interactive_offset_ids" metadata through IPropertyBag.
I do not have yet the possibility to check with the 3D glasses. But in 2D i see difference :)
madshi
24th February 2016, 10:08
Thanks, I will definitely give it a try, but it may have to wait for next weekend. I haven't implemented support for "stereo_subtitle_offset_id" and "stereo_interactive_offset_ids" yet, and probably won't have time to do that before the weekend.
Klaus1189
24th February 2016, 11:14
Can you please add support for vtt subtitles?
Aleksoid1978
24th February 2016, 11:32
Can you please add support for vtt subtitles?
Hmm - can you provide some sample ??
Klaus1189
24th February 2016, 12:21
Hmm - can you provide some sample ??
-> pm
Aleksoid1978
25th February 2016, 02:39
Can you please add support for vtt subtitles?
Done in rev. 1207
Klaus1189
25th February 2016, 09:42
Thanks, I tried several files, and it works like a charm.
Does MPC-BE now also support vtt subtitles of a muxed MKV, or must this be added later?
I know at the moment there is no such a file, but the developer of MKVToolNix is already working on it, see https://github.com/mbunkus/mkvtoolnix/issues/1592
Aleksoid1978
25th February 2016, 09:52
Thanks, I tried several files, and it works like a charm.
Does MPC-BE now also support vtt subtitles of a muxed MKV, or must this be added later?
I know at the moment there is no such a file, but the developer of MKVToolNix is already working on it, see https://github.com/mbunkus/mkvtoolnix/issues/1592
Wait sample :)
Shark007
25th February 2016, 15:32
Current nightly releases have been tossing up this error message. After clicking OK, playback is fine.
EDIT: It is only happening on Windows 10 Insider builds so it may just be an OS problem.
http://shark007.net/message.jpg
Klaus1189
27th February 2016, 14:26
I have lots of DV-AVI (Digital Video recorded with MiniDV Camcorder) files with Timecode. Is there a filter which can read and display the Record Date and Time info on-the-fly from the files?
Aleksoid1978
27th February 2016, 14:58
I have lots of DV-AVI (Digital Video recorded with MiniDV Camcorder) files with Timecode. Is there a filter which can read and display the Record Date and Time info on-the-fly from the files?
Upload some samples.
Klaus1189
27th February 2016, 15:35
-> pm
The sample clip has the following metadata:
date of recording: 12.08.2009
time starts at: 14:09:07
time ends at: 14:10:41
madshi
27th February 2016, 17:27
Hi madshi - can you check this build https://yadi.sk/d/bPiEQ69DpPZJP for 3D subtitles output. For checking 3D you can only use LAV Video because internal Matroska/MPEG Splitter support demux MVC stream. Also - MPEGSplitter support export "stereo_subtitle_offset_id" and "stereo_interactive_offset_ids" metadata through IPropertyBag.
I do not have yet the possibility to check with the 3D glasses. But in 2D i see difference :)
Ok, tested. I see that the splitter properly reports "STEREOSCOPIC3DMODE = mvc_lr". Also I can see that ISubRenderCallback4 is supported, and sending data through that interface produces visible subtitles. So far so good. However, the subtitles appear to be rendered flat, without any 3D depth, although I do send +4/-4 xOffset alternating for left/right eyes (in the short test I did). Also "stereo_subtitle_offset_id" does not seem to be supported yet.
Aleksoid1978
28th February 2016, 02:51
Ok, tested. I see that the splitter properly reports "STEREOSCOPIC3DMODE = mvc_lr". Also I can see that ISubRenderCallback4 is supported, and sending data through that interface produces visible subtitles. So far so good. However, the subtitles appear to be rendered flat, without any 3D depth, although I do send +4/-4 xOffset alternating for left/right eyes (in the short test I did). Also "stereo_subtitle_offset_id" does not seem to be supported yet.
"stereo_subtitle_offset_id" & "stereo_interactive_offset_ids" can be present when open Blu-ray structure.
"stereo_subtitle_offset_id" present if any PGS subtitles present in movie. "stereo_interactive_offset_ids" present only if IG offsets present in .mpls
Aleksoid1978
28th February 2016, 03:26
Here is screenshot - http://imgur.com/LtKW2Dd how it's look(without 3D glass) with "line anlernative" 3d setting.
madshi
28th February 2016, 10:01
"stereo_subtitle_offset_id" & "stereo_interactive_offset_ids" can be present when open Blu-ray structure.
"stereo_subtitle_offset_id" present if any PGS subtitles present in movie. "stereo_interactive_offset_ids" present only if IG offsets present in .mpls
BTW, I can drag&drop the Blu-Ray disc drive, or the BDMV folder to MPC-HC when using LAV Splitter, and it starts playing the movie. That doesn't seem to work with MPC-BE, at least when using the internal splitter. Maybe you can add support for that, too? Would be quite nice!
Here is screenshot - http://imgur.com/LtKW2Dd how it's look(without 3D glass) with "line anlernative" 3d setting.
Looks good. For some reason it didn't seem to work when I tried your test build. Did you test with the same build, or maybe with a newer version?
Aleksoid1978
28th February 2016, 10:13
BTW, I can drag&drop the Blu-Ray disc drive, or the BDMV folder to MPC-HC when using LAV Splitter, and it starts playing the movie. That doesn't seem to work with MPC-BE, at least when using the internal splitter. Maybe you can add support for that, too? Would be quite nice!
Looks good. For some reason it didn't seem to work when I tried your test build. Did you test with the same build, or maybe with a newer version?
1) Drag&drop - work like a charm with internal filters. You can drag&drop main BD folder, BDMV sub-folder or BD drive. If you need i can capture movie from desktop :)
2) I do screen on the same test build. Test on full BD with internal PGS subtitles.
madshi
28th February 2016, 10:28
Strange. Why didn't either work for me? I'm confused. Well, I guess it doesn't matter if it works for everybody else. :)
(FWIW, if you want to double check if "stereo_subtitle_offset_id" works properly, you can activate madVR debug mode and then in the log search for "stereo_subtitle_offset_id".)
Aleksoid1978
28th February 2016, 10:49
Strange. Why didn't either work for me? I'm confused. Well, I guess it doesn't matter if it works for everybody else. :)
(FWIW, if you want to double check if "stereo_subtitle_offset_id" works properly, you can activate madVR debug mode and then in the log search for "stereo_subtitle_offset_id".)
How activate debug log in madVR??
ryrynz
28th February 2016, 10:56
How activate debug log in madVR??
activate debug mode.bat
beter
28th February 2016, 15:27
Update language files
https://www.sendspace.com/file/2kjhyc
edcrfv94
28th February 2016, 23:46
Can MPC BE add Avisynth and VapourSynth Filter interface with Real Time?e.g like ffdshow raw video filter but support 8bit-16bit raw input
ryrynz
29th February 2016, 02:19
Can MPC BE add Avisynth and VapourSynth Filter interface with Real Time?e.g like ffdshow raw video filter but support 8bit-16bit raw input
I don't think they'll bother. Madshi looks to have vapoursynth support coming in a later version if madVR though so you could use that with any media player capable of running madVR.
huhn
29th February 2016, 15:41
How activate debug log in madVR??
there should be a "activate debug mode.bat" in your madVR folder.
after running this bat you should get a debug report on your desktop.
madshi
29th February 2016, 15:44
there should be a "activate debug mode.bat" in your madVR folder.
after running this bat you should get a debug report on your desktop.
Yes. And if there is no bat file (some madVR re-distributions may have deleted it), you can manually rename "madVR [debug].ax" to "madVR.ax".
Klaus1189
4th March 2016, 16:42
Why is Video Stream in Navigate greyed out? I think it should display the codec and resolution ...
shinzero
5th March 2016, 07:42
Hi guys, I found one issue with MPC Std input Reader when piping livestream to MPC-BE
If the livestream ends (no more data from stdin pipe), MPC-BE cannot detect this change, the player status will still be "playing". And the program will freeze if you click stop button or close the player.
Terminate livestreamer.exe is an easy way to reproduce this issue.
There is a 24H stream that you can test with:
http://www.twitch.tv/as2pikisreal
Command line sample:
F:\Tools\livestreamer\livestreamer.exe http://www.twitch.tv/as2pikisreal best -p F:\Tools\MPC-BE\mpc-be.exe
Get livesteramer here:
http://www.mediafire.com/download/avd7pfnshn4jknv/livestreamer.zip
LouieChuckyMerry
9th March 2016, 06:09
Hello and thanks in advance for any help :) . In addition to using MPC-BE as my default video player, I also use it, in conjunction with Subtitle Edit and a programmable mouse, to sync subtitles, taking advantage of "Options/Subtitles/Auto-reload subtitle files after detecting modification". Suddenly, however, this feature stopped working, as any modified subtitles are no longer automatically reloaded. I thought that upgrading from 1.45 to 1.46 (both stable 64-bit versions) was the cause, but after reinstalling 1.45 it's still not working: as soon as I save changes to the subtitle file in Subtitle Edit the subtitles disappear in MPC-BE and I need to reload them manually. I've not made any changes to my system lately, Win 7 64 bit, at least that I can recall. While I realize this seemingly isn't MPC-BE's fault, I was hoping that someone friendly and smarter than I, who understands how MPC-BE auto-reloads the modified subtitles file, could suggest a solution, as I'm clueless and would be really really happy to solve this. Thanks for your time.
Aleksoid1978
9th March 2016, 08:04
Hi guys, I found one issue with MPC Std input Reader when piping livestream to MPC-BE
If the livestream ends (no more data from stdin pipe), MPC-BE cannot detect this change, the player status will still be "playing". And the program will freeze if you click stop button or close the player.
Terminate livestreamer.exe is an easy way to reproduce this issue.
There is a 24H stream that you can test with:
http://www.twitch.tv/as2pikisreal
Command line sample:
F:\Tools\livestreamer\livestreamer.exe http://www.twitch.tv/as2pikisreal best -p F:\Tools\MPC-BE\mpc-be.exe
Get livesteramer here:
http://www.mediafire.com/download/avd7pfnshn4jknv/livestreamer.zip
Ok - i check in.
v0lt
9th March 2016, 08:22
MPC-BE 1.4.6 (build 1247) beta (http://sourceforge.net/projects/mpcbe/files/MPC-BE/Nightly%20Builds%20%28from%20svn%20trunk%29/MPC-BE%20v1.4.6%20%28build%201247%29%20beta/) (SourceForge.net).
rock
9th March 2016, 11:05
nice to see your own forum's back. anyway why in the sf still use VS2013 while in yadi.sk already use VS2015?
v0lt
9th March 2016, 13:00
I think that VS2013 builds better support Windows XP (there were no problems for several years).
Kotosif
9th March 2016, 18:41
When will there be support for webvtt subs in webm files?
Klaus1189
9th March 2016, 19:26
nice to see your own forum's back.
Link please. I deleted it on my bookmarks :scared:
When will there be support for webvtt subs in webm files?
Devs need sample but in r1207 Aleksoid1978 added support for vtt subtitles -> Can you please add support for vtt subtitles?
@ Aleksoid1978: Is it not possible to display DV-AVI metadata like subs? That would have been great :(
Kotosif
9th March 2016, 19:53
Here's a quick sample of a webm file that has webvtt subs
https://a.pomf.cat/oldqbe.webm
rock
9th March 2016, 22:54
Link please. I deleted it on my bookmarks :scared:
(
http://mpc-be.org/forum
ryrynz
9th March 2016, 22:55
Link please. I deleted it on my bookmarks :scared:
Beat me to it.
Aleksoid1978
10th March 2016, 02:54
@ Aleksoid1978: Is it not possible to display DV-AVI metadata like subs? That would have been great :(
No - it's not possible.
Aleksoid1978
10th March 2016, 07:43
Hi guys, I found one issue with MPC Std input Reader when piping livestream to MPC-BE
If the livestream ends (no more data from stdin pipe), MPC-BE cannot detect this change, the player status will still be "playing". And the program will freeze if you click stop button or close the player.
Terminate livestreamer.exe is an easy way to reproduce this issue.
There is a 24H stream that you can test with:
http://www.twitch.tv/as2pikisreal
Command line sample:
F:\Tools\livestreamer\livestreamer.exe http://www.twitch.tv/as2pikisreal best -p F:\Tools\MPC-BE\mpc-be.exe
Get livesteramer here:
http://www.mediafire.com/download/avd7pfnshn4jknv/livestreamer.zip
Thanks - fixed.
shinzero
11th March 2016, 13:29
Thanks - fixed.
OK, the player will not freeze now. :thanks:
And can we save the livestream from stdin to file while playing it in MPC-BE? Currently File->Save as doesn't work.
scollaco
11th March 2016, 15:39
Hi Aleksoid1978. Any update on the 3D subtitle depth issue? Thanks!
Aleksoid1978
12th March 2016, 02:20
Hi Aleksoid1978. Any update on the 3D subtitle depth issue? Thanks!
Do you test latest SVN version ??
LouieChuckyMerry
12th March 2016, 04:22
Hello and thanks in advance for any help :) . In addition to using MPC-BE as my default video player, I also use it, in conjunction with Subtitle Edit and a programmable mouse, to sync subtitles, taking advantage of "Options/Subtitles/Auto-reload subtitle files after detecting modification". Suddenly, however, this feature stopped working, as any modified subtitles are no longer automatically reloaded. I thought that upgrading from 1.45 to 1.46 (both stable 64-bit versions) was the cause, but after reinstalling 1.45 it's still not working: as soon as I save changes to the subtitle file in Subtitle Edit the subtitles disappear in MPC-BE and I need to reload them manually. I've not made any changes to my system lately, Win 7 64 bit, at least that I can recall. While I realize this seemingly isn't MPC-BE's fault, I was hoping that someone friendly and smarter than I, who understands how MPC-BE auto-reloads the modified subtitles file, could suggest a solution, as I'm clueless and would be really really happy to solve this. Thanks for your time.
Happy Saturday! Does anyone who understands exactly how MPC-BE auto-reloads modified subtitles have a suggestion? Thank you :) .
Aleksoid1978
12th March 2016, 04:41
Happy Saturday! Does anyone who understands exactly how MPC-BE auto-reloads modified subtitles have a suggestion? Thank you :) .
For me it's working perfect.
v0lt
12th March 2016, 07:02
@LouieChuckyMerry
I think you need to press the "Save" button in Subtitle Edit to see the changes.
LouieChuckyMerry
12th March 2016, 09:43
@LouieChuckyMerry
I think you need to press the "Save" button in Subtitle Edit to see the changes.
That's the problem. It used to be that saving the file in Subtitle Edit would auto-reload the file in MPC-BE; now, saving the file in Subtitle Edit makes the subs disappear in MPC-BE and I have to manually reloade them. As I typed earlier I don't think this is an issue with MPC-BE, I was just hoping that someone who understands the relationship between the auto-reload feature in MPC-BE and Windows 7 might have a suggestion on what caused the change on my system.
Edit: it seems that the issue is with Subtitle Edit. After reverting from 3.4.11 to 3.4.10 things are fine. I'll go pester Nilkse at the Subtitle Edit thread, thank you very much for your time (and Super Thanks for MPC-BE) :) .
hdboy
12th March 2016, 18:44
Suggestion: an option to not resume audio files. Rationale: though you usually want to resume watching a movie where you left off, usually you want to listen to a song from beginning. Or maybe files < N minutes (similar rationale). Or files played in a playlist. Or perhaps just add a toggle on menu or control bar to not resume file so you can change behavior on the fly.
scollaco
12th March 2016, 21:02
Do you test latest SVN version ??
Yes I just tested the latest SVN (build 1257) and it doesn't work :(
I then tested XYsubfilter and it works perfectly with that one. I much prefer MPC-BE internal subtitle filter though. Maybe you can message madshi to see what is missing to be implemented? Maybe it's just one simple variable or something.
thanks Aleksoid.
Aleksoid1978
13th March 2016, 02:09
Yes I just tested the latest SVN (build 1257) and it doesn't work :(
I then tested XYsubfilter and it works perfectly with that one. I much prefer MPC-BE internal subtitle filter though. Maybe you can message madshi to see what is missing to be implemented? Maybe it's just one simple variable or something.
thanks Aleksoid.
What kind of subtitle do you test - PGS subtitle from 3D Blu-ray or text(srt/ass) subtitle ??
scollaco
13th March 2016, 02:45
What kind of subtitle do you test - PGS subtitle from 3D Blu-ray or text(srt/ass) subtitle ??
I tested PGS subtitle from inside 3D bluray.
With PGS subs, the depth works correctly with xysubfilter. With srt/ass subs even xysubfilter doesn't have info for correct depth. So only PGS subs work correctly with XYsubfilter but not with MPC-BE internal subtitle filter.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.