|
|
| -vdub- |
| Posted: Jun 29 2013, 02:57 AM |
 |
|
Advanced Member
  
Group: Members
Posts: 613
Member No.: 27087
Joined: 24-February 10

|
Virtualdub Internal Resize tool is not showing all needed Multiples Of.. information for us to best encode videos
Take a look VirtualDubMod_Resize.vdf place it in virtualdub/plugins folder. It has information we need when resize and apply multiples of.. 16x16 for example vdubmod_resize shows needed information below the multiples of.. Where user would need to attain correct output Aspect so Aspect error is always +0.000%. Or even for the knowing if multiples vs aspect to match for the multiples set. Try with setting 16x16 then changing the resolution and see how much variance there is and why we need this information to be shown on virtualdub resize
Not having this information makes it a guessing game and I would guess many peoples encodes are worse than they could have been
Virtualdub Internal Resize - coded into each virtualdub VirtualDubMod_Resize - Download from Sourceforge
Use of VirtualdubMod_Resize you may need to know.. 1. Compare for a long time all current VirtualDub the Internal Resize is far faster for video encoding 2. VDubMod_Resize works in RGB colorspace (not a problem if set an alias plugin or set to correct output colorspace from virtualdub video menu Color Depth..
For many years I don't use virtualdubmod_resize for any video encodes. I have used it to check and know the multiples information is correct for the resolution and aspect ratio. Also a help for knowing what is the correct resolution and aspect ratio when needed
@Phaeron also with the above an ability to sort the plugin filters. So all the virtualdub internal filters are located together. Suggest able to remove the tutorial filters via setting so not show for those of use that don't use or need them. Time for an update of the plugin filter ui window making import export saving and others things possible |
 |
| phaeron |
| Posted: Jun 30 2013, 10:13 PM |
 |
|

Virtualdub Developer
  
Group: Administrator
Posts: 7773
Member No.: 61
Joined: 30-July 02

|
I took a look at the VDMod_Resize filter, and I don't think I quite understand the point of the ratio error indicator. Perhaps you can explain in more detail.
Yes, it tells you the difference in frame aspect ratio between the input and the output, but any video player that's any good will preserve both pixel and frame aspect ratio by default when scaling up video. Also, the block alignment option in the internal resize filter doesn't distort PAR -- it applies a slight aspect-correct zoom and micro-crop as needed. The crop/letterbox and alignment options in the internal filter always preserve PAR. Finally, VirtualDub's internal resizing engine does fractional target sizes, so there's no point in fiddling with +/- pixels to try to hit more a accurate PAR as you can just target 313.7 pixels directly instead of having to determine whether 313 or 314 is more accurate. Features in the image are always scaled by the accurate ratio regardless of nearest pixel rounding in the frame size. This is why the aspect ratio setting in the internal resize filter puts fractional values in the new size fields instead of just rounding off the values.
Now, if you're in the situation where a device does aspect incorrect scaling or otherwise has additional requirements, I could see more info being required... but if you've got an output device that picky/sloppy, chances are there are specific frame sizes you need to hit anyway instead of just specific ratios. |
 |
| -vdub- |
| Posted: Jul 1 2013, 02:20 AM |
 |
|
Advanced Member
  
Group: Members
Posts: 613
Member No.: 27087
Joined: 24-February 10

|
If I use correct values from vdmod_resize filter that has correct Multiples Of.. and Aspect Error +0.000% Then applied these exact same values to virtualdub internal resize filter so they match vdmod_resize filter. Where encoding virtualdub resize would be the only active filter or process making changes. Would virtualdub internal resize filter still need make ' 'a slight aspect-correct zoom and micro-crop as needed' ' to the video ? |
 |
| phaeron |
| Posted: Jul 21 2013, 09:31 PM |
 |
|

Virtualdub Developer
  
Group: Administrator
Posts: 7773
Member No.: 61
Joined: 30-July 02

|
No, if you're targeting a size that is an exact aspect ratio match the internal resize filter shouldn't need to crop anymore than the external one. |
 |
| -vdub- |
| Posted: Jul 22 2013, 08:14 AM |
 |
|
Advanced Member
  
Group: Members
Posts: 613
Member No.: 27087
Joined: 24-February 10

|
Thanks phaeron for the informations I will keep using both one for getting correct values for perfect AR of 0.000% each time. Then apply the same to virtualdub internal resize filter so to work with YUV alone and encode at speed. It is for me the multiples that throw the AR from a perfect 0% each time. Having correct multiples and able to see Error Ratio is 0% for the resize is useful information. Error Ratio 0.000% pixel perfect Vs every Error Ratio that is not 0.000% pixel perfect |
 |