Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Hardware & Software > Software players

Reply
 
Thread Tools Search this Thread Display Modes
Old 8th March 2012, 00:12   #12661  |  Link
kasper93
MPC-HC Developer
 
Join Date: May 2010
Location: Poland
Posts: 586
Quote:
Originally Posted by madshi View Post
(a) You can distribute a "yourMediaPlayer.pdb" file with your media player (the pdb file must be in the same folder as the exe file). madVR will then automatically read the pdb file and extract the necessary information. You can configure MSVC++ to create a pdb file even in release mode. Of course the pdb files are rather large, which is not so nice for distribution.
My MPC-HC builds with .pdb file included. http://dl.dropbox.com/u/16282309/MPC-HC/pdb/index.html I hope you find them useful for freeze reports

Last edited by kasper93; 8th March 2012 at 00:47.
kasper93 is offline   Reply With Quote
Old 8th March 2012, 06:17   #12662  |  Link
703
Registered User
 
Join Date: Jan 2012
Posts: 17
Quote:
Originally Posted by madshi View Post
I guess I could add an option to force specific matrix and primaries for *all* videos. I could add this without touching the settings dialog by simply allowing you to "store" forced matrix and primary settings through shortcut keys + [F2].

Making such a setting available only for SD content, but not for HD content, would be much more complicated, though. For that I'd have to add options to the settings dialog, which IMHO would make things much harder to understand. And most people wouldn't use/need this functionality. So I don't really like that idea.
Fair enough, an option for all videos would be great, that basically overrides the best guess logic.


Quote:
Originally Posted by madshi View Post
And I guess these don't have the proper matrix/primaries stored anywhere? How do you know then which the proper matrix/primaries are?

Let's say there were such an option as you're asking for: It would result in that you'd get incorrect matrix/primaries for all original MPEG2 PAL and NTSC DVDs. Does that really make sense!?
The matrix is stored in the container, but not necessary the stream. i.e. http://scenerules.irc.gs/n.html?id=2012_SDTVx264r.nfo

I can't be certain of the primaries, but I did an A <-> B comparison of SD and HD of the same programme sample and it looks like the SD was left in BT.709 (leaving MadVR to do the Gamut conversion made the color a bit different to the HD encode)

Just a thought!

Last edited by 703; 8th March 2012 at 09:09.
703 is offline   Reply With Quote
Old 8th March 2012, 08:18   #12663  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,346
Quote:
Originally Posted by 703 View Post
The matrix is stored in the container, but not necessary the stream. i.e. http://scenerules.irc.gs/n.html?id=2012_SDTVx264r.nfo
Discussion of content of such sources is not allowed on Doom9.

For the record however, the NFO clearly states that you shall specify the colormatrix in the x264 command line to match the source, which would cause it to write that information into the bitstream where a decoder or madVR can read it from.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 8th March 2012, 09:07   #12664  |  Link
703
Registered User
 
Join Date: Jan 2012
Posts: 17
Quote:
Originally Posted by nevcairiel View Post
Discussion of content of such sources is not allowed on Doom9.
.
Absolutely, I am simply using it as an example from an encoding practice point of view only, nothing about how content is acquired (I have no interest in that).
703 is offline   Reply With Quote
Old 8th March 2012, 09:36   #12665  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Quote:
Originally Posted by Pat357 View Post
For the next build, I have a few wishes :

1. A key combination like ctrl+alt+shift+.... for unconditionally leaving FSE (would many thing make easier in case of problems)
Ctrl+Alt+Shift+Break already does that. It creates a freeze report *and* disables FSE mode. Of course if the process is already frozen, there's a certain chance no key combo will work, anymore.

Quote:
Originally Posted by Pat357 View Post
2. Always obeying the interlaced/IVTC frame-based flags from the decoder by default : in case these are wrong, you can still set "force deinterlacing"
or "treat as progressive" in the decoder (in LAV-video and other decoders like Mainconcept, ).
Also Madvr can be set to "force deinterlace"/IVTC" on/off.
Even if the container or headers from the stream say something else, my experience is that the "repeat frame" flags from the decoder are very often correct.
I'm not sure exactly what you mean. In what way do your wishes differ from what madVR is currently doing/offering? Do you have problems with madVR's IVTC algorithm not working correctly?

Quote:
Originally Posted by Pat357 View Post
3. Have a look at the freeze/crash report creation with ctrl+alt+shift+break. It's a very handy tool, but it I can't make it work in v0.82.4....
I've used it in previous versions, so it has worked before for me.
Does it not work even if you press that key combo while MPC-HC is *not* frozen? It works for me in that situation.

Quote:
Originally Posted by Pat357 View Post
4. Supporting more format's for decoding : you have the whole FFmpeg lib at hand and you only support 3 format's ?
This way it's almost impossible to limit yourself to the build in decoders. It's a pittty you don't support more format's at this time.
Any plans to add more format's in the future ? It would be nice to just have a splitter and Madvr in your graph (less filters = usually less problems.. )
Of course first things first, so I can wait for the additional format's :-)
The problem with that is that I have some in depth knowledge about MPEG2, VC-1 and h264, but I don't have *any* knowledge about any other video bitstream layouts. madVR does a number of special tricks with MPEG2, VC-1 and h264, for which I need to understand how the bitstream layout works. If I were to add other video formats, too, I'd either have to learn all their bitstream specialties, or I'd have to dumb down their integration into madVR. I don't like either of these choices. Furthermore supporting more video formats would likely also increase the number of bug reports I'd get etc. I don't know what will happen in the future, maybe I will add support for the other video formats supported by ffmpeg, but I definitely will not do that anytime soon. I think those 3 formats I'm currently supporting are by far the most important, so it's quite possible madVR will stay limited to these (and maybe h265 once it ready for use).

Quote:
Originally Posted by dansrfe View Post
Freeze problem solved in the latest MPC-HC for me.
Good to hear. So Pat357's freeze must have a somewhat different cause.

Quote:
Originally Posted by dansrfe View Post
I was wondering if it might be a good idea to implement some sort of user prioritized scaling algorithm fallback mechanism? Basically when the render queue starts to fall below a certain fraction of the user specified GPU queue size (or that it simply starts queuing a dangerously low number of frames) for which the present queue doesn't queue enough frames and then frames start getting dropped.

The main reason why this might be useful is for when the resizer is asked to go from a relatively high resolution to a much greater resolution or vis versa.
Something like this might come in some (far away) future version, but not anytime soon. Too much other stuff to do first.

Quote:
Originally Posted by xiulet View Post
sorry for the poor information(like my english) , seems that now with 0.82.4 it work ok or more less, if it freeze again i try to send you a MadTraceProcess trail,(I was unaware of this utility) how you say may be is a mpc-hc problem.
Good to hear.

Quote:
Originally Posted by mark0077 View Post
I'm sure its the least important thing, but would it be worth making this delay playback functionality, also delay until the other queues are full, just to be sure cpu usage can be reduced as much as possible before playback begins?
Hmmmm, I guess that makes sense. Will add it to my to do list. Wow, you're using really big queue sizes!!

Quote:
Originally Posted by kasper93 View Post
My MPC-HC builds with .pdb file included. http://dl.dropbox.com/u/16282309/MPC-HC/pdb/index.html I hope you find them useful for freeze reports
Great - thanks!

Quote:
Originally Posted by 703 View Post
Fair enough, an option for all videos would be great, that basically overrides the best guess logic.
Ok, will add that to my to do list.

Quote:
Originally Posted by 703 View Post
The matrix is stored in the container, but not necessary the stream.
Then you could try to convince the splitter dev to add support for that. nevcairiel seems to be reluctant about this, though.

@Pat357, could you please reproduce the freeze with kasper93's debug MPC-HC build? (Make sure you don't delete the pdb file.) A freeze report with that MPC-HC build might help figuring out why exactly MPC-HC is trying to create a D3D device. Thx.
madshi is offline   Reply With Quote
Old 8th March 2012, 10:03   #12666  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,346
Quote:
Originally Posted by madshi View Post
Then you could try to convince the splitter dev to add support for that. nevcairiel seems to be reluctant about this, though.
Not so much reluctant, just not sure its worth it. For one, i don't even know which containers can hold such information. MKV cannot. I suppose MP4 might hide a atom for this somewhere in its bowels, but so far i couldn't find it.

If someone can find a file that really contains such information, i can try to look into it, but otherwise, i have nothing to go on.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 8th March 2012, 10:08   #12667  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Yeah, without a sample it doesn't make sense to look into it any further. So, 703, here's your chance...
madshi is offline   Reply With Quote
Old 8th March 2012, 10:16   #12668  |  Link
aufkrawall
Registered User
 
Join Date: Dec 2011
Posts: 1,812
You're really putting great efforts into your renderer, madshi. Thanks for this, depending on the situation, its result looks much better than others.

Since it isn't under GPL, do you have any future plans with it?
aufkrawall is offline   Reply With Quote
Old 8th March 2012, 10:18   #12669  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Quote:
Originally Posted by aufkrawall View Post
Since it isn't under GPL, do you have any future plans with it?
What do you mean?
madshi is offline   Reply With Quote
Old 8th March 2012, 10:55   #12670  |  Link
cyberbeing
Broadband Junkie
 
Join Date: Oct 2005
Posts: 1,859
Freeze displaying a vertically stretched video frame when entering Fullscreen from Desktop (windowed).
http://www.mediafire.com/?i2b9vffj15uop98
Note: Generating the freeze report with CTRL+SHIFT+ALT+BREAK kicked madVR back to Desktop (windowed) in a paused, unfrozen state.
I don't believe Fullscreen (exclusive) ever had a chance to kick in before the freeze happened.
cyberbeing is offline   Reply With Quote
Old 8th March 2012, 11:01   #12671  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Quote:
Originally Posted by cyberbeing View Post
Freeze displaying a vertically stretched video frame when entering Fullscreen from Desktop (windowed).
http://www.mediafire.com/?i2b9vffj15uop98
Note: Generating the freeze report with CTRL+SHIFT+ALT+BREAK kicked madVR back to Desktop (windowed) in a paused, unfrozen state.
I don't believe Fullscreen (exclusive) ever had a chance to kick in before the freeze happened.
This doesn't really look like a real freeze. Was MPC-HC totally unresponsive, with no reaction to your mouse and keyboard input? I rather guess this is a case of MPC-HC being ok, but madVR maybe failing to render? If so, a freeze report won't help. A debug log might. Can you reproduce the problem at will? Does it occur only with a specific video file or with all video files? Is there any way for me to reproduce it on my PC?
madshi is offline   Reply With Quote
Old 8th March 2012, 12:54   #12672  |  Link
aufkrawall
Registered User
 
Join Date: Dec 2011
Posts: 1,812
Quote:
Originally Posted by madshi View Post
What do you mean?
Once it reaches plenty feature-completeness, maybe some companies could get interested in using it in their own solutions.
Please don't sell it or keep it free.

Just some weird kind of musing...
aufkrawall is offline   Reply With Quote
Old 8th March 2012, 15:20   #12673  |  Link
dansrfe
Registered User
 
Join Date: Jan 2009
Posts: 1,210
Quote:
Originally Posted by aufkrawall View Post
Once it reaches plenty feature-completeness, maybe some companies could get interested in using it in their own solutions.
Please don't sell it or keep it free.

Just some weird kind of musing...
I'm sure 'some companies' would be interested madVR from a while back. There's not a renderer with this efficiency in the consumer market. I can't speak for the professional/enterprise video software market since I don't know but if I were to venture a guess then I'm sure they are as well.
dansrfe is offline   Reply With Quote
Old 8th March 2012, 20:31   #12674  |  Link
cyberbeing
Broadband Junkie
 
Join Date: Oct 2005
Posts: 1,859
Quote:
Originally Posted by madshi View Post
This doesn't really look like a real freeze. Was MPC-HC totally unresponsive, with no reaction to your mouse and keyboard input? I rather guess this is a case of MPC-HC being ok, but madVR maybe failing to render? If so, a freeze report won't help. A debug log might. Can you reproduce the problem at will? Does it occur only with a specific video file or with all video files? Is there any way for me to reproduce it on my PC?
MPC-HC was totally unresponsive to mouse and keyboard (didn't try alt-tabbing but I now suspect that may have fixed it, since the freeze report did), but the process wasn't being detected as hung by Windows as far I can tell. It does feel like madVR failed to render, considering it hung with the image stretched to fullscreen (1680x1050) before being corrected to 16:9. If it matters, I also have madVR set to instantly enter fullscreen exclusive rather than wait 3 seconds, yet madVR hung while still in fullscreen windowed mode, half-way through resizing.

I'm unable to reproduce the problem at will, it doesn't appear linked to any particular video, and I've not discovered any easy way to reproduce the issue. I've seen this happen before, but it's rare, maybe once a month or less... I'll try running madVR debug constantly for awhile, and hope I get lucky enough to catch it sometime soon.
cyberbeing is offline   Reply With Quote
Old 8th March 2012, 22:30   #12675  |  Link
xv
Registered User
 
Join Date: Mar 2010
Posts: 98
I noticed that there are some color problems with YCgCo matrix. The difference is not huge and often not noticeable if you donīt know how it should look like.
Could you please look into that? I can provide an YCgCo example if you tell me what source I should encode.
xv is offline   Reply With Quote
Old 8th March 2012, 22:54   #12676  |  Link
mark0077
Registered User
 
Join Date: Apr 2008
Posts: 1,106
Hi madshi, I got a freeze today in mpc-hc 4130 + madVR v0.82.4

Maybe its the same problem as you have mentioned to Aleksoid in the mpc thread, maybe not. Its attached below incase its useful. It seemed fairly random. I had mpc-hc in windowed mode and had seeked through a vob from a DVD about 30 seconds earlier to find a particular scene. The scene played for about 30 seconds as I say but then the video image froze on one frame, mpc-hc was responding to mouse clicks and audio was continuing to play fine so I seeked again and mpc-hc froze up completely then and blue Windows 7 icon started spinning so I took the report below.

http://www.mediafire.com/?zwh6nwnawvqc1yh
mark0077 is offline   Reply With Quote
Old 9th March 2012, 00:37   #12677  |  Link
Pat357
Registered User
 
Join Date: Jun 2006
Posts: 452
Quote:
Originally Posted by madshi View Post
Ctrl+Alt+Shift+Break already does that. It creates a freeze report *and* disables FSE mode. Of course if the process is already frozen, there's a certain chance no key combo will work, anymore.
If I understood you correct from before, the key-handling and some other stuff run in a separate thread, .. is this correct ?
Maybe you could, not sure if it's possible, run his in a complete separate process ?
Of course this would require some data to be changed out between the processes, but at least the separate process could create the report with the latest data has it received from the now "frozen" process.
Quote:
I'm not sure exactly what you mean. In what way do your wishes differ from what madVR is currently doing/offering? Do you have problems with madVR's IVTC algorithm not working correctly?
If I set "force deinterlacing" in LAV-video, the decoder will send these "frame based" flags to ask the renderer to almost
"unconditionally" deinterlace to whole stream without questions asked. (EVR will "obey" these flags)
This doesn't seem to work that way ATM with MadVR.
The other options in Lav-video like "agressive deinterlacing" and "thread as progressive" (never deinterlace) seem also not to work as intented with Madvr.
Quote:
Does it not work even if you press that key combo while MPC-HC is *not* frozen? It works for me in that situation.
It works perfect under normal conditions, but than we don't need it
Quote:
Good to hear. So Pat357's freeze must have a somewhat different cause.
It's everytime I try to open a M4A file while MadVR is in FSE mode.
Like I said before, normally you can't switch MPC in full screen when playing audio... I think it has (maybe indirectly) to do with this.
Something along : "if I (MPC-HC) am in full screen mode, I have to create a new D3Ddevice..."
Following the MPC logic, "it must be a video file, because I can't be in "full screen" with audio files.... "
Quote:
@Pat357, could you please reproduce the freeze with kasper93's debug MPC-HC build? (Make sure you don't delete the pdb file.) A freeze report with that MPC-HC build might help figuring out why exactly MPC-HC is trying to create a D3D device. Thx.
Done.
See http://www.mediafire.com/?v88ii8owp1oqppx

Last edited by Pat357; 9th March 2012 at 00:41.
Pat357 is offline   Reply With Quote
Old 9th March 2012, 03:21   #12678  |  Link
kerman
Registered User
 
Join Date: Feb 2008
Posts: 46
I have on madVR on display properties "TV levels" (16-235) when conecting to my tv to avoid conversions and scaling and to match source native levels.

Now, Im looking to be safe avoiding any conversion. Should I select on AMD CCC on Pixel Format, output to Limited RGB or Full RGB?
kerman is offline   Reply With Quote
Old 9th March 2012, 05:14   #12679  |  Link
robpdotcom
Registered User
 
Join Date: Jan 2010
Posts: 297
In windowed mode > toggle video/film mode > enter FSE > madVR will not change refresh rate.

In FSE > toggle video/film mode > madVR changes refresh rate > freeze

Freeze report:
http://www.mediafire.com/?r3pjxkdpmt6rfe4

One thing I noticed: When in FSE, after the freeze, CTRL+ALT+SHIFT+T still changes refresh rate, but nothing else seems to respond.
__________________
Windows 7 x64
i7 870
16GB RAM
AMD 6870

Last edited by robpdotcom; 9th March 2012 at 05:18.
robpdotcom is offline   Reply With Quote
Old 9th March 2012, 06:02   #12680  |  Link
QBhd
QB the Slayer
 
QBhd's Avatar
 
Join Date: Feb 2011
Location: Toronto
Posts: 697
Quote:
Originally Posted by kerman View Post
I have on madVR on display properties "TV levels" (16-235) when conecting to my tv to avoid conversions and scaling and to match source native levels.

Now, Im looking to be safe avoiding any conversion. Should I select on AMD CCC on Pixel Format, output to Limited RGB or Full RGB?
Everything up to madVR in your playback chain should be set to "TV Levels"/"Limited" (16-235)... then madVR should be set to "PC Levels"/"Full" (0-255), your GPU should be set to this also, as well as your TV for best results. From what I understand, doing level conversion on the GPU is not something that should be done.

However, if your TV does not support 0-255 then you only need to change madVR's levels to 16-235, NOT your GPU's levels (these should always stay on "PC Levels"/"Full")

QB
__________________
QBhd is offline   Reply With Quote
Reply

Tags
direct compute, dithering, error diffusion, madvr, ngu, nnedi3, quality, renderer, scaling, uhd upscaling, upsampling

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 01:15.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.