Quantcast Recording Video: Wrong Field Order? - digitalFAQ.com Forums [Archives]
  #1  
01-27-2005, 12:52 AM
Anerboda Anerboda is offline
Free Member
 
Join Date: Mar 2003
Location: Denmark
Posts: 132
Thanks: 0
Thanked 0 Times in 0 Posts
I'm having a bit of a problem to get my old Hi8 tapes captured to DVD.
My procedure:
Capture with VirtualVCR at 704x576 using PicVideo MJPEG, quality=19.
Using this script:

Code:
AVISource("D:\capture.avi") 
KernelBob(order=1,sharp=true,threshold=7) 
AssumeFrameBased() 
Undot() 
RemoveGrain()
Cnr2()
ConvertToYV12()
Deen()
Letterbox(16,16,16,16)
AssumeBFF() 
SeparateFields() 
SelectEvery(4,1,2) 
Weave()
My capture is TFF hence this line:
Code:
SelectEvery(4,1,2)
I encode with NuEnc, interlaced BFF because of this line in the script:
Code:
AssumeBFF()
but when I watch the movie on my SAP, the movie stutter, like the fields are in the wrong order...?
My question is: doesn't this line
Code:
AssumeBFF()
need to be
Code:
AssumeTFF()
The script is inspired by Boulder here: http://www.kvcd.net/forum/viewtopic.php?t=13768

-Anerboda
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Site Staff / Ad Manager
 
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #2  
01-27-2005, 02:59 AM
Boulder Boulder is offline
Free Member
 
Join Date: Sep 2002
Location: Lahti, Finland
Posts: 1,652
Thanks: 0
Thanked 0 Times in 0 Posts
The resulting field order in your original script is TFF. That's because KernelBob outputs BFF, which is then switched to TFF by SeparateFields().SelectEvery(4,1,2).Weave().
Reply With Quote
  #3  
01-27-2005, 03:35 AM
Anerboda Anerboda is offline
Free Member
 
Join Date: Mar 2003
Location: Denmark
Posts: 132
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Boulder
The resulting field order in your original script is TFF. That's because KernelBob outputs BFF, which is then switched to TFF by SeparateFields().SelectEvery(4,1,2).Weave().
That would explain the wrong fieldorder. I encoded interlaced with BFF
Just to be absolutly sure, this means that I should keep the AssumeBFF, and let NuEnc encode interlaced with TFF?
Is there any way to determine if the resulting mpg has the correct fieldorder, without actually burn it and test it in my SAP?
It could cost a few DVD-R, before I get it right. (I don't have a DVD-RW!)

-Anerboda
Reply With Quote
  #4  
01-27-2005, 04:27 AM
Boulder Boulder is offline
Free Member
 
Join Date: Sep 2002
Location: Lahti, Finland
Posts: 1,652
Thanks: 0
Thanked 0 Times in 0 Posts
Yep, you can leave the script as it is and encode as TFF. Or you can replace AssumeBFF() with AssumeTFF() and then use SeparateFields().SelectEvery(4,0,3).Weave(). It's the same.

You can see the incorrect field order when you play the clip in PowerDVD for example, at least when auto-deinterlacing is disabled. The motion will be jerky as hell if the field order is incorrect.
Reply With Quote
  #5  
01-27-2005, 04:53 AM
incredible incredible is offline
Free Member
 
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to incredible
You should everytime use the assumexFF() parameter in your capture scripts as avs evrytime uses its default BFF. So avisynth with assumetff() at the beginning gots the right flag for correct further treatment by filters etc. AND also the encoder finally!

Quote:
I encoded interlaced with BFF
You did encode fieldbased BUT the flag of the fieldorder was set to BFF, means you dont have to reencode again, but use restream just to change the Fieldorder Flag in your final encode. Thats just avalue in the seqHeader.
Reply With Quote
  #6  
01-27-2005, 05:01 AM
Boulder Boulder is offline
Free Member
 
Join Date: Sep 2002
Location: Lahti, Finland
Posts: 1,652
Thanks: 0
Thanked 0 Times in 0 Posts
By the way, there's a new version available:

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

The plugin's now called LeakKernelDeint so you'll have to delete the old kerneldeint.dll from the plugins folder to avoid problems. The KernelBob function is renamed to LeakKernelBob.

With this version, you can remove AssumeFrameBased from the script as it's already done by the function itself.
Reply With Quote
  #7  
01-27-2005, 08:39 AM
Anerboda Anerboda is offline
Free Member
 
Join Date: Mar 2003
Location: Denmark
Posts: 132
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by incredible
You did encode fieldbased BUT the flag of the fieldorder was set to BFF, means you dont have to reencode again, but use restream just to change the Fieldorder Flag in your final encode. Thats just avalue in the seqHeader.
Thanks for the tip Inc, it worked like a charm

@Boulder, thanks for the link to the version of KernelDeint, now called LeakKernelDeint, I will use that for my next conversion. (I have a lot of Hi8 video tapes that I need to get on DVD-R). Interesting reading in that tread at Doom9 too.

-Anerboda
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
DVD2AVI: Field Order Transition Error Redge Video Encoding and Conversion 4 05-17-2008 04:54 PM
Which setting in CCE is Field Order? rs008f Video Encoding and Conversion 8 02-26-2004 06:53 PM
TMPGEnc: Field order for interlaced source mistermickster Video Encoding and Conversion 6 12-12-2003 11:49 AM
Avisynth: Field Order? nicksteel Avisynth Scripting 6 10-28-2003 09:35 AM
Recording Video: What's wrong with my PC!! (part1) kaos Video Capturing / Recording 13 09-30-2003 07:59 AM

Thread Tools



 
All times are GMT -5. The time now is 09:17 AM  —  vBulletin Jelsoft Enterprises Ltd