I am trying to resize a 1080i video stream to 480i, so I can make an NTSC DVD of it. I'm using Virtualdub 1.9.8 to do the resizing with Lanczos3, and there is an interlaced box next to the resizing option. Do I check this box? I plan to resize the file, save as AVI with lagarith compression and send it to HC Enc for encoding to MPEG-2.
Basically, I'm trying to keep the video interlaced. I don't want it to be deinterlaced and then re-interlaced during the conversion process - for obvious reasons.
Can anyone help?
+ Reply to Thread
Results 1 to 30 of 63
-
Anonymous344Guest
-
Volunteer for https://www.computersforkids.org.uk/
-
Anonymous344Guest
Thanks for your response, but I know how to encode it, and I've already said that I don't want to deinterlace, so that doesn't really answer my question.
EDIT: Sorry, that was a bit snappy. I was just up late, and I hate it when you ask how to do something and someone tells you to do it another way without saying why. My apologies! I shouldn't have been rude.Last edited by Anonymous344; 19th Feb 2010 at 20:15.
-
You can't resize without doing so in an interlace aware method. This basically involves deinterlacing, resizing, re-interlacing
(you can resize in the horizontal dimension safely, but that doesn't help you)
Resizing interlaced fields with a straight resize will create a big mess
I'm not sure if vdub does it correctly with that checkbox -
Anonymous344Guest
That's a shame! Thank you for explaining that. I felt sure that box would help.
Oh well! Will deinterlacing and reinterlacing work properly? or will the end result look really bad and be a waste of time? -
It might work in vdub with that checkbox , I haven't used it (maybe it is deinterlacing and re-interlacing in the background)
There are too many variables to say if it will look "bad" or not; the initial source quality, type of resize, type of bob-deinterlace algorithm, etc...
But one thing is for certain - if you just do a straight resize, you will end up will a bloody mess. -
Anonymous344Guest
Well, it can't hurt to try. If not, I'll investigate the best way to deinterlace and reinterlace it using virtualdub. I have to use vdub as I want to do some precise cropping too.
-
-
VirtualDub does the equivalent of SeparateFields().Resize().Weave in AviSynth. Or in VirtualDub filters, Unfold Fields Side-by-side, Resize, Fold Side-by-side Fields Together. It's not the best method but you may find it adequate. In VirtualDub you should get slightly better result with Deinterlace (Yadif or ELA, double frame rate), Resize, Interlace (progressive).
You will probably get the best results in AviSynth with:
TempGaussMC_beta1mod()
WhateverResize(720,480)
SeparateFields()
SelectEvery(4,0,3)
Weave()
It will be very very slow with a 1080i source -- probably less than 1 fps.
If your 1080i source is YV12 VirtualDub will screw up the chroma channels.Last edited by jagabo; 19th Feb 2010 at 20:01.
-
Wasn't there an interlaced YV12 bug in vdub as well, jagabo? (but not vdubmod); when importing files directly into vdub instead of through avisynth
You've mentioned it in a few threads, and put up pretty pictures to illustrate
https://forum.videohelp.com/threads/299341-Disabling-Divx-De-interlacing?p=1829791&viewfull=1 -
Anonymous344Guest
I'll see if the source is YV12, but I don't think it is.
I think I'll follow your method anyway. Do I have to save after each step, or can I do it in one step? Thanks to both you. I really appreciate it.
Thanks! I have actually done this in the past, but the result looked unusual at times. Now I understand why (although I might have used multiples of 4 by chance lol) Doh!
Well, we live and learn. I'll give Jagabo's method a go.Last edited by Anonymous344; 19th Feb 2010 at 20:30.
-
Yes, VirtualDub screws up interlaced YV12 chroma channels. VirtualDubMod's internal MPEG decoder handles interlaced YV12 properly, but if you use AviSynth to feed interlaced YV12 to VirtualDubMod it will be handled improperly.
JeffB, most highly compressed video will be YV12. If you can force the decoder to output YUY2 or RGB you won't have any problems with VirtualDub or VirtualDubMod.
If you meant you were going to follow my VirtualDub method -- you can just do the entire thing at once in VirtualDub by adding each of the filters then encoding. -
Anonymous344Guest
Last edited by Anonymous344; 19th Feb 2010 at 20:39.
-
No worries; the reason that I suggested de-interlacing was to get a better quality output. If the resizing/re-encoding process requires that the source be de-interlaced (as poisondeathray suggests), then is there any advantage gained by de-interlacing after the conversion?
-
Anonymous344Guest
Well, I was planning to add in other footage that is already 480i (I have removed the pulldown with DGPulldown) in my editing program (Womble) and smart render. I reckoned that if the footage I am adding is 480i I should reinterlace to match, because I understood that NTSC DVDs have to be interlaced rather than progressive or they don't play on some players.
-
I suggest using 480p instead of 480i since your source is 1080i.
Sample AviSnyth script:
Code:mpeg2source("video.d2v") SeparateFields() SelectEven() # Resize # Filters
Originally Posted by Jeff B
If video is 24fps, you have to add pulldown flags to 29.97.
29.97 progressive encoded video will play on any dvd player.Last edited by Vidd; 20th Feb 2010 at 14:40.
-
Anonymous344Guest
Wow! I didn't know that. That makes my life so much easier. Thanks!
I think I'll still use virtualdubmod as I have to crop the uneven borders and a few pixels of the picture in a precise way and be able to see what I'm doing, if you know what I mean. -
Encoding at 30p will be noticeably jerkier than 30i. If your computer can play a 60 fps xvid file smoothly see the file in this post:
https://forum.videohelp.com/threads/307004-Best-framerate-conversion-%28eg-23-97-to-30-...=1#post1888926Last edited by jagabo; 20th Feb 2010 at 17:07.
-
Anonymous344Guest
My computer can. That looks odd indeed. Now I suppose I will have to reinterlace. I feel like a pendulum lol.
-
That particular video was designed to show the problem at its worst. Sharp, high contrast, medium speed panning shots is where it shows up the most.
-
Anonymous344Guest
Okay! Just checking the settings. (Virtualdub 1.9.8)
Deinterlace
Interpolate using Yadif algorithm
Double frame rate, top field first? (Or bottom?)
Resize
Interlace
Progressive frames
Odd field first? (or even?)
If these are correct, could I deinterlace, resize, edit my two progressive sources together, export as AVI again, then reinterlace the new AVI before encoding to MPEG-2? Wouldn't it be better to edit the two sources together while they are progressive? -
I don't remember. Whichever is correct. After adding the bob step through a shot with smooth motion. If the output frame jumps back and forth you picked the wrong field order.
Whichever you want. Interlaced DVDs are usually Even (Top) field first but can be either. Be sure to MPEG encoder is set to encoder with the same field order.
Not really. As long as you encode with the same settings you can append interlaced video as well as progressive video. -
--
"a lot of people are better dead" - prisoner KSC2-303 -
Anonymous344Guest
Great! So if I have interlaced 23.976 fps video that I have edited, I can just send it to HC Enc, and as long I set the interlaced options correctly and tick the 3:2 pulldown box I should be fine...
Was he perhaps referring to hard-telecined material? (I'm not arguing. I'm just interested.)
-
-
Anonymous344Guest
Right, so if I have progressive 23.976 fps material, send it to HC Enc and tick the 3:2 pulldown box, that is all that is required to make it play properly on a DVD player. Checking the 3:2 pulldown box interlaces and pulls down the video to the right frame rate.
-
Jeff B. - Just to clarify, you're now talking about different material than the original 1080i in the 1st post, correct?
aedipuss - I'm think 30p is DVD compliant (I think it's authored with 2:2 pulldown, so 59.94i signal, not sure) -
-
Anonymous344Guest
Last edited by Anonymous344; 23rd Feb 2010 at 13:32.
-
Anonymous344Guest
So this means any m2v you import into Virtualdub 1.9.8 will have messed up chroma if the video is interlaced. If the video is progressive YV12, I suppose there is no problem.
I suppose I shall have to use Avisynth to change to RGB then. I wonder how many people know about this problem...
Similar Threads
-
Camcorder: buy 1080i or 1080p? Final Cut Express only does 1080i
By adrien23 in forum Camcorders (DV/HDV/AVCHD/HD)Replies: 13Last Post: 12th Nov 2010, 05:37 -
Playing 480i
By sphinx99 in forum Software PlayingReplies: 1Last Post: 19th Mar 2010, 21:58 -
Using AVCHD (1080i) instead of regular AVI-DV (480i) MINI-DV - argh!
By eddie24 in forum Video ConversionReplies: 4Last Post: 6th Oct 2008, 19:32 -
Is it playing 480i or 1080i???
By elmertborts in forum DVD & Blu-ray PlayersReplies: 3Last Post: 22nd Jan 2008, 13:25 -
Is 1080i thru Component the same video quality as 1080i thru HDMI?
By Denvers Dawgs in forum DVB / IPTVReplies: 27Last Post: 13th Jul 2007, 16:25