| Printable Version of Topic
Click here to view this topic in its original format |
| Unofficial VirtualDub Support Forums > Codec Discussion > Ffdshow Codec F*cks Up My Video |
| Posted by: Sanedraned Aug 2 2011, 06:02 PM |
| I never had this problem before, i edited my video in Sony Vegas Pro 10, everything worked fine. I opened it in VDub, still everything was fine. but AFTER the ffdshow codec my video looks... Weird. here are some screenshots of how it looks like, Also a screen shot of my ffdshow settings (i will only show one tab, because the rest is default settings) BEFORE codec in VDub ![]() AFTER codec played in VLC media player ![]() Setting of the codec ![]() Thanks in advance for everyone who can help me in any way |
| Posted by: dloneranger Aug 2 2011, 06:46 PM |
| See how it is if you resize or crop the video to make the width and height to multiples of 8 |
| Posted by: Sanedraned Aug 2 2011, 08:10 PM |
| I am kinda new and i havent used Vdub for anything else than put in a video en use a codec, so could i ask you how i can resize the video? |
| Posted by: dloneranger Aug 3 2011, 04:48 AM |
| On the video menu, click 'filters' On the new dialog, click 'add' Scroll down the list to find the 'resize' filter, click it, click ok Click the 'configure' button to edit the resize settings To just change the size to make sure it's a multiple of 8, click the 'multiples of 8' option To change the size to any thing you like, change the height/width numbers at the top right Youtube has some decent tutorial videos, just search for 'virtualdub resize' etc Some of the videos are older and the options might be different now though You'll also find something called VirtualdubMod - it's not the same program, it's a very old modified version of virtualdub that does a lot of things differently |
| Posted by: Sanedraned Aug 3 2011, 03:50 PM |
I've tried out what you mentioned, it did solve that the video was twisted 45% degrees, but now its blue? |
| Posted by: dloneranger Aug 3 2011, 04:42 PM |
| Sounds like the U and V channels are getting reversed somehow Is your ffdshow old? I remember that bug being there a while ago, and was fixed Is there any particular reason you're compressing with mjpeg? |
| Posted by: dloneranger Aug 3 2011, 06:27 PM |
| btw, the multiadjust filter in my sig can do uv channel reversal |
| Posted by: Sanedraned Aug 3 2011, 07:48 PM |
| As far as i can remember my ffdshow isn't that old (downloaded the latest version 1 1/5 month ago), also I've compressed more video's with the same settings, and those didn't get any color problems. The reason I'm using mjpeg for compressing is that i didnt know if it would make a difference, and it worked before. So I've just used it, I can asume the other options are better? |
| Posted by: dloneranger Aug 3 2011, 07:52 PM |
| It's not one of the most usual ones, it's usually used for editing videos from cameras The most usual video compressors are xvid, divx or x264 (that's a virtualdub compatible h264 encoder) |
| Posted by: Sanedraned Aug 3 2011, 07:57 PM |
| I did try out DivX but it just won't work with my resolution 1650 x 1050 I've tried out and i think DivX only works with resolutions similar to 1024 x 720 and 1980 x 1080 |
| Posted by: dloneranger Aug 3 2011, 08:15 PM |
| It depends on the profile you select in the codec - eg if you pick the dvd profile, you won't be able to encode past 720x576 If you want a free choice, you can choose an unconstrained profile Most codecs with profiles work like that To use divx's better features it requires a licence key , so people tend to use xvid instead |
| Posted by: Placio74 Aug 3 2011, 08:35 PM |
| Also... 1650 isn't multiple of 4. For DivX width must be a multiple of 4 and height must be a multiple of 2. |
| Posted by: Sanedraned Aug 3 2011, 08:52 PM |
| Then could i ask what codec you guys recommend for a resolution of 1650 x 1050 (or a codec where i can change the size freely) |
| Posted by: DarrellS Aug 19 2011, 05:05 AM |
| XviD will compress that frame size with no problem. DivX is picky about what frame sizes it will encode (especially in the higher resolution sizes). |