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 > Capturing and Editing Video > DV

Reply
 
Thread Tools Search this Thread Display Modes
Old 12th December 2004, 07:54   #61  |  Link
scharfis_brain
brainless
 
scharfis_brain's Avatar
 
Join Date: Mar 2003
Location: Germany
Posts: 3,653
no! you should have read the AVISynth documentation.

FixBrokenChromaUpsampling() will correct a progressively upsampled to interlaced upsampling. But that is NOT the case with the canopus decoder. it upsamples correctly in relation with interlacing.
__________________
Don't forget the 'c'!

Don't PM me for technical support, please.
scharfis_brain is offline   Reply With Quote
Old 12th December 2004, 10:28   #62  |  Link
henryho_hk
Registered User
 
Join Date: Mar 2004
Posts: 889
Quote:
Originally posted by scharfis_brain
But that is NOT the case with the canopus decoder. it upsamples correctly in relation with interlacing.
I am referring to ScrollLock's sticky thread DV decoder differences.

From your advice, as my target is YV12 (MPEG1 or WMV actually), I think I should either:

1) grab the YVY2 output of Canopus and then point-sample (reducetoyv12) it to YV12; or

2) try the YV12 output of ffdshow's VFW module.

I am particularly interested if ffdshow will deliver both PAL and NTSC outputs correctly.

Last edited by henryho_hk; 12th December 2004 at 12:37.
henryho_hk is offline   Reply With Quote
Old 12th December 2004, 14:56   #63  |  Link
scharfis_brain
brainless
 
scharfis_brain's Avatar
 
Join Date: Mar 2003
Location: Germany
Posts: 3,653
if your chroma look coarse interlaced instead of being fine combed, you will need fixbrokenchromaupsampling().
otherwise you won't need it.

my canopus decoder is working correctly!

PAL can be used with ffdshow's YV12 output.

but for NTSC it is a mess, cause it puts out the 4:1:1 samples chroma as YV12 data, which is handled by AVISynth as 4:2:0 sampled chroma.

Just use normal NTSC-DV decoding as it is.
maybe use reinterpolate411() afterwards.
you will not gain anything by working with YV12 output here.
__________________
Don't forget the 'c'!

Don't PM me for technical support, please.

Last edited by scharfis_brain; 12th December 2004 at 14:59.
scharfis_brain is offline   Reply With Quote
Old 12th December 2004, 15:54   #64  |  Link
Wilbert
Moderator
 
Join Date: Nov 2001
Location: Netherlands
Posts: 6,364
@scharfis_brain

Quote:
Natural video is not that suited for checking for half pel chroma displacements, I think.
So I came to that (probably wrong) conclusion that DV Cams are building conventional YV12.
I disagree. But, perhaps it differs by DV codec. Let's consider MainConcept, and look at the following script

Code:
function translation(clip clip, clip "LClip", int "start_frame", int "beginX", int "beginY", int "end_frame", 
  \  int "endX", int "endY") {
  return Animate(start_frame, end_frame, "layer", clip, LClip, "Add", 255, beginX, beginY, 
    \  clip, LClip, "Add", 255, endX, endY)
}


c = BlankClip(width=720,height=576,pixel_type="YUY2")
c2 = ImageSource("F:\411_vs_420\1-720-pal.bmp",0,250,25,false).ConvertToYUY2()

ct = translation(c, c2, 0, 0, 0, 99, 720, 288)
cf = ct.SeparateFields.SelectEven
cf.Weave
AssumeFPS(25)
c1 = last.KillAudio

c2 = DirectShowSource("F:\411_vs_420\mc_int.avi", fps=25)  # interlaced YV12
#ConvertToYUY2(interlaced=true)
c1 = c1.ConvertToYV12(interlaced=true)

#Subtract(c1,c2)
StackVertical(c1,c2)
1) picture: http://www.geocities.com/wilbertdijkhof/pal.zip
2) mc_int.avi is the script (forming the clip "c1") encoded with MainConcept (also in pal.zip).

If mc_int.avi would have been upsampled to YV12 using MPEG-2 sampling, the clips c1 and c2 would be identical. As you can see, they are not.
Wilbert is offline   Reply With Quote
Old 13th December 2004, 17:59   #65  |  Link
ixpi2001
Registered User
 
Join Date: May 2002
Posts: 38
sorry to intefere in your discussion.. i wonder if there is a possibility to only display one of the color channels a time. not in interpolated fullscreened size, but with ie the red pixels in just the position they are stored:
l1:x x x
l2: blank
l3:x x x
would be interesting to see, dont you think?
ixpi2001 is offline   Reply With Quote
Old 14th December 2004, 01:07   #66  |  Link
henryho_hk
Registered User
 
Join Date: Mar 2004
Posts: 889
Quote:
Originally posted by ixpi2001
i wonder if there is a possibility to only display one of the color channels a time.
I have a shot that a man in a grey suit is moving in front of a red background. I think it help beginners like me to see how interpolate420() and fixbrokenchromaupsampling() works.

Is the following script correct?
<<deleted>>

Last edited by henryho_hk; 6th September 2005 at 16:13.
henryho_hk is offline   Reply With Quote
Old 23rd June 2005, 19:57   #67  |  Link
Video Dude
Senior Member
 
Join Date: Apr 2004
Posts: 1,053
Sorry for the late reply, but better late then never.

Its not a question of which better, but which format you use, PAL or NTSC, which depends on what county you live in.

Yes, I would recommend using the ReInterpolate411 filter if you are encoding NTSC DV into MPEG-2. It does a great job.
Video Dude is offline   Reply With Quote
Old 27th August 2005, 17:24   #68  |  Link
FredThompson
Registered User
 
FredThompson's Avatar
 
Join Date: Feb 2002
Location: Charlotte, NC USA
Posts: 1,984
Quote:
Originally Posted by henryho_hk
I have a shot that a man in a grey suit is moving in front of a red background. I think it help beginners like me to see how interpolate420() and fixbrokenchromaupsampling() works.
Post your screenshots.
__________________
Reclusive fart.
Collecting Military, Trains, Cooking, Woodworking, Fighting Illini, Auburn Tigers
FredThompson is offline   Reply With Quote
Old 6th September 2005, 11:17   #69  |  Link
Wilbert
Moderator
 
Join Date: Nov 2001
Location: Netherlands
Posts: 6,364
Still waiting for your screenshots

edit: oops sorry

Quote:
# ffdshow
m_dvsd_yuy2=avisource("p3.avi",pixel_type="YUY2",fourcc="dvsd")
m_dvsd_yv12=avisource("p3.avi",pixel_type="YV12",fourcc="dvsd")
This can't be the DV codec which comes with ffdshow. The latter is a DirectShow based codec which can only be accessed by DirectShowSource. But perhaps i'm missing something
Wilbert is offline   Reply With Quote
Old 6th September 2005, 12:57   #70  |  Link
henryho_hk
Registered User
 
Join Date: Mar 2004
Posts: 889
Quote:
Originally Posted by Wilbert
This can't be the DV codec which comes with ffdshow. The latter is a DirectShow based codec which can only be accessed by DirectShowSource.
There is no vidc.dvsd setting in my registry but I've enabled ffdshow's DV decoding in its VFW & DS decoder. I do have a set of png files made by directshowsource but the forum does not allow me to post them (since they are identical to the dvsd vfw files).
henryho_hk is offline   Reply With Quote
Old 6th September 2005, 17:23   #71  |  Link
FredThompson
Registered User
 
FredThompson's Avatar
 
Join Date: Feb 2002
Location: Charlotte, NC USA
Posts: 1,984
You might also want to test the MainConcept and Ulead (Sony) codecs.
__________________
Reclusive fart.
Collecting Military, Trains, Cooking, Woodworking, Fighting Illini, Auburn Tigers
FredThompson is offline   Reply With Quote
Old 8th September 2005, 07:05   #72  |  Link
henryho_hk
Registered User
 
Join Date: Mar 2004
Posts: 889
Quote:
Originally Posted by Wilbert
Still waiting for your screenshots
They seem a bit off-topic. I have moved them to the thread "DV decoder differences - update".
henryho_hk is offline   Reply With Quote
Old 21st July 2006, 23:44   #73  |  Link
Fizick
AviSynth plugger
 
Fizick's Avatar
 
Join Date: Nov 2003
Location: Russia
Posts: 2,183
I updated ReInterpolate420 plugin a little:

v3, 22 July 2006 -
color tint decreasing in progressive mode;
speed increasing in both modes by integer processing
__________________
My Avisynth plugins are now at http://avisynth.org.ru and mirror at http://avisynth.nl/users/fizick
I usually do not provide a technical support in private messages.

Last edited by Fizick; 25th July 2006 at 21:34.
Fizick is offline   Reply With Quote
Old 21st June 2021, 17:03   #74  |  Link
romangal
Registered User
 
Join Date: Aug 2019
Posts: 18
So, now i m trying to use Canopus Dv codec 4.60 from Grass Valley Codec Option package. And im confused about necessary of using Reinterpolate420. Because last testing was done for Canopus DV 1.0.0.0. I made testing by myself with last canopus version but cant understand if its needed...sorry.

P.S. So for now i see. With new version of canopud DV (4.60) You dont need to use FixBrokenChromaUpsampling, but its preferable to use Reinterpolate420. Correct me please if i made wrong conclusion.

Last edited by romangal; 21st June 2021 at 18:34.
romangal is offline   Reply With Quote
Reply

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 19:51.


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