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. |
6th December 2005, 12:52 | #1 | Link |
Learning...
Join Date: Nov 2005
Location: 12.97°N, 77.56°E
Posts: 135
|
Fix colour streaks
It looks like an interlaced frame, but it is not. Only some parts have red colour sticking out as sharp lines.
Performing a deinterlace doesn't help. Is there any filter to fix it ? The avi clip is here |
6th December 2005, 13:26 | #2 | Link |
Huh?
Join Date: Sep 2003
Location: Uruguay
Posts: 3,103
|
Looks like a color sampling issue, try using ConvertToYV12() or ConvertToYV12(interlaced=true) at the beginning of your script.
__________________
Read Decomb's readmes and tutorials, the IVTC tutorial and the capture guide in order to learn about combing and how to deal with it. |
6th December 2005, 13:29 | #3 | Link |
Registered User
Join Date: Apr 2002
Location: Germany
Posts: 5,391
|
"MergeChroma( blur(0,1) )" will help for sure ...
__________________
- 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!) |
6th December 2005, 13:36 | #4 | Link |
Huh?
Join Date: Sep 2003
Location: Uruguay
Posts: 3,103
|
What is it with you second guessing my latest posts?
__________________
Read Decomb's readmes and tutorials, the IVTC tutorial and the capture guide in order to learn about combing and how to deal with it. |
6th December 2005, 14:16 | #5 | Link | |
Learning...
Join Date: Nov 2005
Location: 12.97°N, 77.56°E
Posts: 135
|
Quote:
Will try MergeChroma. |
|
6th December 2005, 14:57 | #6 | Link |
Moderator
Join Date: Nov 2001
Location: Netherlands
Posts: 6,364
|
Before you do that. I don't know how you created the screenshot (and which codec you used for decoding), but try to open it with Cedocida DV Codec first (as YV12),
Code:
AviSource(...) ConvertToRGB32(interlaced=true) # or false if it is progressive I will look at the avi when i'm home. |
6th December 2005, 16:40 | #7 | Link | |
Learning...
Join Date: Nov 2005
Location: 12.97°N, 77.56°E
Posts: 135
|
Quote:
But it looks the same with Avisynth serving YV12 to Vdub. I was applying some filters to clean up the source and thought the colour streaks were because of some filter wrongly applied. Then I opened the avi in Vdub directly and took a screenshot. Will try with the ConvertToRGB and post another screenshot if it looks any different. |
|
6th December 2005, 17:15 | #8 | Link | |
Moderator
Join Date: Nov 2001
Location: Netherlands
Posts: 6,364
|
Quote:
|
|
7th December 2005, 08:24 | #9 | Link |
Learning...
Join Date: Nov 2005
Location: 12.97°N, 77.56°E
Posts: 135
|
@Wilbert: ConvertToRGB32(interlaced=true) did make it a little better but didn't fix it (don't have a screenshot). But i'm not convinced about the source being interlaced. If the source is processed with TDeint(), the preview in Vdub shows the streaks as broken dashes. I have another partial capture of the same broadcast from a different channel which is interlaced for sure - almost every scene has combing.
But take a look at these. Frame 38 of the clip with different sampling options in Cedocida. Vdub direct Frameserved/AviSource (YV12, sampling=DV) Frameserved/AviSource (YV12, sampling=MPEG2 non-int) Frameserved/AviSource (YV12, sampling=MPEG2 int) Framedserved/DirectShowSource (YUY2) Changing the sampling option didn't effect the preview in Vdub when opened directly, but it did effect when frameserving via Avisynth !! Info() says it's YV12 all the time. Sampling option set to MPEG non-interlaced shows the "correct" preview. Does this imply the source is non-interlaced ? Or does Cedocida modify the chroma info in the YV12, so that when Vdub upsamples progressively the preview is correct ? BTW, the effect is amplified if using video overlay in Vdub. Instead of colour streaks, the entire frame appears blocky. (Unfortunately I cannot take a screenshot of it). With MPEG2 non-interlaced sampling the playback is correct. |
8th December 2005, 00:14 | #10 | Link |
Moderator
Join Date: Nov 2001
Location: Netherlands
Posts: 6,364
|
Ok, i looked at it. In my opinion the source is progressive (as you suggest). It seems to me this is also encoded as progressive, but i don't understand how this would be possible. What dv codec did you use for this?
Indeed setting Cedocida to MPEG-2 non-interlaced for decoding gives "correct" output. Thus, the artefacts you saw is the cause of a progressive source being decoded as interlaced. |
8th December 2005, 06:15 | #11 | Link | |
brainless
Join Date: Mar 2003
Location: Germany
Posts: 3,653
|
Quote:
to avoid that, use my motion adaptiv chroma upsampling routines with Tdeint. http://forum.doom9.org/showthread.ph...squeeze+detail DV also supports Progressive encoding. I've seen interlaced cameras, that encode low and nomotion blocks progressive, wjich obviously destroys the chroma for that block, but effectively reduces ringing in allover the image.
__________________
Don't forget the 'c'! Don't PM me for technical support, please. |
|
9th December 2005, 10:56 | #12 | Link | |||
Learning...
Join Date: Nov 2005
Location: 12.97°N, 77.56°E
Posts: 135
|
Quote:
Quote:
yv12toyuy2_laced (Is this similar to autoyuy2 ?) followed by a TDeint() didn't fix it. Besides, I do not need an upsampling since I'm encodig to DivX. Quote:
(a) YV12 sampling=DV / DivX interlace=Progressive Source (b) YV12 sampling=MPEG2 non int / DivX interlace=Progressive Source (c) YV12 sampling=DV / DivX interlace=Preserve interlace (d) YV12 sampling=MPEG2 non int / DivX interlace=Preserve interlace When played in PowerDVD with deinterlacing turned off, (a) was messed up whereas (b), (c) and (d) played back fine. Playback in Vdub however still showed slightly jagged edges in some places. MPEG2 non-interlaced sampling fixes the problem. Finally the author clears it up ! Last edited by ariga; 9th December 2005 at 15:11. |
|||
|
|