hdlink & avisynth input at DVinfo.net
DV Info Net

Go Back   DV Info Net > Cross-Platform Post Production Solutions > CineForm Software Showcase
Register FAQ Today's Posts Buyer's Guides

CineForm Software Showcase
Cross platform digital intermediates for independent filmmakers.

Reply
 
Thread Tools Search this Thread
Old March 6th, 2008, 06:24 PM   #1
Regular Crew
 
Join Date: Sep 2007
Location: Arlington, VT
Posts: 88
hdlink & avisynth input

I've been testing out the trial of NEO and wasn't very happy with the deinterlacer built into HDLink. So I wanted to use aviSynth so I could have better quality and was please to find out that HDLink would indeed accept avisynth file.

I searched on the internet and I didn't see anyone else ever doing this so I thought I would post that it indeed could be done.

One question, I had to convert the colorspace to RGB or YUY2 from the default YV12. Should I use one over the other?
Eric Larson is offline   Reply With Quote
Old March 7th, 2008, 12:02 PM   #2
CTO, CineForm Inc.
 
Join Date: Jul 2003
Location: Cardiff-by-the-Sea, California
Posts: 8,095
If your source YUV, stay in YUV, as converting to RGB requires the correct 601 or 709 matrix math (most do this wrong.) Therefore convert YV12 to YUY2 (which is faster anyway.) Of course if you source is RGB then leave it that way.

P.S. Please tell us more about your AVISynth workflow.
__________________
David Newman -- web: www.gopro.com
blog: cineform.blogspot.com -- twitter: twitter.com/David_Newman
David Newman is offline   Reply With Quote
Old March 7th, 2008, 07:28 PM   #3
Trustee
 
Join Date: May 2004
Location: Knoxville, Tennessee
Posts: 1,669
Dont take this negatively, but ... why would you feed an avisnth script into hdlink? If the script is capable of opening the HDV mpeg2, then you can process and save it to a cineform avi using Cineform's vfw codec via Virtualdub which gives you a visual GUI etc.
Graham Hickling is offline   Reply With Quote
Old March 7th, 2008, 07:33 PM   #4
Regular Crew
 
Join Date: Sep 2007
Location: Arlington, VT
Posts: 88
There is nothing really too it. I run the m2t video through DGIndex.
http://neuron2.net/dgmpgdec/dgmpgdec.html

Write up a little avisynth script http://avisynth.org/mediawiki/Main_Page

My avisynth scripts looks like:
v = MPEG2Source("07-10-27-ace-mgmb.d2v", idct=3)
a = MPASource("07-10-27-ace-mgmb.mp2", normalize=false)
AudioDub(v, a)
Load_Stdcall_Plugin("C:\Program Files\AviSynth 2.5\plugins\yadif.dll")
Yadif(order=1) #deinterlacer, one of may available
LanczosResize(1920, 1080) #resize if you want
ConvertToYUY2()

And open the avisynth script in HDLink and convert to cineform.

The only reason you would go through this is if you wanted to preprocess the video. In this case I wanted high quality deinterlace and resize.
Eric Larson is offline   Reply With Quote
Old March 7th, 2008, 07:38 PM   #5
Regular Crew
 
Join Date: Sep 2007
Location: Arlington, VT
Posts: 88
You are right I actually used VirtualDub first. But I just wanted to see whether HDLink would work. And when it did I thought I would let other people know.

Some people may be more comfortable using HDLink.

Plus to be honest I don't know how to batch process videos in VirtualDub, something HDLink does easily.
Eric Larson is offline   Reply With Quote
Old March 7th, 2008, 08:16 PM   #6
CTO, CineForm Inc.
 
Join Date: Jul 2003
Location: Cardiff-by-the-Sea, California
Posts: 8,095
Eric,

so that you aren't thinking there is anything work with the HDLink resizer, is also Lanczos. The deinterlacer you did like is higher quality than most for the amount of resolution it can extract, but it does introduce more motion blur as it is using both fields for creating the new frame. It is a linear light algorithm so the motion blur it does introduce is much more natural looking than other two field deinterlacers, although it does prefer that the source shutter be at the frame frame, 1/60th for 60i acquistion, 1/50th for 50i etc (fortunately this is the typical camera default, highly recommend for 60i->24p.) We are thinking of adding a single field deinterlacer, for those who prefer that look, and those using higher shutter speeds (for the stroby look or they don't have ND filters,) and the often requested 60i to 60p for later slow motion work. What type if deinterlacer are you looking for?
__________________
David Newman -- web: www.gopro.com
blog: cineform.blogspot.com -- twitter: twitter.com/David_Newman
David Newman is offline   Reply With Quote
Old March 7th, 2008, 08:53 PM   #7
Trustee
 
Join Date: May 2004
Location: Knoxville, Tennessee
Posts: 1,669
>>Plus to be honest I don't know how to batch process videos in VirtualDub, something HDLink does easily.

Ah - good point!
Graham Hickling is offline   Reply With Quote
Old March 8th, 2008, 12:06 AM   #8
Regular Crew
 
Join Date: Sep 2007
Location: Arlington, VT
Posts: 88
I would find the 60i to 60p very useful and a good 60i to 30p that can deal with motion, panning and motion in the scene.

I shoot dog sports, and I'm sure the HDLink deinterlacer is probably more geared toward your typical static film type shot.

As you will see in the pictures of my footage the built in deinterlacer does not handle it very well. Which I understand you can't be everything to everyone.
Attached Thumbnails
hdlink & avisynth input-cineform-stillcamera.jpg   hdlink & avisynth input-cineform-cameramove.jpg  

Eric Larson is offline   Reply With Quote
Old March 8th, 2008, 12:14 AM   #9
CTO, CineForm Inc.
 
Join Date: Jul 2003
Location: Cardiff-by-the-Sea, California
Posts: 8,095
Set your shutter to your frame rate and the double image will go away on most cameras. Then you get the benefits of normal look motion blur and more vertical resolution. If the top field is exposed for 1/60th and the bottom field the next 1/60th, together they produce a smooth 1/30th shutter (with the right deinterlacer.) It is true our deinterlacer is targetted for indie filmmakers, if they have to shoot 60i, they will normally shoot locked down to this shutter speed / exposure time.
__________________
David Newman -- web: www.gopro.com
blog: cineform.blogspot.com -- twitter: twitter.com/David_Newman
David Newman is offline   Reply With Quote
Old March 8th, 2008, 12:45 AM   #10
Inner Circle
 
Join Date: Jan 2006
Location: Minnesota (USA)
Posts: 2,171
Quote:
Originally Posted by Eric Larson View Post
I would find the 60i to 60p very useful and a good 60i to 30p that can deal with motion, panning and motion in the scene.

I shoot dog sports, and I'm sure the HDLink deinterlacer is probably more geared toward your typical static film type shot.

As you will see in the pictures of my footage the built in deinterlacer does not handle it very well. Which I understand you can't be everything to everyone.
For 60i to 60p, you might take a look at this:

http://www.guthspot.se/video/#deinterlacesmooth
Robert M Wright is offline   Reply With Quote
Old March 8th, 2008, 10:52 PM   #11
Regular Crew
 
Join Date: Sep 2007
Location: Arlington, VT
Posts: 88
I shot some footage today using 1/60 shutter and as you suggested HDLink deinterlacer worked extremely well with it.

Am I correct to say that the Cineform deinterlacer basically blends together the two fields. And in effect this would be as if you shot 30p at 1/30 sec shutter?
Eric Larson is offline   Reply With Quote
Old March 9th, 2008, 10:34 AM   #12
CTO, CineForm Inc.
 
Join Date: Jul 2003
Location: Cardiff-by-the-Sea, California
Posts: 8,095
Quote:
Originally Posted by Eric Larson View Post
I shot some footage today using 1/60 shutter and as you suggested HDLink deinterlacer worked extremely well with it.

Am I correct to say that the Cineform deinterlacer basically blends together the two fields. And in effect this would be as if you shot 30p at 1/30 sec shutter?
That is correct, it does it in a way to extract a lot of vertical resolution. One additional note, most cameras can't do this, and the 1/30th shutter mode is only one field worth of resolution, so it is not completely equivalent.
__________________
David Newman -- web: www.gopro.com
blog: cineform.blogspot.com -- twitter: twitter.com/David_Newman
David Newman is offline   Reply
Reply

DV Info Net refers all where-to-buy and where-to-rent questions exclusively to these trusted full line dealers and rental houses...

B&H Photo Video
(866) 521-7381
New York, NY USA

Scan Computers Int. Ltd.
+44 0871-472-4747
Bolton, Lancashire UK


DV Info Net also encourages you to support local businesses and buy from an authorized dealer in your neighborhood.
  You are here: DV Info Net > Cross-Platform Post Production Solutions > CineForm Software Showcase


 



All times are GMT -6. The time now is 11:01 PM.


DV Info Net -- Real Names, Real People, Real Info!
1998-2024 The Digital Video Information Network