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. |
8th February 2005, 01:42 | #81 | Link |
Guest
Join Date: Jan 2002
Posts: 21,901
|
Cool, tritical. Just wanted to remind people that they need DGMPGDec 1.2.0 RC2 and that they need to have info=2 on the MPEG2Source() invocation to generate the hints.
The interlaced/progressive hint just follows the pf bit, so if a frame is pulled down, it may not be accurate. I'm not sure how useful that hint is in a following filter. In Decomb it means something else. Last edited by Guest; 8th February 2005 at 01:44. |
8th February 2005, 04:25 | #83 | Link |
Registered User
Join Date: Dec 2003
Location: MO, US
Posts: 999
|
Yep, I was wondering about the useability of the progressive/interlaced hint from dgdecode if the stream has rff flags. Anyways, the version I put up doesn't check that bit atm (just the colorimetry)... so the interlaced setting needs to be set manually. In fact, whether or not the stream is interlaced only matters for yv12... if the input is yuy2 then it doesn't make a difference and interlaced can be set to false regardless.
|
8th February 2005, 10:26 | #84 | Link | ||
Moderator
Join Date: Nov 2001
Location: Netherlands
Posts: 6,364
|
Quote:
Quote:
|
||
8th February 2005, 11:38 | #85 | Link |
I'm afraid we've to stop
Join Date: Mar 2003
Location: Amongst mad people
Posts: 5,398
|
Great! Will try that one asap (not that I need hints, but more accurate mmx routine is always welcomed)
__________________
Gordian Knot Family: Gordian Knot: website, download Auto Gordian Knot: Website and download, tutorial, FAQ |
8th February 2005, 17:46 | #86 | Link |
I'm afraid we've to stop
Join Date: Mar 2003
Location: Amongst mad people
Posts: 5,398
|
@tritical
I've done some tests and your new version seems to be faster when not using MMX comparing to the official 1.7. Did you change anything in C code?
__________________
Gordian Knot Family: Gordian Knot: website, download Auto Gordian Knot: Website and download, tutorial, FAQ |
8th February 2005, 22:19 | #87 | Link |
Moderator
Join Date: Nov 2001
Location: Netherlands
Posts: 6,364
|
@tritical
Code:
Mpeg2source("F:\TestStreams\avs\AguileraGrammies.d2v",info=3) # Rec.709 ColorMatrix(debug=true) Code:
Mpeg2source("F:\TestStreams\avs\AguileraGrammies.d2v",info=1) |
9th February 2005, 04:08 | #88 | Link | ||
Registered User
Join Date: Dec 2003
Location: MO, US
Posts: 999
|
Hm, should have said it was the simple/plain kind of debug output, via OutputDebugString(). It doesn't write any text on the frames or anything fancy. The OutputDebugString output is working for me here, if its not working for you not sure what's up.
Quote:
Quote:
|
||
9th February 2005, 07:16 | #89 | Link |
EphMan
Join Date: May 2004
Posts: 737
|
I am quite scrambled in the brain when it comes to fully understanding this awesome ColorMatrix Plugin. I read all the posts twice now. Can someone clear it all up for me please?
I have an XviD that came from an HDTV Source. I want to re-encode it to DVD. The GSpot Beta doesn't tell me what coefficients are used. Below is the script I'm working on. I'd appreciate it if someone could tell me if it's correct, and if it needs some changes :-) . Video = Trim(AVISource("C:\Documents and Settings\Blank\Desktop\savages.avi"),0,1433).FadeIn(25).FadeOut(12) Blank = BlankClip(Video).Trim(0,59).Amplify(0.0) AlignedSplice(Blank,Video,Blank) EnsureVBRMP3Sync() BlindPP() ColorYUV(Levels="PC->TV") ColorMatrix(mode="Rec.709->Rec.601") LimitedSharpen() LanczosResize(720,480) UnDot() Here's a sample of the video as well: http://users.adelphia.net/~l337/hdtv-xvid-sample.avi |
9th February 2005, 10:18 | #90 | Link | ||
Moderator
Join Date: Nov 2001
Location: Netherlands
Posts: 6,364
|
Quote:
Quote:
2) What encoder do you use to make this dvd? |
||
9th February 2005, 10:22 | #91 | Link | ||
EphMan
Join Date: May 2004
Posts: 737
|
Quote:
Quote:
Did my avi sample provide any help at all in determining the coefficients? |
||
9th February 2005, 10:34 | #92 | Link | |
Moderator
Join Date: Nov 2001
Location: Netherlands
Posts: 6,364
|
Quote:
QuEnc -> fcc coefficients ~ Rec.601 coefficients, CCE -> nothing = Rec.709 coefficients. So assuming Rec.601 are the correct coefficients for your avi: 1) QuEnc: don't need to use ColorMatrix 2) CCE: ColorMatrix(mode="Rec.601->Rec.709") I hope it's a bit clear |
|
9th February 2005, 15:26 | #93 | Link | |
I'm afraid we've to stop
Join Date: Mar 2003
Location: Amongst mad people
Posts: 5,398
|
Quote:
__________________
Gordian Knot Family: Gordian Knot: website, download Auto Gordian Knot: Website and download, tutorial, FAQ |
|
9th February 2005, 20:15 | #94 | Link | |
Registered User
Join Date: Dec 2003
Location: MO, US
Posts: 999
|
Quote:
However, since the d2v now has the colorimetry info, it might make since for colormatrix to have a d2v="" option and to be able to get the info from there instead. That would be faster and the filter could be placed anywhere in the filter chain. That's assuming the colorimetry is the same throughout the clip. |
|
9th February 2005, 21:01 | #96 | Link | |
Moderator
Join Date: Nov 2001
Location: Netherlands
Posts: 6,364
|
Quote:
A small request though I think it's a good idea if hints=true gives an error when there are no hints. In case the user is using a wrong dvd2avi/mpeg2dec3 version without knowning or realizing that. |
|
9th February 2005, 21:03 | #97 | Link | |
Moderator
Join Date: Nov 2001
Location: Netherlands
Posts: 6,364
|
Quote:
|
|
11th February 2005, 00:45 | #99 | Link |
Registered User
Join Date: Dec 2003
Location: MO, US
Posts: 999
|
Updated the zip file linked to in my earlier post. Changes include: hints now defaults to false, it throws an error when no hints are detected in the stream when using hints=true, debug output was expanded, added d2v="" option to read the colorimetry info from a d2v file (you can't use both d2v and hints at the same time, only one or the other), if the d2v has multiple types of colorimetry info then it throws an error and on d2v's that have no colorimetry or are not dgindex project files v07 or higher it throws an error. Quick example:
colormatrix(d2v="myd2v.d2v") |
11th February 2005, 04:17 | #100 | Link | |
Registered User
Join Date: Feb 2002
Posts: 208
|
Uggh, I can't stand the look of this filter's output... seems as though black levels are messed up, or something (maybe that looks good on a TV set, but IMO not a PC monitor). Instead, I add something like this if movies look too dark:
Tweak(0.0,1.0,10.0) Does the trick for me every time. Edit -- Quote:
P.S. if Colormatrix filter always clamps to TV standards, how is this "correcting" any picture? If unnecessary, reducing a dynamic range is not an error correction -- rather, it's introducing error. I wouldn't highpass my music files at 80Hz and lowpass at 16KHz without any reason, so why this? Last edited by fewtch; 11th February 2005 at 04:40. |
|
Tags |
colormatrix |
|
|