Some here told me sometimes i can do a lossles encode (for example if i have to do 2 things not at the same time because of to less memory. Then i can do the first step and then the second. This person told me, i can save the first lossless to use it in the second step. But i still dont know, how you can do that.
Has someone an idea ? Because in the Encoding-Setting i dont find sth. calles lossless or so.
And i have a question about filter-order: If i use for example this order: 1. upscaling with VSGAN then thin lines with "Thin GLSL A4k". Does it then upscale one frame, then filter this one frame and then it goes to the next frame, or does it upscale first everything and then filter everything ? Because the first thing would maybe use my CPU and GPU ressources more (which is good for me).
+ Reply to Thread
Results 1 to 20 of 20
-
Last edited by Platos; 3rd May 2023 at 14:36.
-
Assuming you are refering ot Hybrid, there are multiple encoders that support lossless encoding.
for example: x264, x265, vp9 through vpxenc, av1 through aoemenc, NVEncC for h265 and av1
there are also some encoders/formats that only support lossless encoding like: FFV1, FFHuff
=> if you can't find a way to encode to a lossless format with Hybrid it's your lack of looking,...
or does it upscale first everything and then filter everything
-> I doubt this can be done on any consumer hardware available. (even most common server hardware doesn't have enough RAM)
Also Vapoursynth and Avisynth both use parallelism/multithreading (to the point that srestore/cdeblend doesn't work as they are in Vapoursynth anymore), so multiple frames are usually processed in parallel, unless a filter library requests frames explicitly in a linear fashion.users currently on my ignore list: deadrats, Stears555 -
-qp 0, or -cfr 0. It doesn't give you those? Doubt it.
Scott -
x264 lossless requires profiles to be lossless or unrestricted. (Hybrid by default uses 'High'-profile which does not support lossless encoding.)
NVEncC lossless is only there if the card supports it. (nvencc --check-features)users currently on my ignore list: deadrats, Stears555 -
Ok, i have RTX 4070Ti, which does support that all.
When i use Nvenc h265 in Hybrid with constant quantizer i can only go down to 1. I cant set 0. I also tried other encoder-presets. I also tried "main" profile instead of high. And the lossles-checkbox is greyed out. It's only available on software x265 and software av1. -
users currently on my ignore list: deadrats, Stears555
-
-
I can select High4:4:4, 4:4:2 profile in x264 and select the output color space, but I can't set the CRF calue to zero in order to produce a lossless x264 output.
X264 lossless would usually give smaller output files compared to other lossless codecs which may justify to include lossless x264 in Hybrid (?)
As I see it the reason why some discourage from using lossless x264 is because of player compatibility issues, and because it is more CPU demanding than other lossless codecs, which has the risk of dropping frames with slower PCs for capturing. -
I can select High4:4:4, 4:4:2 profile in x264 and select the output color space, but I can't set the CRF calue to zero in order to produce a lossless x264 output.
Cu Selurusers currently on my ignore list: deadrats, Stears555 -
A little late to the game, but is there a FFV1 input filter for VapourSynth too? (Or a way to output in FFV1 even)
-
Are you referring to vapoursynth in general ? (or is this specific to hybrid) ?
You can load FFV1 into a vapoursynth script with ffm2, lsmash, or bestsource
You can pipe vspipe to ffmpeg to export FFV1 (or some ffmpeg binaries are compiled with vapoursynth demuxer, you can load .vpy directly) -
-
FFV1 isn't exactly "fast" for encoding (or decoding) either.
You can change the settings to make them encode faster, such as faster presets, intra encoding. The filesize will be larger, but if they are just for temp files it shouldn't matter if you have enough storage space
Depending on the pixel type that you are using, and the hardware that you have - GPU lossless encoding is another option for fast encoding/decoding - sometimes many times faster
But if you have other bottlenecks in the workflow - such as slow filters - it won't matter how fast the encoding portion is.Last edited by poisondeathray; 9th Nov 2024 at 10:10.
-
-
Should be larger, because the compression is worse. But the quality is the same when using lossless compression ; lossless = lossless - it's just smaller or larger filesizes and slower or faster encoding
The presets , in general , trade off encoding speed for compression ratio .
I mean, normally it obviously would, but I had assumed setting '--lossless' would always output an uncompressed stream, regardless of preset. -
Similar Threads
-
The perfect encode, is it possible?
By sophisticles in forum Video ConversionReplies: 18Last Post: 26th Feb 2023, 05:24 -
Transcode or re-encode?
By Be4rgei5t in forum Video ConversionReplies: 2Last Post: 27th Dec 2021, 17:53 -
Help with a vhs encode please
By hdfills in forum Video ConversionReplies: 24Last Post: 21st Sep 2021, 16:47 -
7.1ch encode
By davidcameron in forum AudioReplies: 0Last Post: 13th Apr 2020, 09:07 -
Does encoding in Handbrake without Audio make the encode faster?
By focuspuller in forum Video ConversionReplies: 10Last Post: 11th Jan 2019, 06:18