thx, geht jetzt alles aber x265 als 10Bit ist wirklich noch arsch lahm.
Beiträge von Minamiya
-
-
Und zwar habe ich ein komisches Problem mit libx265 und ffmpeg
ich diese zeile, direkt eingebe:
Codewine avs2yuv_mod ./test.avs -o - | ffmpeg -i - -c:v libx265 -preset medium -pix_fmt yuv422p10le -crf 19 -x265-params "deblock=0:-1:[B][COLOR=#ffa07a]rdoq-level=1[/COLOR][/B]:psy-rd=0.40:psy-rdoq=10.0:aq-mode=2:aq-strength=1.2:bframes=6:ref=6:rd=5:tu-intra-depth=4:tu-inter-depth=4:me=3:max-merge=5:subme=6:merange=25:keyint=240:rc-lookahead=80:b-adapt=2[B]:[COLOR=#ff0000]rect:amp:no-sao:no-open-gop:no-cutree:no-tskip:no-tskip-fast:weightp:weightb:no-strong-intra-smoothing[/COLOR][/B]" -y anime_01_x265.hevc
Übernimmt er mir keine Parameter von deblock usw.
Codex265 [info]: HEVC encoder version 1.6+360-bca33880585ax265 [info]: build info [Linux][GCC 4.9.2][64 bit] 16bppx265 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVXx265 [info]: Main 4:2:2 10 profile, Level-3.1 (Main tier)x265 [info]: Thread pool created using 8 threadsx265 [info]: frame threads / pool features : 3 / wpp(12 rows)x265 [info]: Internal bit depth : 10x265 [info]: Coding QT: max CU size, min CU size : 64 / 8x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intrax265 [info]: ME / range / subpel / merge : hex / 57 / 2 / 2x265 [info]: Keyframe min / max / scenecut : 23 / 250 / 40x265 [info]: Lookahead / bframes / badapt : 20 / 4 / 2x265 [info]: b-pyramid / weightp / weightb / refs: 1 / 1 / 0 / 3x265 [info]: AQ: mode / str / qg-size / cu-tree : [B][COLOR=#ff0000]1 / 1.0 / 64 / 1[/COLOR][/B]x265 [info]: Rate Control : CRF-19.0x265 [info]: tools: rd=3 psy-rd=0.30 signhide tmvp strong-intra-smoothingx265 [info]: tools: deblock sao
Wenn ich aber die Rot markierten zeilen rausnehme, übernimmt er die Parameter plötzlich, meckert dann zwar für die Orangene Zeile, aber sonst übernimmt er alles dann. Woran liegt dies, das er mir die Zeilen nicht nimmt?
Codex265 [info]: HEVC encoder version 1.6+298-4a7176bab742x265 [info]: build info [Linux][GCC 4.9.2][64 bit] 16bppx265 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVXx265 [info]: Main 4:2:2 10 profile, Level-4 (Main tier)x265 [info]: Thread pool created using 8 threadsx265 [info]: frame threads / pool features : 3 / wpp(12 rows)x265 [info]: Internal bit depth : 10x265 [info]: Coding QT: max CU size, min CU size : 64 / 8x265 [info]: Residual QT: max TU size, max depth : 32 / 4 inter / 4 intrax265 [info]: ME / range / subpel / merge : star / 25 / 6 / 5x265 [info]: Keyframe min / max / scenecut : 23 / 240 / 40x265 [info]: Lookahead / bframes / badapt : 80 / 6 / 2x265 [info]: b-pyramid / weightp / weightb / refs: 1 / 1 / 0 / 6x265 [info]: AQ: mode / str / qg-size / cu-tree : [COLOR=#ff0000][B]2 / 1.2 / 64 / 1[/B][/COLOR]x265 [info]: Rate Control : CRF-19.0x265 [info]: tools: rd=5 psy-rd=0.40 signhide tmvp strong-intra-smoothingx265 [info]: tools: deblock sao
FFmpeg habe ich so gebaut:
Code./configure --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-nonfree --enable-postproc --enable-version3 --enable-x11grab --enable-librtmp --enable-libxvid --enable-libass --enable-libx265
Und x265 wie in dem anderen thread hier im Linux bereich.
-
Hast du denn x265 mit gesetzten HIGH_BIT_DEPTH kompiliert?
Stellt man vor dem Kompilieren ein. z.B. wie unten oder in den GUI (ccmake ../../source)Codehg clone https://bitbucket.org/multicoreware/x265 x265cd x265/build/linux/cmake -G "Unix Makefiles" -D HIGH_BIT_DEPTH:BOOL=ON ../../sourcemake -j4
P.S. gab es da nicht mal die Meldung, dass sich das irgendwie ändern soll. Also beides in eine Exe.
Thx, geht jetzt.
Code
Alles anzeigenVideoFormat : HEVC Format/Info : High Efficiency Video Coding Format profile : Main 10@L3.1 Width : 1 280 pixels Height : 720 pixels Display aspect ratio : 16:9 Frame rate : 23.976 fps Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 10 bits Writing library : x265 1.6+277-cec68d3e37ef:[Linux][GCC 4.9.2][64 bit] 16bpp Encoding settings : wpp / ctu=64 / min-cu-size=8 / max-tu-size=32 / tu-intra-depth=1 / tu-inter-depth=1 / me=3 / subme=3 / merange=57 / rect / no-amp / max-merge=3 / temporal-mvp / no-early-skip / rdpenalty=0 / no-tskip / no-tskip-fast / strong-intra-smoothing / no-lossless / no-cu-lossless / no-constrained-intra / no-fast-intra / open-gop / no-temporal-layers / interlace=0 / keyint=250 / min-keyint=23 / scenecut=40 / rc-lookahead=25 / lookahead-slices=0 / bframes=4 / bframe-bias=0 / b-adapt=2 / ref=3 / weightp / no-weightb / aq-mode=1 / aq-strength=1.00 / cbqpoffs=0 / crqpoffs=0 / rd=4 / psy-rd=0.30 / rdoq-level=2 / psy-rdoq=1.00 / signhide / deblock / sao / no-sao-non-deblock / b-pyramid / cutree / rc=crf / crf=28.0 / qcomp=0.60 / qpmin=0 / qpmax=51 / qpstep=4 / ipratio=1.40 / pbratio=1.30
-
Hi,
weiß jemand wie ich x265 unter debian dazu bringe, das er mir 10Bit encodes macht?
habe mir bisher nur eine 8bpp vers. bauen können.Codeffmpeg# ffmpeg -h encoder=libx265ffmpeg version git-2015-04-22-86d00ed Copyright (c) 2000-2015 the FFmpeg developers built with gcc 4.9.2 (Debian 4.9.2-10) configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-nonfree --enable-postproc --enable-version3 --enable-x11grab --enable-librtmp --enable-libxvid --enable-libass --enable-libx265 --enable-libvpx libavutil 54. 23.101 / 54. 23.101 libavcodec 56. 35.101 / 56. 35.101 libavformat 56. 30.100 / 56. 30.100 libavdevice 56. 4.100 / 56. 4.100 libavfilter 5. 14.100 / 5. 14.100 libswscale 3. 1.101 / 3. 1.101 libswresample 1. 1.100 / 1. 1.100 libpostproc 53. 3.100 / 53. 3.100Encoder libx265 [libx265 H.265 / HEVC]: Threading capabilities: no Supported pixel formats: yuv420p yuv422p yuv444plibx265 AVOptions: -crf <float> E..V.... set the x265 crf (from -1 to FLT_MAX) (default -1) -preset <string> E..V.... set the x265 preset -tune <string> E..V.... set the x265 tune parameter -x265-params <string> E..V.... set the x265 configuration using a :-separated list of key=value parameters/ffmpeg# ffmpeg -codecs | grep -i hevcffmpeg version git-2015-04-22-86d00ed Copyright (c) 2000-2015 the FFmpeg developers built with gcc 4.9.2 (Debian 4.9.2-10) configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-nonfree --enable-postproc --enable-version3 --enable-x11grab --enable-librtmp --enable-libxvid --enable-libass --enable-libx265 --enable-libvpx libavutil 54. 23.101 / 54. 23.101 libavcodec 56. 35.101 / 56. 35.101 libavformat 56. 30.100 / 56. 30.100 libavdevice 56. 4.100 / 56. 4.100 libavfilter 5. 14.100 / 5. 14.100 libswscale 3. 1.101 / 3. 1.101 libswresample 1. 1.100 / 1. 1.100 libpostproc 53. 3.100 / 53. 3.100 DEV.L. hevc H.265 / HEVC (High Efficiency Video Coding) (encoders: libx265 )
Code
Alles anzeigenencode$ wine avs2yuv_mod ./test.avs -o - | ffmpeg -i - -c:v libx265 -preset slow -x265-params crfdeblock=0:-1:aq-mode=2:aq-strength=1.2:bframes=6:ref=6:rd=5:tu-intra-depth=4:tu-inter-depth=4:me=3:max-merge=5:subme=6:merange=25:keyint=240:rc-lookahead=80:b-adapt=2:rect=amp:no-sao:no-open-gop:no-cutree:no-tskip:no-tskip-fast:weightp:weightb:no-strong-intra-smoothing -y test.hevcffmpeg version git-2015-04-22-86d00ed Copyright (c) 2000-2015 the FFmpeg developers built with gcc 4.9.2 (Debian 4.9.2-10) configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-nonfree --enable-postproc --enable-version3 --enable-x11grab --enable-librtmp --enable-libxvid --enable-libass --enable-libx265 --enable-libvpx libavutil 54. 23.101 / 54. 23.101 libavcodec 56. 35.101 / 56. 35.101 libavformat 56. 30.100 / 56. 30.100 libavdevice 56. 4.100 / 56. 4.100 libavfilter 5. 14.100 / 5. 14.100 libswscale 3. 1.101 / 3. 1.101 libswresample 1. 1.100 / 1. 1.100 libpostproc 53. 3.100 / 53. 3.100 ./test.avs: 1280x720, 24000/1001 fps, 501 frames Input #0, yuv4mpegpipe, from 'pipe:': Duration: N/A, bitrate: N/A Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 1280x720, 23.98 fps, 23.98 tbr, 23.98 tbn, 23.98 tbc x265 [info]: HEVC encoder version 1.6+274-859daedfbb29 [COLOR=#ff0000][B]x265 [info]: build info [Linux][GCC 4.9.2][64 bit] 8bpp[/B][/COLOR] x265 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX x265 [info]: Main profile, Level-3.1 (Main tier) x265 [info]: Thread pool created using 8 threads x265 [info]: frame threads / pool features : 3 / wpp(12 rows) x265 [info]: Coding QT: max CU size, min CU size : 64 / 8 x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra x265 [info]: ME / range / subpel / merge : star / 57 / 3 / 3 x265 [info]: Keyframe min / max / scenecut : 23 / 250 / 40 x265 [info]: Lookahead / bframes / badapt : 25 / 4 / 2 x265 [info]: b-pyramid / weightp / weightb / refs: 1 / 1 / 0 / 3 x265 [info]: AQ: mode / str / qg-size / cu-tree : 1 / 1.0 / 64 / 1 x265 [info]: Rate Control : CRF-28.0 x265 [info]: tools: rect rd=4 psy-rd=0.30 rdoq=2 psy-rdoq=1.00 signhide tmvp x265 [info]: tools: strong-intra-smoothing deblock sao Output #0, hevc, to 'test.hevc': Metadata: encoder : Lavf56.30.100 Stream #0:0: Video: hevc (libx265), yuv420p, 1280x720, q=2-31, 23.98 fps, 23.98 tbn, 23.98 tbc Metadata: encoder : Lavc56.35.101 libx265 Stream mapping: Stream #0:0 -> #0:0 (rawvideo (native) -> hevc (libx265)) frame= 501 fps= 14 q=0.0 Lsize= 660kB time=00:00:20.81 bitrate= 259.6kbits/s video:660kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000000% x265 [info]: frame I: 4, Avg QP:22.63 kb/s: 3254.94 x265 [info]: frame P: 132, Avg QP:23.96 kb/s: 634.06 x265 [info]: frame B: 365, Avg QP:29.71 kb/s: 86.95 x265 [info]: global : 501, Avg QP:28.14 kb/s: 256.39 x265 [info]: Weighted P-Frames: Y:0.8% UV:0.8% x265 [info]: consecutive B-frames: 6.6% 7.4% 10.3% 62.5% 13.2% encode$ [B]wine avs2yuv_mod ./test.avs -o - | ffmpeg -i - -c:v libx265 -preset slow -x265-params crfdeblock=0:-1:aq-mode=2:aq-strength=1.2:bframes=6:ref=6:rd=5:tu-intra-depth=4:tu-inter-depth=4:me=3:max-merge=5:subme=6:merange=25:keyint=240:rc-lookahead=80:b-adapt=2:rect=amp:no-sao:no-open-gop:no-cutree:no-tskip:no-tskip-fast:weightp:weightb:no-strong-intra-smoothing -y test.hevc[/B]