Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage

Reply
 
Thread Tools Search this Thread Display Modes
Old 13th June 2025, 12:22   #41  |  Link
Busty
Registered User
 
Join Date: Sep 2016
Posts: 56
Yes, I indeed converted with ConvertToYV12(). It was AssumeTFF().ConverttoYV12(). Does the AssumeTFF() argument change anything? If not, then you found the reason for ghosts playing drums:-) Thank you for finding and for explaining that to me. I learn things here that I never would have thought I'd need to deal with... Really appreciated!

I converted to ConverttoYV12 because I had Despot in my script. I just read on Despot's description that it also supports "special planar YUY2" format (is that YV16 then?), so maybe I can change that to stay in 4:2:2. Which I'd prefer either way. Also, that script is not final yet, so requirements from plugins may change. I'll keep an eye out for proper conversions.

Thank you again Emulgator & Sharc for this excursion.

Back to my task to find a good way for chroma shift, but maybe I'll wait for my CUDA-compatible GPU first...
Busty is offline   Reply With Quote
Old 13th June 2025, 13:11   #42  |  Link
Sharc
Registered User
 
Join Date: May 2006
Posts: 4,066
Your Sample3_unaltered.avi is interlaced, Bottom Field First, hence AssumeBFF() would be correct, regardless what MediaInfo may tell you.
If you want or need to convert to 4:2:0, use ConvertToYV12(interlaced=true)
If you want/need 4:2:2 planar use ConvertToYV16(interlaced=true) instead.

(In any case you should always know whether your video is interlaced or progressive before applying a certain filter, and use the filters accordingly. Take note that many filters work on progressive video only and are not interlace aware. Filtering of interlaced video is a topic of its own).

Last edited by Sharc; 13th June 2025 at 13:44.
Sharc is offline   Reply With Quote
Old 13th June 2025, 17:14   #43  |  Link
lollo2
Registered User
 
lollo2's Avatar
 
Join Date: Aug 2017
Location: Italy
Posts: 145
Quote:
Originally Posted by Sharc View Post
If you want/need 4:2:2 planar use ConvertToYV16(interlaced=true) instead.
from 4:2:2 interleaved (YUY2) to 4:2:2 planar (YV16) the parameter interlaced=true is not needed

from http://www.avisynth.nl/index.php/Convert:
Note, interlaced=true has an effect only on YV12↔YUY2 or YV12↔RGB conversions. More about that can be found here.
__________________
A channel on S-VHS / VHS capture and AviSynth restoration https://www.youtube.com/channel/UCMs...h1MmNAs7I8nu4g
lollo2 is offline   Reply With Quote
Old 13th June 2025, 17:30   #44  |  Link
Sharc
Registered User
 
Join Date: May 2006
Posts: 4,066
Quote:
Originally Posted by lollo2 View Post
from 4:2:2 interleaved (YUY2) to 4:2:2 planar (YV16) the parameter interlaced=true is not needed

from http://www.avisynth.nl/index.php/Convert:
Note, interlaced=true has an effect only on YV12↔YUY2 or YV12↔RGB conversions. More about that can be found here.
Yep, thanks. I left it routinely in as it does no harm either
Sharc is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 09:36.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.