Welcome Guest ( Log In | Register )


Important

The forums will be closing permanently the weekend of March 15th. Please see the notice in the announcements forum for details.

 
Zero Latency Or Virtualdub Hack I X264vfw?, Problems in Sony Vegas Movie studio
« Next Oldest | Next Newest » Track this topic | Email this topic | Print this topic
asaleo
Posted: Sep 13 2012, 07:12 PM


Advanced Member


Group: Members
Posts: 70
Member No.: 26562
Joined: 4-December 09



Checking VirtualDub Hack adds two black frames before selection and cuts two frames in the end as I have found. When I take the clip into Sony Vegas Movie Studio for adding music and titles I get several strange things in the beginning of the saved file. Unaltered parts of the .avi clip is not rendered in Sony Vegas, just copied. Saving clip without adding anything will also destroy the video with sound starting 1-2 seconds before, pixelated first frames, green frames.
I guess that these two added black frames in the beginning disturbs Sony Vegas.

(Using only zero latency checked and VirtulDub Hack unchecked gives a file containing only the in VirtualDub selected frames.)

If I check Zero Latency and do not check VirtualDub Hack I get a file which Sony Vegas treats well. No problem with anything besides playing. Sony Vegas Motion Studio can not play x264vfw fluently, no problems with .mp4.

Zero Latency is a "Tuning option for minimal encoding latency (zeroframe buffering) at the cost of compression efficiency" acc. to x264vfw.

Test file size is 29826 KB with VirtualDub Hack. File size is reduced to 26068 KB with Zero Latency checked and VirtualDub Hack.

I can not see any loss in quality between files without or with zero Latency.
Can I use zero Latency checked and VirtualDub Hack unchecked without loosing much?
Is B-frames removed with Zero Latency checked?
Regards
 
     Top
dloneranger
Posted: Sep 13 2012, 07:56 PM


Moderator


Group: Moderators
Posts: 2366
Member No.: 22158
Joined: 26-September 07



I'm sort of confident that zero latency removes bframes

Virtualdub hack
QUOTE

The "VirtualDub Hack" option is highly recommended when using x264vfw with VirualDub (or VirtualDubMod). And it does NOT recommended with other encoding programs. It helps to overcome the limitation of VFW interface with its ideology of "one frame in, one frame out" when using B-frames or frame-base multithreading (or other techniques where frame buffering is needed).


TBH I wouldn't use any kind of codec that uses bframes for editing, and I'd hesitate before having to use a lossy codec at all until the final-finished-and-all-done rendering

The zero latency option is not recommended unless you have no other choice
Without bframes the files will generally be larger for the same quality vs with bframes

One thing to watch out for in the x264 settings is to actually set the profile and level to what you require
That auto setting can get optimistic and i had it encode a few files at high bit depth and 4:4:4
(The files were fairly huge compared to what they should have been)

--------------------
MultiAdjust JoinWav WavNormalize FFMPeg Input Plugin v1827 UnSharpMask
Windows7/8 Codec Chooser
All FccHandlers Stuff inc. Installers for acm codecs AAC, AC3, LameMp3
 
    Top
asaleo
Posted: Sep 14 2012, 10:09 AM


Advanced Member


Group: Members
Posts: 70
Member No.: 26562
Joined: 4-December 09



Thanks for the answer dloneranger.
Using VirtualDub first for stabilizing and then Sony Vegas Movie Studio to add music and titles do no require any new rendering. Sony Vegas will copy my .avi files without new rendering. If not so, I would not use two programs for making a video.

Since I earlier used xvid compression I gain a lot of file compression using x264vfw. If file size increases a little using zero latency do not bother me.
I am most intrested in good quality in my video.

I got a smaller file using zero latency which don´t show a less efficient compression.
Bitrate is reduced in a zero latency file of course since it is smaller.
I have used default settings for x264vfw.

I will continue to compare videos with different settings to get settings which will suit me.
Regards
 
     Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
2 replies since Sep 13 2012, 07:12 PM Track this topic | Email this topic | Print this topic

<< Back to Codec Discussion