View Full Version : Media Player Classic supports Matroska v2, *.mp4, *.mov, and MPEG-4 Timed Text


Pages : 1 [2]

SeeMoreDigital
13th June 2006, 20:28
Dunno what Nero will have to say about that (but yes.... their filter is pretty good) :)

Rash
14th June 2006, 01:49
You are talking about Nero ShowTime?

SeeMoreDigital
14th June 2006, 10:55
You are talking about Nero ShowTime?Not specifically!

For quite sometime Nero have included their own decoder filter (ie: NeQTDec.ax) that makes it possible for you to play Sorenson SVQ1 and SVQ3 video with QDM2 audio streams within .MOV using ShowTime Player

However, because Nero's NeQTDec.ax is a direct-show based filter (and is not locked), it is possible to use it with other software media players - but probably not for much longer!


Cheers

videomixer9
14th June 2006, 11:57
Btw. why does capture mode for VIVO only work on overlay mixer with MPC?

#2
15th June 2006, 22:56
Can't seem to open this when I open it directly in MPC.

http://www.volvoextreme40.org/mediax.asp?StreamPath=/vid/GPRott_day21_800.wmv&MediID=123&MovRes=2&StreamReso=md

Any one else have this problem?

SeeMoreDigital
16th June 2006, 09:19
Can't seem to open this when I open it directly in MPC.

http://www.volvoextreme40.org/mediax.asp?StreamPath=/vid/GPRott_day21_800.wmv&MediID=123&MovRes=2&StreamReso=md

Any one else have this problem?Just tried one of the files for you and it seems to work okay for me (using Micro$oft's own filters): -

http://img97.imageshack.us/img97/2201/snap17gj.jpg


Cheers

Hyper Shinchan
16th June 2006, 09:43
About the Nero's dshow filter: I dunno the reason, but on my OS Media Player Classic seems to playback MOV and 3GPP using a QuickTime engine (I can't seen any filter in the filter tab and 3gpp subtitles are rendered just like QT does).
Is it normal? Also if I set the MOV/MP4 internal splitter it uses always a kind of qt engine.

SeeMoreDigital
16th June 2006, 09:54
Hi Hyper,

Have you remembered to adjust/select these filters: -

http://img119.imageshack.us/img119/2395/mpcfilters4ay.jpg


Cheers

Hyper Shinchan
16th June 2006, 10:48
Nope X°°°D.
Thank you SeeMoreDigital, I haven't ever noticed that tab....

clsid
16th June 2006, 11:16
I found a bug in MPC (or at least it's a bad feature imho). It ignores the settings from HKEY_CLASSES_ROOT\Media Type\Extensions\.mov. I have set Neros parser as a preferred source filter there. Works fine in GraphEdit, but MPC insists on using Gabests own MP4 splitter (external, internal is disabled). Disabling the external MP4 splitter will turn on the internal one (in low-merit mode).

videomixer9
16th June 2006, 12:19
Nero probably wants you to use their own apps and not some evil open source stuff that harms their profits and is only made to crack and hack their stuff. :eek:

clsid
16th June 2006, 15:59
Then they shouldn't make DirectShow filters. The purpose of DS stuff is to be useable in any DS player.

When I rename graphedit to mplayerc.exe then it still works, so the filters are not blocking specific apps, like in Nero 7.

Liisachan
16th June 2006, 19:31
possibly MPC's problem. See also
http://forum.doom9.org/showthread.php?p=823734#post823734

"MPC will not honor the source filter classid listed under HKEY_CLASSES_ROOT\Media Type\Extensions\.mkv"

#2
16th June 2006, 22:20
(using Micro$oft's own filters): -

Thanks SeeMoreDigital... how do you configure to use M$ own filters? I have the wmv redist codecs installed but not WMP, this dosen't mean I have to install WMP 11 dose it?

clsid
16th June 2006, 23:54
Windows Media codecs:
http://www.microsoft.com/windows/windowsmedia/forpros/format/codecdownload.aspx

You might also need the Windows Media Format runtimes.

Liisachan
17th June 2006, 01:58
if WMV in AVI, you may need this VCM codec and any DS players can play it.

http://download.microsoft.com/download/9/8/a/98a6cb2d-6659-485e-b1f9-2c0d9bf6c328/wmv9VCMsetup.exe

#2
17th June 2006, 11:16
Thanks for the pointers guys.. I've installed WMP 9 and then your codecs clsid and Liisachan but still "failed to render the file" Even with the runtimes installed??

Is there some configuration I'm missing?

vlada
23rd June 2006, 19:27
Thanks for the pointers guys.. I've installed WMP 9 and then your codecs clsid and Liisachan but still "failed to render the file" Even with the runtimes installed??

Is there some configuration I'm missing?

I have the same problem on my computer at work. First I thought it is because I don't have Administrator rights and I can't install codecs (filters). But now I "hacked" my computer, installed all filters and it still doesen't work. I have Windows 2000 and WMP9. It plays fine in it, but doesen't play in WMP 6.4 neither.

clsid
23rd June 2006, 20:22
I don't think WMP6.4 is compatible with the Windows Media DMO codecs (*DMO.dll). You'll need DirectShow filters. You can find a codec pack specially for WMP6.4 on the site that I posted a few posts above this one.

chros
24th June 2006, 10:10
I have tried that too, clsid. MPC doesn't play well those wmv files: picture freezes after a few seconds, or immediatly after resizing ...
Try it with any wmv trailer from http://www.gametrailers.com ...

clsid
24th June 2006, 13:24
I tried the Prey trailer and it play fine in MPC. Even during resizing.

It uses the following decoders:
- WMVideo Decoder DMO
- msadds.ax

bratao
25th June 2006, 03:53
Hi all, i can´t find the sources..
In sourceforge only has binary releases of mpclassic
Maybe someone can send me a link ??

celtic_druid
25th June 2006, 05:07
Sources are in the svn. Check the sf page for info.

Daner
26th June 2006, 13:40
When playing MKV file, "Framestep Back" doesn't work. But it works with AVIs & MPGs. Why so? Can anyone please explain?

I'm curious about this too. Does anyone have the answer?

chros
26th June 2006, 18:00
I tried the Prey trailer and it play fine in MPC. Even during resizing.

It uses the following decoders:
- WMVideo Decoder DMO
- msadds.ax
It's OK here too, but try this:
http://trailers.gametrailers.com/gt_vault/t_scarface_trailer.wmv
(you must set the referer to this: http://www.gametrailers.com)

and resize to 200% (ALT+3), video freezes ...
- WMVideo Decoder DMO
- WMAudio Decoder DMO

ps: what is msadds.ax anyway ?

clsid
26th June 2006, 19:15
That trailer plays without freezes too. Resizing is smooth.
msadds32.ax = Windows Media Audio decoder (DirectShow filter)
But with the DMO audio decoder it works fine here too.

chros
27th June 2006, 08:03
That trailer plays without freezes too. Resizing is smooth.
msadds32.ax = Windows Media Audio decoder (DirectShow filter)
But with the DMO audio decoder it works fine here too.
:confused: Thanks for the answer, so my setup is wrong ... (perhaps too much codecs/drivers are installed)

filewalker
13th July 2006, 15:14
Hi gabest,

a feature request (if you read the thread):

1)
I like your shoutcast filter but in recent time a lot
of radio stations use "ICEcast protocol" for streaming.
e.g. http://www.soundportal.at:8000/live160

Unfortunatlely, this new protocol isn't supported in the shoucast source filter.

More info:
http://www.icecast.org/


2)
Can you add an interface to support a user-supplied
buffer size value in the shoutcast filter like winamp does it? this would help to eliminate the interrupt-problem.


Thanks in advance!


filewalker

mp3boy
18th July 2006, 08:58
wow thx for the info!

if anyone is interested you can find the source here (http://cvs.sourceforge.net/viewcvs.py/guliverkli/guliverkli/src/filters/parser/mp4splitter/?sortby=date)

it is based on the new bento4 mp4 code, i hope its any stable...

i hope someone can make a standalone build? its easier to test it in graphedit imho

hehe a good opportunity for gabest to maybe update vsfilter to handle ttxt :)

(of course vcd/svcd is mpeg-1/2 and not .mp4, but you can place mpeg-1/2 video in .mp4 too, which is i guess what elias meant)

hi dude,
your link doesn't work for source code, can you update please?

thanks

foxyshadis
18th July 2006, 10:23
Look up the mpc project on sourceforge (guliverkli) and browse svn to /guliverkli/src/filters/parser/mp4splitter/. Or just use an svn client to get it all onto your system.

mp3boy
19th July 2006, 15:27
Look up the mpc project on sourceforge (guliverkli) and browse svn to /guliverkli/src/filters/parser/mp4splitter/. Or just use an svn client to get it all onto your system.

I tried TortoiseSVN but I get this error:

ERROR * PROPFIND request failed on guliverkli/trunk/guliverkli/src/filters/parser/mp4splitter

I'm trying to get from this url:
http://svn.sourceforge.net/guliverkli/trunk/guliverkli/src/filters/parser/mp4splitter

thanks

videomixer9
19th July 2006, 15:50
some people are really beyond help ...

the url for svn is, svn is only on https at sf.net
https://svn.sourceforge.net/svnroot/guliverkli/trunk/guliverkli/src/filters/parser/mp4splitter

mp3boy
19th July 2006, 17:42
some people are really beyond help ...

the url for svn is, svn is only on https at sf.net
https://svn.sourceforge.net/svnroot/guliverkli/trunk/guliverkli/src/filters/parser/mp4splitter


i'm very sorry , this is the first time I'm running svn,
the url you gave me seems to be working its just it is asking
for user and pass which my sourceforge account is rejected

is it something different from sourceforge account? or do I have
to donate first?

thanks

foxyshadis
19th July 2006, 17:55
You have to have the slash on the end or it screws up, badly written websvn script.

mp3boy
19th July 2006, 18:03
ok, its working now.

thanks

Liisachan
25th July 2006, 21:35
VMR9 Renderless + VMR mixer mode + YUV mixing = MPC's internal subtitler doesn't work.

Can anyone confirm?

Isochroma
26th July 2006, 00:07
Doesn't work when a filter outputs YV12 only as well. About time this problem was fixed.

Peuj
7th August 2006, 15:31
Hi,

My MPC (celticdruid build rev611) freezes when i try to watch this mov file with directshow: http://www.a-film.nl/film/trailer/00000397_quicktime_HOOG.mov

I use the ffdshow videomixer9 build ffdshow-tryouts-rev47-sse.exe.

Does somebody reproduce this problem ?

thanks

clsid
7th August 2006, 18:06
It crashes in WMP too. Both ffdshow and Nero's QT decoder make it crash.

It plays correctly in MPC is you play it using the QuickTime engine.

Kyo
12th August 2006, 05:53
Liisachan : For me the subtitles work in that specific config.

Rogi
21st August 2006, 19:44
Hello, I have one small question about MPC and subtitles.
When use VMR7(renderless) or VMR9(renderless) my picture become strange(pale, bloodless)
but when select default video renderer picture is normal. I have checked Help and there
say it is recomended to use True Color desktop color space, but I was looking for and
didn't find it.I would like to use MPC(free, small, powerful) but don't know to solve
this problem,also searched this forum and didn't find answer.
If you can help, I would be grateful.
Thanks in advance.

breez
21st August 2006, 20:59
Hello, I have one small question about MPC and subtitles.
When use VMR7(renderless) or VMR9(renderless) my picture become strange(pale, bloodless)
but when select default video renderer picture is normal. I have checked Help and there
say it is recomended to use True Color desktop color space, but I was looking for and
didn't find it.I would like to use MPC(free, small, powerful) but don't know to solve
this problem,also searched this forum and didn't find answer.
If you can help, I would be grateful.
Thanks in advance.

You probably ran into the problem with video levels vs PC levels. Video levels 16-235 in a PC monitor will look pale/contrastless because 0-255 is expected.

If you use ffdshow, you can fix this by either enabling the levels filter to convert 16-235 -> 0-255 OR forcing RGB32 output by leaving only RGB32 and HQ YV12 to RGB32 checkboxes checked in the output page. The latter takes more CPU, but is better quality.

Alternatively you could use your video card's own video settings (brightness, contrast etc.) if they work with VMR rendereres. Depending on how the contrast and brightness settings work you may need to alter both of them or just contrast. Fixing the problem this way isn't quite exact without some kind of calibration video which has a grayscale gradient and markers at 16 and 235.

clsid
21st August 2006, 22:39
You could also use Overlay renderer plus VSFilter for displaying the subtitles.

Rogi
21st August 2006, 23:06
Thank you very much for quick answers, i have tried all method you suggest,
and best results get with overlay renderer + VSFilter and also with my video card's settings.
Now picture is identical.:thanks:

junglemike
23rd August 2006, 00:45
Guys, could you help me out?
I have very outdated PII-300mhz laptor w/ 2560kB video memory. Any default overlay mode in any player (mplayer,mpc,vls...) displays with distorted colors, and there's notheing i can do. I know it is hardware/driver problem. The only colorspace that works correctly is YUY2. Is there any way of using this colorspace instead of default one?
(I think default is YV12, not sure though)

Liisachan
23rd August 2006, 00:56
I think that's possible in many cases, just by ticking only YUY2 and unchecking everything else (Y* RGB*) in Output | ... colorspaces.

junglemike
23rd August 2006, 01:30
Can you please explain me where do I find the colorspace options?
this is options->output window in version 6.4.9.0:

Liisachan
23rd August 2006, 02:57
Sry, I shoulda been clearer; i was talking about ffdshow
Start->ffdshow->Video dec. conf.->Output

EDIT:
You can also look at a few previous posts, like "If you use ffdshow, you can fix this by...forcing..." That's what I was talking about too

FredThompson
28th August 2006, 17:43
Is there a way to get MPC to play FLV a la YouTube? I seem to remember this being discussed and there is an FLV splitter but no codec support, correct?

roxfan
28th August 2006, 17:54
Install ffdshow and make sure that FLV1 decoding is enabled in its settings.

FredThompson
2nd September 2006, 08:20
How about playing 422 MPEG2? Is that possible? I've tried the 2 codecs of ffdshow with no success.

DonGato
2nd September 2006, 12:41
Install ffdshow and make sure that FLV1 decoding is enabled in its settings.
It didn't work for me with some files. :/

LoRd_MuldeR
2nd September 2006, 14:34
Is there a way to get MPC to play FLV a la YouTube? I seem to remember this being discussed and there is an FLV splitter but no codec support, correct?

Use MEncoder to get the FLV files converted to some more usefull format. That's how I do it.

Liisachan
2nd September 2006, 15:38
If the right checkboxes are ticked,
MPC + ffdshow = plays FLV1
MPC = plays FLV4

DonGato
2nd September 2006, 19:53
This is the FLV I had problems with...
http://www.eien-movie.jp/yokoku/index.html

Is there a tool to know the codecs used?

Liisachan
3rd September 2006, 00:35
Try /yokoku/yokoku500.flv

http://ffdshow.faireal.net/tmp/yokoku.jpg

EDIT:
It's just a normal FLV file, and this is not a problem of MPC at all, but a problem of "how to find the true (hidden) URL". This is not a right thread to discuss such issues.

shermanramni
4th September 2006, 20:05
A little question:

Are there any x64 builds of MPC? If not, I'd like to try to build the source myself... where can I get it?

chros
4th September 2006, 20:44
If the right checkboxes are ticked,
MPC + ffdshow = plays FLV1
MPC = plays FLV4

Thanks for the tip, I didn't know that ...
And with this ?
http://www.pathfinderthemovie.com/Pathfinder_TrailerA.flv

Liisachan
4th September 2006, 21:15
@shermanramni afaik celtic_druid hasn't done that yet
@chros: It's FLV4 too. Doesn't it play for you?

celtic_druid
5th September 2006, 08:54
An x64 build would require quite a lot of modifications. Not as simple as just building. I did build some of the standalone filters though. You are of course welcome to try.

chros
5th September 2006, 15:51
@chros: It's FLV4 too. Doesn't it play for you?
Aha: it plays fine in 6.4.9.0 rev.611, but not in the official release (which I was using) ...
Thanks

laserfan
5th September 2006, 17:26
MPC does support Closed Captioning, does it not? It's smart enough to know a DVD has CC (shows in Information window), but I cannot for the life of me figure-out how to display CCs when using MPC to play DVDs.

Can someone tell me how to turn-on CC display?

Trahald
5th September 2006, 17:34
The source is on sourceforge.net...
http://sourceforge.net/projects/guliverkli

shermanramni
5th September 2006, 18:50
No, only binaries.
Or I'm pretty blind now.

videomixer9
5th September 2006, 20:51
learn to use svn ...

shermanramni
6th September 2006, 00:51
All right. I hereby declare myself a damn-blind-n00b. :P

cc979
6th September 2006, 08:59
No, only binaries.
Or I'm pretty blind now.

get http://tortoisesvn.tigris.org/ then use it for svn

https://svn.sourceforge.net/svnroot/guliverkli
some docs here: http://sourceforge.net/svn/?group_id=82303

and then build it good look...

nickolasemp
6th September 2006, 12:22
I'm trying to mux mp4 files (video x264, audio aac, subtitles srt) with yamb 2. When I try to play the files though I don't get my subtitle stream...

Does anyone know what i have to do in order to play those files in mpc -showing my subs of course-?

thuongshoo
7th September 2006, 10:55
@nickolasemp
i'm too. I choose menu play / filter / e:\film.mp4 , choose gpac streaming text

mpc don't seem to display subtitle automaticly

netshark
8th September 2006, 22:43
Media Player Classic is a very reliable application, but in the past
I've set it as my default player for .avi files, but today; when I double click any .avi file the Windows Media Player 10 appears and says an error happened(the last thing is normal, as the media player classic deactivates the other player)
few days It happens that I can't set it as my default player to watch videos, in the "Open With" window I click de browse button and select the media player classic in it's original place; then I select the accept button, then IT DOESN'T APPEARS IN THE PROGRAM LIST, NOT EVEN IN THE RECOMMENDED ONES.
Why It's like that?

foxyshadis
8th September 2006, 22:59
That's just the way XP works; browsing to a program won't make it show up on the open with/browse list, but it should at least show up on the short menu under open with (the list of the recently used programs for that type).

To reset them as default, since WMP seems to have taken them over, try going into options/formats in MPC and reset the associations.

molitar
9th September 2006, 00:16
Actually that doesn't always work either. I found the one method that always works is to go to your file types.. Windows Explorer > Tools > Folder Options > File types.. Than if possible to delete the file type completely. Now when you click on that file and tell it to open with that program it will recreate the file type and work every time.

I notice some file types will not let me delete them so I will make sure to examine each and every setting than go into registry and delete it from there. Than I will recreate the filetype and back in business again. These are the only fool proof methods I have found to fix issues with associated file types.

FredThompson
9th September 2006, 06:09
Note, also, that some viewers will redefine the filetypes. PowerDVD does that to MPEG types. That's really rude programming...

pdanpdan
9th September 2006, 09:36
Hi, I have a problem with MPC 6.4.9.0 (unicode) on Win XP SP2, all latest ffdshow-tryout versions.
I open the first movie and everything is OK, then I start the second, third... one, and I have two movies in MPC window, flickering between each other - the latest one is the active one, so it can be paused and controller by MPC.
On the filters submenu I only see the filters for the second movie.
MPC options used:
Playback - Open settings - Report pins that fail / Auto load audio + subtitle (Use worker thread disabled)
Output - DirectShow :: VMR9 renderless / VMR7/9 :: 3D + VMR9 Mixer Mode + YUV Mixing / Resizer (any resizer) (Lock back buffer - disabled)
Internal filters - all enabled

The problem shows no matter what kind of video and/or container is used.
If I close+restart MPC, the first movie is OK again :)
Any suggestion, please?

Egh
9th September 2006, 15:03
The problem shows no matter what kind of video and/or container is used.
If I close+restart MPC, the first movie is OK again :)
Any suggestion, please?

I had this problem once. ffdshow is not a problem here, I think MPC build was. Try to see if problem occurs with different build.

darkavatar1470
12th September 2006, 13:32
I saw "VP62" in the internal filters page, so I went on looking for my old vp6 encoded AVIs, only to find two having 4cc "VP61" that can't be rendered by mpc. Thows a "some pins can not connect warning" and plays the mp3 audio steam with a black frame.
Tried fourCCchanger to change it to VP62 but gets stuck at the start without anything coming out.

Or is it only meant for FLV files ?

Liisachan
12th September 2006, 14:28
No, VP6.2, not only in .flv but in .avi etc plays with MPC, but not VP6.1... 6.1 and 6.2 are not compatible. So I assume your problem is not FLV vs AVI , but 6.1 vs 6.2

DonGato
12th September 2006, 15:24
Try /yokoku/yokoku500.flv

http://ffdshow.faireal.net/tmp/yokoku.jpg

EDIT:
It's just a normal FLV file, and this is not a problem of MPC at all, but a problem of "how to find the true (hidden) URL". This is not a right thread to discuss such issues.
Do you think I'm stupid? :angry:
I have that file on my computer. Both ZoomPlayer (via Gabest directshow filter) and MPC 6.4.9.0 (with its internal splitter) don't work. I have ffdshow with flv decoding enabled and all other FLV files play well. Is this one I have problems with.

Liisachan
12th September 2006, 16:07
read a little before getting mad

Aha: it plays fine in 6.4.9.0 rev.611, but not in the official release (which I was using) ...
Thanks

DonGato
12th September 2006, 16:43
I can read what was posted, not what wasn't. ;)
That post was after your response.

Ok, it worked. There is no way to make it work in ZoomPlayer? It needs a new splitter version?

EDIT: found in another site a newer release of 1.0.0.1 splitter from Gabest.

bond
12th September 2006, 18:51
@nickolasemp
i'm too. I choose menu play / filter / e:\film.mp4 , choose gpac streaming text

mpc don't seem to display subtitle automaticly
you need to enable the internal mpc subtitle decoder or install vsfilter

Liisachan
12th September 2006, 22:08
I can read what was posted, not what wasn't. ;)
That post was after your response.

Well, actually it was always there:

24th April 2006 (http://forum.doom9.org/showthread.php?p=817779#post817779) "the decoder should decode VP62 and FLV4 (VP62 in .flv)"
1st May 2006 (http://forum.doom9.org/showthread.php?p=821980#post821980) "reconfirmed FLV4 works"

But I do admit this thread is a bit too long, which is not your fault. So, let me summarize the situation for those who start reading this thread from the middle.


The extension .flv is Flash Video, it is a container like .avi or .mp4
The video codecs used in .flv include FLV1, FLV4, FLV5.

FLV1 : An old codec, Sorenson Spark (Sorenson H263). Used in many .flv files, such as ones on YouTube. To play FLV1, use MPC (OR FLVSplitter)+ffdshow with FLV1 support enabled.
FLV4 : On2 VP6.2 codec. Gabest started to support it since Revision 592. In celitc_druid's MPC binary, it has been supported since Revision 604. They are newer than official 6.4.9.0 but you can use Celtic_Druid's files, mirrored in Japan, France and in the US. (The link to my mirror is in my footer.) Supported in newer FLVSplitter too, not only MPC, meaning you can play FLV4/VP6.2 with any normal DS players.
FLV5 : FLV4 with layers. Partially supported since Revision 608.

Detailed Changelog (http://ffdshow.faireal.net/#mpclog) for those who are interested.


@DonGato: "I can read what was posted, not what wasn't." is what I could have said to you too. You hadn't said that you already downlaoded the .flv file from the page, and the difficult part in this case is to find the hidden URL, so I assumed you were asking about that. I did't mean to insult you at all, but just didn't know what you were asking, as playing FLV4.flv itself is very easy, actually easier than playing FLV1, for the current MPC. (Recently ffmpeg has supported FLV4/VP6.2 too)

chros
13th September 2006, 10:57
@Liisachan: thanks for the summerizing !

nickolasemp
21st September 2006, 17:23
you need to enable the internal mpc subtitle decoder or install vsfilter

Thank you bond for your answer. I have installed Vsfilter and all the other subtitles (external files srt) play normally with any kind of media type; either mp4 or avi (that's what I'm using). But when I put them inside my mp4 they do not appear. I tried to use Haali's splitter and it parially worked... my subs were somehow garbled. So I guess the real problem must be mpc's splitter... I'll check on it through its internal mpc subtitle decoder to see if it works.

nickolasemp
21st September 2006, 20:46
@nickolasemp
i'm too. I choose menu play / filter / e:\film.mp4 , choose gpac streaming text

mpc don't seem to display subtitle automaticly

To enable ttxt subtitles inside an mp4 file:

First of all be sure to have chosen VMR9 (renderless) or something else than system default in view->options->playback->output. Now close your mpc and reopen it for changes to take effect.

Then go to play->subtitles and chose the one which says plain text. Of course in the same option you must choose Enable... From there you can reload, and choose the style of your subs...

My problem is that I can't playback greek subs. Only english are supported. In addition it doesn't support such "é" characters in French...

bond
21st September 2006, 21:12
My problem is that I can't playback greek subs. Only english are supported. In addition it doesn't support such "é" characters in French...might be that you need to install the windows fonts for greek as vsfilter propably uses the windows fonts

about the é problem: ttxt needs to be in utf-8. to make sure that you get the subs to be in utf-8 you can try to save your .txt subtitle file as utf-8 and try to mux this into .mp4

nickolasemp
21st September 2006, 21:33
<?xml version="1.0" encoding="UTF-8" ?>
<!-- GPAC 3GPP Text Stream -->
<TextStream version="1.0">
<TextStreamHeader width="400" height="60" layer="0" translation_x="0" translation_y="0">
<TextSampleDescription horizontalJustification="center" verticalJustification="bottom" backColor="0 0 0 0" verticalText="no" fillTextRegion="no" continuousKaraoke="no" scroll="None">
<FontTable>
<FontTableEntry fontName="Serif" fontID="1"/>
</FontTable>
<TextBox top="0" left="0" bottom="60" right="400"/>
<Style styles="Normal" fontID="1" fontSize="18" color="ff ff ff ff"/>
</TextSampleDescription>
</TextStreamHeader>
<TextSample sampleTime="00:00:00.000" text="">
</TextSample>
<TextSample sampleTime="00:00:01.100" text="'Chanson'">
</TextSample>
<TextSample sampleTime="00:00:03.950" text="">
</TextSample>
<TextSample sampleTime="00:00:04.099" text="'chante par: Anggun, Benabar, Amel Bent, Corneille''Emma Daumas, Jenifer, Leslie, Emmanuel Moire, Tete''M. Pokora, Roch Voisine, Patrick Bruel''Kyo et Stephanie de Monaco'">
</TextSample>
<TextSample sampleTime="00:00:10.949" text="">
</TextSample>
<TextSample sampleTime="00:00:14.099" text="'C'est nous contre leurs peines'">
</TextSample>
<TextSample sampleTime="00:00:16.550" text="">
</TextSample>
<TextSample sampleTime="00:00:16.949" text="'Et le message est clair'">
</TextSample>
<TextSample sampleTime="00:00:18.949" text="">
</TextSample>
<TextSample sampleTime="00:00:19.100" text="'Les mots passent'">
</TextSample>
<TextSample sampleTime="00:00:19.949" text="">
</TextSample>
<TextSample sampleTime="00:00:20.100" text="'Et l&apos;indifférence règne'">

Thanks for the info, I had to open the ttxt file created from yamb and change one by one all the stuff that I had to change.

I just have one last question though:
The &apos; thing can't be read by my mpc. For example, it just stops in "Et l " or in the beginning it just says "C "...
How do I get past this one? What is the format of ttxt? Is there somewhere I can find it? Would you recommend me a program that can transcode srt files to ttxt in UTF-8 (YAMB just crashes in è characters)? Thanks a lot in advance...

Edit #1: I think I should post these problems from now and on st "GPAC's MP4Box Information, Requests and Discussions"... Thanks for your previous help.

Edit #2: It would be nice though to suggest an application...

vlada
24th September 2006, 20:14
Is there any chance to see a letterboxing feature for DVD playback as I discussed in this thread (http://forum.doom9.org/showthread.php?t=110830)? Thanks.

c0de_v0id
8th October 2006, 04:13
Hi,
It's been a long time since i've last visit this forum. Currently I'm having trouble with Windows file context menu. It's probably a noob problem. I tried searching for an answer all over the place but I cant find a way to solve this.

When i just double-click on the video file, windows would use mpc to play but whenever I tried to use "Queue-it-up" or "Add to Play-list" from the file context menu with multiple video files selected, windows Media player would pop up instead of mpc. Even when I tried using Open with-> Media player classic with the files selected/high-lighted, It would just play a single file that my cursor is currently on instead of the whole list(selected/high-lighted files). Is there any Registry fix for this?

Thanks in advance,
doom9 lurker

KoD
8th October 2006, 09:08
That is because those entries do belong to WMP.

To queue something in MPC you need to do like this: open MPC, then open its playlist (View-> Playlist or simply press Ctrl+7), then drag and drop what files you wish to queue in that playlist. Double click the first file to start playback. You can hide the playlist window now (View-> Playlist or simply press Ctrl+7 again) and you can bring it up later the same way (also View-> Playlist or simply press Ctrl+7).

c0de_v0id
8th October 2006, 09:46
Yeah I knew how to do that. But I thought it's kinda cubersome.( or lazy ) :(

kurt
8th October 2006, 14:28
try it like in the following pic

"C:\Programme\MediaPlayerClassic\mplayerc.exe" /ADD "%1"
http://img134.imageshack.us/img134/5936/image1sr3.jpg

c0de_v0id
9th October 2006, 10:52
Kurk, first of all, thanks for answering. With the help of webtranslators looking up the german words :D , I can now magically add the files to the playlist. New problem came up tho. MPC doesnt clean up the default playlist after closing. So everytime I queue up the files, the old list is still there and the new stuff are just appended to the list. Is there a way around it? Sorry, I'm just so hopeless and cant figure out stuff on my own T_T

thanks again, kurk,
c0de

Peuj
9th October 2006, 11:14
ok I take back what i mentioned earlier. This mplayerc.exe /add "%1" only seems to be adding 1 file at a time instead of all the high-lighted/selected list. Any other way to make mpc recognize the whole list instead of just one file?

I use the "Send to" command to add files in the playlist.
Just add a shortcut of MPC in the "Send to" folder (C:\Documents and Settings\"user name"\SendTo)

c0de_v0id
9th October 2006, 11:33
I use the "Send to" command to add files in the playlist.
Just add a shortcut of MPC in the "Send to" folder (C:\Documents and Settings\"user name"\SendTo)

Ah. I was deleting that last post cuz i figured out what i did wrong. I added /PLAY to the "action to perform" string (mplayerc /add "%1" /play) and mpc would only be taking 1 file instead of the list. So yeah the problem is back to that earlier post where i was saying how mpc doesnt delete the old entries from the default playlist when i close it. And also I'd love to be able to add /PLAY to that command string (so that mpc starts playing whenever I add files) and be able to add the whole list instead of just one file. But as of now, I dont think there's any way to do that. So I guess I'll be content with what I've got so far.
Thanks a lot for your help guys.

c0de_v0id
9th October 2006, 11:54
ok Problem solved. Why didnt I think of it earlier. Clearly, it was on Kurt's screenshots. What I did was I created 2 actions for the Videofile type.
1. Open with action string as "(mplayerpath)\mplayerc.exe" %1 /PLAY
2. Queue-to-mpc with action string as "(mplayerpath)\mplayerc.exe" /ADD %1

And I'd set Open as default action.

Whenever I have a list of file to play. I would double-click on the first file of the list and then select/high-light the rest of the list and Queue-to-mpc. For example if i have 10 episodes of Family Guy. I'd double-click on ep 1. while mpc starts playing ep 1, I'd Queue-to-mpc the other 9 episodes. 2 steps but much better than manually dragging the files to the playlist ^^

Thanks again, Kurt, to all those screenshots and the rest of you guys for your pointers. <3

c0de

Edit: It also solved my complaint about mpc not deleting the old entries when it's closed. Now all i have to do is: If I want to watch Simpsons episodes after watching Family Guy episodes, I'd just double-click on the first episode of simpsons and queue the rest. The default action "Open" "(mplayerpath)\mplayerc.exe" %1 /PLAY deletes the old entries from the playlist. thanks god :D

kurt
9th October 2006, 12:47
@code_v0id:

in case you didn't know: you can also drag a complete folder to mpc (wich is good for tv-shows) :)
[for example using the sent to option Peuj mentioned]

Liisachan
15th October 2006, 13:29
celtic_druid compiled something new, probably the one with ffdshow. "Queue output samples" support (http://sourceforge.net/tracker/index.php?func=detail&aid=1577522&group_id=82303&atid=565651).

EDIT
The blackness problem is fixed by just updating MPC, if VMR9 mixer mode is enabled.
The problem is also fixed with VMR9 mixer mode disabled, after I updated ffdshow to ffdshow-20061015-rev389-Q.exe

haruhiko_yamagata
16th October 2006, 13:46
Thank you very much, celtic_druid. It works for me. Bug reports are wellcome.

clsid
16th October 2006, 15:34
The internal AAC decoder is updated as well. Thanks :)

mariner
20th October 2006, 08:38
Hi gabest and celtic_druid,

Greetings and thank you for your continuing effort to make further improvements to MPC.

Have been using latest version for 1080 mpeg2 transport stream playback on a basic 3GHz P4 system with NV6600GT graphics card connected to a Sony 1920x1200 panel. The changes made have worked great and remain stable. The issues I would like to discuss relate mainly to the mpeg2 decoder.

1. IVTC for film based 1080/60i transport stream

The good drmpeg (Ron) has posted a few test patterns at his site for testing decoder's ability to output original 24p source from 60i stream. These are produced with different encoders to simulate two types of error common in real world film based transport stream.

a) Alternating black/white 1, 2, 3 and 4 pixel strips with moving bar 1920x1080
http://www.w6rz.net/vertrezivtc.zip

Encoder applies 3-2 pull down, but either flags it interlaced or fails to raise progressive flag. The decoder fails to recognise the stream as film and thus outputs 60i video. About half of ts fall in this category.

b) Alternating black/white 1, 2, 3 and 4 pixel strips with moving bar, RFF flags that drop to video when bar is horizontal 1920x1080
http://www.w6rz.net/vertrezivtcflags.zip

Encoding error results in part of the clip being encoded as video (when the blade moves into the 2nd quadrant). The output from decoder thus alternates between 24p film and 60i video. This error can be seen in almost all of IMAX clips.

So far the only decoder that handles these 2 clips correctly and output 24p is a modified version of Dscaler5. But I am quite sure with the formidable talent at your disposal this can be quite easily done. You would also like to adding something slightly more challenging : to reconstruct the original 24p source from 720/60p film based streams (60p to 24p), although most films are encoded into 1080/60i format rather that 720/60p format.

The decoder, however, fails to decode two of drmpeg's new clips. would appreciate if you could kindly look into this.

http://www.w6rz.net/crop1080red.zip
http://www.w6rz.net/crop1088red.zip

2. NV12 colour space support

The new crop of graphics cards are introducing NV12 supports with latest drivers. This would be a particularly useful feature for ATI based systems, as NV12 provides superior HW deinterlacing compared to the YV12 and YUY2 variant.

3. Support for HW Bob Deinterlacing.

While the default HW Pixel Adaptive Deinterlacing is working well and is adequate for most occasions, there are times when BOB deinterlacing produces less artifacts at a slight loss of resolution. The present software based BOB deinterlacing works as intended, but it takes a big hit in performance and massive amount of dropped frames. An option to select BOB deinterlacing would therefore be great when engaging HW based deinterlacing.

4. The massive amount of date to be processed posed a unique challenge to software based media player for smooth HD transport stream playback. It has been suggested at some forums that one effective solution is to run the program in "VMR Renderless Full Screen Exclusive Mode". Would like to hear your views on this, and if favorable, you would consider adding such a feature.

5. 16-235 to 0-255 level change

It would be great if this feature could be made available at the player level as well.


Thank you and best wisher.

ernesto

clsid
20th October 2006, 12:25
5) This is possible by using the shader functionality in MPC:
sampler s0 : register(s0);

#define Const_1 (16.0/255.0)
#define Const_2 (255.0/219.0)

float4 main(float2 tex : TEXCOORD0) : COLOR
{
return( ( tex2D( s0, tex ) - Const_1 ) * Const_2 );
}

2,3,5) These are possible with ffdshow (when RAW video is enabled).

foxyshadis
20th October 2006, 18:47
2. NV12 colour space support

The new crop of graphics cards are introducing NV12 supports with latest drivers. This would be a particularly useful feature for ATI based systems, as NV12 provides superior HW deinterlacing compared to the YV12 and YUY2 variant.
NV12 actually makes a difference? It's just YV12 with swapped chroma planes (YUV order instead of YVU).

5. 16-235 to 0-255 level change

It would be great if this feature could be made available at the player level as well.


Thank you and best wisher.

ernesto

That's actually a renderer thing, usually. Although you can do it at the decoder stage, it raises the cpu cost and doesn't work with all renderers. (Plus in this case, it would only work if mpc's internal decoders were doing the job.)

Edit:
5) This is possible by using the shader functionality in MPC:
Oh, this is nice.

Wilbert
21st October 2006, 23:46
NV12 actually makes a difference? It's just YV12 with swapped chroma planes (YUV order instead of YVU).
No, it's interleaved YV12 with swapped chroma: http://www.fourcc.org/yuv.php#NV12

as NV12 provides superior HW deinterlacing compared to the YV12 and YUY2 variant.
Yeah right :) NV12 and YV12 are basically the same, so it doesn't make any difference for a deinterlacer. YUY2 has more chroma that NV12/YV12 so the deinterlacer should give better quality, besides YUY2 has no chroma upsampling errors (due to the vertical resolution).

breez
22nd October 2006, 00:47
YUY2 has no chroma upsampling errors (due to the vertical resolution).

Well, in fact it does. The color data is still subsampled by a ratio of 2 and if the chroma upsampling is done poorly, it will result in blockiness (albeit only horizontally). It is not as noticeable as with YV12 or other colorspaces with 4:1 subsampling.

Wilbert
22nd October 2006, 13:04
Well, in fact it does. The color data is still subsampled by a ratio of 2 and if the chroma upsampling is done poorly, it will result in blockiness (albeit only horizontally).
That's not really an error, is it :) I was refering to chroma errors which are caused by interlaced footage which is sub/upsampled as being progressive and vice versa.

mariner
30th October 2006, 16:30
Hi clsid,

Thanks for sharing your expertise on shading, and keep up the good work you do bringing ffdshow up to date. Would we see IVTC included in future versions of ffdshow?

NV12 is indeed supported and works great with the A card. HW deinterlacing seems to default to pixel-adaptive, as in MPC, even though BOB is selected. Would appreciate if you could look into this.

The situation with PC /Video levels with different output renderers is somewhat condusing at the moment. Not so long ago, video level (16-235) was preserved with VMR9 while Overlay mixer expanded it to PC level (0-255) for both N and A cards. Not sure if still true today. Clarification would be most appreciated.

I have not used ffdshow much because of the steep learning curve. There are also interesting problems : 1) some clips are misreported as having freame rate of 25fps, 2) wrong aspect ratio that has to be corrected by forcing MPC into 16:9 mode.

Thank you again for your kind reply and best regards.

ernesto

banesi
31st October 2006, 13:02
question is, how can I force MPC to use Nero decoders to play 3gp and mp4 files, this is easiest solution for me because I already have Nero 6.6.1.6 instaled and this used to work but somehow I lost this :(
I have tried playing with filters in MPC but with no success.

Liisachan
31st October 2006, 13:46
I am not sure if I understand your question, but MPC doesn't have any MPEG-4 Video decoder. Perhaps, what you mean is, you don't want to use ffdshow? If so, you can disable it; or you can also give a higer merit to the filter you prefer.

Unbreakable
31st October 2006, 13:58
I have a problem with MPC... When I use VMR9 renderless, the image seems "blocky"... But with VMR7 looks OK.

Here's an example:

http://xs208.xs.to/xs208/06442/img_01.png.xs.jpg (http://xs208.xs.to/xs208/06442/img_01.png)


And these are my settings:
http://xs208.xs.to/xs208/06442/img_02.png.xs.jpg (http://xs208.xs.to/xs208/06442/img_02.png)

Anyone have a solution for this?

celtic_druid
31st October 2006, 15:06
Only in the red parts from the looks of it which would suggest it is due to the YV12 to RGB conversion.

http://forum.doom9.org/showthread.php?t=106111&highlight=upsampling+YV12

KoD
31st October 2006, 18:19
Which translates to: the drivers of your videocard perform poor resampling when using VMR9 Renderless and YV12 input.

Solution (one of the following):
1. don't use VMR9 Renderless
2. try unchecking YV12 output in ffdshow -> output page and let it only output YUY2 (this might not solve it, though)
3. bug your videocard manufacturer to improve its drivers

Unbreakable
31st October 2006, 18:59
2. try unchecking YV12 output in ffdshow -> output page and let it only output YUY2 (this might not solve it, though)


To fix this, I selected only "RGB32" and "High quality YV12 to RGB conversion" in ffdshow output. But your solution works too... Thanks.

foxyshadis
31st October 2006, 19:38
If you have nvidia, they had a problem with that in the 80 series, and soulhunter got them to fix it for the later 90 series drivers. But if you're not hurting for cpu, doing it all in software like that works too.

Unbreakable
31st October 2006, 20:43
I have nvidia 90 series drivers. And I think I found the cause...
The problem appears if I use the video enhancements from the control panel (noise reduction & edge enhancement).

banesi
1st November 2006, 12:52
I am not sure if I understand your question, but MPC doesn't have any MPEG-4 Video decoder. Perhaps, what you mean is, you don't want to use ffdshow? If so, you can disable it; or you can also give a higer merit to the filter you prefer.

Liisachan, thanks for input :)

I always try to instal only necessary codecs, I'm curious DivX codec with 15MB installation can't play 3gp files, so I'm trying to use MPC and play all my formats in it with only DivX codec installed but since I'm using Nero Burning ROM there was possibility in playing mp4 and 3gp files in MPC using Nero codecs, Nero change this policy from version 7 onward.

I have found a way to play properly both 3gp and mp4 using MPC and this (http://www.free-codecs.com/download_soft.php?d=2503&s=50) ffdshow version (for SSE processors). So I guess MPC and ffdshow are only programs needed to play various file formats excluding quicktime and realtime.

Liisachan
1st November 2006, 14:34
I don't use DivX so I don't know about it well, but iirc, the only thing you need is uncheck "support generic mp4" (or something like that) in DivX decoder config. Or maybe not. I'm not sure. It's not MPC's pb anyway.

drmpeg
9th November 2006, 11:07
The decoder, however, fails to decode two of drmpeg's new clips. would appreciate if you could kindly look into this.

http://www.w6rz.net/crop1080red.zip
http://www.w6rz.net/crop1088red.zip

ernesto
I had the wrong microcode loaded when I encoded those two clips. They are 4:2:2 profile.

Ron

rotflol
11th November 2006, 07:48
Is there some sort of a time limit on VobSubs in MPC? I have a movie that's 3.5 hours long and both MPC and DirectVobSub freeze when trying to load the subs, but ffdshow shows them fine.

canuckerfan
12th November 2006, 02:46
mpc, celtic's builds, won't play avi files (with xvid + mp3 stream, haven't tested with a divx or ac3 stream yet). was wondering if some settings need to be altered for this to work.

PS: I have ffdshow installed as well.

Px
12th November 2006, 20:44
Feature request - could you add ability to log displayed statistics (Ctrl+4) to external file?

chros
12th November 2006, 21:17
mpc, celtic's builds, won't play avi files (with xvid + mp3 stream, haven't tested with a divx or ac3 stream yet).
For me it's working:
try install xvid codec (a koepi build) and see what happens.
Selelct the internal avi splitter and select or deselect (in this case select in ffdshow) MPEG Audio in Internal filters.

Peuj
13th November 2006, 09:59
For me it's working:
try install xvid codec (a koepi build) and see what happens.
Selelct the internal avi splitter and select or deselect (in this case select in ffdshow) MPEG Audio in Internal filters.

and if it works with XVid codec so maybe it's a ffdshow problem, you could share a sample on this topic http://forum.doom9.org/showthread.php?t=98600

Thanks

FredThompson
14th November 2006, 10:17
I'm struggling with 2 issues with MPC and looking for help.

1) MPC doesn't appear to support 4:2:2 MPEG2 so I'm using ffdshow for MPEG2 decoding but some DVR streams stutter. They play fine with MPC. Can someone give me an authoritative answer about how MPC works when the decoder is ffdshow? I'm trying to determine if the problems are within ffdshow or interaction between ffdshow and MPC. I've been looking for answers in the ffdshow thread. FWIW, the test files is at: http://www.corrugatedmachines.com/FruitBeer.vob

2) 1080i MPEG2 stutters when I try to play it with MPC. Granted, there is some resizing but why would commercial apps like PowerDVD play these larger formats without a hitch yet MPC sputters?

Requests, in case anyone is doing some updates:

1) DVD player-like controls as an option.

2) Association with file types without ganging them all into one category. Try changing the icon for one of the associated file types. They'll all get changed. Blech!!!

3) Improved DVD menu support. I've noticed some menus won't work at all with MPC. I can easily supply homemade samples of menus which work with PowerDVD and hardware players but confuse MPC.

4) A little bit more information in the status display when playing an IFO set. It would sure be nice to know exactly which part is being played.

clsid
14th November 2006, 14:09
1) MPC doesn't appear to support 4:2:2 MPEG2 so I'm using ffdshow for MPEG2 decoding but some DVR streams stutter. They play fine with MPC. Can someone give me an authoritative answer about how MPC works when the decoder is ffdshow? I'm trying to determine if the problems are within ffdshow or interaction between ffdshow and MPC. I've been looking for answers in the ffdshow thread. FWIW, the test files is at: http://www.corrugatedmachines.com/FruitBeer.vob

2) 1080i MPEG2 stutters when I try to play it with MPC. Granted, there is some resizing but why would commercial apps like PowerDVD play these larger formats without a hitch yet MPC sputters?
1) This was answered in the ffdshow thread. Use the internal splitter in MPC and use an external decoder.

2) The decoder used in PowerDVD uses hardware acceleration. So it uses less CPU resources. That explains why it has less problems decoding high resolution video. You can use the decoder of PowerDVD in MPC.

max-pain
14th November 2006, 14:34
2) 1080i MPEG2 stutters when I try to play it with MPC. Granted, there is some resizing but why would commercial apps like PowerDVD play these larger formats without a hitch yet MPC sputters?

My friend has the same problem with MPC after videocard driver upgrade. The CPU usage is around 60-70%.

FredThompson
14th November 2006, 21:06
1) This was answered in the ffdshow thread. Use the internal splitter in MPC and use an external decoder.Ah...I've finally figured it out. I wasn't setting the merit properly for ffdshow inside MPC. It works. Woohoo!!!

edit: No, I'm stumped. I started MPC from it's home directory then added ffdshow raw video to the external filters. I chose the option to set it as the preference then hit the OK button. Now all the video types play properly but when I restart MPC, the settings are not shown to be configured. Why is that?

SeeMoreDigital
14th November 2006, 21:41
Hi Fred.... Have you actually disabled MPC internal MPEG-2 filter?

EDIT: I'm not sure whether enabling FFDshow's RAW video filter is the best over-all solution

FredThompson
14th November 2006, 22:11
Wouldn't setting the preference for ffdshow disable the internal decoder of MPC?

I've also noticed MPC's post-processing for MPEG doesn't play nice with 4:2:2

All I can say is I couldn't get MPC to play 4:2:2 by itself. Sure, I'd prefer that if it's possible.

btw, I've finally figured out how to make pixel perfect recordings of PowerPoint. Are you still interested in that? It's a combination of time stretching and shrinking using scripts, slide timings in PowerPoint, TMPGEnc's fake time stretched output and CamStudio. The only glitch is a 4G file limit with CamStudio. Won't work with audio but the video is perfect.

SeeMoreDigital
14th November 2006, 23:21
Wouldn't setting the preference for ffdshow disable the internal decoder of MPC?No... MPC's internal filter takes precedence. You need to manually disable MPC's internal MPEG-2 filter first.

I've also noticed MPC's post-processing for MPEG doesn't play nice with 4:2:2

All I can say is I couldn't get MPC to play 4:2:2 by itself. Sure, I'd prefer that if it's possible.This is true MPC's MPEG-2 filter can't decode 4:2:2 MPEG-2...

btw, I've finally figured out how to make pixel perfect recordings of PowerPoint. Are you still interested in that? It's a combination of time stretching and shrinking using scripts, slide timings in PowerPoint, TMPGEnc's fake time stretched output and CamStudio. The only glitch is a 4G file limit with CamStudio. Won't work with audio but the video is perfect.Unfortunately I'm not working with anybody anymore who uses PowerPoint or has the need to extract A/V from PowerPoint documents :(


Cheers

FredThompson
14th November 2006, 23:47
No... MPC's internal filter takes precedence. You need to manually disable MPC's internal MPEG-2 filter first.Well, I don't see any place to do this in the options for MPC and 4:2:2 plays when ffdshow is set for libmpeg2. Otherwise, you'll get garbled blocks. Are you thinking MPC's decoder is smart enough to pass precedence when it encounters 4:2:2?

anonymez
15th November 2006, 00:37
Well, I don't see any place to do this in the options for MPC

options-->internal filters-->mpeg2 video. uncheck it

FredThompson
15th November 2006, 00:51
Yes, I've already done that. That column is titled "transform filters", not "codec" or anything like that. If it's a list of internal decoders, the column title really should be updated to conform to current terms.

clsid
15th November 2006, 13:57
There is nothing wrong with the title. A DirectShow decoding filter is not a codec.

FredThompson
15th November 2006, 16:32
sigh, yes, it's a dec, not a codec.

My point was the column titles aren't that obvious when compared to common players like WMP, QT, Real, etc. Neither word really conveys decoding, they convey modifying.

vlada
15th November 2006, 16:38
FredThompson
Yeah, this is one of the most common nonsenses: "You need a codec to play a file". You need a FILTER (in fact more filters) to play a file. You only need a codec to transcode video.

celtic_druid
15th November 2006, 16:47
From recollection that options tab used to look quite different. Try and old build and look.

SeeMoreDigital
15th November 2006, 19:39
How about something like this then?

http://i10.tinypic.com/4e05nyc.png

Reino
15th November 2006, 20:06
I'd rather say "Splitter Filters" instead of "Container Decoder Filters"

SeeMoreDigital
15th November 2006, 21:02
I'd rather say "Splitter Filters" instead of "Container Decoder Filters"Yes you're right. Like this then: -

http://img299.imageshack.us/img299/7126/mpcproposaloc5.png


Cheers

FredThompson
15th November 2006, 22:01
WME has a place to add filters which, apparently, are decoding and/or processing. I guess that's Microspeak...

vlada, codec is actually CODEC which is COde/DECode, just as modem is actually MODEM which is MOdulate/DEModulate. The data must be DECode(d) before any filtering can be applied. The use of the words has gotten sloppy over time.

Then again, a math person would probably bicker about the word, "algorithm"...

Wedgedkc
20th November 2006, 03:00
Is it just me or is the dts decoding broken in the rev611-2 build? It works fine for me with the plain 611 version.

kurt
20th November 2006, 12:09
dts doesn't work here either ... most people use ac3filter or ffdshow probably, so no one noticed this?

SeeMoreDigital
20th November 2006, 12:49
Is it just me or is the dts decoding broken in the rev611-2 build? It works fine for me with the plain 611 version.Who created this build?

Wedgedkc
20th November 2006, 13:28
Who created this build?

celtic_druid

Liisachan
20th November 2006, 13:30
celtic_druid, the same builder who made 611, updated 611 with ffdshow "Queue output samples" support (http://sourceforge.net/tracker/index.php?func=detail&aid=1577522&group_id=82303&atid=565651) (and a newer aac decoder)

SeeMoreDigital
20th November 2006, 14:28
Hmmm!

I've just visited CD's site, downloaded and installed "mplayerc.rev611-2.2kxp.7z 16-Oct-2006 11:42" and my RAW DTS and DTS in VOB sources are playing okay!

No problems passing a DTS bit-stream to my DSS amp...

clsid
20th November 2006, 14:44
Did you also try to output to your PC speakers?

I just tried a raw DTS sample and it played without sound.

SeeMoreDigital
20th November 2006, 15:00
Did you also try to output to your PC speakers?

I just tried a raw DTS sample and it played without sound.No... just to my DSS amp. I don't use my soundcards analogue outputs!

Wedgedkc
20th November 2006, 15:05
The digital output works for me as well but I use both.

FredThompson
21st November 2006, 02:07
How the heck do you kill the ActiveMovie window during DVD playback with MPC using ffdshow as the MPEG2 decoder?

Isochroma
21st November 2006, 02:29
cmd > taskkill /f /im mpc.exe

FredThompson
21st November 2006, 03:57
cmd > taskkill /f /im mpc.exe

Is that sticky or does it need to be executed on each system startup?

Isochroma
21st November 2006, 06:29
Whenever you want a process to die, that is the most powerful way to do it. Even more powerful than Task Manager's End Task, the /f switch forces termination. There are other options as well, just type taskkill /? at the cmd prompt.

FredThompson
21st November 2006, 07:51
I think you've answered a different question than the one I asked.

I've got ffdshow's libmpeg2 set as the mpeg2 decoder. PLaying DVDs with MPC results in 2 windows; MPC and ActiveMovie. I want the DVD content displayed withing MPC.

Your answer is how to kill MPC.

Isochroma
21st November 2006, 20:15
Find the process ID of the activemovie window and kill it:

1. run task manager
2. click Processes tab
3. view menu > select columns...
4. put a check mark in the second box (PID) down in the left column and hit ok.
5. now your TM will show PIDs for all processes
6. while the offending window is up, run TM and click on Applications tab
7. right-click on the Task with the same title as the activemovie window, then select Go To Process. This will switch you back to the Processes list with the actual window process highlighted.
8. note the PID. This will be different for each session, so you might want to use the process name if it is static.
9. you can kill the process there or plunk the PID/imagename into the taskkill cmdline.

cc979
21st November 2006, 20:42
I think you've answered a different question than the one I asked.

I've got ffdshow's libmpeg2 set as the mpeg2 decoder. PLaying DVDs with MPC results in 2 windows; MPC and ActiveMovie. I want the DVD content displayed withing MPC.

Your answer is how to kill MPC.

check here the same happen with movie maker, search for DirectShow Subtitle Filter (subtitds.ax)

http://www.microsoft.com/windowsxp/using/moviemaker/21/faq.mspx

SeeMoreDigital
21st November 2006, 21:33
I've got ffdshow's libmpeg2 set as the mpeg2 decoder. PLaying DVDs with MPC results in 2 windows; MPC and ActiveMovie. I want the DVD content displayed withing MPC.Hmmm...

Well I can confirm it is possible do what you require because I'm able to do it Fred (VMR9 Renderless with DVD43 running in the system tray).


Cheers

KoD
21st November 2006, 22:24
An ActiveMovie window happens usually when upstream decoding filter doesn't have an output colorspace that the renderer knows how to handle. Are you sure you have not forced ffdshow's output to some strange colorspace ? Remember that some VMR modes only know YUY2 or YV12 input.

FredThompson
22nd November 2006, 05:31
I guess anything is possible. Maybe there's some residual junk. I'll try an uninstall, reboot, then reinstall. Maybe there was an unintended result of different builds.

FredThompson
22nd November 2006, 09:45
Well, if I set ffdshow's libmpeg2 to do DVD decoding, the output will stay in the MPC window but the menu overlays aren't showing up. What a pain in the butt...

Yuri Khan
26th November 2006, 08:24
Media Player Classic filter graph registration in the Running Objects Table does not work on Windows Vista.

Versions
Windows Vista Universal RTM 6.0.6000, in trial mode (not activated), running in VMWare Workstation 5.5.1-build 19175
DirectX 10 (the one that gets installed with the OS)
Media Player Classic 6.4.9.0 Unicode
To reproduce
Start Media Player Classic and open a media file that is rendered via DirectShow. (An .avi should be ok.)
Start GraphEdt.exe and click File | Connect to Remote Graph.
Expected behavior:
A dialog appears, listing one graph. Selecting it and clicking OK shows a DirectShow graph for the file being played.
Observed behavior
An empty dialog appears.

More details, and why do I care
I am developing an application that connects to a running MPC and controls it via the IMediaControl and IMediaSeeking interfaces. Recently I have received a report of it not working on Vista.

My application uses the modified code from the mpcinfo sample to enumerate filter graphs and connect to one of them. The sample code retrieves an IUnknown from the ROT and queries it for IFilterGraph. The filter graph manager object is documented to support IMediaControl and IMediaSeeking.

In my tests, the object I obtain from the ROT gives me an IMediaControl interface pointer but not IMediaSeeking, IFilterGraph, IGraphBuilder or IFilterGraph2. The QueryInterface method returns an HRESULT of E_NOINTERFACE for all these IIDs.

This means the mpcinfo.dll also might not work. I currently do not have an mpcinfo.dll binary to check this.

The problem does not reproduce on my Windows XP SP2.

I will try to get the latest MPC sources and compile them; in case of success, I will post more details.


[edit=2006-12-10]

Okay, I played around in Vista and came up with this.

Working with a COM interface across process boundaries requires a mechanism called marshaling. In layman’s terms, marshaling works like this. A client process obtains a proxy for the interface it needs. When a proxy’s method is called, it packages the method name and parameters into a data structure and sends it to the server process. On the server side, an object known as stub receives this structure, unpacks it and calls the real object. It then packages the results and sends them back to the proxy, which returns them to the client code.

For marshaling to work for a specific interface, at least one of three conditions must be met.
The interface may be described in a type library (.tlb file). This is limited to COM Automation compatible interfaces.
There may be a marshaler object implemented and registered for the interface.
The object that implements the interface may also implement a special interface called IMarshal. This is called custom marshaling, is used for performance optimization and is way too complex.
It turns out that Windows XP with DirectX 9 implements a marshaler for most (if not all) DirectShow interfaces in quartz.dll, and that’s why my program, mpcinfo and graphedt work on XP. On the other hand, in my installation of Vista, no marshaler is present for IMediaSeeking, IGraphBuilder, IFilterGraph and a few other interfaces. I have tried importing the registry branches in an attempt to explain Vista that quartz.dll handles marshaling, but, apparently, in DirectX 10 it does not.

Normally, having an IDL description of an interface is sufficient to generate a marshaler implementation. I will next try to do this and see if it solves the problem.

[edit=2006-12-10]

Okay, I fixed it, by compiling my own marshaler.

Liisachan
26th November 2006, 09:59
This means the mpcinfo.dll also might not work. I currently do not have an mpcinfo.dll binary to check this.

I'm not going to use Vista but anyway,
in case you need to test it: mpcinfo.7z (http://ffdshow.faireal.net/mirror/Media%20Player%20Classic/Apps/mpcinfo.7z) (built by c-d)

Yuri Khan
26th November 2006, 14:40
Thanks. As I expected, //echo -a $dll(mpcinfo.dll,running,) displays 2 no matter whether MPC is running or not.

_wj_
27th November 2006, 09:22
Feature request - could you add ability to log displayed statistics (Ctrl+4) to external file?

Such a feature should be useful. Count my vote too :)

Liisachan
27th November 2006, 09:37
you might already know but you can save detailed stats to a file via ffdshow (OSD - Save to). You might want to use the "Don't display, only save data to file" option, in the pull-down menu under the right-pointing triangle button.

Px
27th November 2006, 12:10
you might already know but you can save detailed stats to a file via ffdshow (OSD - Save to). You might want to use the "Don't display, only save data to file" option, in the pull-down menu under the right-pointing triangle button.
Thank you, that is enough for me :)

Px
27th November 2006, 12:21
It works, but not exactly as I need - http://forum.doom9.org/showpost.php?p=907189&postcount=3198

sd4
4th December 2006, 02:20
how do i change the fullscreen resolution to 368x288, its what this video is encoded

vlada
4th December 2006, 05:38
how do i change the fullscreen resolution to 368x288, its what this video is encoded

Why would you do that? Btw. I think you can't.

sd4
4th December 2006, 06:09
Why would you do that? Btw. I think you can't.

because its a tv show that talk about ghosts and i cant see clearly under high resolution

Liisachan
4th December 2006, 06:29
http://ffdshow.faireal.net/tmp/ffdshow_resize.png

vlada
4th December 2006, 07:37
sd4
If you have high resolution (1280x960 or better) you should see the movie just as good as if you had 368x288. If the movie is blurry, then changing monitor resolution won't help. Anyway I think that modern monitors can't get below 640x480.

Liisachan
Are you sure this is what sd4 wished? I think this setting just resizes output to the value you set. So you are just resizing from 368x288 to 368x288. But it won't do anything to monitor resolution.

Liisachan
4th December 2006, 14:12
aahhhh.... then maybe you'd have to go to Display Properties / Settings / Screen area

Edit. Wait...

http://ffdshow.faireal.net/tmp/mpc_fullscreen.png

Using the "Nearest neighbor" resizer has a similar effect in full-screen, if the source is really low-res.

MatMaul
12th December 2006, 10:11
I think I have found a bug in mpc subtitles renderer.
When I have a matroska with srt as default subtitles, and I switch to vobsub subtitles in haali splitter, MPC crashs.
But no problem if I haven't any srt as default subtitles : if I have vobsub subtitles and I switch to srt subtitles then I switch again to vobsub subtitles, no problem !

awx
14th December 2006, 10:21
While watching my first movie with MPC under Vista, my screensaver kept kicking in. It was actually Windows putting the screen to sleep, not the animated screensaver. Anyone have the same problem and/or a fix?

awx
19th December 2006, 05:39
I continued to have problems with the monitor power saver feature with MPC in Vista. There is an advanced option in the Vista Power control panel that can set the power off period to be "adaptive". Meaning that if it notices you continually trying to wake the monitor after it shuts off, it will adjust the shut off time period to longer lengths. But I never tried that, I just set the power off to 2 hours. But I think MPC will need to be fixed to deal with this problem.

FYI to anyone with a region free DVD-Rom considering Vista and MPC: the old DVD Region Killer 2.7.0.2 from Elby (which later became AnyDVD AFAIK) worked fine in x86-32 Vista for me.

And on my Dell Optiplex with Intel 865 video, MPC worked fine under Vista but seemed to pause slightly when changing to fullscreen or back. Under XP this was usually instantaneous on the same machine. Unfortunately I've had to go back to XP because MS apparently isn't releasing Expression Web Designer to MSDN.

LoRd_MuldeR
23rd December 2006, 20:08
2006-12-24 - mplayerc.rev611-3 (http://tirnanog.fate.jp/mirror/Media%20Player%20Classic/mplayerc.rev611-3.2kxp.7z)

Kurtnoise
23rd December 2006, 20:23
What's new exactly ? coz nothing has changed since 7 months in the svn...

Isochroma
23rd December 2006, 20:32
I second Kurtnoise13's request. Every new version of any program should have a basic changelog or buildlog provided when it is linked.

wyrd
23rd December 2006, 20:46
mplayerc.rev611-2 is for ffdshow.patch and aac improvement.
http://forum.doom9.org/showthread.php?p=888082#post888082
mplayerc.611-3
This time,probably the one with ffdshow. ffdshow "Queue output samples" bug fix. (http://sourceforge.net/tracker/index.php?func=detail&aid=1620767&group_id=82303&atid=565651)

Thanks

Adub
23rd December 2006, 21:04
...nothing has changed since 7 months in the svn...

Speaking of which, where is the author? Taking a break? Real life coming into play? Anyone know?

Isochroma
24th December 2006, 03:45
Small bug to report, this one in the internal VSFilter, might exist in external one too, haven't checked.

In an .ASS subtitle file, if a line contains a style change override {\rstyle}, and MPC is set to "Position subtitles relative to video frame", then the line with \r and all after it until the next style change will lose the relpos - they're rendered as if the box was unchecked.

Liisachan
24th December 2006, 10:46
about 611-3
celtic_druid has compiled a new build for MPC.
Both the cursor key problem and DTS problem are fixed.
http://forum.doom9.org/showthread.php?p=920943#post920943

@Isochroma
The workaround should be simple :) You can write everything explicitly, {\fnSomething\fs...} instead of {\r...}

Isochroma
24th December 2006, 19:36
Yup, already figured that out... There are many many more weird ASS bugs, but thankfully I've forgotten them since my last round of subbing :)

Isochroma
24th December 2006, 23:26
Next bug!

When loading subtitles via CTRL-L or File->Load Subtitle...

Every time a subtitle file is reloaded (same file) it is added as another item to the list of subtitle streams in the right-click context menu (Subtitles section)

During subtitle creation, the same .ASS is reloaded many times to check lines, thus making this list scroll off the screen.

Suggested fix: if MPC only supports loading one external subtitle file, then only one should show on the context menu, under Subtitles.

Liisachan
25th December 2006, 01:46
@Isochroma
A bug is a bug. But for your purpose, how about trying to use VD/VDM + Textsub.vdf? Whenever .ass is updated, it is auto reloaded. You don't need to hit F5, but [->][<-] is enough to 'refresh'. much faster. Should be much more convenient to check specific frame too.

Isochroma
25th December 2006, 03:06
That doesn't help to verify if subs must be synced with audio. I test each line by playing the raw + .ass in MPC.

tsal
25th December 2006, 23:29
i just downloaded and tested the newest build from celtic-druid version 611-3.

there seems to be some kind of bug in filetype associations.

i enabled dvd, matroska media, ogg media, windows media, video file, mpeg media and mpeg4.

after restarting i notice the following changes:

matroska audio is suddently on, also mpeg audio is half on (grey)

and ogg media is now blank.


i have the newest official haali splitter installed with ogg, matroska and ts file support, can this be the cause ?

if this could be fixed i would be very happy, cause this player rocks.


one question, when i choose use .ini file for settings, will the settings in the registry be deleted ?

Liisachan
26th December 2006, 03:17
That doesn't help to verify if subs must be synced with audio. I test each line by playing the raw + .ass in MPC.

What do you mean? VirtualDub can play Audio too. Just hit [Enter] to start, [Alt]+[F], [A] to pause.

Isochroma
26th December 2006, 03:21
My machine is just barely fast enough to play the 810p wmv3 in mpc, but not vdub.

Liisachan
26th December 2006, 03:59
Then use VSFilter with the "Auto-reload subtitle files after detecting modification" enabled, in the "Misc" tab.

Or, if you need to do relatively complicated typesetting, you might want to convert your video to Huffyuv first.

foxyshadis
26th December 2006, 04:37
You can fine-time in 480p (or even 240p) and typeset in 1080p. :p

Isochroma
26th December 2006, 04:59
@Liisachan & foxyshadis: Thank you both for your help; I have found the best possible means to do my work, and that is MPC.

I'd appreciate it if the discussion could now return to MPC, and specifically, MPC development. I reported the subtitle load bug because it is in need of attention by MPC devs, like innumerable others. Workarounds are certainly fun to discuss, but they distract from the issue at hand, which is the identification, analysis, and retirement of code bugs in MPC.

The subtitle load bug in particular points toward a likely resource leak, due to multiple open file handles and associated memory structures not being released.

Haali
26th December 2006, 11:11
But what makes you think MPC supports only one external subtitle file? You can load as many as you want and switch between them. What's really missing are Unload/Reload commands.

Edit: Also MPC has a subresync toolbar so you can adjust the subs directly in mpc.

MatMaul
26th December 2006, 12:05
A suggestion : add 2 hotkeys to correct the delay of subtitles, like in BSplayer.

Isochroma
26th December 2006, 20:39
@Haali: The problem is that MPC doesn't check to see if it is the same file that is being loaded. Reloading the same file shouldn't add new entries on the subtitle menu every time.

Multiple entries on the subtitle selection menu exist to select different subtitle files (from external source), or different subtitle tracks (from splitter).

Isochroma
28th December 2006, 01:51
A bug a day keeps exterminators in pay!

Today's bug is in vsfilter, both MPC's internal and latest 2006-05-12 build.

I've been working on a nice .ASS subtitle file, and today added a new style utilizing the font ITC Franklin Gothic LT Book Condensed. Suprise suprise, mpc crashes when it reaches the buffering point for the first sub line that uses the font. Also, vdub does the same at the same place.

After extensive testing with different but similar fonts, all caused the same issue. These are truetype fonts, btw.

Finally just minutes ago, after uninstalling the offending font and reloading the script into mpc without changing the fontname in the styles section, it crashed again!

Without the font in the system, this meant it must be something else. So I typed in some nonsense fontname and it worked ok, so I added more characters until it crashed.

So the final bug report is this: any more than 31 characters in the font's face name, and any version of vsfilter will crash, including MPC's builtin. This is unfortunate, because there is no easy way to change font face names, but I'll look.

A bug report has been submitted to the vsfilter development page on SourceForge:

http://sourceforge.net/tracker/index.php?func=detail&aid=1623248&group_id=82303&atid=565649

foxyshadis
28th December 2006, 05:37
#define LF_FACESIZE 32

problem: this is in wingdi.h. This is what happens when you use built-in windows types. You can edit it and hope nothing breaks spectacularly (it does). My best guess for what was indirectly causing the crash didn't fix it. (Some plain strcpys replaced with strcpy_s.)

Liisachan
28th December 2006, 06:00
I've been working on a nice .ASS subtitle file, and today added a new style utilizing the font ITC Franklin Gothic LT Book Condensed.

Please upload the font file, so I can check it.

So the final bug report is this: any more than 31 characters in the font's face name, and any version of vsfilter will crash, including MPC's builtin. This is unfortunate, because there is no easy way to change font face names, but I'll look.

Probably that's not a bug but by design in WinGDI.h. LOGFONT has the lfFaceName[LF_FACESIZE] member, and
#define LF_FACESIZE 32

So a font for Windows should have a valid name whose length is 32 TCHARs or less, including the terminating NULL, meaning 31-character or less.

Many fonts have more than one names, btw. You can use the Font properties extension (the "names" tab) to check all the names (but CJK names)
http://www.microsoft.com/typography/TrueTypeProperty21.mspx

If you happen to need to know the original Unicode name of a Chinese/Japanese/Korean font, check the 'name' table of the font file. It's there in UTF-16 BE (not LE)
http://www.microsoft.com/typography/otspec/name.htm

Liisachan
28th December 2006, 06:44
Probably it has a name for windows, something like this

ITCFranklinGothic LT BookCn
12345678901234567890123456789012
0---------1---------2--------3-*


I think it's just that you are using a wrong name (i.e. not for Windows), while it's Gabest's fault that he copies the fontname without checking the length.

clsid
28th December 2006, 14:28
You can also try using the 8.3 filename. Every file in Windows is also accessable via a short filename.

Isochroma
28th December 2006, 21:00
Well, all other applications have no problem handling fonts with facenames >31 characters.

I found a solution to the problem: using TransType Pro, the fontname (and other metadata) may be changed as an option in the conversion process.

This process sucessfully worked around the problem, however, it is my opinion that the issue is with vsfilter, not the Windows in general, since no other applications crash on fonts with >31-char. fontnames.

Liisachan
29th December 2006, 01:11
Your solution may be not proper. You can just use the right font name for Windows, which should be <= 31 char. What you need to do first is, to check the correct internal font name. Did you do that?
The fontname you are supposed to write in SSA/ASS's style is not necessarily equal to the name that is commonly known as the name of that font, nor file name (never. clisid :).. A font file has a many names, like Postscript name or a name for Windows. You just need to use the name for Windows. If you upload the font file, I can check the correct font name within a few seconds, unless it's broken. Alternatively you can check it yourself by using the tool I mentioned.

Like we are repeating, if you copy longer string when the buffer length is 32, obviously it causes crashes; but just to preventing that wouldn't fix the problem. Gabest could copy the first 31 characters only, and there were no crash, but then the font mapper wouldn't recognize the font name either.

- The name font mapper needs to know is, NOT the first 31 characters, NOT the long name (postscript name?) you are trying to use, BUT the name for Windows. Its internal name.

- What you need to do is, simply to use the correct internal name. First check the correct internal name. Even if the font may be commonly knows as "ITC Franklin Gothic LT Book Condensed" it's not the correct internal name you can use in your SSA/ASS script. It's a general name, name for common people. An advanced typesetter needs to know how to check the correct internal font name, because that is the only name SSA/ASS will recognize. And I alreaady told you how.

foxyshadis
29th December 2006, 03:51
The obvious solution is to use comic sans and arial on all your subs, of course.

:p

Here's the patch to fix the crash:

Index: filters/transform/vsfilter/DirectVobSub.cpp

===================================================================

--- filters/transform/vsfilter/DirectVobSub.cpp (revision 611)

+++ filters/transform/vsfilter/DirectVobSub.cpp (working copy)

@@ -231,9 +231,9 @@

if(lf)
{
if(lflen == sizeof(LOGFONTA))
- strcpy(((LOGFONTA*)lf)->lfFaceName, CStringA(m_defStyle.fontName));
+ strncpy_s(((LOGFONTA*)lf)->lfFaceName, LF_FACESIZE, CStringA(m_defStyle.fontName), _TRUNCATE);
else if(lflen == sizeof(LOGFONTW))
- wcscpy(((LOGFONTW*)lf)->lfFaceName, CStringW(m_defStyle.fontName));
+ wcsncpy_s(((LOGFONTW*)lf)->lfFaceName, LF_FACESIZE, CStringW(m_defStyle.fontName), _TRUNCATE);
else
return E_INVALIDARG;

Index: subtitles/STS.cpp

===================================================================

--- subtitles/STS.cpp (revision 611)

+++ subtitles/STS.cpp (working copy)

@@ -2957,7 +2957,7 @@

LOGFONTA& operator <<= (LOGFONTA& lfa, STSStyle& s)
{
lfa.lfCharSet = s.charSet;
- strcpy_s(lfa.lfFaceName, CStringA(s.fontName));
+ strncpy_s(lfa.lfFaceName, LF_FACESIZE, CStringA(s.fontName), _TRUNCATE);
HDC hDC = GetDC(0);
lfa.lfHeight = -MulDiv((int)(s.fontSize+0.5), GetDeviceCaps(hDC, LOGPIXELSY), 72);
ReleaseDC(0, hDC);
@@ -2971,7 +2971,7 @@

LOGFONTW& operator <<= (LOGFONTW& lfw, STSStyle& s)
{
lfw.lfCharSet = s.charSet;
- wcscpy_s(lfw.lfFaceName, CStringW(s.fontName));
+ wcsncpy_s(lfw.lfFaceName, LF_FACESIZE, CStringW(s.fontName), _TRUNCATE);
HDC hDC = GetDC(0);
lfw.lfHeight = -MulDiv((int)(s.fontSize+0.5), GetDeviceCaps(hDC, LOGPIXELSY), 72);
ReleaseDC(0, hDC);

The problem came down to Microsoft's new "secure" strcpy functions not actually working the way Microsoft tells everyone they should. So they got replaced with MS's reimplementation of strlcpy, instead.

Good news! GDI is smart enough to figure out the correct font, even if the name gets truncated. (Unless you have multiple fonts that start with the same 31 letters, of course.) It's quite possible that in the meantime, you can just chop everything after 31 letters off and it won't crash, if you don't want to bother finding the internal GDI name. Try it!

Isochroma
29th December 2006, 03:57
@foxyshadis: wow you're fast! I'll try it ASAP when a new build comes out (sorry I'm not set up to do building from source code :()

Liisachan
29th December 2006, 05:54
Thanks for sending me the font as PM. This is what the font mapper on my win 2k recognizes:

Full Name=ITC Franklin Gothic LT Book Condensed: CharSet=0 (Western): lfFaceName=ITCFranklinGothic LT BookCn
Full Name=ITC Franklin Gothic LT Book Condensed: CharSet=161 (Greek): lfFaceName=ITCFranklinGothic LT BookCn

I think you can just use lfFaceName, without doing any hack.

http://ffdshow.faireal.net/tmp/sometext.png


Style: SomeStyle,ITCFranklinGothic LT BookCn,36,&H00ffffff,0,0,0,0,0,0,0,100,100,0,0.00,1,1,1,2,20,20,15,0
Dialogue: 0,0:00:01.00,0:00:06.00,SomeStyle,Someone,0000,0000,0000,,Some text goes here. Is this what you want?


Some of info directly taken from the font file, not via win api:

Font Family name : ITCFranklinGothic LT BookCn
Postscript name : FranklinGothicLT-BookCnd
Unique font identifier : Linotype Library GmbH: ITC Franklin Gothic LT Book Condensed: 2002
Full font name : ITC Franklin Gothic LT Book Condensed

The windows font mapper happens to say CharSet=0 or 161, but actually the version of the OS/2 table is 0, not having CharSet info. In such a situation, I'd recommend encoding=1 (DEFAULT_CHARSET) instead of 0 (ANSI_CHARSET) even if the actual CharSet is 0.

Style: SomeStyle,ITCFranklinGothic LT BookCn,36,&H00ffffff,0,0,0,0,0,0,0,100,100,0,0.00,1,1,1,2,20,20,15,0
Style: SomeStyle,ITCFranklinGothic LT BookCn,36,&H00ffffff,0,0,0,0,0,0,0,100,100,0,0.00,1,1,1,2,20,20,15,1

Isochroma
29th December 2006, 05:57
Thanks!

MoFoQ
30th December 2006, 03:26
man this thread's huge....

if only there was a separate category/forum for MPC stuff...

found a bug in 6.4.9.0 in XP (SP2-Pro).
It seems to happen when I set the "change full screen resolution" setting and have the deinterlace shader on.
When it changes the mode with the shader enabled, MPC will crash.


Also, is there a command-line switch to enable specific shaders by default?

Keepitsimple
22nd January 2007, 00:09
Hi, Is there any way to set lanczos resizing within mpc? Its possible with ffdshow. But sometimes I want to use a different decoder than ffdshow but still resize with lanczos.

Goras
2nd February 2007, 12:57
What's the "VMR 9 mixer mode" option for? If I have that option set, mpc drops a lot of frames / second in some vids.
I'm using VMR-9, on a AMD64 X2 4200+, 7900gt

Could it be my video drivers?

foxyshadis
2nd February 2007, 13:24
Drivers tend to be the source of such a problem, but it's hard to say. All the option does is reduce cpu/memory usage on the system and the card by doing some things in-place (and in yuv mode if chosen), normally improving performance to sacrifice a few features, but apparently not in your case.

Goras
2nd February 2007, 13:37
As I said, the system performance is more than enough, cpu is as high as 5% when playing those files.

Px
3rd February 2007, 03:20
Feature request - could you add ability to log displayed statistics (Ctrl+4) to external file?
*Bump*

aydc
9th February 2007, 17:00
Bug Report: When playing full screen, if user switches to another application using Alt+Tab, fullscreen status is lost.

This irritates me because sometimes I want to check something out in another program quickly and come back to MPC, but because of this bug I have to go fullscreen again manually everytime.

Liisachan
9th February 2007, 17:32
An application in the full-screen mode once has to exit from the full-screen mode in order for another app to be foreground. So that behavior is inevitable, and I assume that yours is a feature request "When another app gets focus when MPC is in the full-screen mode, I'd like MPC automatically to re-enter into the full-screen mode when it regains the focus." I'm not sure if that is really a good idea, but I understand your needs as well.

Clammerz
11th February 2007, 16:08
Not always.

When you change focus by clicking on a second (or third, etc) monitor sometimes MPC doesn't lose focus.

Also, there are many applications that do not exit full screen status when alt-tabbed. I am another who thinks this would be a neat idea.

Lastly, I didn't realise it when I posted a couple of days ago, but this seems to be a 'generic' MPC bug report thread?
If so, I hope it's not too much trouble for me to link to my 'problem' thread: http://forum.doom9.org/showthread.php?t=122032
Regarding the inbult MPEG splitter, and subtitle stream handling.

Thanks for your time.

celtic_druid
11th February 2007, 19:23
People should be aware that there is basically no one to implement all this stuff.

clsid
2nd March 2007, 19:53
The last change to MPC was 9 months ago. So it is possible there will never be a next version.

_xxl
2nd March 2007, 20:16
Maybe a new mpc fork is needed.
Any volunteers?

tekNerd
2nd March 2007, 20:37
If I had the skills...
God, I hope my next life You don't forget me.

chros
3rd March 2007, 10:47
If I had the skills...
God, I hope my next life You don't forget me.
Me, too ... :)

And it's a shame, that here is one of the best DS player (if not the best), AND it's opensource, and there isn't anybody who want to help Gabest in the whole world ... :(
There was somebody: shultz, but it seems to finish his work too...

HeadBangeR77
3rd March 2007, 14:09
And it's a shame, that here is one of the best DS player (if not the best), AND it's opensource, and there isn't anybody who want to help Gabest in the whole world ... :(
There was somebody: shultz, but it seems to finish his work too...
The problem is that Gabest has dropped the development completely, AFAIK, so someone would have to take the whole project, instead of just helping.

The latest compilation:
http://forum.doom9.org/showthread.php?p=965213#post965213

:D

Netuser
3rd March 2007, 21:05
Hello,

I am using Vista and with MPC i am having a problem (smae as one perosn posted 4 page back) MPC is not disabling screensaver (display screen off) while in Full screen mode. It is very annoying as I am on a laptop and i have to all the time change power settings. Dose anyone know how to fix this ?

thanks for your help

Hans Ohlo
4th March 2007, 10:55
i am sad to hear that mpc is basicly dead. with vista there are some issues i thought would be fixed but now i think i have to look out for another media player.

p.s. does anyone have a clue why vista media center opens avis with ac3 sound and stays at the first frame (i.e. does not play them, but opens them). i installed the latest avisplitter, avi2ac3filter and use ffdshow for audio decoding. strange thing is that in mpc these files play fine with the same filters used?

Elias
13th April 2007, 02:54
The problem is that Gabest has dropped the development completely, AFAIK, so someone would have to take the whole project, instead of just helping.Why did he drop development? Why not just keep it on hold for a while?

anonymez
13th April 2007, 03:18
It's not dead, just my current work does't really let me to continue it.

http://sourceforge.net/forum/forum.php?thread_id=1690818&forum_id=281014

Elias
13th April 2007, 12:11
It's not dead, just my current work does't really let me to continue it.Well that's a relief.

mariner
25th April 2007, 16:36
EVR support in XP

Tried the Enhanced Video Renderer (EVR) in KMPlayer recently, and to my surprise it actually worked under XP SP2. 1920x1080 60fps clips ran smoothly, although support for DXVA may be lacking.

EVR worked in Graphedit as well, but not in MPC. There was no video when EVR filter was selected as preferred external filter.

Celtic druid posted a patched version with EVR support some time ago, but the link no longer works. Not sure if it was for Vista, but would appreciate if anyone could repost, or look into doing a new version that runs under XP.

Thank you.

clsid
25th April 2007, 21:47
That patched version didn't work afaik.

KoD
26th April 2007, 09:59
And how does one get EVR under XP ? Are you sure the system hasn't simply build the graph with something else instead of EVR under XP ?

iron2000
26th April 2007, 15:11
Is it possible to change the seek bar, volume button icon and volume slider?

Tried to find them using Resource Hacker but it doesn't seem editable with it.

jffulcrum
5th May 2007, 11:02
Bsplayer also support EVR in XP. Processor usage lower by 5% compared to Overlay Mixer even on SD content in my 4 years old system. But both KMPlayer and BSPlayer use some "secret" for getting EVR work, since in graphedit no picture shown, as in MPC. It`s not depend on colour space type, changes in decoders result nothing.

Kado
5th May 2007, 11:28
@jffulcrum and @KoD
EVR comes with .NET3.0 installation, but the renderer is not registered during installation. the file is at %windir%/system32/evr.dll . Use regsvr32.exe to register the file. evr works in graphedit build 061030 (directx10). probably does not work in MPC because it must require additional support from mpc to render anything, like calls or parameters. :confused:

Leak
5th May 2007, 11:41
@jffulcrum and @KoD
EVR comes with .NET3.0 installation, but the renderer is not registered during installation. the file is at %windir%/system32/evr.dll . Use regsvr32.exe to register the file. evr works in graphedit build 061030 (directx10).
Yeah, it sure doesn't work with the DirectX 9 Graphedit (060304) contained in the Windows Server 2003 R2 Platform SDK I'm using...

Where did you get the newer Graphedit from? I though it was no longer a part of the DirectX SDK? (Ugh... let me guess - the Windows Vista Platform SDK? *goes off to download it*)

np: Pole - Arena (Feat. Fat Jon) (Sónar De Día)

jffulcrum
5th May 2007, 13:44
Kado
I know about regsvr32 command, registering doesn`t help. All that do registration of EVR.dll is possibility to call EVR by GUID. Bsplayer can use them without registration, by call to DLL probably.

Kado
5th May 2007, 17:29
@jffulcrum
Kado
I know about regsvr32 command, registering doesn`t help.
Well, I didn't say that by registering would work for MPC, additional code must be necessary for MPC to support EVR. Works in dx10 graphedit though.

@Leak
The Windows Vista Platform SDK is huge, so after some googling I found the dx10 graphedit (I don't know the link) and have it in my pc if you need it.

Leak
5th May 2007, 17:32
@Leak
The Windows Vista Platform SDK is huge, so after some googling I found the dx10 graphedit (I don't know the link) and have it in my pc if you need it.
Too late now - 8MBit cable makes the download take 20 minutes if MS's servers cooperate... :D (Then again, I haven't installed this sucker yet...)

But maybe you should zip it up anyway and send it to Doom9 - the graphedit download on the download page is from 2004... :eek:

np: RJD2 - Have Mercy (The Third Hand)

celtic_druid
5th May 2007, 18:29
That would be Akamai's server, not MS'. For instance for me anything from download.microsoft.com comes down through an iinet.net.au (local ISP) server via pipe (local peering company).

Kado
5th May 2007, 23:17
Too late now - 8MBit cable makes the download take 20 minutes if MS's servers cooperate... :D (Then again, I haven't installed this sucker yet...)

But maybe you should zip it up anyway and send it to Doom9 - the graphedit download on the download page is from 2004... :eek:
8Mbit cable rules right?:D

How can I provide the graphedit to doom9?

Anyway graphedit is acting weird now, when I expand the directshow filters it just closes! I can only use the filters I added to the favorites.

molitar
4th August 2007, 19:13
Does anyone know how to get the current position with Mediaplayer Classic using javascript? I'm using a remote control software and trying to configure an OSD display but I have had no luck getting it to work with commands like CurrentPosition, GetCurrentPosition, SeekTime, Time, all are unrecognised.. Even FileName was not known but I did figure out Name worked as filename normally would.

Leak
4th August 2007, 22:01
Does anyone know how to get the current position with Mediaplayer Classic using javascript? I'm using a remote control software and trying to configure an OSD display but I have had no luck getting it to work with commands like CurrentPosition, GetCurrentPosition, SeekTime, Time, all are unrecognised.. Even FileName was not known but I did figure out Name worked as filename normally would.
Errr... why JavaScript? You can either control MPC via HTTP, or via window messages - where does JavaScript come in here?

Also, :script: that didn't work... what are "CurrentPosition", "GetCurrentPosition" etc. and where did you get those?

np: Retina.IT - Pick (Semeion)

molitar
5th August 2007, 00:04
Errr... why JavaScript? You can either control MPC via HTTP, or via window messages - where does JavaScript come in here?

Also, :script: that didn't work... what are "CurrentPosition", "GetCurrentPosition" etc. and where did you get those?

np: Retina.IT - Pick (Semeion)

I am using a remote control software called UICE and since mpc doesn't have a direct method to show OSD for the current position, length, ect... I decided to use the remote software to show it. With UICE I can do a little javascript that can ask for this data than show with an OSD command. In the old MediaPlayer 6.4 their is a script that does pos=wmp.CurrentPos; to retrieve the current position of the file playing. But it seems this basic command is missing or been renamed in MPC. Part of the code below...

title="";
if (wmp.HasMultipleItems) title=wmp.GetMediaInfoString(8);
if (title=="")
{
title=wmp.Name;
if (title.lastIndexOf("\\")!=-1) title=title.substr(title.lastIndexOf("\\")+1);
if (title.lastIndexOf(".")!=-1) title=title.substr(0,title.lastIndexOf("."));
}

len=0;
if (wmp.IsDurationValid)
{
len=wmp.Duration;
lenhours=Math.floor(len/3600);
lenmins=Math.floor(len%3600/60);
lensecs=Math.floor(len%60);
lenstr=lenhours+":"+(lenmins<10?"0"+lenmins:lenmins)+":"+(lensecs<10?"0"+lensecs:lensecs);
}

pos=wmp.CurrentPosition;
poshours=Math.floor(pos/3600);
posmins=Math.floor(pos%3600/60);
possecs=Math.floor(pos%60);
posstr=poshours+":"+(posmins<10?"0"+posmins:posmins)+":"+(possecs<10?"0"+possecs:possecs);

if (len)
{
pos=100/len*pos;
OSD.Show(osdProgress,posstr+" ("+lenstr+") "+title,pos);
} else Alert(posstr+"\n"+title);

Leak
5th August 2007, 02:43
In the old MediaPlayer 6.4 their is a script that does pos=wmp.CurrentPos; to retrieve the current position of the file playing. But it seems this basic command is missing or been renamed in MPC.
Errr... Media Player 6.4 is an old Microsoft product, while Media Player Classic was written from scratch with a user interface similar to that of Media Player 6.4 - that's all.

So whatever was possible with Media Player 6.4 isn't automatically possible with MPC.

molitar
5th August 2007, 03:37
Errr... Media Player 6.4 is an old Microsoft product, while Media Player Classic was written from scratch with a user interface similar to that of Media Player 6.4 - that's all.

So whatever was possible with Media Player 6.4 isn't automatically possible with MPC.

That is what I assumed with the filename being changed to name. But I need to know how to get the current position with MPC. I was not able to find any of the wm_commands for MPC at all.

Leak
5th August 2007, 11:44
That is what I assumed with the filename being changed to name. But I need to know how to get the current position with MPC. I was not able to find any of the wm_commands for MPC at all.
How about posting all the code, especially the part where you assign something to wmp? And still, I very much doubt MPC does anything like Media Player, so this is just not going to work...

foxyshadis
5th August 2007, 13:35
The only thing I found that might be it is "pos", but it's a large project and I'm sure I'm just not looking in the right place. A full script would definitely help.

molitar
5th August 2007, 17:59
The only thing I found that might be it is "pos", but it's a large project and I'm sure I'm just not looking in the right place. A full script would definitely help.

That is the entire script. Basically it shows the title and should show the time and duration of the video file. Well would of CurrentPosition was a recognised command.