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. |
13th December 2019, 10:34 | #7261 | Link | |
Registered User
Join Date: May 2018
Posts: 49
|
Quote:
|
|
13th December 2019, 12:53 | #7262 | Link | |
Registered User
Join Date: Apr 2017
Posts: 63
|
Quote:
Can anyone provide something like that for UHD/HDR? |
|
13th December 2019, 14:25 | #7263 | Link | |
Registered User
Join Date: May 2009
Posts: 184
|
Quote:
Again, this is all at 1080p resolution. For UHD all I'd probably change is CTU 32 > 64, me-range 40 > 57 and possibly qg-size 32 > 64. |
|
13th December 2019, 14:33 | #7264 | Link | |
Registered User
Join Date: May 2009
Posts: 184
|
Quote:
I've never really seen much difference in quality or size between tu-intra-depth inter-depth and limit-tu all set to 4 versus 1, 1 and 0 anyway. I only really use the former as it's a buffed setting with minor performance hit. I think the gains from increasing tu-intra and inter-depth are probably only really seen without using limit-tu. But the speed decrease is pretty severe then. |
|
13th December 2019, 20:04 | #7265 | Link | |
Registered User
Join Date: May 2018
Posts: 49
|
Quote:
|
|
13th December 2019, 22:09 | #7267 | Link | |
Registered User
Join Date: May 2018
Posts: 49
|
Quote:
Edit: Nope. After some more testing I prefer the results with limit-tu 4 + tu-inter 3 + tu-intra 3. Last edited by markiemarcus; 14th December 2019 at 00:24. |
|
16th December 2019, 14:23 | #7270 | Link | ||
Where's my loot?
Join Date: May 2019
Posts: 63
|
Quote:
Quote:
|
||
16th December 2019, 14:43 | #7272 | Link |
Registered User
Join Date: Oct 2011
Posts: 275
|
Hi,
answering to myself about this, apparently the problem is there since a while now : Found out this https://bitbucket.org/multicoreware/...cpp-when-using It fixes the cli if you make it with a single lib, but trying to make a multilib exe you end up with this : https://bitbucket.org/multicoreware/...indicator_init Then in the end i found the full fix needed for the code, it's this : https://github.com/msg7086/x265-Yuuk...35c659d71beac9 Multilib 8+10+12Bit compiles correctly now with ICC 1910 from latest Intel System Studio 2020 integrated in VS2019 . Posting it in case it helps someone else, spent a few days banging my head on this thing... Last edited by Yanak; 16th December 2019 at 14:46. |
18th December 2019, 07:22 | #7274 | Link |
Pig on the wing
Join Date: Mar 2002
Location: Finland
Posts: 5,718
|
According to the manual, it applies only to VBV capped encodes in special situations in the material. I think quite many of us don't use VBV constraints in personal encodes.
__________________
And if the band you're in starts playing different tunes I'll see you on the dark side of the Moon... Last edited by Boulder; 18th December 2019 at 07:32. |
18th December 2019, 08:12 | #7275 | Link |
Registered User
Join Date: Feb 2007
Location: Sweden
Posts: 480
|
x265 v3.2+22-a8a2c4c37267 (32 & 64-bit 8/10/12bit Multilib Windows Binaries) (GCC 9.2.0)
Code:
https://bitbucket.org/multicoreware/x265/commits/branch/default |
20th December 2019, 22:59 | #7277 | Link |
Registered User
Join Date: Jan 2013
Posts: 50
|
Hi,
I'm basically into CLI stuff. I have no issues running ffmpeg with x265 10-bit using CRF with any x265 parameter value but can't figure out 2-pass encoding which fails in the 2nd pass. Could any one please guide me where I am doing wrong? @Selur please Microsoft Windows [Version 10.0.18362.535] (c) 2019 Microsoft Corporation. All rights reserved. C:\Users\admin\Desktop\REMUX>ffmpeg -y -i "Testing-1min.mkv" -c:v libx265 -b:v 5000k -preset slow -pix_fmt yuv420p10le -x265-params "pass=1:aq-mode=3:bframes=8:sao=0:sar=0:selective-sao=0" -an -f mp4 NUL ffmpeg version git-2019-12-19-99f505d Copyright (c) 2000-2019 the FFmpeg developers built with gcc 9.2.1 (GCC) 20191125 configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt --enable-amf libavutil 56. 36.101 / 56. 36.101 libavcodec 58. 65.100 / 58. 65.100 libavformat 58. 35.101 / 58. 35.101 libavdevice 58. 9.101 / 58. 9.101 libavfilter 7. 69.101 / 7. 69.101 libswscale 5. 6.100 / 5. 6.100 libswresample 3. 6.100 / 3. 6.100 libpostproc 55. 6.100 / 55. 6.100 [matroska,webm @ 0000015de81d9d80] Could not find codec parameters for stream 2 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size Consider increasing the value for the 'analyzeduration' and 'probesize' options [matroska,webm @ 0000015de81d9d80] Could not find codec parameters for stream 3 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size Consider increasing the value for the 'analyzeduration' and 'probesize' options [matroska,webm @ 0000015de81d9d80] Could not find codec parameters for stream 4 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size Consider increasing the value for the 'analyzeduration' and 'probesize' options Input #0, matroska,webm, from 'Testing-1min.mkv': Metadata: title : testing clip encoder : libebml v1.3.9 + libmatroska v1.5.2 creation_time : 2019-12-18T23:24:19.000000Z Duration: 00:01:00.02, start: 0.000000, bitrate: 23880 kb/s Chapter #0:0: start 0.000000, end 12.012208 Metadata: title : Chapter 09 Chapter #0:1: start 12.012208, end 60.008000 Metadata: title : Chapter 10 Stream #0:0(eng): Video: h264 (High), yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc Metadata: BPS-eng : 22031553 DURATION-eng : 00:00:59.977000000 NUMBER_OF_FRAMES-eng: 1438 NUMBER_OF_BYTES-eng: 165173310 _STATISTICS_WRITING_APP-eng: mkvmerge v41.0.0 ('Smarra') 64-bit _STATISTICS_WRITING_DATE_UTC-eng: 2019-12-18 23:24:19 _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream #0:1(por): Audio: dts (DTS-HD MA), 48000 Hz, 5.1(side), s16p (default) Metadata: title : Surround 5.1 BPS-eng : 1787265 DURATION-eng : 00:01:00.011000000 NUMBER_OF_FRAMES-eng: 5626 NUMBER_OF_BYTES-eng: 13406948 _STATISTICS_WRITING_APP-eng: mkvmerge v41.0.0 ('Smarra') 64-bit _STATISTICS_WRITING_DATE_UTC-eng: 2019-12-18 23:24:19 _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream #0:2(eng): Subtitle: hdmv_pgs_subtitle (default) Metadata: BPS-eng : 55145 DURATION-eng : 00:00:55.535000000 NUMBER_OF_FRAMES-eng: 24 NUMBER_OF_BYTES-eng: 382812 _STATISTICS_WRITING_APP-eng: mkvmerge v41.0.0 ('Smarra') 64-bit _STATISTICS_WRITING_DATE_UTC-eng: 2019-12-18 23:24:19 _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream #0:3(chi): Subtitle: hdmv_pgs_subtitle Metadata: BPS-eng : 40979 DURATION-eng : 00:00:55.535000000 NUMBER_OF_FRAMES-eng: 24 NUMBER_OF_BYTES-eng: 284474 _STATISTICS_WRITING_APP-eng: mkvmerge v41.0.0 ('Smarra') 64-bit _STATISTICS_WRITING_DATE_UTC-eng: 2019-12-18 23:24:19 _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream #0:4(chi): Subtitle: hdmv_pgs_subtitle Metadata: BPS-eng : 42596 DURATION-eng : 00:00:55.535000000 NUMBER_OF_FRAMES-eng: 24 NUMBER_OF_BYTES-eng: 295697 _STATISTICS_WRITING_APP-eng: mkvmerge v41.0.0 ('Smarra') 64-bit _STATISTICS_WRITING_DATE_UTC-eng: 2019-12-18 23:24:19 _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream mapping: Stream #0:0 -> #0:0 (h264 (native) -> hevc (libx265)) Press [q] to stop, [?] for help x265 [info]: HEVC encoder version 3.2+15-04db2bfee5d6 x265 [info]: build info [Windows][GCC 9.2.1][64 bit] 10bit x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2 x265 [info]: Main 10 profile, Level-4 (Main tier) x265 [info]: Thread pool 0 using 32 threads on numa nodes 0 x265 [info]: Slices : 1 x265 [info]: frame threads / pool features : 5 / wpp(17 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 / bias: 23 / 250 / 40 / 5.00 x265 [info]: Lookahead / bframes / badapt : 25 / 8 / 2 x265 [info]: b-pyramid / weightp / weightb : 1 / 1 / 0 x265 [info]: References / ref-limit cu / depth : 4 / on / on x265 [info]: AQ: mode / str / qg-size / cu-tree : 3 / 1.0 / 32 / 1 x265 [info]: Rate Control / qCompress : ABR-5000 kbps / 0.60 x265 [info]: tools: rect limit-modes rd=4 psy-rd=2.00 rdoq=2 psy-rdoq=1.00 x265 [info]: tools: rskip signhide tmvp strong-intra-smoothing lslices=4 x265 [info]: tools: deblock stats-write Output #0, mp4, to 'NUL': Metadata: title : testing clip encoder : Lavf58.35.101 Chapter #0:0: start 0.000000, end 12.012208 Metadata: title : Chapter 09 Chapter #0:1: start 12.012208, end 60.008000 Metadata: title : Chapter 10 Stream #0:0(eng): Video: hevc (libx265) (hev1 / 0x31766568), yuv420p10le, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 5000 kb/s, 23.98 fps, 24k tbn, 23.98 tbc Metadata: BPS-eng : 22031553 DURATION-eng : 00:00:59.977000000 NUMBER_OF_FRAMES-eng: 1438 NUMBER_OF_BYTES-eng: 165173310 _STATISTICS_WRITING_APP-eng: mkvmerge v41.0.0 ('Smarra') 64-bit _STATISTICS_WRITING_DATE_UTC-eng: 2019-12-18 23:24:19 _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES encoder : Lavc58.65.100 libx265 Side data: cpb: bitrate max/min/avg: 0/0/5000000 buffer size: 0 vbv_delay: N/A frame= 1438 fps=9.9 q=-0.0 Lsize= 38964kB time=00:00:59.85 bitrate=5333.1kbits/s speed=0.412x video:38945kB audio:0kB subtitle:0kB other streams:0kB global headers:2kB muxing overhead: 0.050550% x265 [info]: frame I: 12, Avg QP:19.99 kb/s: 27830.30 x265 [info]: frame P: 268, Avg QP:20.89 kb/s: 16318.63 x265 [info]: frame B: 1158, Avg QP:26.00 kb/s: 2539.48 x265 [info]: Weighted P-Frames: Y:0.4% UV:0.4% x265 [info]: consecutive B-frames: 4.3% 0.7% 2.1% 52.9% 5.0% 6.1% 5.0% 21.8% 2.1% encoded 1438 frames in 145.06s (9.91 fps), 5318.55 kb/s, Avg QP:25.00 C:\Users\admin\Desktop\REMUX>ffmpeg -i "Testing-1min.mkv" -c:v libx265 -b:v 5000k -preset slow -pix_fmt yuv420p10le -x265-params "pass=2:aq-mode=3:bframes=8:sao=0:sar=0:selective-sao=0" -an -f mp4 Testing-1min-2pass.mp4 ffmpeg version git-2019-12-19-99f505d Copyright (c) 2000-2019 the FFmpeg developers built with gcc 9.2.1 (GCC) 20191125 configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt --enable-amf libavutil 56. 36.101 / 56. 36.101 libavcodec 58. 65.100 / 58. 65.100 libavformat 58. 35.101 / 58. 35.101 libavdevice 58. 9.101 / 58. 9.101 libavfilter 7. 69.101 / 7. 69.101 libswscale 5. 6.100 / 5. 6.100 libswresample 3. 6.100 / 3. 6.100 libpostproc 55. 6.100 / 55. 6.100 [matroska,webm @ 00000198d82d9cc0] Could not find codec parameters for stream 2 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size Consider increasing the value for the 'analyzeduration' and 'probesize' options [matroska,webm @ 00000198d82d9cc0] Could not find codec parameters for stream 3 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size Consider increasing the value for the 'analyzeduration' and 'probesize' options [matroska,webm @ 00000198d82d9cc0] Could not find codec parameters for stream 4 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size Consider increasing the value for the 'analyzeduration' and 'probesize' options Input #0, matroska,webm, from 'Testing-1min.mkv': Metadata: title : testing clip encoder : libebml v1.3.9 + libmatroska v1.5.2 creation_time : 2019-12-18T23:24:19.000000Z Duration: 00:01:00.02, start: 0.000000, bitrate: 23880 kb/s Chapter #0:0: start 0.000000, end 12.012208 Metadata: title : Chapter 09 Chapter #0:1: start 12.012208, end 60.008000 Metadata: title : Chapter 10 Stream #0:0(eng): Video: h264 (High), yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc Metadata: BPS-eng : 22031553 DURATION-eng : 00:00:59.977000000 NUMBER_OF_FRAMES-eng: 1438 NUMBER_OF_BYTES-eng: 165173310 _STATISTICS_WRITING_APP-eng: mkvmerge v41.0.0 ('Smarra') 64-bit _STATISTICS_WRITING_DATE_UTC-eng: 2019-12-18 23:24:19 _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream #0:1(por): Audio: dts (DTS-HD MA), 48000 Hz, 5.1(side), s16p (default) Metadata: title : Surround 5.1 BPS-eng : 1787265 DURATION-eng : 00:01:00.011000000 NUMBER_OF_FRAMES-eng: 5626 NUMBER_OF_BYTES-eng: 13406948 _STATISTICS_WRITING_APP-eng: mkvmerge v41.0.0 ('Smarra') 64-bit _STATISTICS_WRITING_DATE_UTC-eng: 2019-12-18 23:24:19 _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream #0:2(eng): Subtitle: hdmv_pgs_subtitle (default) Metadata: BPS-eng : 55145 DURATION-eng : 00:00:55.535000000 NUMBER_OF_FRAMES-eng: 24 NUMBER_OF_BYTES-eng: 382812 _STATISTICS_WRITING_APP-eng: mkvmerge v41.0.0 ('Smarra') 64-bit _STATISTICS_WRITING_DATE_UTC-eng: 2019-12-18 23:24:19 _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream #0:3(chi): Subtitle: hdmv_pgs_subtitle Metadata: BPS-eng : 40979 DURATION-eng : 00:00:55.535000000 NUMBER_OF_FRAMES-eng: 24 NUMBER_OF_BYTES-eng: 284474 _STATISTICS_WRITING_APP-eng: mkvmerge v41.0.0 ('Smarra') 64-bit _STATISTICS_WRITING_DATE_UTC-eng: 2019-12-18 23:24:19 _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream #0:4(chi): Subtitle: hdmv_pgs_subtitle Metadata: BPS-eng : 42596 DURATION-eng : 00:00:55.535000000 NUMBER_OF_FRAMES-eng: 24 NUMBER_OF_BYTES-eng: 295697 _STATISTICS_WRITING_APP-eng: mkvmerge v41.0.0 ('Smarra') 64-bit _STATISTICS_WRITING_DATE_UTC-eng: 2019-12-18 23:24:19 _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream mapping: Stream #0:0 -> #0:0 (h264 (native) -> hevc (libx265)) Press [q] to stop, [?] for help x265 [info]: HEVC encoder version 3.2+15-04db2bfee5d6 x265 [info]: build info [Windows][GCC 9.2.1][64 bit] 10bit x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2 x265 [info]: Main 10 profile, Level-4 (Main tier) x265 [info]: Thread pool 0 using 32 threads on numa nodes 0 x265 [info]: Slices : 1 x265 [info]: frame threads / pool features : 5 / wpp(17 rows) x265 [error]: different scenecut setting than first pass (40 vs 40) [libx265 @ 00000198d8356500] Cannot open libx265 encoder. Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height Conversion failed! C:\Users\admin\Desktop\REMUX> |
21st December 2019, 00:31 | #7279 | Link | |
Registered User
Join Date: Jan 2013
Posts: 50
|
Quote:
Now it throws: (pasted last few lines) Code:
x265 [info]: frame threads / pool features : 5 / wpp(17 rows) x265 [error]: different scenecut setting than first pass (40 vs 40) [libx265 @ 000001bb8d550300] Cannot open libx265 encoder. Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height Conversion failed! Code:
ffmpeg -y -i "Testing-1min.mkv" -c:v libx265 -b:v 5000k -preset slow -pix_fmt yuv420p10le -strict -1 -x265-params "pass=1:aq-mode=3:bframes=8:sao=0:sar=0:selective-sao=0" -an -f mp4 NUL ffmpeg -i "Testing-1min.mkv" -c:v libx265 -b:v 5000k -preset slow -pix_fmt yuv420p10le -strict -1 -x265-params "pass=2:aq-mode=3:bframes=8:sao=0:sar=0:selective-sao=0" -an -f mp4 Testing-1min-2pass.mp4 |
|
21st December 2019, 01:33 | #7280 | Link | |
Registered User
Join Date: Apr 2018
Posts: 61
|
Quote:
|
|
Thread Tools | Search this Thread |
Display Modes | |
|
|