Good afternoon people
Does anyone know how to code in Vegas without loss using deblocking enabled?
+ Reply to Thread
Results 1 to 7 of 7
Code? Deblocking means blurring/smoothing, means re-encoding, means lossy. Vegas can do lossless DV and HDV editing with straight cuts. I am not sure it can do other codecs losslessly.
Vegas can do lossless editing for some codecs. This assumes, of course, that you are doing what is known as "cuts-only" editing, meaning you are simply cutting and rearranging clips, without applying any fX (as Vegas calls them).
Since I have used Vegas for over 20 years, and since I needed to do lossless editing for codecs where Vegas doesn't support this feature, I created an Excel spreadsheet which lets you save and EDL (Edit Decision List) from Vegas, import that into my spreadsheet, push a button, and then get a series of ffmpeg commands which will do the cutting for you.
However, my recommendation is to instead do the cutting in VirtualDub (free) or VideoRedo (cheap).
You can use a lossless codec such as lagarith . Filesize will be many times larger than the original, if the original was lossy compressed . Lossless compression works in reference to the uncompressed data. If you export out of vegas uncmopressed RGB, the filesize will be very large; lossless compression will generally reduce that to about 1/2
Lagarith only supports 8bit. If you wanted to preserve your effects at higher bit depth, you'd need something like UT video 10bit RGB, or PNG sequence @ 16bit, or an EXR sequence (16bit or float)
Deblocking has nothing to do with lossless codecs. Deblocking would be an effect you apply. Deblocking is lossy in terms of the input video. "Losslessness" would be in reference to the last output of the filters, not to the original video
Vegas has several codecs you can use which are visually lossless. I would recommend using those instead of one that is truly lossless. The file sizes are much smaller, and the performance on the timeline is much faster when you use one of those.
As poisondeathray correctly pointed out, "deblocking" is a filter (fX, in Vegas terms). Some codecs do include this as a switch that you can turn on or off, but most of them do not have this feature. My recommendation would be to frameserve into an AVISynth script and do your deblocking there.