PDA

View Full Version : Interlaced Lines While Converting NTSC DVD to NTSC SVCD


Atreides
15th September 2003, 09:30
Dear Friends,
First I`ll give you a brief description of my problem, when I`m trying to convert a NTSC DVD to NTSC SVCD using DVD2SVCD with CCE encoder, there are “Interlaced lines” during any horizontal movement in the produced picture.
Now I`ll give you a near-complete detail on whatever I`m using or abusing!!!!! :D

Software:
1.DVD2SVCD ver. 1.2.1 Build 2a – permanent subtitle bug fixed replacing the DVD2SVCD.exe file with www.dvd2dvd.org/pct/link.php?link_id=21 (http://)
2. Cinema Craft Encoder SP ver. 2.67.00.11. The reason I`m using this version is that CCE SP_v 2.50.01.00 crashes constantly on my system –although I have not tried enabling Safe mode Frameserving with this version.I`ve also tried CC SP ver.2.66.01.07 with Eclcee, there were also frequently crashes. It seemed to me - after much trial and error - that ver. 2.67.00.11 without enabling Safe mode had not much problem, and since I`m enabling the safe mode there has been no CCE error or crashes on my system.
3.Avisynth ver. 2.51 , installed with DVD2SVCD.
4.ElCCE 1.6
5.Autofit CD ver. 1.5
6.Templates provided by RB
URL=http://]home.t-online.de/home/340044300675/ccetemplates.zip [/URL]
7.O.S : Windows 2000 Professional , Service Pack 3.Actually my only strength lies here, since I`m a semi-expert user, somehow experienced with almost all Widows releases, and take really good care of the O.S - keep track and clean registry, updated drivers, memory resident programs as few as possible,…. - , in other words a real stable – if such a thing ever existed – O.S , we presume that the problem with CCE crashing is not O.S related.It`s one of the few softwares causing trouble, TMPGE - any ver.- or any other encoder , never crashed.

Hardware:
Athlon XP 1700 – Via KT266 chipset (Epox 8KHAL) – 512 MB Kingston DDR SDRAM. (2*256 modules) - Geforce 4 Ti 4200 128 MB (Gainward Golden Sample but not overclocked) – At least 10 MB free Space on the H.D.D partition I use for converting.
Myself : A vague comprehension about converting concepts and the related softwares.Following whatever reliable guide on the net, reading forums and a trial and error.In other words a veteran newbie, obsessed –in terms of OCD, last night I spent 6 h. converting different ripped *.vob files – thankfully just 2-3 min chapters, else I would be sittin` all my life converting, which became like a ritual, tweaking the setting , go , then again and again……… :confused: :confused: :confused:

The Problem itself :
As mentioned earlier, when I want to convert a NTSC DVD to NTSC SVCD the result is twisted –not that badly but alas- with interlaced line whenever there is horizontal motion.Let`s look a the Bitrate readings for 2 *.vob files I`ve tried:
1.Num. of picture read: 871
Stream type: MPEG-2 MP@ML CBR
Resolution: 720*480
Aspect ratio: 16:9 Generic
Framerate: 29.97
Nom. bitrate: 8000000 Bit/Sec
VBV buffer size: 112
Constrained param. flag: No
Chroma format: 4:2:0
DCT precision: 10
Pic. structure: Frame
Field topfirst: Yes
DCT type: Field
Quantscale: Nonlinear
Scan type: Alternate
Frame type: Interlaced

2.Num. of picture read: 601
Stream type: MPEG-2 MP@ML VBR
Resolution: 720*480
Aspect ratio: 16:9 Generic
Framerate: 29.97
Nom. bitrate: 8000000 Bit/Sec
VBV buffer size: 112
Constrained param. flag: No
Chroma format: 4:2:0
DCT precision: 10
Pic. structure: Frame
Field topfirst: Yes
DCT type: Field
Quantscale: Nonlinear
Scan type: ZigZag
Frame type: Interlaced

So the only apparent difference is in Scan Type and Both vobs are Interlaced, also checked with DVD2AVI.
Now to the DVD2SVCD setting.Everything left default except:
Encoder: CCE – Safe mode Enabled – Field order : Automatic – Multipass VBR 4 times – In advanced setting as recommended in the “DVDXZONE DVD2SVCD” guide :
Check the DCT type, if it is Frame, you should check Progressive frames and Zigzag scanning order. If it was Field uncheck both Zigzag scanning order and Progressive frames.
Therefore I`ve unchecked both Zigzag scanning order and Progressive frames.Everything else left as default.
NTSC Field operation is also off or automatic in both cases, but even in the automatic case the program selects off.
Under the conversion Tab as Deinterlace mode I`ve selected “No Deinterlacing” because In the “DVD2SVCD 1.0.9 build 3 Newbie Reference” it says:
Deinterlace leave at default No deinterlacing for NTSC
In the frameserver setting I`ve tried either BicubicResize or SimpleResize or AutoFitCD, which I`ll explain further.
The outcome results with interlaced lines in all three frameserving modes.
Then I have tried following the RB recommendation:
RB writes:
HOW TO: Use CCE 2.66+ trial with DVD2SVCD By RB
Note also that you should use the Interlaced template only if your source video is interlaced and "Keep Interlaced" is selected for the Deinterlacing option on the DVD2SVCD Conversion tab. Otherwise select the Progressive template

Therefore I`ve selected "Keep Interlaced" and used the Interlace template with CCE advanced setting.
The result with Bicubic resize : No interlace lines but “The Egg-headed” effect -the picture is vertically stretched-. I assume something went wrong with the aspect ratio.
The result with Autofit CD: Also no interlace lines and the aspect ratio is correct.
Why does this happen? To be honest, I prefer to use Bicubic Resize rather than Autofit CD. :confused: :confused:
I`ve also read in this forum – unfortunately I could not find the reference post – that with NTSC there is no need to uncheck the Progressive frames which contraindicates the DVDXZONE guide.Therefore I`ve enabled Zigzag scanning order and Progressive frames again and encoded with No deinterlace but the interlace line occurs with all the three Frameserving options.
Such a misery I`ve brought upon myself. :devil: :devil:
What shall I do to prevent those Interlace lines with BicubicResize and while keeping No deinterlace option for the above mentioned vob files?

Since all my DVD`s are NTSC, What shall I do to prevent those Interlace lines with BicubicResize while keeping No deinterlace option for the above mentioned vob files?
Since all my DVD`s are NTSC, when should I use No deinterlace and when Keep Interlace at all?

I really need a hand here, any help could be life saving and gettin` my life back on the track.
Also please ask for any further info if necessary.
Thanx
Atreides

DDogg
17th September 2003, 17:13
there are “Interlaced lines” during any horizontal movement in the produced picture When viewed on PC or TV? If on PC of course you will see interlaced effects.

You tried very hard to do a great post, but it is way too long for you to expect people to read it. You did not provide the log which is a critical part of information needed. We need to see if DVD2SVCD declared the source as forced film or hybrid. Also, what is set in the dvd2avi tab?

Atreides
19th September 2003, 13:16
Dear DDOG:

First of all I would like to thank you for reading my post, you got a good point there, it`s too long, but I think if someone is qualified to answer the post, will read it trough, like you did.
The answer to your inquiries:
1.Once agian I forget to mention that, (due to the length of the post): The interlace lines happen both on TV and PC.The annoying part is that they appear on TV, since I don`t watch my movies on the PC.
I`ve got a standard 4:3 TV and my DVD player picture output set to 4:3 Letterbox.My TV has a 16:9 Botton, which I never use, it simply adds 2 black bar, the same thing the DVD Player does.
2.In the DVD2AVI tab, eveything is set as default, NTSC Field operation is Automatic.
The Requested Logs:
I.The Input File (It fairly represents all the vob files with this problem)
NTSC
Num. of picture read: 391
Stream type: MPEG-2 MP@ML CBR
Resolution: 720*480
Aspect ratio: 16:9 Generic
Framerate: 29.97
Nom. bitrate: 8000000 Bit/Sec
VBV buffer size: 112
Constrained param. flag: No
Chroma format: 4:2:0
DCT precision: 10
Pic. structure: Frame
Field topfirst: Yes
DCT type: Field
Quantscale: Nonlinear
Scan type: Alternate
Frame type: Interlaced
II.Frameserver is Bicubic Resize

First encoding Log: (Bicubic Resize, No Deinterlace --> Interlace Line ensues)
WNASPI32.DLL 0.0.0.0
--------------------------------------------------------
- 9/18/2003 7:24:38 PM
- DVD to SVCD Conversion
- DVD2SVCD ver. 1.2.1 build 2a
--------------------------------------------------------
Initializing
- E:\Pinoccio\VTS_01_0.IFO
- E:\Pinoccio\VTS_01_1.vob
Initializing finished.

--------------------------------------------------------
- 9/18/2003 7:24:40 PM
- Analyzing subtitles
--------------------------------------------------------
Subtitle found: StreamID: 0x20 Language: English
Subtitle found: StreamID: 0x21 Language: Malay
Subtitle found: StreamID: 0x22 Language: Chinese
Subtitle found: StreamID: 0x23 Language: Indonesian
Subtitle found: StreamID: 0x24 Language: Thai

Executing subtitle selection/verification.
Subtitle selection/verification accepted.
1 subtitle streams selected.
Saving Subtitles ini file
--------------------------------------------------------
- 9/18/2003 7:24:44 PM
- DVD2AVI
--------------------------------------------------------
Creating DVD2AVI INI file:
- C:\Program Files\DVD2SVCD\DVD2AVI\DVD2AVI.INI

Variable settings:
iDCT_Algorithm: 32-bit SSE MMX

Executing DVD2AVI.
Executing DVD2AVI. Commandline:
"C:\Program Files\DVD2SVCD\DVD2AVI\DVD2AVI.exe" -CS=2 -YR=1 -EXIT -OF=[E:\movie\DVD2AVI_Project_file] -IF=[E:\Pinoccio\VTS_01_1.vob]
Analyzing DVD2AVI Project file
Force Film NOT activated!
Framerate: 29970
DVD2AVI processing done.

--------------------------------------------------------
- 9/18/2003 7:24:59 PM
- Free on drive E: 8131.18 mb
- Extracting the subtitles.
--------------------------------------------------------

Subtitle extraction finished. Extracted these subtitles:
SVCD Stream no: 1 Language: English Num. of subs: 73

Saving Subtitle Timecodes.
Permanent subtitles.
Saving Subtitles ini file
--------------------------------------------------------
- 9/18/2003 7:25:12 PM
- Free on drive E: 8128.26 mb
- AUDIO Extraction
--------------------------------------------------------
Found AC3 stream id: 0x80
Filename: E:\movie\Extracted_audio_1.ac3
Audio1 delay: -160 ms
Analyzing DVD2AVI Project file
Force Film NOT activated!
Framerate: 29970
Audio extraction finished.

--------------------------------------------------------
- 9/18/2003 7:25:22 PM
- Free on drive E: 8117.33 mb
- AUDIO conversion
--------------------------------------------------------

Encoding Audio. Filename: E:\movie\Extracted_audio_1.ac3
Executing BeSweet. Commandline:
"C:\Program Files\DVD2SVCD\BeSweet\BeSweet.exe" -core( -input "E:\movie\Extracted_audio_1.ac3" -output "E:\movie\Encoded_audio_1.mp2" -logfile "E:\movie\Encoded_audio_1.log" ) -azid( -L -3db -C 0db -S 0db -c normal -s surround -g max ) -ota( -d -160 ) -shibatch( --rate 44100 ) -2lame( -e -b 192 -m s )
Audio conversion of E:\movie\Extracted_audio_1.ac3 finished.

Audio conversion finished.

--------------------------------------------------------
- 9/18/2003 7:26:17 PM
- Free on drive E: 8112.66 mb
- Video Encoding using Cinema Craft
--------------------------------------------------------
Saving Subtitle Timecodes.
Permanent subtitles.

Executing Frameserver.
Closing program

Executing Cinema Craft Encoder.
StreamSectors: 771186864
AudioSectors: 5087236
VideoPAPO: 11867292
ScanOffsetBytes: 7340
SeqAligningBytes: 466523
DVDBytes: 0
VideoEndHeader: 4
SubtitleSectors: 0
EmptySectors: 238.00
PictureSectors: 1.00
PureMPEGStream: 753758468.40
Seconds: 209.10
CalcMPEGStream: 753758468.40
Frames: 6117
CDSize: 740.00
Number of CDs: 1
Cut point 735.00
Variable Settings:
Frames: 6117
Anti Noise Filter: Off
Passes: 4
Image Quality: 17
VAF file creation: On
Video Encoding Mode: Multipass VBR
Min. bitrate: 300
Max. bitrate: 2530
Avg. Bitrate: 2230
Aspect Ratio: 16:9 (borders added, encoded as 4:3)

---AVS Begin---
LoadPlugin("C:\PROGRA~1\DVD2SVCD\AVISYN~1.5PL\Mpeg2dec\MPEG2D~1.DLL")
LoadPlugin("C:\PROGRA~1\DVD2SVCD\AVISYN~1.5PL\AVISYN~2.DLL")
mpeg2source("E:\movie\DVD2AV~1.D2V")
BicubicResize(480,360,0.0,0.6)
AddBorders(0,60,0,60)
ConvertToYUY2()
AvisynthSubtitler("E:\movie\Subs\","permsubs.txt")
----AVS End----

Closing program
CCE Max Speed: 0.860
Video Encoding finished.

--------------------------------------------------------
- 9/18/2003 7:47:06 PM
- Free on drive E: 8056.45 mb
- Converting Pictures from ES to PS
--------------------------------------------------------
Saving bbMPEG settings: C:\Program Files\DVD2SVCD\bbMPEG\default.ini
--------------------------------------------------------
- 9/18/2003 7:47:08 PM
- Free on drive E: 8056.45 mb
- Converting Pictures from ES to PS
--------------------------------------------------------
Saving bbMPEG settings: C:\Program Files\DVD2SVCD\bbMPEG\default.ini
--------------------------------------------------------
- 9/18/2003 7:47:11 PM
- Free on drive E: 8056.45 mb
- Converting Pictures from ES to PS
--------------------------------------------------------
Saving bbMPEG settings: C:\Program Files\DVD2SVCD\bbMPEG\default.ini
--------------------------------------------------------
- 9/18/2003 7:47:13 PM
- Free on drive E: 8056.45 mb
- Multiplexing and cutting
--------------------------------------------------------
Saving bbMPEG settings: C:\Program Files\DVD2SVCD\bbMPEG\default.ini
Offset in Seconds: 2
Executing bbMPEG.
Variable Settings:
Movie offset: 2 seconds
Cut point: 735 mb

Executing RunbbMPEG. Commandline:
"C:\Program Files\DVD2SVCD\bbMPEG\RunbbMPEG.exe" "E:\movie\bbMPEG_Muxed_File.mpg"
Multiplexing and cutting finished.

--------------------------------------------------------
- 9/18/2003 7:47:27 PM
- Free on drive E: 7996.92 mb
- Determining length of audio
--------------------------------------------------------
Analyzing: E:\movie\bbMPEG_Muxed_File00.mpg
202.005 seconds E:\movie\bbMPEG_Muxed_File00.mpg
Analyzing finished.

--------------------------------------------------------
- 9/18/2003 7:47:35 PM
- Free on drive E: 7996.91 mb
- Creating CD-Images using VCDXBuild
--------------------------------------------------------
- No. of chapters to create: 1

CD image #1: CD_Image_File_CD1.bin

Executing VCDXBuild. Commandline:
"C:\Program Files\DVD2SVCD\VCDImager\VCDXBuild.exe" --verbose --cue-file="E:\movie\CD_Image_File_CD1.cue" --bin-file="E:\movie\CD_Image_File_CD1.bin" "E:\movie\VCDXBU~1.XML"
Image creation finished.

--------------------------------------------------------
- 9/18/2003 7:47:42 PM
- Free on drive E: 7935.32 mb
- Conversion done!
--------------------------------------------------------

2nd encoding Log: (BicubicResize - Keep Interlaced --> Egg-Head effect ensues but no interlace lines)

WNASPI32.DLL 0.0.0.0
--------------------------------------------------------
- 9/18/2003 10:31:26 AM
- DVD to SVCD Conversion
- DVD2SVCD ver. 1.2.1 build 2a
--------------------------------------------------------
Initializing
- E:\Pinoccio\VTS_01_0.IFO
- E:\Pinoccio\VTS_01_1.vob
Initializing finished.

--------------------------------------------------------
- 9/18/2003 10:31:28 AM
- Analyzing subtitles
--------------------------------------------------------
Subtitle found: StreamID: 0x20 Language: English
Subtitle found: StreamID: 0x21 Language: Malay
Subtitle found: StreamID: 0x22 Language: Chinese
Subtitle found: StreamID: 0x23 Language: Indonesian
Subtitle found: StreamID: 0x24 Language: Thai

Executing subtitle selection/verification.
Subtitle selection/verification accepted.
1 subtitle streams selected.
Saving Subtitles ini file
--------------------------------------------------------
- 9/18/2003 10:31:32 AM
- DVD2AVI
--------------------------------------------------------
Creating DVD2AVI INI file:
- C:\Program Files\DVD2SVCD\DVD2AVI\DVD2AVI.INI

Variable settings:
iDCT_Algorithm: 32-bit SSE MMX

Executing DVD2AVI.
Executing DVD2AVI. Commandline:
"C:\Program Files\DVD2SVCD\DVD2AVI\DVD2AVI.exe" -CS=2 -YR=1 -EXIT -OF=[E:\movie\DVD2AVI_Project_file] -IF=[E:\Pinoccio\VTS_01_1.vob]
Analyzing DVD2AVI Project file
Force Film NOT activated!
Framerate: 29970
DVD2AVI processing done.

--------------------------------------------------------
- 9/18/2003 10:31:45 AM
- Free on drive E: 8190.69 mb
- Extracting the subtitles.
--------------------------------------------------------

Subtitle extraction finished. Extracted these subtitles:
SVCD Stream no: 1 Language: English Num. of subs: 73

Saving Subtitle Timecodes.
Permanent subtitles.
Saving Subtitles ini file
--------------------------------------------------------
- 9/18/2003 10:31:59 AM
- Free on drive E: 8187.77 mb
- AUDIO Extraction
--------------------------------------------------------
Found AC3 stream id: 0x80
Filename: E:\movie\Extracted_audio_1.ac3
Audio1 delay: -160 ms
Analyzing DVD2AVI Project file
Force Film NOT activated!
Framerate: 29970
Audio extraction finished.

--------------------------------------------------------
- 9/18/2003 10:32:10 AM
- Free on drive E: 8176.84 mb
- AUDIO conversion
--------------------------------------------------------

Encoding Audio. Filename: E:\movie\Extracted_audio_1.ac3
Executing BeSweet. Commandline:
"C:\Program Files\DVD2SVCD\BeSweet\BeSweet.exe" -core( -input "E:\movie\Extracted_audio_1.ac3" -output "E:\movie\Encoded_audio_1.mp2" -logfile "E:\movie\Encoded_audio_1.log" ) -azid( -L -3db -C 0db -S 0db -c normal -s surround -g max ) -ota( -d -160 ) -shibatch( --rate 44100 ) -2lame( -e -b 192 -m s )
Audio conversion of E:\movie\Extracted_audio_1.ac3 finished.

Audio conversion finished.

--------------------------------------------------------
- 9/18/2003 10:33:06 AM
- Free on drive E: 8172.17 mb
- Video Encoding using Cinema Craft
--------------------------------------------------------
Saving Subtitle Timecodes.
Permanent subtitles.

Executing Frameserver.
Closing program

Executing Cinema Craft Encoder.
StreamSectors: 771186864
AudioSectors: 5087236
VideoPAPO: 11867292
ScanOffsetBytes: 7340
SeqAligningBytes: 466523
DVDBytes: 0
VideoEndHeader: 4
SubtitleSectors: 0
EmptySectors: 238.00
PictureSectors: 1.00
PureMPEGStream: 753758468.40
Seconds: 209.10
CalcMPEGStream: 753758468.40
Frames: 6117
CDSize: 740.00
Number of CDs: 1
Cut point 735.00
Variable Settings:
Frames: 6117
Anti Noise Filter: Off
Passes: 4
Image Quality: 17
VAF file creation: On
Video Encoding Mode: Multipass VBR
Min. bitrate: 300
Max. bitrate: 2530
Avg. Bitrate: 2230
Aspect Ratio: 16:9 (borders added, encoded as 4:3)

---AVS Begin---
LoadPlugin("C:\PROGRA~1\DVD2SVCD\AVISYN~1.5PL\Mpeg2dec\MPEG2D~1.DLL")
LoadPlugin("C:\PROGRA~1\DVD2SVCD\AVISYN~1.5PL\AVISYN~2.DLL")
mpeg2source("E:\movie\DVD2AV~1.D2V")
BicubicResize(480,480,0.0,0.6)
ConvertToYUY2(interlaced=true)
AvisynthSubtitler("E:\movie\Subs\","permsubs.txt")
----AVS End----

Closing program
CCE Max Speed: 0.930
Video Encoding finished.

--------------------------------------------------------
- 9/18/2003 10:53:53 AM
- Free on drive E: 8115.98 mb
- Converting Pictures from ES to PS
--------------------------------------------------------
Saving bbMPEG settings: C:\Program Files\DVD2SVCD\bbMPEG\default.ini
--------------------------------------------------------
- 9/18/2003 10:53:56 AM
- Free on drive E: 8115.98 mb
- Converting Pictures from ES to PS
--------------------------------------------------------
Saving bbMPEG settings: C:\Program Files\DVD2SVCD\bbMPEG\default.ini
--------------------------------------------------------
- 9/18/2003 10:53:58 AM
- Free on drive E: 8115.98 mb
- Converting Pictures from ES to PS
--------------------------------------------------------
Saving bbMPEG settings: C:\Program Files\DVD2SVCD\bbMPEG\default.ini
--------------------------------------------------------
- 9/18/2003 10:54:01 AM
- Free on drive E: 8115.98 mb
- Multiplexing and cutting
--------------------------------------------------------
Saving bbMPEG settings: C:\Program Files\DVD2SVCD\bbMPEG\default.ini
Offset in Seconds: 2
Executing bbMPEG.
Variable Settings:
Movie offset: 2 seconds
Cut point: 735 mb

Executing RunbbMPEG. Commandline:
"C:\Program Files\DVD2SVCD\bbMPEG\RunbbMPEG.exe" "E:\movie\bbMPEG_Muxed_File.mpg"
Multiplexing and cutting finished.

--------------------------------------------------------
- 9/18/2003 10:54:14 AM
- Free on drive E: 8056.46 mb
- Determining length of audio
--------------------------------------------------------
Analyzing: E:\movie\bbMPEG_Muxed_File00.mpg
202.005 seconds E:\movie\bbMPEG_Muxed_File00.mpg
Analyzing finished.

--------------------------------------------------------
- 9/18/2003 10:54:21 AM
- Free on drive E: 8056.45 mb
- Creating CD-Images using VCDXBuild
--------------------------------------------------------
- No. of chapters to create: 1

CD image #1: CD_Image_File_CD1.bin

Executing VCDXBuild. Commandline:
"C:\Program Files\DVD2SVCD\VCDImager\VCDXBuild.exe" --verbose --cue-file="E:\movie\CD_Image_File_CD1.cue" --bin-file="E:\movie\CD_Image_File_CD1.bin" "E:\movie\VCDXBU~1.XML"
Image creation finished.

--------------------------------------------------------
- 9/18/2003 10:54:28 AM
- Free on drive E: 7994.87 mb
- Conversion done!

The Only solution I`ve found was using Autofit CD and Keep Interlaced.

By the way, even the recognition that "I treid hard to write a good post" was a relief, thanx.
Please don`t hesitate to ask for anything that will be useful.

Atreides

Trahald
19th September 2003, 15:13
by the d2s log we can see you have pure NTSC source. imo its best to deinterlace - you get more bang out of your bitrate . when im using d2s for pure NTSC i set the interlace setting to Telecide(PAL) which actually scans the fields and only deinterlaces the pairs of feilds that are interlaced (which would be all of them in this case) which means left alone it should actually do the trick.. but what i do then is also set the option in frameserver tab for 'edit when dvd2avi is done'.. when the avi script it pops up during conversion i change the telecide() line to read FieldDeinterlace() . don graft recommends in his instructions to use fielddeinterlace for pure ntsc source. again, i have heard using the telecide() option works so its your choice. i have only ever used fielddeinterlace(). this will make your output progressive and your dvdplayer/tvwont have any problem with that

DDogg
20th September 2003, 18:53
The think the best way I can help you is to suggest you take some time and though read this excellent tutorial (link below). Specifically I think you will find manono's section somewhat targeted at your situation, but all of it is excellent reading. Once you understand all this stuff dealing with source like you have mentioned here will become much easier.

http://forum.doom9.org/showthread.php?s=&threadid=34696