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. |
![]() |
#41 | Link | |
Registered User
Join Date: Jun 2002
Posts: 38
|
Quote:
Steve56 |
|
![]() |
![]() |
![]() |
#43 | Link |
Super Moderator
![]() Join Date: Nov 2001
Location: Netherlands
Posts: 6,370
|
1) That info is also available in 'DGMPEGDec 1.0.13 beta 11'. Using
mpeg2source(info=true) 2) Use latest beta of GSpot and look in the upper right corner. In the video section, the five boxes next to NVOP. The fives boxes are from left to right: 1) I709 (= Rec.709 coefficients) 2) FCC (almost the same as Rec.601) 3) I470 (= Rec.601 coefficients [an updated version of Rec.470-6, but coefficients are exactly the same]) 4) S170 (= SMPTE 170M; exactly the same as Rec.601) 5) S240 (= SMPTE 240M; almost the same as Rec.709) see table 6-9 page 56 of http://le-hacker.org/hacks/mpeg-drafts/is138182.pdf If the boxes remain "black" then the used coefficients are not present in the header, and the default (which is Rec.709) should be assumed. I hope it's clear now ![]() Last edited by Wilbert; 17th January 2005 at 21:33. |
![]() |
![]() |
![]() |
#45 | Link |
Registered User
Join Date: Dec 2003
Location: MO, US
Posts: 999
|
Wilbert, is the source included in the zip linked to at the beginning of this thread the latest? I tried doing some simple optimization and got it running about 40% faster (about 210fps vs 145fps in YV12 on my comp) still with plain c code, but I'm wondering about a few things looking through it... in the constructor it checks mode against "Rec.709->Rec.601" and "Rec.601->Rec.709", yet in the main part it checks mode against "mpeg2->mpeg1" is this intended? In the YV12 mpeg1->mpeg2 it uses the "21" conversions and not the "12" conversions, but in the YUY2 code the mpeg1->mpeg2 does use the "12" conversions? Also, could you tell me or point me to a source that has the numbers for how the coefficients used were derived? I'm just curious, I tried to calculate them myself using coefficients from a few different websites, but they never work out to be exactly the same (usually off by 20-40 after multiplying by 65536). Thanks in advance.
Hm, must be because: mpeg2source() clip1 = last.colormatrix(mode="rec.601->rec.709") clip2 = last.colormatrix(mode="rec.709->rec.601") subtract(clip1,clip2) coloryuv(analyze=true) shows both clips to be identical ![]() Last edited by tritical; 28th January 2005 at 20:15. |
![]() |
![]() |
![]() |
#46 | Link | |||
Super Moderator
![]() Join Date: Nov 2001
Location: Netherlands
Posts: 6,370
|
Quote:
![]() Quote:
Btw, some websites use slightly different coefficients, perhaps that could be the problem. Quote:
|
|||
![]() |
![]() |
![]() |
#47 | Link | |
Registered User
Join Date: Jul 2003
Location: Connecticut
Posts: 99
|
Quote:
Other than speed, any advantage to using ColorMatrix over BT709ToBT601? North |
|
![]() |
![]() |
![]() |
#49 | Link | |
Pig on the wing
Join Date: Mar 2002
Location: Finland
Posts: 5,812
|
Quote:
__________________
And if the band you're in starts playing different tunes I'll see you on the dark side of the Moon... |
|
![]() |
![]() |
![]() |
#50 | Link | |
Super Moderator
![]() Join Date: Nov 2001
Location: Netherlands
Posts: 6,370
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#51 | Link | ||
Registered User
Join Date: Dec 2003
Location: MO, US
Posts: 999
|
Quote:
![]() Quote:
Last edited by tritical; 30th January 2005 at 20:45. |
||
![]() |
![]() |
![]() |
#53 | Link | |
Registered User
Join Date: Apr 2002
Location: Germany
Posts: 5,392
|
Quote:
![]() edit: forgot to say: Great work, thank you!
__________________
- We´re at the beginning of the end of mankind´s childhood - My little flickr gallery. (Yes indeed, I do have hobbies other than digital video!) |
|
![]() |
![]() |
![]() |
#54 | Link | |
Super Moderator
![]() Join Date: Nov 2001
Location: Netherlands
Posts: 6,370
|
Quote:
|
|
![]() |
![]() |
![]() |
#57 | Link |
I'm afraid we've to stop
Join Date: Mar 2003
Location: Amongst mad people
Posts: 5,398
|
Can this filter safely be used after resizing (for speed reasons) or better to put it before?
__________________
Gordian Knot Family: Gordian Knot: website, download Auto Gordian Knot: Website and download, tutorial, FAQ |
![]() |
![]() |
![]() |
#58 | Link |
I'm afraid we've to stop
Join Date: Mar 2003
Location: Amongst mad people
Posts: 5,398
|
I just grabbed a bunch of DVDs I have at hand and actually only 50% of them are using default mpeg2 coefficients. There are considerable number of them that uses s170 and i470. Also I had one that uses FCC. So I guess its no good to just apply this filter to any DVD you have.
P.S. Is it possible to write a filter that returns coefficient type, so that conditional usage of ColorMatrix is possible?
__________________
Gordian Knot Family: Gordian Knot: website, download Auto Gordian Knot: Website and download, tutorial, FAQ Last edited by len0x; 30th January 2005 at 23:45. |
![]() |
![]() |
![]() |
#59 | Link | |
Registered User
Join Date: Apr 2002
Location: Germany
Posts: 5,392
|
Quote:
interleave(last.colormatrix(mmx=false),last.colormatrix(mmx=true)) Step back and forth, and tell me you see no difference. ![]() edited stupidity ... grrr!
__________________
- We´re at the beginning of the end of mankind´s childhood - My little flickr gallery. (Yes indeed, I do have hobbies other than digital video!) Last edited by Didée; 31st January 2005 at 00:23. |
|
![]() |
![]() |
![]() |
#60 | Link |
Registered User
Join Date: Dec 2003
Location: MO, US
Posts: 999
|
What about having dgdecode set a global variable colormatrix could read? To make it multi instance compatible the name would need to depend on the d2v file, so colormatrix would need the name of the d2v file as input as well. Good or bad idea?
Wouldn't it be: interleave(last.colormatrix(mmx=false),last.colormatrix(mmx=true)) for Wilbert's point ![]() Last edited by tritical; 31st January 2005 at 00:09. |
![]() |
![]() |
![]() |
Tags |
colormatrix |
Thread Tools | Search this Thread |
Display Modes | |
|
|