Forum Archive Home -> Video Conversion -> VirtualDubMod Problem??
VirtualDubMod Problem?? | ||||||
| 3thman posted 2009 Nov 01 15:41 | ||||||
| A strange thing happens with me in VDub ;
- I want to edit this chuck in VDub , its .ts file , so I created AVS script in MeGUI ... Imported it in VDub. - I did the following : 1 - applied " Donald graft s smooth deinterlacer filter. 2 - cropped it with the shown values. 3 - encoded it as xvid video. .. the images shows what happened. - Please download these files : 1 - The input chuck : 3.40 MB http://www.mediafire.com/?m4ghzmwykey 2 - The output chuck : 930 KB http://www.mediafire.com/?kftq2myyrzi 3 - the .AVS & .D2V files : 1.14 KB http://www.mediafire.com/?dezzm1yznam The input image :
The cropping values :
The output image : Notice the vertical line ...
:idea: Please note : - I m used to do these steps , I always get no defects ... this problem appeared today , I reinstalled the operating system but the problem not solved ... I suspect the k-lite mega codec pack ( the last version ) ... the problem appeared when I used it ... there is another problem appeared when i used it ... when I open a folder containing .rmvb files the explorer freezes and says " explorer has encountered a problem an needs to close " **** HOW TO SOLVE THIS PROBLEM ? What can u advice me about k-Lite Mega Codec Pack ? Is there any other pack behaves well ? SORRY FOR prolixity. | ||||||
| redwudz posted 2009 Nov 01 17:35 | ||||||
| ffdshow will open most video formats and it's not a codec pack but works similarly and rarely causes problems like codecs packs seem to do. | ||||||
| jagabo posted 2009 Nov 01 17:42 | ||||||
| On my computer your AVI files plays with the same vertical bar at the right edge.
I duplicated your VirtualDubMod filtering sequence and got no problems: duplicated.avi But there is something wrong with your video. After cropping in VirtualDub you should have had a 712 pixel wide image left. But your AVI file has a width of 716. Why are you using Crop(0,0,0,0) in your AviSynth script? And LanczosResize(720,576)? Your video is already 720x576. | ||||||
| 3thman posted 2009 Nov 01 17:54 | ||||||
Than Q so much 4 effort .... but may u tell me about the codecs installed on your PC? also , may u tell me your xvid presets in the duplicated file? | ||||||
| jagabo posted 2009 Nov 01 18:05 | ||||||
| I used Xvid-1.2.2-07062009. I think the version you are using simply doesn't like the frame size you are using (mod4 width, mod2 height). Note I added a bit to my previous post. | ||||||
| 3thman posted 2009 Nov 01 19:33 | ||||||
Than Q so much again .. * the problem is solved by using your recommended Xvid version. * About resizing , there was another problem ; these vids are DVB streams recorded by satellite card " skystar2" ... In some channels , it gives me fake aspect ratio ... it is supposed to be 720x576 but actually when I put it in VDub or any other program the resulting aspect ratio becomes 480x576 ... so I decided to resize it in the script , but here u r right .. I was wrong to resize this vid. :( - but about the buggy vids , Is it wrong to resize it by this way ? Is there any other way? snapshot from VDub to the buugy vid
* I asked about codec packs on your PC if u use packs. | ||||||
| jagabo posted 2009 Nov 01 21:21 | ||||||
| With MPEG encoding the frame size does not directly determine the display aspect ratio. MPEG files have a flag in them that tells the player at what aspect ratio the file should be displayed. Your sample TS had a frame size of 720x576 (a 5:4 ratio) but the proper display aspect ratio was flagged as 4:3.
There are two ways you can address this with Xvid encoding. You can resize the frame to a 4:3 ratio (like 640x480) and encode as "square pixel", or you can encode at any frame size and use Xvid's PAR/DAR flags to tell the player the correct display aspect ratio (4:3 in this case). It's generally safer to use square pixel encoding since not all players will respect the PAR/DAR flags. PAR is Pixel Aspect Ratio (the shape of individual pixels). DAR is Display Aspect Ratio (the final shape of the picture). I don't use codec packs. I have ffdshow installed along with a few other specific codecs like Xvid, CoreAVC Pro, HuffYUV, Lagarith, Cedocida, and x264vfw. | ||||||
| 3thman posted 2009 Nov 02 14:03 | ||||||
* As u said , I solve the problem by resizing to any 4:3 aspect ratio & encode as " square pixel " . * Is there any difference between resizing with the VDub built in resize filter and Avisynth script resizing ?
* 720x576 & 720x480 (PAL & NTSC) always have 4:3 DAR ?? Is there any problem in conversion between them ? Than Q so much again :) | ||||||
| manono posted 2009 Nov 02 14:40 | ||||||
Once you load an AviSynth script, you should do all your filtering in AviSynth, not just the crop/resize but the deinterlacing and anything else. That way you can use Fast Recompress in VDub (rather than the slower Full Processing), and the encoding will go much faster and the the output quality will be slightly better because of no (or minimized) colorspace conversions.
If for DVD both 720x480 and 720x576 can be set to encode as either 4:3 or 16:9.
Not sure what you're asking here, but in general the answer is 'no'. | ||||||
| jagabo posted 2009 Nov 02 14:45 | ||||||
| MPEG 2 supports 4:3, 16:9, square pixel, and 2.11:1 DAR. 4:3 and 16:9 are the most common and the only two legal for DVD, I believe. | ||||||
| 3thman posted 2009 Nov 10 12:15 | ||||||
Thank u so much for response , "Fast Recompression mode" is very good Idea , but all avisynth deinterlacing plugins I ve seen are either extremely slow like" TempGaussMC beta1" or fast but gives lower quality .. so I use Donald Graft s Smart Deinterlacer. If U know any other Plugin that gives highest Quality & moderate speed , Please tell me about it ... the chuck is above U can Download it and try. Another thing , In some vids I has to use "Region Remove filter" in VDub to remove the channel logo as I did in my Avi file , I cant do this in Avisynth. If u know similar filter in Avisynth , tell me about it THAN Q AGAIN. | ||||||
| manono posted 2009 Nov 10 19:49 | ||||||
When I tried to download the Input Chuck it said this:
Yes, TempGaussMC is slow. Have you tried Yadif? "highest Quality & moderate speed " are pretty much mutually exclusive and highest quality is also the slowest. I remove logos all the time, but can't suggest anything unless and until I see the video. | ||||||
| 3thman posted 2009 Nov 11 10:32 | ||||||
| Sorry 4 bad link , these is the links
http://www.mediafire.com/?5mwzewmm1w1 ==> the ts file http://www.mediafire.com/?bzbmmtgyl92 ==> the avi file Thanks 4 interest | ||||||
| manono posted 2009 Nov 11 17:34 | ||||||
| If you just cropped away the bottom, then there's no need to deinterlace it as the rest is progressive. Except for the last few frames and I'm not sure what's going on there, but your AVI still has the comb artifacts in those few frames also. The logo was removed fairly well from the AVI. Were you looking for something better? What did you use on it?
That line along the right side is most likely because of the screwy resolution you used. Try and make it at least Mod8 (both height and width divisible by 8) if not Mod16. Here's my attempt at it: http://www.mediafire.com/?ynngwdwmm2y I could do a better job if there were a frame with a dark background to use to build the mask. The script used was: InpaintFunc(mask="logo1.bmp",loc="TR",AR=4.0/3.0,mode="Inpaint",speed=10, ppmode=2,pp=100,radius=10.0,preblur=10.0) Crop(0,4,0,-134) LanczosResize(720,400) http://avisynth.org/mediawiki/InpaintFunc Be warned, though, that this filter is very slow. |
Login/Register to our forum to be able to post here.

