View Full Version : Media Player Classic Home Cinema (MPC-HC) - DXVA!
tetsuo55
11th June 2010, 10:42
tetsuo, i was further commenting about your post/quotes about Snowknight26 and jarredh, not on my paticular view, as i've said afterwards, i'm very happy with the direction of mpc-hc development and the improvements that appear in every build, i cannot say i see any particular bloat as of now(i could say that there are a lot of options to configure and could be intimidating for a novice user, but that's nitpicking on usability more than bloat and i rather have too many options than hidden stuff) and it's been several hundred builds(last one was ~660) since i last saw a bug that happened to me.
ah yes, one thing i just remembered, ¿would it be possible to make the path of the file appear on the webserver?, i'm using a mirc script(as gtsdll does not work on x64) for /vid that reads the webserver filetitle, the problem is that unless the web part shows the full path the script does not know the size/length and position of the playback being done.
This can be controlled using the "title bar" options, but i don't want to see the full path on the titlebar as it bloats it too mucha and if you have a long path it blocks the filename in question completely, wrapping things up: a way to pass the full path on the webserver irrespec from the main window titleGood to hear.
Please add a ticket for that filepath thing on trac.
wiak
11th June 2010, 11:04
tetsuo can you look into subtitles settings wont save, if you change size of font in subtitles > styles it will be reset when you close and open mpc-hc 1.3.2018 x64 again
btw would be sweet if mpc-hc included a VP8 decoder and a webm splitter, you can find the source at http://www.webmproject.org/code/ there are also ffmpeg patches here
http://www.webmproject.org/tools/#ffmpeg_patches
google fixed the license so its now BSD License
http://www.webmproject.org/about/faq/
tetsuo55
11th June 2010, 11:20
Please add a ticket for the settings problem if you have not done so already.
VP8 and WEBM support will come through ffmpeg.
XhmikosR
11th June 2010, 15:52
but enough digressing and ranting on the mpc-hc thread on my part, on that subject, i'd love to see a icl11 x64 version of mpc-hc, afaik xvidvideo only uses gcc 4.5 and i haven't found other sites compiling it
Compiling the x64 build with ICL is not possible yet; it gives errors when linking.
Like I've already said in this thread, ICL is not supported since it has no project files yet. Spec-Chum works on it, so it will, at least, be possible to have an ICL build, but this doesn't mean that ICL is supported. So if you want an ICL x64 build set up a building environment, download the source and have fun. Don't forget to submit any patches to the trac if you have any successful results.
The plan is to add MSVC 2010 project files first, but personally I encounter the bug with mpc-hc crashing when closed, which I don't encounter with msvc 2008 builds, although it's a known bug, but not always reproducible with msvc 2008 builds.
Here (http://www.mediafire.com/?sharekey=3f33c77c2cf9ce25ab1eab3e9fa335ca3f4f03422d9d6e9a) you can find r2027 MSVC 2008 x86 build, MSVC 2010 x86 build and ICL11 x86 build.
Note that the ICL build does not have any CPU instructions enabled (/arch:IA32), I built that build by just upgrading the MSVC 2008 project files without any other modifications. So there shouldn't be any noticeable difference between the MSVC 2008 and ICL build, at all.
Eliminateur
11th June 2010, 15:56
oh i see, i thought that it fully supported icl11 after the changes spec-chum did.
I have no coding idea at all, even less compiling building and all that stuff it's too complex so i'll refrain from that part :D
Terranigma
11th June 2010, 23:04
Can we get support for editlists in mp4 files? Without it, some mp4 streams (specifically, x264 streams) using b-frames will playback with a 2-frame delay, resulting in asynchronous playback. The only solution to this would be to disable MPC-HC's internal Source Filter for MP4/MOV files and use haali's media splitter instead.
Polcius
12th June 2010, 01:30
Question abou an option in MPC-HC
In the audio tab I can select between PCM 16bit, PCM 24bit...
Wich one should I select?
Hera
12th June 2010, 01:46
The playback controls on the bottom disappeared for ~6 seconds when I opened an MP4 file. This seems like a new issue.
HP Mini 311, beta drivers, Windows 7
Internal Filters, EVR CP, No V-Sync, Wait for Flushes
Otherwise all good, got ~18% CPU usage for MP4 playback. :)
v0lt
12th June 2010, 05:12
Hera
The playback controls on the bottom disappeared...
This is an old problem that appears randomly.
Spec-Chum
12th June 2010, 11:12
oh i see, i thought that it fully supported icl11 after the changes spec-chum did.
I have no coding idea at all, even less compiling building and all that stuff it's too complex so i'll refrain from that part :D
"now compiles with" yes, supported, no, but I'm working on it :)
Here is an x64 version compiled with ICL 11 for you, everything at default and no processor specific code, so I'll doubt you'll see any difference really (for now).
http://specchum.gemnetworks.com/MPC-HC/ICL/mpc-hc64.exe
KindDragon
12th June 2010, 19:30
MPC-HC Code Swarm video http://dl.dropbox.com/u/7142199/mpc-hc-history.avi (8Мб)
http://img708.imageshack.us/img708/8306/mpchchistoryavisnapshot.th.png (http://img708.imageshack.us/i/mpchchistoryavisnapshot.png/)
Polcius
12th June 2010, 21:33
Question abou an option in MPC-HC
In the audio tab (OUTPUT SAMPLE FORMAT) I can select between PCM 16bit, PCM 24bit...
Wich one should I select?
Also, Isn't there a documentation/wiki page about all the options MPC has?
bobdynlan
12th June 2010, 23:40
Also, Isn't there a documentation/wiki page about all the options MPC has? If you don't know what the option does, why do you want to change it? It's there for someone who has use for it. For everybody else, defaults work out-of-the-box. And you will not find things like this in an mpc wiki, it's common knowledge so google it first.
24bit - highest audio quality but only if the source is also 24bit (uncompressed original sources like dvd-disks or bluray-disks)
16bit - for cd-disks and compressed formats like mp3 audio
24bit may be problematic on some sound cards and some audio renderers. There are no advantages to listen a 16bit track through 24bit output. It may even lower the quality.
Tenki
13th June 2010, 09:22
MPC-HC can't open the format of WebM directly.
File→Quick Open File→ then in format, Media files(all types), there is not contain WebM.
So although MPC-HC can run WebM, it can't open directly by MPC-HC.
clsid
13th June 2010, 11:02
MPC-HC can't open the format of WebM directly.
File→Quick Open File→ then in format, Media files(all types), there is not contain WebM.
So although MPC-HC can run WebM, it can't open directly by MPC-HC.Has been added in revision 2029.
clsid
13th June 2010, 15:57
With regard to the 64-bit builds, this version of MinGW64 might be helpful:
http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Personal%20Builds/
This custom build already contains patches that should allow linking with MSVC.
vinujan
13th June 2010, 21:30
i'm able to load audio & subtitles files externally which share the same file name as the video file
but how do i go about loading external chapter files in mpc-hc?
alexins
14th June 2010, 00:19
Media Player Classic HomeCinema (x86/x64), svn 2041 (http://www.xvidvideo.ru/media-player-classic-home-cinema-x86-x64/media-player-classic-homecinema-x86-x64-svn-2041.html)
Supported languages: BR, BY, CA, CZ, DE, ES, FR, HU, IT, JA, KR, NL, PL, RU, SC, SK, SV, TC, TR, UA
Changes (2019-2041): (http://www.xvidvideo.ru/logi-izmeneniy/log-izmeneniy-media-player-classic-homecinema.html)
Updated Catalan translation [xiulet]. Also fixed some of the truncated strings.;
Update russian resource;
Add missing resource string;
mpcresources project file cosmetics;
Add : OSD on Jump Forward/Backward(keyframe);
Added .webm extension to file formats section.;
Removed .vp6 extension (because MPC is unable to play raw vp6 streams).;
Grouped together audio and video formats in the code. This does not effect the format page in MPC, since there the items are sorted alphabetically.;
added Japanese translation by anonymous;
updated Japanese translation;
updated Chinese simplified translation [torpedoo];
Changed : x64 Mingw compilation script and documentation updated (auto apply needed patches);
Remove : reference to non existing DEF file.h;
Changed : Webserver thread killed on exit if necessary;
Fixed : compatibility issue with DirectX SDK June 2010;
Fixed : remove reference to missing authhdrpic.bmp.
Lincoln Burrows
14th June 2010, 03:20
Is there a way to make sure MPC-HC is capable of displaying subtitles?
I can't display embedded subtitles here (one I am trying is from a Matroska file)... no matter what I do, nothing is working. And I am sure it was before... :(
Note: This issue does not include DVD files (VOBs). Still using XP SP3...
Edit: I know what was going on now. These are a few instructions regarding subtitles:
http://www.codecguide.com/faq_subtitles.htm
The MKV file I created had messed subtitles embedded (which means, when using SubRip to generate text subtitles (SRT file), the OCR will not recognize most letters properly (it will ask 2 or 3 times about parts of the same letter, instead of 1 time). This happens when the subtitles are in bad shape to be read.
This specific DVD, when converted to MKV by MakeMKV, had its subtitles messed somehow that MPC-HC was never displaying them. NEVER. So the only alternative would be to use MKVextractGUI to extract those MKV subtitles and create new ones or simply using SubRip to do this job (if necessary watching the entire movie and taking notes of what is being said to fill each line).
I tested another DVD (converting to MKV) and using MPC-HC (plus VobSub in the filter section) and the subtitles were displayed properly. If I had not tested another title I would have believed this was MPC-HC's fault. Sad to hear that, I was hoping to convert all my DVDs to MKV and this will delay my job (not the first time I encounter DVD subtitles with this sort of problem).
Eliminateur
14th June 2010, 06:19
i have a video file for which i have an external audio file, how do i load that audio track?(it's a .dts track), i checked the menues and found nothing of the sort(only load subtitle)...
i checked ffdshow options and menues to see if i could load it, no luck either
namaiki
14th June 2010, 08:16
File-> Open file-> video & dub file.
I haven't tried using it, but in my mind it seems to make sense.
Tenki
14th June 2010, 10:28
I want to suggest.
If MPC-HC play video by full-screen, its menu will block the below screen.
But If use WMP12 or 13, its menu will become Transparent on full-screen.
Although MPC-HC will hide the menu soon, but if I want to see the different part, it always block for a while.
So I hope MPC-HC can let the menu Transparent, too.
namaiki
14th June 2010, 10:34
press '3' to show, press '1' to hide.
Also, press Ctrl+1 to show and hide the seek bar.
Eliminateur
14th June 2010, 13:00
Namaiki, it doesn't works i tried it after posting, it ignores the "dub"
letme be more clear:
the video file is a MKV that has video, audio(vorbis) and subtitles (it has one stream for each).
besides that i have the audio file in .dts
i'm using external haali splitter and i have DTS source filter active in mpc-hc options, loading the .DTS file alone works perfectly.
i tried disabling the internal stream switcher, enabling the stream switcher in ffdshow.. nothing, the audio file never appears in any context menu.
oh and i have the latest build that was posted last night installed
File-> Open file-> video & dub file.
I haven't tried using it, but in my mind it seems to make sense.
namaiki
14th June 2010, 13:10
After doing the above, with MPC-HC's internal audio switcher enabled (options/audio switcher/enable), to switch audio streams do the following: click the play menu/filters/audio switcher/select stream (the dub file should be one of those streams)
That said, I only tested with an MKV file + Haali Media Splitter + AAC file as 'dub file.'
Eliminateur
14th June 2010, 14:08
i checked that, and there wasn't any option to switch streams(and if i remember correctly, there was no audio swtiched option).
i'll post a screen when i get home this evening
goofee
14th June 2010, 19:57
Just installed 2041, from 1984. DXVA on h.264 is now broken on my IGP 8200.
Eliminateur
14th June 2010, 23:31
ok, just confirmed, it's ignoring the dub file even thought it's showing in the filter list (in the screenshot, right below the ffd audio filter, that's the DTS track)
http://img812.imageshack.us/img812/8996/dubload.th.png (http://img812.imageshack.us/i/dubload.png/)
http://img808.imageshack.us/img808/8541/nodub.th.png (http://img808.imageshack.us/i/nodub.png/)
addendum:
if i right click the tray icon of ffdshow audio i see the DTS file, the same with filters in the context menu, but i get no audio out when selecting the DTS, ffdshow also shows empty fields on that track:
http://img811.imageshack.us/img811/2863/nosound.th.png (http://img811.imageshack.us/i/nosound.png/)
kieranrk
15th June 2010, 01:27
why was the internal H264(AVC) decoder disabled for interlaced files ? (Revision 2005)
i never experienced problems watching interlaced material.
Interlaced H.264 shouldn't be turned off because a few files don't work. The majority of interlaced H.264 from TV works fine.
Aleksoid1978
15th June 2010, 06:14
Interlaced H.264 shouldn't be turned off because a few files don't work. The majority of interlaced H.264 from TV works fine.
Can you upload sample good H.264 interlaced video for test ???
Aleksoid1978
15th June 2010, 06:25
ok, just confirmed, it's ignoring the dub file even thought it's showing in the filter list (in the screenshot, right below the ffd audio filter, that's the DTS track)
http://img812.imageshack.us/img812/8996/dubload.th.png (http://img812.imageshack.us/i/dubload.png/)
http://img808.imageshack.us/img808/8541/nodub.th.png (http://img808.imageshack.us/i/nodub.png/)
addendum:
if i right click the tray icon of ffdshow audio i see the DTS file, the same with filters in the context menu, but i get no audio out when selecting the DTS, ffdshow also shows empty fields on that track:
http://img811.imageshack.us/img811/2863/nosound.th.png (http://img811.imageshack.us/i/nosound.png/)
Work with other external audio file, like .mp3 ???
http://s55.radikal.ru/i150/1006/f8/223716a98e0dt.jpg (http://radikal.ru/F/s55.radikal.ru/i150/1006/f8/223716a98e0d.png.html)
http://i082.radikal.ru/1006/2a/0aaa8f304403t.jpg (http://radikal.ru/F/i082.radikal.ru/1006/2a/0aaa8f304403.jpg.html)
http://s44.radikal.ru/i104/1006/a8/3b4303ac13c0t.jpg (http://radikal.ru/F/s44.radikal.ru/i104/1006/a8/3b4303ac13c0.jpg.html)
amango
15th June 2010, 11:49
Do you also have made the following experience:
If I set up MPC Cinema to change the refresh rate in full screen, the video playback sometimes stutter after the refresh rate change? I have a Radeon 5450 and mostly playback H264 with DXVA enabled.
I made the same experience with the MPCVideo Decoder enabled in Mediaportal - after a refresh rate change the video playback stutters sometimes - the stutter is consistent and only goes away if I skip a while through the video or restart the video.
But I also made the experience that if I use for example the DIVX H264 decoder there is no stutter after a refresh rate. So maybe that is a decoder related problem?
namaiki
15th June 2010, 11:51
amango, which video renderer are you using? (and other specs and information)
gngn
15th June 2010, 15:29
Can you upload sample good H.264 interlaced video for test ???
here (http://www.mediafire.com/download.php?dqnygnyxzei) is a short AVCHD interlaced sample shot with a panasonic camera.
ffmpeg decoding fails (black screen), but if i use DXVA + hardware deinterlacing then it works without problems(all interlaced/MBAFF samples i have work with hardware deinterlacing). but since your commit in rev2005 besides disabling the ffmpeg H264/AVC decoder, the DXVA H264/AVC decoder that actually works is also disabled. i cant say much about the ffmpeg decoder, as i generally never use it (only DXVA). so i cant comment on your decision of disabling the ffmpeg decoder for interlaced material, but DXVA+hardware deinterlacing should be left enabled, IMHO.
Momber
15th June 2010, 15:33
Deinterlacing of H.264 streams from BBC HD is also broken. BBC HD streams can not be decoded at all with MPC's current internal video filter.
Also, I would like to know when MPC will finally be fixed so that it remembers its last window size under XP SP3/VMR9 renderless.
Thank you.
namaiki
15th June 2010, 15:41
here (http://www.mediafire.com/download.php?dqnygnyxzei) is a short AVCHD interlaced sample shot with a panasonic camera.
ffmpeg decoding fails (black screen), but if i use DXVA + hardware deinterlacing then it works without problems(all interlaced samples i have work with hardware deinterlacing). but since your commit in rev2005 besides disabling the ffmpeg H264/AVC decoder, the DXVA H264/AVC decoder that actually works is also disabled.
Curiously, the internal ffmpeg AVC decoder will be able to play the clip if you use Haali Media Splitter. ffdshow video decoder, however, can play the file even if you use the internal splitter.
kieranrk
15th June 2010, 17:33
Deinterlacing of H.264 streams from BBC HD is also broken. BBC HD streams can not be decoded at all with MPC's current internal video filter.
Works for me with haali's splitter.
gngn
15th June 2010, 17:50
Works for me with haali's splitter.
Casimir666 has already pointed out that some decoding bugs are actually splitter related.
Momber
15th June 2010, 18:34
But I am using the Haali splitter.
The error message I get says something about the video decoder being unable to connect to the renderer or some such thing. That would be EVR CP btw.
kieranrk
15th June 2010, 18:57
Can you upload sample good H.264 interlaced video for test ???
http://dl.dropbox.com/u/2701213/mpc-hc/06-11_19-38-19_BBC%20HD%20%28NAR%29_MOTD%20Live%20Uruguay%20v%20France.ts
Fadeout
15th June 2010, 19:10
I have still a very small stutter every time a subtitle line appears on screen:
- There was asynch loading of subs in some recent SVN, but before/after I notice no improvements at all
- Not a problem of CPU, usage stays low.
- Not a problem of GPU, the same problem with a very cheap card as well with a much more powerful one.
- Not a problem of source video, I get the stutter whether I play a low res SD video as well as 1080p with huge bitrate.
- No such problem with VLC, for example. Playback is smooth.
- Tried every setting possible and, while I can make it worse, I can't solve it.
Can someone explain this and if/why it can or cannot be fixed?
neoufo51
15th June 2010, 20:32
http://dl.dropbox.com/u/2701213/mpc-hc/06-11_19-38-19_BBC%20HD%20%28NAR%29_MOTD%20Live%20Uruguay%20v%20France.ts
Wow only the audio plays for me using 2041.
kieranrk
15th June 2010, 21:04
Wow only the audio plays for me using 2041.
As I said it only works with Haali's. This is a splitter problem though, not a DXVA problem.
Plutotype
15th June 2010, 21:37
I have still a very small stutter every time a subtitle line appears on screen:
- There was asynch loading of subs in some recent SVN, but before/after I notice no improvements at all
- Not a problem of CPU, usage stays low.
- Not a problem of GPU, the same problem with a very cheap card as well with a much more powerful one.
- Not a problem of source video, I get the stutter whether I play a low res SD video as well as 1080p with huge bitrate.
- No such problem with VLC, for example. Playback is smooth.
- Tried every setting possible and, while I can make it worse, I can't solve it.
Can someone explain this and if/why it can or cannot be fixed?
Hi,
Are you in DXVA mode or "CPU" mode?
If I remember well, for the DXVA mode my recommendation would be to play more with the subtitle settings at first:
- set "subpictures to buffer" to 10 for example
- try to uncheck "round up to power of two"
I have encountered the issue couple of months ago, but after dealing with other issues, have forgotten where the hack was :)
Pluto
Plutotype
15th June 2010, 21:41
Hi,
is it only me, that LPCM audio stream handled by ffdshow can not be "seen" by the internal MPC HC splitter? I have to disable the internal one and prefer the Haali one. Haali does his job 100percently.
Any hints?
Thanks
Pluto
Momber
15th June 2010, 21:51
It's not just BBC HD... MPC doesn't decode ANY interlaced H.264 anymore.
I just tried to watch the BluRay of 'The Killing Fields' (1080i60, remuxed to mkv) and got the same error message instead of a picture.
http://img.pixs.ru/storage/7/1/7/mpcjpg_4015552_745717.jpg
Using the Cyberlink decoder works fine.
kieranrk
15th June 2010, 22:05
It's not just BBC HD... MPC doesn't decode ANY interlaced H.264 anymore.
I just tried to watch the BluRay of 'The Killing Fields' (1080i60, remuxed to mkv) and got the same error message instead of a picture.
http://img.pixs.ru/storage/7/1/7/mpcjpg_4015552_745717.jpg
Using the Cyberlink decoder works fine.
mpc-hc doesn't support interlaced vc-1, which is what I think your file is. Normal Interlaced H.264 works.
Fadeout
15th June 2010, 22:13
Hi,
Are you in DXVA mode or "CPU" mode?
No difference.
If I remember well, for the DXVA mode my recommendation would be to play more with the subtitle settings at first:
- set "subpictures to buffer" to 10 for example
- try to uncheck "round up to power of two"
Certain settings work on certain subs.
For example a good compromise is to check animation and 4 buffers. But it is a compromise that sometimes does not display subs correctly.
Lower than 4 I have wrong animations, higher than 4 I get sometimes high CPU usage (even on DXVA) and various other problems.
But the point is this:
There's one video I have with HUGE animation effects on subs. There's absolutely no way to make MPC-HC play it. Either the video freezes (with buffer off), or the subs don't show (buffers on). Completely unwatchable.
On VLC everything plays smoothly with almost zero CPU usage.
What the hell VLC uses for subs that works so well? If it's open source, why can't we steal the whole sub module and port over to MPC?
As it stands now MPC-HC let me play all videos thanks either to CoreAVC or DXVA, and better video quality on Windows 7, but subs and playback can be stuttery.
VLC has great support for all kinds of subs but DXVA doesn't work and high quality H264 stutters like hell.
Eliminateur
15th June 2010, 23:24
Aleksoid, it doesn't works either, it does exactly the same thing as with the DTS, this time the difference is that in the information area it shows the mp3 info i loaded as dub.
Again the audio part is empty.
i'm using x64 build 2041
i guess i'll open a bug in the tracker....
Work with other external audio file, like .mp3 ???
http://s55.radikal.ru/i150/1006/f8/223716a98e0dt.jpg (http://radikal.ru/F/s55.radikal.ru/i150/1006/f8/223716a98e0d.png.html)
http://i082.radikal.ru/1006/2a/0aaa8f304403t.jpg (http://radikal.ru/F/i082.radikal.ru/1006/2a/0aaa8f304403.jpg.html)
http://s44.radikal.ru/i104/1006/a8/3b4303ac13c0t.jpg (http://radikal.ru/F/s44.radikal.ru/i104/1006/a8/3b4303ac13c0.jpg.html)
Tenki
16th June 2010, 04:56
press '3' to show, press '1' to hide.
Also, press Ctrl+1 to show and hide the seek bar.
I know how to hide it.
But if I want to set the menu, I hope it can be Transparent as WMP12 or 13.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.