+ Reply to Thread
Results 1 to 19 of 19
Last edited by mgt1234; 16th Feb 2016 at 03:33.
Last edited by Baldrick; 16th Feb 2016 at 03:20.
x265 HD video encoding is very slow.
Get a faster computer or try a faster preset, change to constant quality and change the x265 preset to Superfast.
I Want Use Medium preset or fast, but encoding A one-hour Movie , It takes half an hour!
I Want Help me to encoding faster than!
Computer Information :
Ram : 32Gb
CPU : Intel (R) Core (TM) i7-3930k . 3.20GHz
Is this appropriate?
Why do you want to convert at all? Shrink it?
Why This Softwares are not usage full power cpu?
They all use same x265 engine so you should get same speed. But if you want SMALL size and GOOD quality it will take that much time.
Baldrick, you're a very patient man ^_^
I've recently gone through the trouble of Transcoding my whole video catalog over to HEVC. I use https://github.com/FallingSnow/h265ize with the following settings.
h265ize -v -m medium -q 20 -x --no-sao --aq-mode 3 --delete --stats
-v - Verbose Output
-m medium - Medium encode speed (smaller higher quality, anything slower I find is not worth the time/quality dif)
-q 20 - the CRF used, 20 is similar to 18 or so in x264 but hey. This is for 1080p content (90% of my TV) I tend to use 22 for my 4K movies
-x - Use x265 central defined commands --no-sao turns off Sample Adaptive Offset (improves speed of encode)
--aq-mode 3 - use Adaptive Quantisation with auto variance, helps 8bit encodes, especially in dark areas, stops most of the banding that can happen (at expense of encode time though)
--delete - replace encoding file with encoded file (test before using this one)
--stats - Write stats out to a csv file in the root of the path you ran from.
Encode speeds are around 30fps (for most 1080p stuff) on my rig. Dual Xeon E5 2687W v2, but I force the FFMPEG process to not use the first side of one of the processors (It's my Plex server, so have to make sure there's overhead for transcode if needed on playback etc)
Yes it took a while to convert most of it over, and now I have a scheduled task that runs twice a day to encode the stuff from that day over to x265.
The space savings have been enormous. My initial SAN was at 20Tb use, now it's around 12 but obviously has been added too with 6 months more content.
I've started to transcode all my Movies over too, however, that's an ongoing process, as I have to ID quality levels (Radarr fortunately labels then nicely) and use one of three transcode settings
-m slower -q 18 -x --no-sao --aq-mode 3 : for 720p transcodes
-m medium -q 20 -x --no-sao --aq-mode 3 : for 1080p
-m medium -q 22 -x --no-sao : for 2160p
Hope that helps some people. Shout if anyone needs a hand setting it all up. And before you encode everything to x265, think about playback, if the client doesn't support x265 native, then the transcade can be expensive in terms of CPU and Quality.
sorry but isn't -q 20 option Constant QP rate control that should be bit different from -crf 20?
I am always wrong, so if I am wrong again, let me know
BernixVideo Avidemux, Mkvtoolnix, Subtitle edit, Vidcoder. Other software that I love :Animation: Opentoonz, Painting: Krita, Video capture: OBS studio, Video player: Potplayer, TV recording: VLC, NLE: KDEnlive
By definition constant QP means "constant" quantizer - so "adaptive" quantization is also disabled. So --aq-mode 3 doesn't work in his command line
Generally it's a less efficient method than crf for a given level of visual "quality".
as a note -q 4 is essentially lossless (when you use the -lossless setting in X265 advanced parameters it sets that value itself)
Just thought the post may help some people in moving over to x265/HEVC a little easier.
EDIT : As mentioned above the aq-mode wont work, thanks for letting me know, I hadn't realised, may have to edit my scripts now to take that into account.
Last edited by charlas; 8th Nov 2017 at 09:24.
Are you using the h265ize script on windows? If so, how did you install the vobsub2srt dependency? I am having issues trying to get that installed on windows even though the creator claims "everything" (i assume) is compatible with windows, mac and linux.