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. |
18th July 2024, 18:41 | #9321 | Link | |
Moderator
Join Date: Jan 2006
Location: Portland, OR
Posts: 4,866
|
Quote:
It does the big hard parts by downloading the git and does a lot of cmake, with a lot of version warnings, but still fails, as the /lib/ folder isn't getting made so there's nothing to link from it. These are the first instances of potentially relevant warnings/errors: CMake version complaints: CMake Warning (dev) at CMakeLists.txt:19 (project): cmake_minimum_required() should be called prior to this top-level project() call. Please see the cmake-commands(7) manual for usage documentation of both commands. This warning is for project developers. Use -Wno-dev to suppress it. Does this need NUMA for some reason? CMake Warning (dev) at /opt/local/share/cmake-3.29/Modules/FindPackageHandleStandardArgs.cmake:438 (message): The package name passed to `find_package_handle_standard_args` (NUMA) does not match the name of the calling package (Numa). This can lead to problems in calling code that expects `find_package` result variables (e.g., `_FOUND`) to follow a certain pattern. Call Stack (most recent call first): cmake/FindNuma.cmake:43 (find_package_handle_standard_args) CMakeLists.txt:115 (find_package) This warning is for project developers. Use -Wno-dev to suppress it. And a Nasm error. I confirmed it was installed with home-brew: "CMake Warning (dev) at /opt/local/share/cmake-3.29/Modules/FindPackageHandleStandardArgs.cmake:438 (message): The package name passed to `find_package_handle_standard_args` (nasm) does not match the name of the calling package (Nasm). This can lead to problems in calling code that expects `find_package` result variables (e.g., `_FOUND`) to follow a certain pattern. Call Stack (most recent call first): cmake/FindNasm.cmake:23 (find_package_handle_standard_args) CMakeLists.txt:415 (find_package) This warning is for project developers. Use -Wno-dev to suppress it." And where it finally fails. I confirmed that the /lib/ folder has not been created. I tried running with sudo which didn't change anything. -- Performing Test CC_HAS_STACK_REALIGN -- Performing Test CC_HAS_STACK_REALIGN - Success -- GIT_EXECUTABLE /usr/bin/git -- GIT LIVE REPO VERSION RETRIEVED -- X265 RELEASE VERSION 3.6+34-0dfbe6dee -- Detected CXX compiler using -O3 optimization level -- The ASM compiler identification is AppleClang -- Found assembler: /Library/Developer/CommandLineTools/usr/bin/cc -- Looking for strtok_r -- Looking for strtok_r - found -- Looking for include file getopt.h -- Looking for include file getopt.h - found -- Configuring done (2.2s) -- Generating done (0.0s) -- Build files have been written to: /Users/benwagg/x265_macos_arm_build/x265_git/source/x265-build/8bit ninja: error: '/Users/benwagg/x265_macos_arm_build/x265_git/lib/libx265_main10.a', needed by 'x265', missing and no known rule to make it I'm also attaching the full console output as a .rtf.zip Any suggestions? |
|
19th July 2024, 00:33 | #9322 | Link |
...?
Join Date: Nov 2005
Location: Florida
Posts: 1,443
|
Oh yeah, that's because the instructions I copied from also included building obuparse, L-SMASH, and AviSynth+ for x265-Yuuki, and those would have created that set of install directories before running the cp operation on the 12bit and 10bit runs. I simply forgot about that when I opted not to copy those parts over.
Code:
git clone https://bitbucket.com/multicoreware/x265_git && \ cd x265_git && \ mkdir -p source/x265-build/{12bit,10bit,8bit} Code:
git clone https://bitbucket.com/multicoreware/x265_git && \ cd x265_git && \ mkdir -p source/x265-build/{12bit,10bit,8bit} && \ mkdir -p $HOME/x265_macos_arm_build/x265_git/lib Considering nasm is explicitly for x86(-64) assembly, it's not relevant on ARM. It probably shouldn't even be checking for it once it knows it's building for AArch64.
__________________
AviSynth+ native Linux/macOS/BSD support | AviSynth+ utilities and plugins for non-Windows and non-x86(-64) Last edited by qyot27; 19th July 2024 at 00:42. |
19th July 2024, 14:02 | #9324 | Link |
Pig on the wing
Join Date: Mar 2002
Location: Finland
Posts: 5,799
|
Does anyone know if the -12 limit for chroma offsets is just "a number" or would it hurt to extend the range? As we know, x265 sometimes tends to mangle chroma quite a lot even with the largest possible negative offset so it would be interesting to test a bigger value. With svt-av1, I noticed that it requires offsets like -32 to allow the chroma enough bits. Of course, different encoders and probably a different approach, but goes to show that sometimes insanely high (or low ) values might be needed.
__________________
And if the band you're in starts playing different tunes I'll see you on the dark side of the Moon... |
19th July 2024, 14:59 | #9325 | Link | |
Registered User
Join Date: Dec 2013
Location: Berlin, Germany
Posts: 396
|
Quote:
I would also like to note that -12 already means around 2 more bits precision in comparison to luma quantization, which is quite a lot.
__________________
My github... |
|
19th July 2024, 18:36 | #9326 | Link |
Big Bit Savings Now !
Join Date: Feb 2007
Location: close to the wall
Posts: 1,671
|
Ah, that coincides well with my findings: wanting to set x265 UHD-BD qcr, qcb more to the negative than with x264 BD, at least to -4.
TMPG's x264 BD presets came out well at -2, and I concur for x264. Did not think about going as negative for x265 as to -12, but this confirms my guessed-upon x265 approach: To depart from x264 and offer considerable bitrate savings on paper: Let's starve bits where the majority does not complain (chroma, grain), right from the outset, and preprocess/encode that way to cut bandwidth. So the quality-driven user might have to counteract to some of these defaults.
__________________
"To bypass shortcuts and find suffering...is called QUALity" (Die toten Augen von Friedrichshain) "Data reduction ? Yep, Sir. We're that issue working on. Synce invntoin uf lingöage..." |
22nd July 2024, 09:16 | #9330 | Link | |
Acid fr0g
Join Date: May 2002
Location: Italy
Posts: 2,702
|
Quote:
Much better you do some VMAF measurement and report us
__________________
@turment on Telegram |
|
24th July 2024, 16:42 | #9332 | Link |
Pig on the wing
Join Date: Mar 2002
Location: Finland
Posts: 5,799
|
I ran into some interesting experimental x265 modifications, especially the cutree-strength part is something that could be used to avoid the detail/grain loss which cutree may cause.
Based on my initial tests, running a normal encode using aq-auto 6 (jpsdr's mod part for HDR) results in a much smoother image than in the vanilla jpsdr mod. This can be reverted nicely with --limit-aq1. Furthermore, --cutree-strength 1.5 would make cutree have the same weight it has when qcomp is raised to 0.7 from the default 0.6. (Cutree's weight is 5.0 * (1.0 - qcomp) by default in x265). I think some users have battled the too strong cutree by raising qcomp and also adjusting CRF to compensate the increase in bitrate it inevitably causes. With this mod, cutree can be tamed without doing anything else. I'm not at all sure if any of the other stuff is working or not, but those mentioned seem fine. This is the commit: https://github.com/AmusementClub/x26...6db7fa36837672 This file can be applied on top of the current x265 repo to get the changes in. Hope I didn't make any mistakes Patch file for jpsdr's and AmusementClub's modifications to use with MABS Building with Visual Studio won't work, the dreaded "nested too deeply" problem strikes again and I'm not confident on how to fix it.
__________________
And if the band you're in starts playing different tunes I'll see you on the dark side of the Moon... |
29th July 2024, 01:29 | #9333 | Link | |
I might be autistic...
Join Date: Apr 2022
Location: 16-235
Posts: 34
|
Quote:
Tangent warning: most web/JS DASH/HLS players out there, or I guess the way Chromium based browsers implement ffmpeg, really do NOT like open GOP content. Bizarrely enough if you DASH some crazy long GOP open GOP stuff and try and play it back in mpv or VLC...it works fine. Not that you should, I understand why open GOP shouldn't be used for streaming at least on a technical level. Closed GOP + RADL instead and still managed to get away with using scene-cut/GOP of differing lengths as long as the keyframe interval from the highest encode on the ladder got used as is for all the others. Then I realized most of the clients were all accessing the highest quality stream and rarely if ever accessed the streams lower on the ladder unless their browser started "lower" and then ramped right up...a handful of hits showing up on the server for "1000k_blah_blah_init.mp4" and maybe the first half dozen segments and then...nothing but traffic on the 6-12 Mbps stuff so now any of my "adaptive streaming" stuff is just the one encode Have I been doing it wrong, or would I need "--repeat-headers" there too? Am I even gaining anything by using --idr-recovery-sei... Tangent 2: Chrome itself adding HEVC support has been delightful for DASH! |
|
1st August 2024, 17:59 | #9334 | Link | ||||
Moderator
Join Date: Jan 2006
Location: Portland, OR
Posts: 4,866
|
Quote:
Quote:
And absolutely, if occasionally buffering is okay when using mobile data and the top bitrate isn't lots of Mbps, a single bitrate can work just fine, and certainly simplifies a lot. It's a rare household in developed countries that can't sustain 4 Mbps almost all the time. And among other things, only providing a single, good bitrate will force suboptimal player heuristics to start at high quality instead of slowly ramping up. Quote:
Quote:
Last edited by benwaggoner; 1st August 2024 at 17:59. Reason: quote tag fixing |
||||
3rd August 2024, 19:22 | #9335 | Link | |
Broadcast Encoder
Join Date: Nov 2013
Location: Royal Borough of Kensington & Chelsea, UK
Posts: 3,029
|
Quote:
Can someone please tell this to the BBC, itv and Channel 4? Please? xD |
|
4th August 2024, 01:54 | #9336 | Link | |
Moderator
Join Date: Jan 2006
Location: Portland, OR
Posts: 4,866
|
Quote:
We can make some statements, like HEVC is available on all players that support X level of hardware DRM, and HEVC would be safe to have as the only codec in those cases. |
|
6th August 2024, 09:12 | #9337 | Link | |
German doom9/Gleitz SuMo
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 7,067
|
Just building: Latest commit adds support for alpha channel, requires compile option enabled, requires YUVA420 input when alpha processing is enabled.
This might have broken building libavcodec and ffmpeg, though... to be confirmed. __ New upload: x265 3.6+46-7e38fcc9c [Windows][GCC 14.2.0][32/32XP/64 bit] 8bit+10bit+12bit Quote:
Last edited by LigH; 6th August 2024 at 09:39. |
|
7th August 2024, 10:07 | #9338 | Link | |
German doom9/Gleitz SuMo
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 7,067
|
Just building: Latest commit adds support for MultiView (a.k.a. stereo) video streams (separate MVC or H/V SBS), requires compile option enabled, configuration via text file is recommended.
__ New upload: x265 3.6+56-3a802d9d1 [Windows][GCC 14.2.0][32/32XP/64 bit] 8bit+10bit+12bit Quote:
Last edited by LigH; 7th August 2024 at 15:43. |
|
7th August 2024, 17:08 | #9339 | Link | |
Registered User
Join Date: Aug 2018
Location: Germany
Posts: 131
|
Quote:
Did you also enable alpha layer encoding support in your build with ENABLE_ALPHA? |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|