Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
14th June 2021, 20:25 | #8201 | Link | |
Moderator
Join Date: Jan 2006
Location: Portland, OR
Posts: 4,770
|
Quote:
Note that if you are doing 10-bit, you need to use: ffmpeg.exe -i %1 -pix_fmt yuv420p10le -strict -1 -f yuv4mpegpipe - > test.y4m And for piping: ffmpeg.exe -i foo.mov -pix_fmt yuv420p10le -strict -1 -f yuv4mpegpipe - | x265.exe - --y4m |
|
15th June 2021, 06:41 | #8202 | Link | |
Registered User
Join Date: May 2005
Posts: 1,462
|
After painstakingly long denoising, I am finally ready to run the final x265-only process on The Fith Element (combined from 4x seperately denoised parts). I used the following command line:
Code:
VSPipe --y4m "f:\jobs\fifthfin.vpy" - | x265 --y4m --input - --preset medium --input-depth 10 --output-depth 10 --crf 10 --colorprim 9 --transfer 16 --colormatrix 9 --master-display "G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(40000000,50)" --max-cll "10000,724" --frames 181104 --chromaloc 2 --output "g:\video\fifthfin.hevc" Quote:
Am I doing anything wrong?
__________________
Gorgeous, delicious, deculture! |
|
15th June 2021, 07:16 | #8203 | Link |
Pig on the wing
Join Date: Mar 2002
Location: Finland
Posts: 5,733
|
Looks ok to me. The CRF value's behaviour in HDR and SDR differs quite a lot as the HDR input is very flat and the encoder does not do any internal grading when analysing the video. I usually lower the CRF value by 4 with HDR encodes to get to the similar quality level.
__________________
And if the band you're in starts playing different tunes I'll see you on the dark side of the Moon... |
15th June 2021, 07:30 | #8204 | Link | |
Registered User
Join Date: May 2005
Posts: 1,462
|
Quote:
__________________
Gorgeous, delicious, deculture! Last edited by asarian; 15th June 2021 at 07:33. |
|
15th June 2021, 08:07 | #8206 | Link | |
Registered User
Join Date: Apr 2017
Posts: 63
|
Quote:
so, this would have been wrong? ffmpeg.exe -i %1 -pix_fmt yuv420p -f yuv4mpegpipe -| x265.exe --input - --y4m .... so I tried this: ffmpeg.exe -i %1 -pix_fmt yuv420p10le -strict -1 -f yuv4mpegpipe - > %1.y4m x265.exe --input %1.y4m --y4m .... what I noticed: - ffmpeg runs async in the background, continuously creating the file while x265 already starts processing. - The file is huge, already 90GB out of a 20GB mkv Is both expected and ok? |
|
15th June 2021, 08:43 | #8207 | Link | |
Pig on the wing
Join Date: Mar 2002
Location: Finland
Posts: 5,733
|
Quote:
In addition to your settings, I'd set --no-sao to disable the infamous Smooth All Objects functionality. I'd probably also use --deblock -1:-1.
__________________
And if the band you're in starts playing different tunes I'll see you on the dark side of the Moon... |
|
15th June 2021, 08:51 | #8208 | Link |
Broadcast Encoder
Join Date: Nov 2013
Location: Royal Borough of Kensington & Chelsea, UK
Posts: 2,904
|
Not really, I'm not an home user, I'm gonna be encoding professional UHD 12bit masterfiles coming from IMF Packages with MJPEG2000 RGB 12bit sources and I expect x265 to scale quite efficiently on all the cores. We'll see.
|
15th June 2021, 12:41 | #8209 | Link | |
Registered User
Join Date: Dec 2013
Posts: 349
|
Quote:
Regarding the size, you get ~6Mb per HD frame or ~24Mb per UHD frame. So at 24fps thats ~150 or ~600 Megabytes per second of video. So its not practical. |
|
15th June 2021, 12:42 | #8210 | Link |
Registered User
Join Date: May 2014
Posts: 292
|
--ssim-rd - results in terribly poor image quality at low bitrate.
Code:
ffmpeg -i z:\space_6s.mkv -f yuv4mpegpipe - | x265 --y4m --input - --output-depth 10 --profile main10 --max-merge 1 --no-early-skip --rskip 0 --bframes 1 --ref 1 --bitrate 1000 --tune ssim --ssim-rd z:\ssim-rd.mkv Code:
ffmpeg -i z:\space_6s.mkv -f yuv4mpegpipe - | x265 --y4m --input - --output-depth 10 --profile main10 --max-merge 1 --no-early-skip --rskip 0 --bframes 1 --ref 1 --bitrate 1000 --tune ssim z:\ssim-rd-off.mkv
__________________
Win10x64, Xeon E5450, GTX 750 2GB, DDR3 8GB. |
15th June 2021, 13:34 | #8211 | Link | ||
Pig on the wing
Join Date: Mar 2002
Location: Finland
Posts: 5,733
|
Quote:
Quote:
__________________
And if the band you're in starts playing different tunes I'll see you on the dark side of the Moon... |
||
15th June 2021, 14:35 | #8213 | Link | |
Lost my old account :(
Join Date: Jul 2017
Posts: 324
|
Quote:
Could you please report back what frequency you are getting under high utilization with and without AVX512? We are moving to Epyc on all our encoding hardware, the frequency under load are just much higher compared to Intel in simulair price bracket were 32/64 CPU:s can push over 3Ghz under load. Last edited by excellentswordfight; 15th June 2021 at 14:45. |
|
15th June 2021, 15:16 | #8214 | Link |
Pig on the wing
Join Date: Mar 2002
Location: Finland
Posts: 5,733
|
Have you found out which particular one triggers it?
Not that I expect them to fix it even if you reported the issue at the bug tracker
__________________
And if the band you're in starts playing different tunes I'll see you on the dark side of the Moon... |
15th June 2021, 16:48 | #8215 | Link | |
Registered User
Join Date: Apr 2017
Posts: 63
|
Quote:
thanks! |
|
15th June 2021, 17:46 | #8216 | Link | |
Moderator
Join Date: Jan 2006
Location: Portland, OR
Posts: 4,770
|
Quote:
|
|
15th June 2021, 18:02 | #8217 | Link | |
Moderator
Join Date: Jan 2006
Location: Portland, OR
Posts: 4,770
|
Quote:
Reducing --ipratio and --pbratio can help with this as well, also increasing bitrate. There's also the experimental --aq-motion which might be worth poking out if you have idle encoding time. I'm not sure why reducing --qg-size would help. That specifies the block size in which QP be can be varied, and is more useful for improving quality of content of highly variable detail. |
|
15th June 2021, 18:06 | #8218 | Link | |
Registered User
Join Date: May 2005
Posts: 1,462
|
Quote:
__________________
Gorgeous, delicious, deculture! |
|
15th June 2021, 18:10 | #8219 | Link |
Registered User
Join Date: May 2005
Posts: 1,462
|
I never went below 14 with x264 (and even then friends declared me insane). Since I read the quality of x265 can often be lower, esecially in dark spots, I went as low as 10. With 10 more hours to gp on the final run, file size is estimated at 44G now, which I still deem acceptable. Shouldn't become much larger, though.
__________________
Gorgeous, delicious, deculture! |
23rd June 2021, 21:54 | #8220 | Link |
Registered User
Join Date: May 2020
Posts: 74
|
Hey guys new here and really looking for some solid advice. I would greatly appreciate it.
I am in the process of backing up my Blu-Ray Collection that has a ton of movies in it. My CPU is pretty good, but for x265 especially, one movie would take a crazy amount of time. I have a lot of space on my NAS but not enough for full REMUXES of every movie so I want to encode the video ONLY. I want to passthrough the original Blu-Ray and 4K UHD Audio (DTS-MA/Dolby Atmos/True HD, etc). Can you guys please offer advice on the best program and settings to use? I know I want to use a really low CRF, and will keep the settings constant for every movie. In the event that the file ends up being just as big or bigger than the original, I can keep the original file instead of the encoded one. I prefer to keep the video as untouched as possible so no cropping or killing the grain, etc. I will watch the movies on something like Plex or KODI (direct play). *Also, I should mentioned I tried Handbrake, but it seems limited on settings. For instance, you can only choose up to "Slow" as the slowest setting (no slower or placebo option). I would like a program easy to use that I can just run and not have to worry about checking screenshots for each movie, especially since I have so many movies. Thank you guys so much! Last edited by StormMeows; 23rd June 2021 at 21:57. |
Thread Tools | Search this Thread |
Display Modes | |
|
|