View Full Version : New release of Media Player 6.4
gabest
27th November 2003, 19:44
Lobuz: Fine, just tested matrix mixer and it really accepts format changed as if it were the audio renderer. I'm going to let it load _after_ the switcher in one instance :) Btw, when I open a file in graphedit, mmswitch 0.99 loads twice, before and after the matrix mixer. I guess the switcher protects itself agains multiple loading only by checking the connecting filters and not all others the graph.
Liisachan: aac (and also wma) working now.
calinb: ffdshow + "use overlay mixer" is the usual solution for setting the ar of matroska. The webserver works just like any other webserver :)
raistlin2k: I can't reproduce your prob with two ac3 streams in mkv. Could you give me a few mb long sample? It doesn't matter if you just cut it off from the beginning.
chros
28th November 2003, 10:29
@gabest:
I have noticed in the View menu a greyed-out Subresync command...
How can I use it? I have tried to copy the subresync.exe into the same dir where mpc is, but still nothing happens ...
Thanx
gabest
28th November 2003, 11:22
It gets enabled with "vmr7/9 renderless" or the directx7/9 renderer of rm and qt.
bond
28th November 2003, 14:02
hi gabest
i am currently preparing a sample which shows how to put dvd menus into the mp4 container format
to play this back someone will need a special player which can handle the commands stored in the mp4
as most dshow players dont handle that, for them the file will be just a mp4 file with two (or more) audio streams and 2 video streams (1 for the movie and 1 for the menu) stored inside
ok, when i try to play these files in your player atm two windows are opened, displaying the two video files simoultaniously (audio switching works fine)
now as i assume that most people dont want to watch two video streams at the same time :D it would be great to have something like a video switcher filter (would be usefull also for other containers: also OGM and Matroska already support multiangle (multiple video files) for example)
Alxemi
29th November 2003, 16:29
Hi guys :)
Iīve been testing MPC with lots of media types and possibilities, and and very happy with the results.
If we install Matroska Playback Pack and MPC 6470, we can perfectly see and hear ALL media types, AVI, OGM, MKV, MP3, Vorbis, AC3, etc...
This could not seem to be a great thing, but i think itīs the first time it happens, till the matroska arriving, there was not an easy player+codec configuration to see all.
There is only one thing that is missing out or, at least, i couldnīt find.
Is there any way to see OGM subtitles without installing anything else?
MKV subs works perfectly but Ogms doesnīt... maybe a internal render for OGM subs (like the one in bsplayer) could be a good idea. (Hey I know itīs easy to say it when you are not the one who works, but IMHO may deserve the effort to cover all media)
Another little sugestion, when playing MKV movies, the audio switcher shows all streams as "English". I mux the files with vdubmod and always use customized (spanish) names for the audio streams like Ingles (English) and Castellano (Spanish). When I save in OGM container, MPC show me the names i put in the stream to choose, but when muxing with MKV they are all "English". Not a big problem, but maybe with an easy solution ^_^
By the way, Spanish version is near!!
Take care all of you
gabest
29th November 2003, 16:53
> we can perfectly see and hear ALL media types, AVI, OGM, MKV, MP3, Vorbis, AC3, etc...
I can assure you, there has been numerous bugs of the new ogg splitter found and fixed during this week :D
> Is there any way to see OGM subtitles without installing anything else?
Sure, with the internal subtitler. Set vmr7/9 renderless.
> Another little sugestion, when playing MKV movies, the audio switcher shows all streams as "English".
English is shown when nothing was set... Are you sure you set it at the right place? What is the output of mkvinfo?
Lobuz
29th November 2003, 17:35
It's almost 3 days without the new version what's going on?:scared:
:D
Regards
Lobuz
arman68
30th November 2003, 01:10
If we install Matroska Playback Pack and MPC 6470, we can perfectly see and hear ALL media types, AVI, OGM, MKV, MP3, Vorbis, AC3, etc...
Great achievement... Congratulations Gabest! And many thanks for your continuing work.
Hesse
30th November 2003, 20:38
Is it possible to control MPC with Girder's Send Message plugin?
There are IDs given for various commands in MPC that I'm guessing are associated with the wParam variable. What should the Message Number and IParam be? Or is it not possible for control at this time?
Thanks,
Jesse
gabest
30th November 2003, 20:53
IParam should be just set to 0 or anything, it doesn't really matter for WM_COMMAND.
Hesse
30th November 2003, 21:18
Gabest,
Sorry for the confusion. What should the message number be?
For example, to send messages to Zoom Player the varaibles are:
MessageNumber: 32817
wParam: 80
iParam: 1
This is for the play command. For MPC, to send the play command I should use
MessageNumber: ?
wParam: 157
iParam: 0
I don't know what the MessageNumber should be. In each case I am targeting:
Name
Class Name
Executable
Thanks for your help!
Jesse
gabest
30th November 2003, 21:45
WM_COMMAND is 0x0111 (273)
Hesse
30th November 2003, 22:10
gabest,
Thanks, I got it working! I had to disable the Target "Name" and only target "Class Name" and "Executable".
Jesse
Hesse
1st December 2003, 00:02
I created a Girder GML file that contains all of the Message commands that are in MPC. All that needs to be done is add your own Trigger Event to use the commands.
The file is located at:
http://www.laiserver.com/HTPC/software/MPC.rar
Thanks gabest for helping me figure out the Message plugin.
Jesse
Culvin
1st December 2003, 02:29
I'd like to watch OGM files on MPC. I downloaded and installed OggDS, now what about VSFilter for subtitles? I believe I read that MPC can do it without VSFilter, but it has to run in a slower mode. Is that right?
And if I install VSFilter for use with other players, will it conflict with MPC or give me double-subtitles?
Thanks.
Lobuz
1st December 2003, 05:48
@Gabest
Nice work. MPC 6.4.7.1 now works flawlessly with dual audio streams with MatrixMixer. Even with different audio sample rate.
Edit: It didn't work at the beginning just after lowering the merit of MatrixMixer to 00800000
Ogg splitter works without problems too. If it could be more responsive while seeking in incomplete file like in avi would be great. Now it stalls a little while trying to play the zeroed part.
Rewinding avi problem is definitely gone. :D
But I've found an avi where the MPC doesn't want to fast jump over incompleted part just slowly "plays" it after "reindexing".
Edit: Sorry there is no reindexing or buffering and It's and avi with AC3 but other avi with 2 AC3 streams is buffering but still not jumping over.
Regards
Lobuz
chros
1st December 2003, 09:07
Originally posted by Hesse
I created a Girder GML file that contains all of the Message commands that are in MPC. All that needs to be done is add your own Trigger Event to use the commands.
The file is located at:
http://www.laiserver.com/HTPC/software/MPC.rar
Thanks gabest for helping me figure out the Message plugin.
Jesse
Thanx, I'll try it ! I'm using girder too ... :)
@gabest:
please don't forget to add the 2 WindowMessages that we were talking about ... (elapsed time ; toatal time)
thanx
go69
1st December 2003, 09:48
Hi everybody, this is my first post here.
MPC is just fantastic!
Currently MPC is not visible in the task bar (or when pressing ALT-TAB or in the Task manager) at least on my system (XP).
Browsing the code a bit I believe that this is caused by the current PreCreateWindow function in the MainFrm - Guessing a bit still..
Gabest,
Is this by design and is there is good reason for having it this way?
The two main reasons to ask for that are (for me):
- Being able to use ALT-TAB when the player is not in the foreground, useful for audio only playback.
- Being able to use the TaskSwitch plug-in for Girder to dynamically remap a remote control to MPC commands when the application is foreground.
Thanks for your time and motivation!
go69.
JimiK
1st December 2003, 10:51
Hi, I'm using this great player for almost everything (o.k. video playback) Now I got a problem with embedded VobSub in Matroska container. I can't use the keys to switch the subs. The subtitle menue is greyed out and when I want to change the subtitles, I have to go to the filters->DirectVobSub menue and select it there. ZoomPlayer recognizes the embeded subs. After many people use these embeded VobSubs in Matroska it could also be a problem with my computer, because nobody besides me seems to have this prolem.
Best regards,
JimiK
LigH
1st December 2003, 12:29
"Black screen after resize" not yet fully fixed:
VMR9-Renderless on 2D texture with Matrox Millenium G450 DualHead LE, driver: 5.86.32.0 (WHCL) - still black.
3D texture and offscreen work fine.
VMR9-Windowed and Overlay Mixer too.
gabest
1st December 2003, 12:45
Culvin: > Is there any way to see OGM subtitles without installing anything else?
Sure, with the internal subtitler. Set vmr7/9 renderless.And yes, it is a slower mode, but the hardware requrements aren't that huge nowdays. It should be ok if you bought your machine in the last couple of years as new and doesn't have some really poor integrated card.
VSFilter will of course autoload when it is installed, so there is a chance you will see double subtitles unless you disabled one of them.
Lobuz:
From how many did you lower matrixmixer's merit? Didn't it autoload when it was just simply registered without being on the filter overrides' list?
When the ogg splitter looses sync, it begins to search for the "OggS" string, and that can take a while. For avi this is much faster because the file format is indexed and the splitter can just lookup the next valid chunk being after the last readed successfully. Btw, I forgot to reenable that warning dialog of the avi splitter in the latest mpc release. I commented it out for some reason and then it was left like that...
> But I've found an avi where the MPC doesn't want to fast jump over incompleted part just slowly "plays" it after "reindexing".
How big is it? ;)
chros:
Doh, sorry. Remind me more often, that usually helps.
go69:
> Currently MPC is not visible in the task bar (or when pressing ALT-TAB or in the Task manager) at least on my system (XP).
I think you mean the running applications on the first page of taskman, no idea why it isn't visible there.
> Browsing the code a bit I believe that this is caused by the current PreCreateWindow function in the MainFrm - Guessing a bit still..
Maybe you are right. But I still don't know how to fix it.
gabest
1st December 2003, 13:03
JimiK:
The priority of subtitle switching:
1. the play/subtitles menu if there are more than one on the list.
2. ogg splitter (oggds)
3. dvd navigator
As you can see dvobsub hasn't been aggregated yet.
LigH:
> 3D texture and offscreen work fine.
1st and 3rd choice are these, right? Then it must be a different problem, because this one supposed to fix modes 1+2. Does it work in the normal size if you don't zoom on the video?
bond
1st December 2003, 13:06
and me :(
gabest
1st December 2003, 13:21
bond: What about you? :D You mean, I should comment on the video switcher idea? I tried to make one once, but since it would never work with the old renderer (set as default for everyone using 9x/me/2k) I dropped the idea. The code is still there, maybe once I will finish it :)
bond
1st December 2003, 13:27
Originally posted by gabest
bond: What about you? :D You mean, I should comment on the video switcher idea?:D
I tried to make one once, but since it would never work with the old renderer (set as default for everyone using 9x/me/2k) I dropped the idea.why do you need the old renderer for that?
The code is still there, maybe once I will finish it:)
LigH
1st December 2003, 14:05
The video initially plays at the original size in 2D texture mode (the 2nd of 3); but as soon as it gets resized, it goes black.
gabest
1st December 2003, 14:19
bond:
> why do you need the old renderer for that?
Because it wouldn't be compatible with the default renderer, I couldn't enable it from the beginning as I can the audio switcher.
bond
1st December 2003, 14:25
Originally posted by gabest
Because it wouldn't be compatible with the default renderer, I couldn't enable it from the beginning as I can the audio switcher.you mean you cant use a video renderer twice?
gabest
1st December 2003, 14:32
No, I mean the old renderer alone in one instance can't do dynamic format changes. When the audio swicher changes the enabled stream, it also has to make sure the audio renderer adopts the new parameters (channels, freq, sample bits), for video the resolution and the supported output color spaces of the decoders can vary.
bond
1st December 2003, 14:48
ic, wouldnt it be possible to use a second renderer/a new graph?
gabest
1st December 2003, 15:16
Each renderer has to be assigned to a window (mpc has only one :)), or else the filter graph will create one for them when the playback starts (with that active movie something title).
bond
1st December 2003, 15:25
hm, i noticed that mpc98me6467 didnt open a new window for the second video stream, tough i think this was more a bug than a feature cause it isnt the case anymore with newer versions...
JimiK
1st December 2003, 16:32
Hi gabest,
please excuse me if this sounds dumb, but: does that mean that the embedded VobSub subs are not supposed to occur in the subtitles menue?
Best regards,
JimiK
gabest
1st December 2003, 16:38
That menu only lists subtitles opened by the player itself, dvd/ogm/dvobsub has to be queried and controlled through their own filter interfaces with some extra work for each.
CiTay
1st December 2003, 18:29
I have a question about VMR7 vs. VMR9. In the thread Zoomplayer VML9? (http://forum.doom9.org/showthread.php?&threadid=51409) (apparently started by a japanese), a Zoomplayer dev states that VMR7 is/is about to become obsolete. Is there any reason you keep both VMR methods in MPC?
Then, in the output options, the tip for "Use texture surfaces and render video in 2d" reads "Requires a video card that can...". If some of the requirements are not met, will it not play at all or will the image quality degrade? Furthermore, what combination do you recommend for a modern graphics card? I currently use VMR9 (renderless) with the 2D option.
Lastly, i found no way to change the mouse button associations. Reason i looked for them was that i use a doubleclick to make the video go fullscreen, but with the current setting, it always "blips" because it uses left-click for play/pause.
Thanks for a great player BTW.
gabest
1st December 2003, 18:55
Originally posted by CiTay
I have a question about VMR7 vs. VMR9. In the thread Zoomplayer VML9? (http://forum.doom9.org/showthread.php?&threadid=51409) (apparently started by a japanese), a Zoomplayer dev states that VMR7 is/is about to become obsolete. Is there any reason you keep both VMR methods in MPC?VMR7 is more stable and doesn't suffer from a few annoying bugs still present in directx9 or the video drivers. In windowed mode it can even use overlay much smoother than the old renderer.Then, in the output options, the tip for "Use texture surfaces and render video in 2d" reads "Requires a video card that can...". If some of the requirements are not met, will it not play at all or will the image quality degrade?There are two levels of the requirement checkings, vmr9's own and mine in renderless mode. If the first fails the filter won't even create and mpc will fall back to the "default video renderer".Furthermore, what combination do you recommend for a modern graphics card? I currently use VMR9 (renderless) with the 2D option.Anything what works for you :). texture+2d can be useful when the video is stretched in a smil script (StretchRect doesn't do stretching when the target is an offscreen surface), and with texture+3d I could create nice transition effects in 3d ... if I knew d3d better, hehe.Lastly, i found no way to change the mouse button associations. ... options/keys: full screen & "mouse" column -> nothing.
CiTay
1st December 2003, 19:00
Originally posted by gabest
options/keys: full screen & "mouse" column -> nothing.
Doh. In all this time, i never paid attention to the horizontal scrollbar. :o
CiTay
1st December 2003, 19:09
By the way, now that i turned off left click for play/pause, can i set it so that the window can be dragged when clicking anywhere in the MPC window and holding the left button? I admit it, i once was a long-time Zoomplayer user.
Lobuz
1st December 2003, 19:22
Originally posted by gabest
Lobuz:
From how many did you lower matrixmixer's merit? Didn't it autoload when it was just simply registered without being on the filter overrides' list?
It loaded but after one of vorbis decoders, not after audio switcher. I lowered merit of MatrixMixer from 00800001 to 00800000.
But I've found other strange behaviour. After clearing override list and adding only MatrixMixer and setting merit to 00800000 it didn't show up. Only after adding another one filter to override list (xvid, vorbis...) it started to work. And another strange after adding to that list ffdshow, to open divx3 files was used old Mpeg4 Video Decompresor instead of DivX5.1 decoder. Maybe it's normal behaviour I don't know.
When the ogg splitter looses sync, it begins to search for the "OggS" string, and that can take a while. For avi this is much faster because the file format is indexed and the splitter can just lookup the next valid chunk being after the last readed successfully. Btw, I forgot to reenable that warning dialog of the avi splitter in the latest mpc release. I commented it out for some reason and then it was left like that...
Couldn't it be possible to just stop that searching immediately if I click the seek bar in other place, or press stop or pause. Now it just freezes till it finds the good data. If I want to preview in eMule video and there is just e few chunks o actual good data it's hard to find that places. MPC doasn't show them :(
> But I've found an avi where the MPC doesn't want to fast jump over incompleted part just slowly "plays" it after "reindexing".
How big is it? ;)
After muxing a small part of video with AC3 and filling a few MB of data with 00 with Hex editor it behaves thesame, so if You try that Yoursel it shoul be simulated. You can simulte like that unfinished ogm or mkv too.
Could it be possible with avi to skip playing that blank places after cliking at the seek bar on it. Now it only jumps over bad places after playing good parts. So to find good place I must try many times on seek bar to find it.
Regards
Lobuz
Safai
2nd December 2003, 02:38
gabest: non-interleaved avi files are not working in 6471, don't get the beeps like in 6470, black video, no audio.
LigH
2nd December 2003, 06:44
Non-interleaved AVIs? That means: Complete video at the beginning, complete audio at the end, and the read heads jumping forth and back like a sewing-machine. What is that good for, except hardware stress testing?
Safai
2nd December 2003, 16:40
Originally posted by LigH
Non-interleaved AVIs? That means: Complete video at the beginning, complete audio at the end,
i think it is the other way, audio in front, video at the back...
and the read heads jumping forth and back like a sewing-machine. What is that good for, except hardware stress testing?
well... i changed them to interleaved after the download is completed... but now i can't really preview them anymore while downloading... :(
and it used to work... unless gabest "officially" dropped support for them...:confused:
gabest
2nd December 2003, 20:39
CiTay:
This was one of the forgotten things ... finally done :)
Lobuz:
I can explain why the matrixmixer only loaded after changing its merit to 0x800000... To allow transform filters to load before the audio switcher (it was designed to be the last before the renderer), first I lookup all audio renders and set the switcher's merit to the highest plus a little (like 0x800000.1). This way the auto-loading filters having a higher merit than all audio renderers (that's why they auto-load after all) will be connected after the decoders and before the switcher always (the switcher tries to act as the renderer). This includes matrixmixer too, because its merit is 0x800001 by default. Now, when you change it to 0x800000, there is a chance that it will be enumerated _before_ the audio render having this very same merit, but there is also a chance it will be enumarated _after_ and then the render terminates the stream too eary :) Now, what is the solution? To make sure the order inside the filter override list is applied, I'm already adding those "plus littles" or fractions to theirs merit, but unfortunately I started counting from zero, so when the first on the list was matrixmixer it ended up with the same merit as the default audio renderer (0x800000+0), but was put after it on the internal sorted list.
> Couldn't it be possible to just stop that searching immediately if I click the seek bar in other place, or press stop or pause. Now it just freezes till it finds the good data.
Yea, a not very good thing it is. Unlike the demuxing loop, seeking must be a blocking command, it should not return without setting the pointers to the right place, that's how it was designed for now. There is also a difference how avi and ogg can be resynced. Because avi has an index I set the supposedly right file position in the seek function and care about its validiy later when it can be broken in the demuxing loop.
> it only jumps over bad places after playing good parts.
It should work like that, ... will be done sometime surely :)
Safai:
> non-interleaved avi files are not working in 6471, don't get the beeps like in 6470, black video, no audio.
Quoted from myself :DBtw, I forgot to reenable that warning dialog of the avi splitter in the latest mpc release. I commented it out for some reason and then it was left like that...
LigH:
Non-interleaved avi means (in my interpretation), that one chunk from one stream doesn't necessarily follows the previous from another in time. My avi splitter can tolerate (by buffering) a distance of 500 chunks, but after that it shows that warnining dialog.
A little explanation: v - video, a - audio
Interleaved:
v: 0 40 80 120 160 200 ...
a: 0 90 180
Not properly interleaved:
v: 0 40 80 120 160 200 240 280 320 360 ...
a: 0 90 180
After a while this skew between the streams gets so huge, that it becomes impossible to play it by reading the file sequentially.
Lobuz
2nd December 2003, 23:22
These not interleaved avis are still common. And there are some with audio at the beginning and then video I think. Those are completly black.
But I've found another type of strange avi.:p It's audio stream is stretched to 95% (showed in AVIInfo)and I'm not sure but it's propably vbr mp3 muxed as cbr. I have only the beginning and end of the file but VDub shows the warning about vbr. It play but after a few seconds starts stuttering. But with default avisplitter it's ok. And I don't have it completed yet. Just my friend noticed me about that problem.
Regards
Lobuz
ps. Still oggDs splitter is noticable faster while seeking when I click on good ogg data in unfinished ogm. It jumps to I frames? Maybe borrowing some code from that splitter would be useful.
gabest
3rd December 2003, 00:28
> ps. Still oggDs splitter is noticable faster while seeking when I click on good ogg data in unfinished ogm. It jumps to I frames? Maybe borrowing some code from that splitter would be useful.
Have you ever seen its settings? :P One of the few checkboxes there is making it seek onto keyframes only, turn it off and it will be much slower.
Longinus
4th December 2003, 08:50
Gabest, I was trying the web interface, and I'm having some problems.. Using the automatic page to send the requests works. But if I try any simple POST querys from PHP, it makes MPC crash completly.
Here is the post query i'm using.
POST / HTTP/1.1
Host: localhost
Content-Length: 13
Content-Type: application/x-www-form-urlencoded
Connection: Close
wmcommand=131
What I'm doing wrong?
Thanks! I can think of a LOT of uses for these interface thing. =D
chros
4th December 2003, 09:36
Originally posted by Longinus
Thanks! I can think of a LOT of uses for these interface thing. =D
Which uses do you mean ? I have been thinking about this a lot, but I don't see which practical situations will benefit from this ?
Please, give me some idea !
Thanx
gabest
4th December 2003, 09:52
chros: It's the same for me. But I always hoped people like Longinus will come once and tell me what to use it for :D
Longinus: I can't debug it now, but I believe mpc is expecting the terminating \r\n\r\n at the end of the header. The POST data should only come after that in the body, all in one line separated with & characters, just like a GET argument list.
uneasy
4th December 2003, 11:03
Gabest, have you checked this DropTarget thingy yet? Is it possible to implement it?
gabest
4th December 2003, 11:35
I did, but I got lost in that maze... I would be really pleased if someone could setup the registry the way it works for multiple selections (passed as one via the command line) and showed me how he did it.
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.