Das ding macht noch weniger... Inhaltlich ist es aber das selbe...
x265 unter MacOS X compilieren
-
-
Tut denn "make" noch irgendwas?
So langsam frag ich mich, ob es nötig ist, bei dir mal mit dem TeamViewer draufzuschauen...
-
Soweit komme ich ja nicht einmal... denn in dem script "was das selbe ist" wie in dem linux build geht noch weniger... neu dazu gekommen sind Meldungen bezüglich xcode die ich nicht verstehe...
Kannst gerne einmal per TeamViewer drauf schauen... hab dich mal in Skype geadded
-
Vielleicht hilft die das hier
-
Da ich es für OSX bauen müsste hilft das nicht weiter. Danke.
-
Oh, OSX baut auf BSD Linux auf ... soweit ich das noch weiß.
Die Tools (cmake, make, yasm, upx ...) sind die selben ... und werden auch genauso verwendet -
Theoretisch ja, nur Praktisch gibt es Unterschiede... jedenfalls funktioniert es nicht...
-
"Funktioniert nicht" ist kein ausreichend detailliertes Protokoll.
Ich muss mal das Mac-Spezifische vom Rest abtrennen...
-
Und was gibt: x265 --version aus ? Gar nichts ?
-
Dann noch mal Zusammengefasst...
Die erste Zeile code liefert:
CodeLast login: Thu Mar 5 13:57:49 on ttys002AKFs-MacPro:~ Massaguana$ /Applications/CMake.app/Contents/bin/cmake -G "Unix Makefiles" /Users/Massaguana/Downloads/multicoreware-x265-5e604833c5aa/source-- cmake version 3.2.0-rc2-- The C compiler identification is AppleClang 6.0.0.6000056-- The CXX compiler identification is AppleClang 6.0.0.6000056-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works-- Detecting C compiler ABI info-- Detecting C compiler ABI info - done-- Detecting C compile features-- Detecting C compile features - done-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works-- Detecting CXX compiler ABI info-- Detecting CXX compiler ABI info - done-- Detecting CXX compile features-- Detecting CXX compile features - done-- Detected x86 target processor-- Looking for include file inttypes.h-- Looking for include file inttypes.h - found-- Performing Test CC_HAS_NO_NARROWING-- Performing Test CC_HAS_NO_NARROWING - Success-- Performing Test CC_HAS_NO_ARRAY_BOUNDS-- Performing Test CC_HAS_NO_ARRAY_BOUNDS - Success-- Performing Test CC_HAS_FAST_MATH-- Performing Test CC_HAS_FAST_MATH - Success-- Performing Test CC_HAS_STACK_REALIGN-- Performing Test CC_HAS_STACK_REALIGN - Success-- Performing Test CC_HAS_FNO_EXCEPTIONS_FLAG-- Performing Test CC_HAS_FNO_EXCEPTIONS_FLAG - Success-- Found yasm: /Users/Massaguana/yasm (found version "1.3.0") -- Found Yasm 1.3.0 to build assembly primitives-- x265 version 1.4-- The ASM_YASM compiler identification is unknown-- Found assembler: /Users/Massaguana/yasm-- Looking for strtok_r-- Looking for strtok_r - found-- Looking for include file getopt.h-- Looking for include file getopt.h - found-- Configuring done-- Generating done-- Build files have been written to: /Users/MassaguanaAKFs-MacPro:~ Massaguana$
Hier stimmt alles, x265 Version 1.4 z.B.
Dann folgt der 2 Teil:
CodeAKFs-MacPro:~ Massaguana$ /Applications/CMake.app/Contents/bin/ccmake /Users/Massaguana/Downloads/multicoreware-x265-5e604833c5aa/source BIN_INSTALL_DIR bin CHECKED_BUILD OFF CMAKE_BUILD_TYPE Release CMAKE_INSTALL_PREFIX /usr/local CMAKE_OSX_ARCHITECTURES CMAKE_OSX_DEPLOYMENT_TARGET CMAKE_OSX_SYSROOT /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk ENABLE_ASSEMBLY ON ENABLE_CLI ON ENABLE_PPA OFF ENABLE_SHARED ON ENABLE_TESTS OFF HIGH_BIT_DEPTH OFF LIBRT LIBRT-NOTFOUND LIB_INSTALL_DIR lib WARNINGS_AS_ERRORS OFF X265_VERSION 1.4 YASM_EXECUTABLE /Users/Massaguana/yasm BIN_INSTALL_DIR: Install location of executables Press [enter] to edit option CMake Version 3.2.0-rc2Press [c] to configurePress [h] for help Press [q] to quit without generatingPress [t] to toggle advanced mode (Currently Off)
wird mit "C" und "G" beendet, soweit auch noch alles Okay... Daher kommt direkt "make" hinterher
CodeAKFs-MacPro:~ Massaguana$ makeScanning dependencies of target common[ 1%] Building ASM_YASM object common/CMakeFiles/common.dir/x86/pixel-a.asm.o[ 2%] Building ASM_YASM object common/CMakeFiles/common.dir/x86/const-a.asm.o[ 4%] Building ASM_YASM object common/CMakeFiles/common.dir/x86/cpu-a.asm.o[ 5%] Building ASM_YASM object common/CMakeFiles/common.dir/x86/ssd-a.asm.o[ 6%] Building ASM_YASM object common/CMakeFiles/common.dir/x86/mc-a.asm.o[ 8%] Building ASM_YASM object common/CMakeFiles/common.dir/x86/mc-a2.asm.o[ 9%] Building ASM_YASM object common/CMakeFiles/common.dir/x86/pixel-util8.asm.o[ 10%] Building ASM_YASM object common/CMakeFiles/common.dir/x86/blockcopy8.asm.o[ 12%] Building ASM_YASM object common/CMakeFiles/common.dir/x86/pixeladd8.asm.o[ 13%] Building ASM_YASM object common/CMakeFiles/common.dir/x86/dct8.asm.o[ 14%] Building ASM_YASM object common/CMakeFiles/common.dir/x86/sad-a.asm.o[ 16%] Building ASM_YASM object common/CMakeFiles/common.dir/x86/intrapred8.asm.o[ 17%] Building ASM_YASM object common/CMakeFiles/common.dir/x86/ipfilter8.asm.o[ 18%] Building ASM_YASM object common/CMakeFiles/common.dir/x86/loopfilter.asm.o[ 20%] Building CXX object common/CMakeFiles/common.dir/x86/asm-primitives.cpp.o[ 21%] Building CXX object common/CMakeFiles/common.dir/vec/vec-primitives.cpp.o[ 22%] Building CXX object common/CMakeFiles/common.dir/vec/dct-sse3.cpp.o[ 24%] Building CXX object common/CMakeFiles/common.dir/vec/dct-ssse3.cpp.o[ 25%] Building CXX object common/CMakeFiles/common.dir/vec/dct-sse41.cpp.o[ 27%] Building CXX object common/CMakeFiles/common.dir/primitives.cpp.o[ 28%] Building CXX object common/CMakeFiles/common.dir/pixel.cpp.o[ 29%] Building CXX object common/CMakeFiles/common.dir/dct.cpp.o[ 31%] Building CXX object common/CMakeFiles/common.dir/ipfilter.cpp.o[ 32%] Building CXX object common/CMakeFiles/common.dir/intrapred.cpp.o[ 33%] Building CXX object common/CMakeFiles/common.dir/loopfilter.cpp.o[ 35%] Building CXX object common/CMakeFiles/common.dir/constants.cpp.o[ 36%] Building CXX object common/CMakeFiles/common.dir/cpu.cpp.o[ 37%] Building CXX object common/CMakeFiles/common.dir/version.cpp.o[ 39%] Building CXX object common/CMakeFiles/common.dir/threading.cpp.o[ 40%] Building CXX object common/CMakeFiles/common.dir/threadpool.cpp.o[ 41%] Building CXX object common/CMakeFiles/common.dir/wavefront.cpp.o[ 43%] Building CXX object common/CMakeFiles/common.dir/md5.cpp.o[ 44%] Building CXX object common/CMakeFiles/common.dir/bitstream.cpp.o[ 45%] Building CXX object common/CMakeFiles/common.dir/yuv.cpp.o[ 47%] Building CXX object common/CMakeFiles/common.dir/shortyuv.cpp.o[ 48%] Building CXX object common/CMakeFiles/common.dir/picyuv.cpp.o[ 50%] Building CXX object common/CMakeFiles/common.dir/common.cpp.o[ 51%] Building CXX object common/CMakeFiles/common.dir/param.cpp.o[ 52%] Building CXX object common/CMakeFiles/common.dir/frame.cpp.o[ 54%] Building CXX object common/CMakeFiles/common.dir/framedata.cpp.o[ 55%] Building CXX object common/CMakeFiles/common.dir/cudata.cpp.o[ 56%] Building CXX object common/CMakeFiles/common.dir/slice.cpp.o[ 58%] Building CXX object common/CMakeFiles/common.dir/lowres.cpp.o[ 59%] Building CXX object common/CMakeFiles/common.dir/piclist.cpp.o[ 60%] Building CXX object common/CMakeFiles/common.dir/predict.cpp.o[ 62%] Building CXX object common/CMakeFiles/common.dir/scalinglist.cpp.o[ 63%] Building CXX object common/CMakeFiles/common.dir/quant.cpp.o[ 64%] Building CXX object common/CMakeFiles/common.dir/deblock.cpp.o[ 64%] Built target commonScanning dependencies of target encoder[ 66%] Building CXX object encoder/CMakeFiles/encoder.dir/analysis.cpp.o[ 67%] Building CXX object encoder/CMakeFiles/encoder.dir/search.cpp.o[ 68%] Building CXX object encoder/CMakeFiles/encoder.dir/bitcost.cpp.o[ 70%] Building CXX object encoder/CMakeFiles/encoder.dir/motion.cpp.o[ 71%] Building CXX object encoder/CMakeFiles/encoder.dir/slicetype.cpp.o[ 72%] Building CXX object encoder/CMakeFiles/encoder.dir/frameencoder.cpp.o[ 74%] Building CXX object encoder/CMakeFiles/encoder.dir/framefilter.cpp.o[ 75%] Building CXX object encoder/CMakeFiles/encoder.dir/level.cpp.o[ 77%] Building CXX object encoder/CMakeFiles/encoder.dir/nal.cpp.o[ 78%] Building CXX object encoder/CMakeFiles/encoder.dir/sei.cpp.o[ 79%] Building CXX object encoder/CMakeFiles/encoder.dir/sao.cpp.o[ 81%] Building CXX object encoder/CMakeFiles/encoder.dir/entropy.cpp.o[ 82%] Building CXX object encoder/CMakeFiles/encoder.dir/dpb.cpp.o[ 83%] Building CXX object encoder/CMakeFiles/encoder.dir/ratecontrol.cpp.o[ 85%] Building CXX object encoder/CMakeFiles/encoder.dir/reference.cpp.o[ 86%] Building CXX object encoder/CMakeFiles/encoder.dir/encoder.cpp.o[ 87%] Building CXX object encoder/CMakeFiles/encoder.dir/api.cpp.o[ 89%] Building CXX object encoder/CMakeFiles/encoder.dir/weightPrediction.cpp.o[ 89%] Built target encoderScanning dependencies of target x265-sharedLinking CXX shared library libx265.dylib[ 89%] Built target x265-sharedScanning dependencies of target cli[ 90%] Building CXX object CMakeFiles/cli.dir/input/input.cpp.o[ 91%] Building CXX object CMakeFiles/cli.dir/input/y4m.cpp.o[ 93%] Building CXX object CMakeFiles/cli.dir/input/yuv.cpp.o[ 94%] Building CXX object CMakeFiles/cli.dir/output/output.cpp.o[ 95%] Building CXX object CMakeFiles/cli.dir/output/y4m.cpp.o[ 97%] Building CXX object CMakeFiles/cli.dir/output/yuv.cpp.o[ 98%] Building CXX object CMakeFiles/cli.dir/filters/filters.cpp.o[100%] Building CXX object CMakeFiles/cli.dir/x265.cpp.oLinking CXX executable x265[100%] Built target cliScanning dependencies of target x265-staticLinking CXX static library libx265.a[100%] Built target x265-staticAKFs-MacPro:~ Massaguana$
Schaut man sich dann das x265 binarie an fällt auf das keine Versions Angabe enthalten ist...
Code
Alles anzeigenAKFs-MacPro:~ Massaguana$ /Users/Massaguana/x265 --help x265 [info]: HEVC encoder version unknown x265 [info]: build info [Mac OS X][clang 6.0.0][64 bit] 8bpp Syntax: x265 [options] infile [-o] outfile infile can be YUV or Y4M outfile is raw HEVC bitstream Executable Options: -h/--help Show this help text and exit -V/--version Show version info and exit Output Options: -o/--output <filename> Bitstream output file name --log-level <string> Logging level: none error warning info debug full. Default info --no-progress Disable CLI progress reports --[no-]cu-stats Enable logging stats about distribution of cu across all modes. Default disabled --csv <filename> Comma separated log file, log level >= 3 frame log, else one line per run Input Options: --input <filename> Raw YUV or Y4M input file name. `-` for stdin --y4m Force parsing of input stream as YUV4MPEG2 regardless of file extension --fps <float|rational> Source frame rate (float or num/denom), auto-detected if Y4M --input-res WxH Source picture size [w x h], auto-detected if Y4M --input-depth <integer> Bit-depth of input file. Default 8 --input-csp <string> Source color space: i420, i444 or i422, auto-detected if Y4M. Default: i420 -f/--frames <integer> Maximum number of frames to encode. Default all --seek <integer> First frame to encode --[no-]interlace <bff|tff> Indicate input pictures are interlace fields in temporal order. Default progressive --dither Enable dither if downscaling to 8 bit pixels. Default disabled Quality reporting metrics: --[no-]ssim Enable reporting SSIM metric scores. Default disabled --[no-]psnr Enable reporting PSNR metric scores. Default disabled Profile, Level, Tier: --profile <string> Enforce an encode profile: main, main10, mainstillpicture --level-idc <integer|float> Force a minumum required decoder level (as '5.0' or '50') --[no-]high-tier If a decoder level is specified, this modifier selects High tier of that level Threading, performance: --threads <integer> Number of threads for thread pool (0: detect CPU core count, default) -F/--frame-threads <integer> Number of concurrently encoded frames. 0: auto-determined by core count --[no-]wpp Enable Wavefront Parallel Processing. Default enabled --[no-]pmode Parallel mode analysis. Default disabled --[no-]pme Parallel motion estimation. Default disabled --[no-]asm <bool|int|string> Override CPU detection. Default: auto Presets: -p/--preset <string> Trade off performance for compression efficiency. Default medium ultrafast, superfast, veryfast, faster, fast, medium, slow, slower, veryslow, or placebo -t/--tune <string> Tune the settings for a particular type of source or situation: psnr, ssim, zerolatency, or fastdecode Quad-Tree size and depth: -s/--ctu <64|32|16> Maximum CU size (default: 64x64). Default 64 --tu-intra-depth <integer> Max TU recursive depth for intra CUs. Default 1 --tu-inter-depth <integer> Max TU recursive depth for inter CUs. Default 1 --[no-]rect Enable rectangular motion partitions Nx2N and 2NxN. Default disabled --[no-]amp Enable asymmetric motion partitions, requires --rect. Default disabled Analysis: --rd <0..6> Level of RD in mode decision 0:least....6:full RDO. Default 3 --psy-rd <0..2.0> Strength of psycho-visual rate distortion optimization, 0 to disable. Default 0.000000 --psy-rdoq <0..50.0> Strength of psycho-visual optimization in quantization, 0 to disable. Default 0.000000 --nr <integer> An integer value in range of 100 to 1000, which denotes strength of noise reduction. Default disabled --[no-]tskip-fast Enable fast intra transform skipping. Default disabled --[no-]early-skip Enable early SKIP detection. Default disabled --[no-]fast-cbf Enable early outs based on whether residual is coded. Default disabled Coding tools: -w/--[no-]weightp Enable weighted prediction in P slices. Default enabled --[no-]weightb Enable weighted prediction in B slices. Default disabled --[no-]cu-lossless Consider lossless mode in CU RDO decisions. Default disabled --[no-]signhide Hide sign bit of one coeff per TU (rdo). Default enabled --[no-]tskip Enable intra 4x4 transform skipping. Default disabled Temporal / motion search options: --me <string> Motion search method dia hex umh star full. Default 1 -m/--subme <integer> Amount of subpel refinement to perform (0:least .. 7:most). Default 2 --merange <integer> Motion search range. Default 57 --max-merge <1..5> Maximum number of merge candidates. Default 2 --[no-]temporal-mvp Enable temporal MV predictors. Default enabled Spatial / intra options: --[no-]strong-intra-smoothing Enable strong intra smoothing for 32x32 blocks. Default enabled --[no-]constrained-intra Constrained intra prediction (use only intra coded reference pixels) Default disabled --[no-]b-intra Enable intra in B frames in veryslow presets. Default disabled --[no-]fast-intra Enable faster search method for angular intra predictions. Default disabled --rdpenalty <0..2> penalty for 32x32 intra TU in non-I slices. 0:disabled 1:RD-penalty 2:maximum. Default 0 Slice decision options: --[no-]open-gop Enable open-GOP, allows I slices to be non-IDR. Default enabled -I/--keyint <integer> Max IDR period in frames. -1 for infinite-gop. Default 250 -i/--min-keyint <integer> Scenecuts closer together than this are coded as I, not IDR. Default: auto --no-scenecut Disable adaptive I-frame decision --scenecut <integer> How aggressively to insert extra I-frames. Default 40 --rc-lookahead <integer> Number of frames for frame-type lookahead (determines encoder latency) Default 20 --bframes <integer> Maximum number of consecutive b-frames (now it only enables B GOP structure) Default 4 --bframe-bias <integer> Bias towards B frame decisions. Default 0 --b-adapt <0..2> 0 - none, 1 - fast, 2 - full (trellis) adaptive B frame scheduling. Default 2 --[no-]b-pyramid Use B-frames as references. Default enabled --ref <integer> max number of L0 references to be allowed (1 .. 16) Default 3 --qpfile <string> Force frametypes and QPs for some or all frames Format of each line: framenumber frametype QP QP is optional (none lets x265 choose). Frametypes: I,i,P,B,b. QPs are restricted by qpmin/qpmax. Rate control, Quantization: --bitrate <integer> Target bitrate (kbps) for ABR (implied). Default 0 -q/--qp <integer> QP for P slices in CQP mode (implied). --ipratio and --pbration determine other slice QPs --crf <float> Quality-based VBR (0-51). Default 28.000000 --[no-]lossless Enable lossless: bypass transform, quant and loop filters globally. Default disabled --crf-max <float> With CRF+VBV, limit RF to this value. Default 0.000000 May cause VBV underflows! --crf-min <float> With CRF+VBV, limit RF to this value. Default 0.000000 this specifies a minimum rate factor value for encode! --vbv-maxrate <integer> Max local bitrate (kbit/s). Default 0 --vbv-bufsize <integer> Set size of the VBV buffer (kbit). Default 0 --vbv-init <float> Initial VBV buffer occupancy (fraction of bufsize or in kbits). Default 0.900000 --aq-mode <integer> Mode for Adaptive Quantization - 0:none 1:uniform AQ 2:auto variance. Default 2 --aq-strength <float> Reduces blocking and blurring in flat and textured areas.(0 to 3.0). Default 1.000000 --[no-]cutree Enable cutree for Adaptive Quantization. Default enabled --ipratio <float> QP factor between I and P. Default 1.400000 --pbratio <float> QP factor between P and B. Default 1.300000 --cbqpoffs <integer> Chroma Cb QP Offset. Default 0 --crqpoffs <integer> Chroma Cr QP Offset. Default 0 --stats Filename for stats file in multipass pass rate control. Default x265_2pass.log --pass Multi pass rate control. - 1 : First pass, creates stats file - 2 : Last pass, does not overwrite stats file - 3 : Nth pass, overwrites stats file --[no-]slow-firstpass Enable a slow first pass in a multipass rate control mode. Default disabled --analysis-mode <string|int> save - Dump analysis info into file, load - Load analysis buffers from the file. Default 0 --analysis-file <filename> Specify file name used for either dumping or reading analysis data. --scaling-list <string> Specify a file containing HM style quant scaling lists or 'default' or 'off'. Default: off --lambda-file <string> Specify a file containing replacement values for the lambda tables MAX_MAX_QP+1 floats for lambda table, then again for lambda2 table Blank lines and lines starting with hash(#) are ignored Comma is considered to be white-space Loop filters (deblock and SAO): --[no-]lft Enable Deblocking Loop Filter. Default enabled --[no-]sao Enable Sample Adaptive Offset. Default enabled --[no-]sao-non-deblock Use non-deblocked pixels, else right/bottom boundary areas skipped. Default disabled VUI options: --sar <width:height|int> Sample Aspect Ratio, the ratio of width to height of an individual pixel. Choose from 0=undef, 1=1:1("square"), 2=12:11, 3=10:11, 4=16:11, 5=40:33, 6=24:11, 7=20:11, 8=32:11, 9=80:33, 10=18:11, 11=15:11, 12=64:33, 13=160:99, 14=4:3, 15=3:2, 16=2:1 or custom ratio of <int:int>. Default 0 --crop-rect <string> Add 'left,top,right,bottom' to the bitstream-level cropping rectangle --overscan <string> Specify whether it is appropriate for decoder to show cropped region: undef, show or crop. Default undef --videoformat <string> Specify video format from undef, component, pal, ntsc, secam, mac. Default undef --range <string> Specify black level and range of luma and chroma signals as full or limited Default limited --colorprim <string> Specify color primaries from undef, bt709, bt470m, bt470bg, smpte170m, smpte240m, film, bt2020. Default undef --transfer <string> Specify transfer characteristics from undef, bt709, bt470m, bt470bg, smpte170m, smpte240m, linear, log100, log316, iec61966-2-4, bt1361e, iec61966-2-1, bt2020-10, bt2020-12. Default undef --colormatrix <string> Specify color matrix setting from undef, bt709, fcc, bt470bg, smpte170m, smpte240m, GBR, YCgCo, bt2020nc, bt2020c. Default undef --chromaloc <integer> Specify chroma sample location (0 to 5). Default of 0 Bitstream options: --[no-]info Emit SEI identifying encoder and parameters. Default enabled --[no-]aud Emit access unit delimiters at the start of each access unit. Default disabled --[no-]hrd Enable HRD parameters signalling. Default disabled --[no-]repeat-headers Emit SPS and PPS headers at each keyframe. Default disabled --hash <integer> Decoded Picture Hash SEI 0: disabled, 1: MD5, 2: CRC, 3: Checksum. Default 0 Reconstructed video options (debugging): -r/--recon <filename> Reconstructed raw image YUV or Y4M output file name --recon-depth <integer> Bit-depth of reconstructed raw image file. Defaults to input bit depth, or 8 if Y4M Full documentation may be found at http://x265.readthedocs.org/en/default/cli.html AKFs-MacPro:~ Massaguana$
Das ist Aktuell das Problem. Da es hier darum geht Verschiedene x265 Versionen zu Vergleichen sollte die Version schon stimmen würde ich sagen...
-
Und x265.exe --version gibt nichts aus ?
-
Ja, gut, die Versionsinfo fehlt ... aber zumindest hat das Compilieren funktioniert, also ist das doch was ganz anderes als ein generelles "funktioniert nicht", aus dem ich erwarten würde, dass die Compilierung abgebrochen wurde.
Dann schau doch mal, ob in der x265.rc die Version drin steht.
Wenn ja, wird sie nur nicht richtig in die Applikation übernommen. Wenn nein, wird sie schon nicht richtig aus dem Hg-Status gelesen. Zumindest bist du nicht der erste, bei dem es in der Hinsicht mal Probleme gab, in der media-autobuild_suite wurde diesbezüglich auch mal was geschraubt...
__@ may24:
Auf MacOS X gibt es keine ".exe"-Erweiterung.
-
@ may24:Auf MacOS X gibt es keine ".exe"-Erweiterung.
Hast recht ... hatte angenommen er baut unter OSX für Win ...
-
Ne ich baue unter OSX für OSX... Bin nicht so der Windows Fan...
Das mit dem "funktioniert nicht" war auf das build Script aus deren Paket bezogen, ebenso auf das XCode Script... da geht nix... Muss alles manuell machen...
Also eine "x265.rc" finde ich nirgends... nur eine "x265.rc.in" ist das die selbe? Da steht folgendes drin:
Code
Alles anzeigen#include <winresrc.h> VS_VERSION_INFO VERSIONINFO FILEVERSION @X265_VERSION_MAJOR@,@X265_VERSION_MINOR@,@X265_BRANCH_ID@,@X265_TAG_DISTANCE@ PRODUCTVERSION @X265_VERSION_MAJOR@,@X265_VERSION_MINOR@,@X265_BRANCH_ID@,@X265_TAG_DISTANCE@ FILEFLAGSMASK VS_FFI_FILEFLAGSMASK FILEOS VOS_NT_WINDOWS32 #ifdef OPENOBEX_EXPORTS FILETYPE VFT_DLL #else FILETYPE VFT_STATIC_LIB #endif FILESUBTYPE VFT2_UNKNOWN BEGIN BLOCK "StringFileInfo" BEGIN BLOCK "04090000" BEGIN VALUE "FileDescription", "HEVC video encoder" VALUE "FileVersion", "@X265_VERSION@" VALUE "InternalName", "x265" VALUE "LegalCopyright", "Multicoreware: GPLv2 or commercial" VALUE "OriginalFilename", "libx265.dll" VALUE "ProductName", "x265" VALUE "ProductVersion", "@X265_VERSION@" END END BLOCK "VarFileInfo" BEGIN VALUE "Translation", 0x409, 1200 END END
-
Das ist die Vorlage. Die hätte mit konkreten Werten gefüllt und in das build-Verzeichnis kopiert werden sollen.
Wenn du in deinem jeweiligen build/{compiler}-Verzeichnis bist: "make clean-generated" sollte x265.def, x265.pc, x265.rc, x265_config.h löschen, wenn vorhanden, und "cmake -G {...} ../../source" sollte sie wieder mit konkreten Werten erzeugen.
Wenn das nicht klappt, sollte man mal erforschen warum nicht.
-
Also wenn ich manuell ins build Verzeichnis Wechsel "Users/Massaguana/Downloads/multicoreware-x265-5e604833c5aa/build" und "make clean-generated" eingebe löscht der etliche Dateien... mit "/Applications/http://CMake.app/Contents/bin/cmake -G "Unix Makefiles" /Users/Massaguana/Downloads/multicoreware-x265-5e604833c5aa/source" werden dann etliche neu erstellt... nur eine x265.rc ist nicht dabei...
Im Fertigen binarie ist dann wieder keine Version drin...Dazu kommt nun das scheinbar durch das manuelle Wechseln des Pfades das Ausgabe Verzeichnis im Quellverzeichnis liegt... ob das so gesund ist weiß ich ja nicht...
-
Dann noch mal Zusammengefasst...
Die erste Zeile code liefert:
CodeLast login: Thu Mar 5 13:57:49 on ttys002AKFs-MacPro:~ Massaguana$ /Applications/CMake.app/Contents/bin/cmake -G "Unix Makefiles" /Users/Massaguana/Downloads/multicoreware-x265-5e604833c5aa/source-- cmake version 3.2.0-rc2-- The C compiler identification is AppleClang 6.0.0.6000056-- The CXX compiler identification is AppleClang 6.0.0.6000056-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works-- Detecting C compiler ABI info-- Detecting C compiler ABI info - done-- Detecting C compile features-- Detecting C compile features - done-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works-- Detecting CXX compiler ABI info-- Detecting CXX compiler ABI info - done-- Detecting CXX compile features-- Detecting CXX compile features - done-- Detected x86 target processor-- Looking for include file inttypes.h-- Looking for include file inttypes.h - found-- Performing Test CC_HAS_NO_NARROWING-- Performing Test CC_HAS_NO_NARROWING - Success-- Performing Test CC_HAS_NO_ARRAY_BOUNDS-- Performing Test CC_HAS_NO_ARRAY_BOUNDS - Success-- Performing Test CC_HAS_FAST_MATH-- Performing Test CC_HAS_FAST_MATH - Success-- Performing Test CC_HAS_STACK_REALIGN-- Performing Test CC_HAS_STACK_REALIGN - Success-- Performing Test CC_HAS_FNO_EXCEPTIONS_FLAG-- Performing Test CC_HAS_FNO_EXCEPTIONS_FLAG - Success-- Found yasm: /Users/Massaguana/yasm (found version "1.3.0") -- Found Yasm 1.3.0 to build assembly primitives-- x265 version 1.4-- The ASM_YASM compiler identification is unknown-- Found assembler: /Users/Massaguana/yasm-- Looking for strtok_r-- Looking for strtok_r - found-- Looking for include file getopt.h-- Looking for include file getopt.h - found-- Configuring done-- Generating done-- Build files have been written to: /Users/MassaguanaAKFs-MacPro:~ Massaguana$
Hier stimmt alles, x265 Version 1.4 z.B.
Nicht ganz ... z.B. bei mir unter Linux findet er hg(Mercurial) im Pfad und kann die genau Version auslesen.
Code
Alles anzeigencmake -G "Unix Makefiles" -D CMAKE_CXX_COMPILER:FILEPATH=/usr/bin/clang++-3.6 -D CMAKE_CXX_FLAGS_RELEASE:STRING='-O3 -DNDEBUG -march=native' -D CMAKE_C_COMPILER:FILEPATH=/usr/bin/clang-3.6 -D CMAKE_C_FLAGS_RELEASE:STRING='-O3 -DNDEBUG -march=native' -D HIGH_BIT_DEPTH:BOOL=ON ../../source -- cmake version 2.8.12.2 -- The C compiler identification is Clang 3.6.0 -- The CXX compiler identification is Clang 3.6.0 -- Check for working C compiler: /usr/bin/clang-3.6 -- Check for working C compiler: /usr/bin/clang-3.6 -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/clang++-3.6 -- Check for working CXX compiler: /usr/bin/clang++-3.6 -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detected x86 target processor -- Could NOT find NUMA (missing: NUMA_ROOT_DIR NUMA_INCLUDE_DIR NUMA_LIBRARY) -- Looking for include file inttypes.h -- Looking for include file inttypes.h - found -- Performing Test CC_HAS_NO_NARROWING -- Performing Test CC_HAS_NO_NARROWING - Success -- Performing Test CC_HAS_NO_ARRAY_BOUNDS -- Performing Test CC_HAS_NO_ARRAY_BOUNDS - Success -- Performing Test CC_HAS_FAST_MATH -- Performing Test CC_HAS_FAST_MATH - Success -- Performing Test CC_HAS_STACK_REALIGN -- Performing Test CC_HAS_STACK_REALIGN - Success -- Performing Test CC_HAS_FNO_EXCEPTIONS_FLAG -- Performing Test CC_HAS_FNO_EXCEPTIONS_FLAG - Success -- Found yasm: /usr/local/bin/yasm (found version "1.3.0.17.") -- Found Yasm 1.3.0.17. to build assembly primitives [COLOR='#FF0000']-- hg found at /usr/bin/hg -- x265 version 1.5+175-45deb0125890[/COLOR] -- The ASM_YASM compiler identification is unknown -- Found assembler: /usr/local/bin/yasm -- Looking for strtok_r -- Looking for strtok_r - found -- Looking for include file getopt.h -- Looking for include file getopt.h - found -- Configuring done -- Generating done -- Build files have been written to: /home/monarc/Git/x265-clang/build/linux
-
Wozu benötigst du denn da drin hq? Wir bei mir nicht Vermisst soweit ich das sehe und eine Version steht bei mir ja auch drin... nur halt nicht die neuste wie bei dir...
Erklärt nicht weshalb da keine x265.rc vorhanden ist...
-
Hg (Mercurial) ist eine Variante von git, aber nicht vollständig dazu kompatibel. Sie wird benötigt, um die Quellen von x265 inklusive der Versionsinformationen herunterzuladen. Wenn du die x265-Quellen irgendwie anders auf dein System kriegst, weiß cmake nicht, welche Version das ist, kann also auch nicht die x265.rc generieren.
-
Ja, mit hq kann man sich die Aktuelle Version laden... das mache ich normal auch so, siehe:
Codecd ${CMPL} hg clone https://bitbucket.org/multicoreware/x265 cd x265/source cmake -DCMAKE_INSTALL_PREFIX:PATH=${TARGET} -DENABLE_SHARED=NO . make -j 4 && make install
Nur wie muss ich die hq Zeile schreiben wenn ich eine andere Version haben will? Da ich dies nicht rausbekommen konnte habe ich mir die älteren Versionen selbst heruntergeladen und damit hq umgangen...
-
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!