Log in

View Full Version : DVD2DVD Deinterlacing Problem


WhipHubley
5th December 2004, 17:54
Hi there,

I have The Abyss on PAL DVD which sadly is a 4:3 letterbox widescreen transfer - bah :-(

So I decided to use DVD2DVD to convert it into an anamorphic 16:9 version.

Unfortunately after I did this the resultant MPEG2 file was horribly interlaced.

I chose to scrap this version and start again, this time adding in a Separate Fields / Select Every deinterlace.

But this version ended up looking extremely strange. The image was split horizontally, with the lower half being completely green, and the movie being squashed up in the upper half - very odd.

I enclose my log file below - can anyone see what I've done wrong, or advise me on a course of action to fix this?

Thanks very much.

WNASPI32.DLL 4.6.0.1021
--------------------------------------------------------
- 12/11/2004 21:23:45
- DVD to SVCD Conversion
- DVD2DVD ver. 1.2.2 build 1
--------------------------------------------------------
Initializing
- D:\Captures&Rips\Abyss\VTS_01_0.IFO
- D:\Captures&Rips\Abyss\VTS_01_PGC_01_1.VOB
- D:\Captures&Rips\Abyss\VTS_01_PGC_01_2.VOB
- D:\Captures&Rips\Abyss\VTS_01_PGC_01_3.VOB
- D:\Captures&Rips\Abyss\VTS_01_PGC_01_4.VOB
- D:\Captures&Rips\Abyss\VTS_01_PGC_01_5.VOB
- D:\Captures&Rips\Abyss\VTS_01_PGC_01_6.VOB
Initializing finished.

--------------------------------------------------------
- 12/11/2004 21:23:49
- 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 -OM=0 -EXIT -OF=[D:\Captures&Rips\conversion\DVD2AVI_Project_file] -IF=[D:\Captures&Rips\Abyss\VTS_01_PGC_01_1.VOB,D:\Captures&Rips\Abyss\VTS_01_PGC_01_2.VOB,D:\Captures&Rips\Abyss\VTS_01_PGC_01_3.VOB,D:\Captures&Rips\Abyss\VTS_01_PGC_01_4.VOB,D:\Captures&Rips\Abyss\VTS_01_PGC_01_5.VOB,D:\Captures&Rips\Abyss\VTS_01_PGC_01_6.VOB]
Framerate: 25000
DVD2AVI processing done.

--------------------------------------------------------
- 12/11/2004 21:26:26
- Free on drive D: 24123.82 mb
- AUDIO Extraction
--------------------------------------------------------
Found AC3 stream id: 0x80
Filename: D:\Captures&Rips\conversion\Extracted_audio_1.ac3
Audio1 delay: -112 ms
Audio extraction finished.


Encoding Audio. Filename: D:\Captures&Rips\conversion\Extracted_audio_1.ac3
Executing BeSweet. Commandline:
"C:\Program Files\DVD2SVCD\BeSweet\BeSweet.exe" -core( -input "D:\Captures&Rips\conversion\Extracted_audio_1.ac3" -output "D:\CAPTUR~1\CONVER~1\Encoded_audio_1.ac3" -payload -logfile "D:\CAPTUR~1\CONVER~1\Encoded_audio_1.log" ) -ota( -d -112 )
Audio conversion of D:\Captures&Rips\conversion\Extracted_audio_1.ac3 finished.

Audio conversion finished.

--------------------------------------------------------
- 12/11/2004 21:31:21
- Free on drive D: 23226.38 mb
- Video Encoding using Cinema Craft
--------------------------------------------------------
- Editing AVS script file

Executing Cinema Craft Encoder.
StreamSectors: 4546875788
AudioSectors: 477110228
VideoPAPO: 63042840
ScanOffsetBytes: 367583
SeqAligningBytes: 23361910
DVDBytes: 0
VideoEndHeader: 4
SubtitleSectors: 0
EmptySectors: 238.00
PictureSectors: 0.00
PureMPEGStream: 3982993223.50
Seconds: 9807.20
CalcMPEGStream: 3982993223.50
Frames: 245055
CDSize: 4350.00
Number of CDs: 1
Cut point 4346.00
Variable Settings:
Frames: 245055
Anti Noise Filter: Off
Passes: 3
Image Quality: 17
VAF file creation: Off
Video Encoding Mode: CBR
Avg. Bitrate: 3249
Aspect Ratio: Anamorphic (no borders, encoded as 16:9)

---AVS Begin---
LoadPlugin("C:\PROGRA~1\DVD2SVCD\AVISYN~1.5PL\Mpeg2dec\MPEG2D~1.DLL")
MPEG2Source("D:\CAPTUR~1\CONVER~1\DVD2AV~1.D2V")
SeparateFields()
SelectEvery(2,0)
LanczosResize(720,576,0,72,720,432)
Import("D:\Captures&Rips\conversion\ResampleAudio.avs")
ResampleAudio(44100)
ConvertToYUY2()
----AVS End----

Closing program
CCE Max Speed: 1.880
Video Encoding finished.

--------------------------------------------------------
- 12/11/2004 23:00:04
- Free on drive D: 19430.10 mb
- Converting Pictures from ES to PS
--------------------------------------------------------
Saving bbMPEG settings: C:\Program Files\DVD2SVCD\bbMPEG\default.ini
--------------------------------------------------------
- 12/11/2004 23:00:06
- Free on drive D: 19430.10 mb
- Converting Pictures from ES to PS
--------------------------------------------------------
Saving bbMPEG settings: C:\Program Files\DVD2SVCD\bbMPEG\default.ini
--------------------------------------------------------
- 12/11/2004 23:00:09
- Free on drive D: 19430.10 mb
- Converting Pictures from ES to PS
--------------------------------------------------------
Saving bbMPEG settings: C:\Program Files\DVD2SVCD\bbMPEG\default.ini
--------------------------------------------------------
- 12/11/2004 23:00:11
- Free on drive D: 19430.10 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: 4346 mb

Executing RunbbMPEG. Commandline:
"C:\Program Files\DVD2SVCD\bbMPEG\RunbbMPEG.exe" "D:\Captures&Rips\conversion\bbMPEG_Muxed_File.mpg"
Multiplexing and cutting finished.

Image creation finished.

--------------------------------------------------------
- 12/11/2004 23:15:28
- Free on drive D: 15091.77 mb
- Conversion done!
--------------------------------------------------------

bobwillis
5th December 2004, 23:36
Hi,

Let me guess. You have the interlaced PAL version. I did this resizing by selecting Telecide (PAL) in the deinterlacers. It is very difficult to resize interlaced material. In fact some of the sharpest brains around here, claim that you should not do it. However, telecide gave me an acceptable result.

BTW, if you had used the 'Preview Video' function ('GO' Button), then you would have seen the bottom half was green with the "Separate Fields / Select Every deinterlace" option. This happens on my computer as well.

Other options which do deinterlace without the green picture (use the preview to check) are 'Smartdeinterlace" and "Blendfields". It is upto you to determine which looks best; just encode 1 chapter with the appropriate maximum average bitrate set to your value of 3429 (make sure you put it back to 7200 afterwards).

Hope this helps, regards,
Bob

WhipHubley
6th December 2004, 23:51
Thanks very much, I shall give this a go and report back.

I can assure you that I did check several preview clips before I began encoding and they looked fine - very impressive in fact. Which is why I was so gutted with the result!

I'll have a go with Telecide.

Thanks again.

Boulder
7th December 2004, 17:33
If the source is field-shifted, Telecide should make it progressive. If it's fieldblended, Restore24 can help you.

Deinterlacing is not an option is this case;) If nothing can help you, encode as interlaced.

bobwillis
7th December 2004, 20:47
Originally posted by Boulder
Deinterlacing is not an option is this case;)

Hi Boulder,

Can you elaborate further on your above statement?
You seem to be suggesting that deinterlacing is a not an option? I am confused.

The source is definitely interlaced. If you re-size it without first deinterlacing, you see horrendous combing when there is movement.

Regards,
Bob

Boulder
7th December 2004, 22:04
It may appear interlaced, but I am quite sure the original was shot in 23.976fps.

If a PAL version of a Hollywood movie appears combed, it's in 99% of the cases either field-shifted (which Telecide(order=1) will fix) or fieldblended (when the NTSC->PAL conversion has been done in a wrong way). In the latter case Restore24 will restore the original, progressive frames and return a 23.976fps clip. This can then be converted to a 25fps with AssumeFPS(25) , just as the conversion should have been done in the first place by the releasers of the PAL DVD.

If you could get a small unprocessed sample of a scene with motion, I'd be happy to check what it is.

WhipHubley
12th December 2004, 16:50
bobwillis - telecide worked a treat, thanks very much.

Boulder - just out of interest, if I were to try a Restore24, what are the parameters I need to pass eg,

Restore24(?, ?)

or something?

thanks again.

Boulder
12th December 2004, 17:03
The documentation that comes with the Restore24 package is quite good, and there's an example script included as well.

Basically it's just


MPEG2Source("path\clip.d2v")
AssumeTFF() # or AssumeBFF() for bottom field first video
a0=KernelBob(order=x,threshold=0) # x=1=TFF, x=0=BFF
b0=MatchBob()
Restore24(a0,b0)


This will restore the original progressive frames at 23.976fps, that's the default. If your source isn't fieldblended NTSC->PAL conversion, you should use different arguments in Restore24. They are explained in the docs.

WhipHubley
13th December 2004, 23:27
Nice one - thanks.