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 > Video Encoding > (Auto) Gordian Knot

Reply
 
Thread Tools Search this Thread Display Modes
Old 6th July 2003, 16:19   #1  |  Link
NeZ
Registered User
 
Join Date: Jun 2003
Posts: 11
Something Wrong With The Colors!

Hello.

I have a problem.
I tryed to rip a movie, and the bitrate is on like 900 Kbps, 2 pass, and everything Seems to be good, except one thing.
When it's red color in the movie, it seems to be some "stripes" or how you say, and it just seems very odd that it should be that way.
i don't know how this could of happend, i've done everything the doom9 Gordianknot Guide says... anyways, here's the Log file:

OH! and by the way, some words is in swedish, but i'm sure you'll figure it out.






2003-07-06 02:31:19: Job " 1" started.

o Xvid - First Pass: C:\Documents and Settings\NeZ\Skrivbord\Juice\Juice.avs
o Xvid - Second Pass: C:\Documents and Settings\NeZ\Skrivbord\Juice\Juice.avs
o Mux Audio.
End of Job 2 ( 1).
_______________________________________________________________________________________________________________________

Gordian Knot -
Encoding Job Data:

Type: EncXvid_All
Number: 2
Name: 1
Platform: WinXP (5.1.2600).2

Files:
VirtualDubModExe: C:\Program\GORDIA~1\VirtualDubMod\VirtualDubMod.exe
NandubExe: C:\Program\GORDIA~1\nandub\Nandub.exe
AviFinal: C:\Documents and Settings\NeZ\Skrivbord\Juice\Juice_1.avi
AviMovie: C:\Documents and Settings\NeZ\Skrivbord\Juice\Juice_1_Movie.avi
AviCredits: C:\Documents and Settings\NeZ\Skrivbord\Juice\Juice_1_Credits.avi
MovieFS: C:\Documents and Settings\NeZ\Skrivbord\Juice\Juice.avs
CreditsFS:
Log : C:\Documents and Settings\NeZ\Skrivbord\Juice\Juice_1.log
Stats: C:\Documents and Settings\NeZ\Skrivbord\Juice\Juice_1_1.stats
Ecf : C:\Documents and Settings\NeZ\Skrivbord\Juice\Juice_1.ecf

Options:
Quality/DRF: 0
CreditsStart: 0
UseEcf: 1
CreditsIVTC: 0
CreditsAppend: 0
DeleteInterm.: 0
EnforceBitrate: 0
AntiShit: 0

Calculator:
VideoSize: 622713 kbyte.
Audio1Size: 88765 kbyte.
Audio2Size: 0 kbyte.
Overhead: 5320 kbyte.
AviSize: 716800 kbyte (700 mbyte).
FilesSize: 0 kbyte.
TotalSize: 716800 kbyte (700 mbyte).
Interleaving: vbrmp3
Bitrate: 898 k(=1000)Bits/s
Frames: 136207
FPS: 23.976
Duration: 134:41
Quality: 0.183 bitar/(pixel*frame).
CompCheck3: 0.000 bitar/(pixel*frame).
CompCheck5: 0.396 bitar/(pixel*frame).
Resolution: 608 x 336

Audio 1:
Mode: Just Mux Source File.
SourceFile: C:\Documents and Settings\NeZ\Skrivbord\Juice\Juice AC3 T01 3_2ch 448Kbps DELAY 28ms.mp3
WavFile: C:\Documents and Settings\NeZ\Skrivbord\Juice\Juice AC3 T01 3_2ch 448Kbps DELAY 28ms.wav
Mp3File: C:\Documents and Settings\NeZ\Skrivbord\Juice\Juice AC3 T01 3_2ch 448Kbps DELAY 28ms_1.mp3
Azid:
Lame:
Delay: 28
Interval: 1
Preload: 500
Mux: 1
Recalc: 1
DeleteWav: 1

Audio 2:
none.

02:31:19: Audio 1, determined: 80810 kb
02:31:19: Audio 1, calc: 88765 kb
02:31:19: New Bitrate for Movie = 909 k(=1000)Bits/s

Adding this script to C:\Program\GORDIA~1\VirtualDubMod\LastJob.vcf :

// $job "Xvid - 1:a passet"
// $input "C:\Documents and Settings\NeZ\Skrivbord\Juice\Juice.avs"
// $output "C:\Documents and Settings\NeZ\Skrivbord\Juice\Juice_1_Movie.avi"
// $state 0
// $start_time 0 0
// $end_time 0 0
// $script

VirtualDub.Open("C:\\Documents and Settings\\NeZ\\Skrivbord\\Juice\\Juice.avs",0,0);
VirtualDub.video.SetDepth(24,24);
VirtualDub.video.SetMode(1);
VirtualDub.video.SetFrameRate(0,1);
VirtualDub.video.SetIVTC(0,0,-1,0);
VirtualDub.video.SetRange(0,0);
VirtualDub.video.SetCompression(0x64697678,0,10000,0);
VirtualDub.video.filters.Clear();
VirtualDub.subset.Delete();
VirtualDub.SaveAVI("C:\\Documents and Settings\\NeZ\\Skrivbord\\Juice\\Juice_1_Movie.avi");
VirtualDub.Close();

// $endjob
//
//--------------------------------------------------
// $done

02:31:19: Started Xvid - 1:a passet: C:\Documents and Settings\NeZ\Skrivbord\Juice\Juice.avs
09:19:07: Finished Xvid - 1:a passet: Duration: 6 timmar, 47 minuter, 47 sekunder.
09:19:07: Trying to open Log-file.
09:19:07: Success: Log-file open.
09:19:07: Encoded: 136207 Frames.
09:19:07: Speed: 5.567 Frames per Second.
09:19:07: New target size = 630669 Kb

Adding this script to C:\Program\GORDIA~1\VirtualDubMod\LastJob.vcf :

// $job "Xvid - 2:a passet"
// $input "C:\Documents and Settings\NeZ\Skrivbord\Juice\Juice.avs"
// $output "C:\Documents and Settings\NeZ\Skrivbord\Juice\Juice_1_Movie.avi"
// $state 0
// $start_time 0 0
// $end_time 0 0
// $script

VirtualDub.Open("C:\\Documents and Settings\\NeZ\\Skrivbord\\Juice\\Juice.avs",0,0);
VirtualDub.video.SetDepth(24,24);
VirtualDub.video.SetMode(1);
VirtualDub.video.SetFrameRate(0,1);
VirtualDub.video.SetIVTC(0,0,-1,0);
VirtualDub.video.SetRange(0,0);
VirtualDub.video.SetCompression(0x64697678,0,10000,0);
VirtualDub.video.filters.Clear();
VirtualDub.subset.Delete();
VirtualDub.SaveAVI("C:\\Documents and Settings\\NeZ\\Skrivbord\\Juice\\Juice_1_Movie.avi");
VirtualDub.Close();

// $endjob
//
//--------------------------------------------------
// $done

09:19:07: Started Xvid - 2:a passet: C:\Documents and Settings\NeZ\Skrivbord\Juice\Juice.avs
15:41:13: Finished Xvid - 2:a passet: Duration: 6 timmar, 22 minuter, 5 sekunder.
15:41:13: Speed: 5.941 Frames per Second.

Adding this script to C:\Program\GORDIA~1\VirtualDubMod\LastJob.vcf :

// $job "DivX5 Addera"
// $input "C:\Documents and Settings\NeZ\Skrivbord\Juice\Juice_1_Movie.avi"
// $output "C:\Documents and Settings\NeZ\Skrivbord\Juice\Juice_1.avi"
// $state 0
// $start_time 0 0
// $end_time 0 0
// $script

VirtualDub.Open("C:\\Documents and Settings\\NeZ\\Skrivbord\\Juice\\Juice_1_Movie.avi",0,0);
VirtualDub.RemoveInputStreams();
VirtualDub.stream[0].SetSource("C:\\Documents and Settings\\NeZ\\Skrivbord\\Juice\\Juice AC3 T01 3_2ch 448Kbps DELAY 28ms.mp3",0x00000202,1);
VirtualDub.stream[0].SetMode(0);
VirtualDub.stream[0].SetInterleave(1,500,1,0,28);
VirtualDub.stream[0].SetClipMode(1,1);
VirtualDub.stream[0].SetConversion(0,0,0,0,0);
VirtualDub.stream[0].SetVolume();
VirtualDub.stream[0].SetCompression();
VirtualDub.video.SetDepth(24,24);
VirtualDub.video.SetMode(0);
VirtualDub.video.SetFrameRate(0,1);
VirtualDub.video.SetIVTC(0,0,-1,0);
VirtualDub.video.SetRange(0,0);
VirtualDub.video.SetCompression();
VirtualDub.video.filters.Clear();
VirtualDub.subset.Delete();
VirtualDub.SaveAVI("C:\\Documents and Settings\\NeZ\\Skrivbord\\Juice\\Juice_1.avi");
VirtualDub.Close();

// $endjob
//
//--------------------------------------------------
// $done

15:41:13: Started Muxar Audio.: C:\Documents and Settings\NeZ\Skrivbord\Juice\Juice_1_Movie.avi
15:45:06: Finished Muxar Audio.: Duration: 3 minuter, 52 sekunder.

15:45:06: Done.
15:45:06: Movie = C:\Documents and Settings\NeZ\Skrivbord\Juice\Juice_1.avi
Total Encoding Time: 13 timmar, 13 minuter, 46 sekunder.
2003-07-06 15:45:06: Job " 1" finished.




I would appriciate if someone has a solution to all this...

//NeZ
NeZ is offline   Reply With Quote
Old 7th July 2003, 13:39   #2  |  Link
jggimi
Moderator Emeritus
 
jggimi's Avatar
 
Join Date: Dec 2001
Location: The NW corner of Lake Erie
Posts: 5,555
The only thing I can see in the log file is a low setting for your resolution/bitrate at only 46% of your compressibility test. At that low a b/p*f factor, you may be seeing artifacts.

Another possibility is having your Windows display at 16-bit color. For proper playback, your Windows display needs to set to 24-bit or higher.

Your problem may also be from filter settings in the .avs script, or even in the source. To determine if this is the case, open your Juice.avs script in VdubMod or your favorite AVI player, and see if the scenes that trouble you in your encoded video are in the encoding source. If you see the same thing there, then the problem is either your .avs script or the VOB source. To determine if the trouble is in the source, you can examine the VOBs in VdubMod, DVD2AVI, or a software DVD player.
jggimi is offline   Reply With Quote
Old 7th July 2003, 16:06   #3  |  Link
NeZ
Registered User
 
Join Date: Jun 2003
Posts: 11
Yeah, well, i opened the avs script in WMP, and it sure is the same thing there... but i did what the guide told me to, and i det a compressability test, and it showed like 46 or something, then i watched that little box when i chosed the res. and it came up with no error... and for the avs script, i just did what they said... so i don't know... maybe someone wanna get a sample, an just see what's wrong??

/NeZ
NeZ is offline   Reply With Quote
Old 7th July 2003, 16:45   #4  |  Link
jggimi
Moderator Emeritus
 
jggimi's Avatar
 
Join Date: Dec 2001
Location: The NW corner of Lake Erie
Posts: 5,555
Quote:
...i opened the avs script in WMP, and it sure is the same thing there...
Then it is either your display settings, or the problem is in the source, or one of your AviSynth filters.
Quote:
...and i det a compressability test, and it showed like 46 or something...
This is academic, as the problem exists in the video served to the codec, and what you are seeing is not compression artifacts. But, per Doom9's XviD guide, 40-50% can be acceptable, provided you use B-Frames.
Quote:
...maybe someone wanna get a sample, an just see what's wrong??
As I've described:
  1. First, confirm your display is set to 24-bits or 32-bits of color.
  2. If so, you should confirm whether the problem is in your DVD source or in AviSynth. To determine if the trouble is in the source, you can examine the VOBs in VdubMod, DVD2AVI, or a software DVD player.
  3. If the problem is not in the source, then it is in an AviSynth filter (your .avs script).
jggimi is offline   Reply With Quote
Old 10th July 2003, 06:12   #5  |  Link
Soulhunter
Bored...
 
Soulhunter's Avatar
 
Join Date: Apr 2003
Location: Unknown
Posts: 2,812
Hi NeZ !

I have the same problem like you...
There is an other "older" Thread called "Compression of Red and Dark Orang" you should read...
Heres the adress: > http://forum.doom9.org/showthread.php?threadid=38304 <

Maybe its a help (maybe not...)
So, post back!

Bye
Soulhunter is offline   Reply With Quote
Old 10th July 2003, 13:45   #6  |  Link
jggimi
Moderator Emeritus
 
jggimi's Avatar
 
Join Date: Dec 2001
Location: The NW corner of Lake Erie
Posts: 5,555
@soulhunter:

The thread you refer to has to do with color after encoding; Nez described his problem as one where the problem appears in the frameserved video prior to encoding.

@Nez:

Any update?
jggimi is offline   Reply With Quote
Old 10th July 2003, 21:40   #7  |  Link
Acaila
Retired
 
Acaila's Avatar
 
Join Date: Jan 2002
Location: Netherlands
Posts: 1,529
Actually I believe Soulhunter is correct. Red always end up as a problem with the YV12 colorspace because of the chroma subsampling (only one in four pixels will carry color information). Encoding to MPEG-4 uses YV12, however frameserving with Avisynth 2.5 also converts the video to YV12 prior to encoding, so it will create the same problem as encoding.

The 'stripes' that NeZ decribes are typically the effect you get with chroma subsampling due to YV12 colorspace, to which there is no solution.
Acaila is offline   Reply With Quote
Old 11th July 2003, 13:32   #8  |  Link
jggimi
Moderator Emeritus
 
jggimi's Avatar
 
Join Date: Dec 2001
Location: The NW corner of Lake Erie
Posts: 5,555
Thanks, Acaila. I learn something new every day from you.
jggimi 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 11:07.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2017, vBulletin Solutions, Inc.