Log in

View Full Version : Encoding 1080i sports clip to DVD


hoozdapimp
7th February 2010, 20:52
I have a recording of last years super bowl that I've been meaning to encode to DVD for friends and family. I have the ts file here. I have run it through DGIndex but I'm not sure of the AVISynth script to encode this to dvd properly.

The file is 1080i @ 29.97 fps, and since it's football I'm assuming it is natually shot at 29.97 fps, so I don't think decimating to 24fps is the right thing to do. I'm not looking to do anything fancy with it, I just don't want it to be jerky after the dvd conversion which I know is the biggest problem when doing things.

Any help would be greatly appreciated.

BTW DGIndex says video type is 99.32% Video.

Here is the media info:
General
ID : 3EA
Complete name : E:\tv\Superbowl 2009 Steelers v Cardinals.ts
Format : MPEG-TS
File size : 19.3 GiB
Duration : 2h 46mn
Overall bit rate : 16.6 Mbps

Video
ID : 17 (0x11)
Menu ID : 1 (0x1)
Format : MPEG Video
Format version : Version 2
Format profile : Main@High
Format settings, BVOP : Yes
Format settings, Matrix : Default
Duration : 2h 46mn
Bit rate mode : Variable
Bit rate : 15.0 Mbps
Nominal bit rate : 38.8 Mbps
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate : 29.970 fps
Resolution : 8 bits
Colorimetry : 4:2:0
Scan type : Interlaced
Scan order : Top Field First
Bits/(Pixel*Frame) : 0.242
Stream size : 17.5 GiB (91%)

setarip_old
7th February 2010, 21:32
Hi!

Is there a specific reason that you are limiting yourself to using AviSynth for this conversion?

If not, you should be able to readily accomplish this conversion using DVD Flick instead...

wonkey_monkey
7th February 2010, 22:10
spline16resize(704,1080)
assumetff
bob # or maybe yadif(mode=1), probably won't make much difference overall
bilinearresize(704,480)
assumetff
separatefields
selectevery(4,0,3)
weave


(edited to include Alex_ander's suggestions)

...and don't forget to tell the encoder it's interlaced.

David

Alex_ander
8th February 2010, 09:30
It is also useful to take care of field order just before SeparateFields(), otherwise it will completely depend on particular bob filter behaviour (e.g. yadif forces its input order for its output, LeakKernelBob resets to AviSynth default BFF, bob does the same if not modified in newer AviSynth versions, etc.). So if you want it to be predictible, simply add AssumeTFF() before SeparateFields() and you'll get that order in the end of the script.

P.S. Bob filters need the actual input field order assumed or set in their parameters. One more trick can make bob work faster: resizing horizontally before bob and vertically after.
As for flickering, avoid using single-field based deinterlacers like bob() and nnedi for sharp pictures. After (proper) bob in some cases slight blurring vertically is also useful.

Alex_ander
9th February 2010, 06:32
And a completely forgotten thing: you need slight color correction for going HD->SD. Load ColorMatrix plugin and add a line just after second resizing:

ColorMatrix(mode="Rec.709->Rec.601")