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. |
6th March 2021, 10:52 | #30422 | Link |
Moderator
Join Date: Feb 2005
Location: Spain
Posts: 6,890
|
That can happen also when video have Variable Frame Rate (it can be checked with MediaInfo).
Many anime mkv have VFR, also when video was encode with HandBrake defaults.
__________________
BeHappy, AviSynth audio transcoder. |
6th March 2021, 14:39 | #30423 | Link |
Registered User
Join Date: May 2010
Posts: 134
|
mkv made with tsmuxer
after with tsmuxer uhd ========Job Started======== [09:02:12] Scanning source for UHD attributes... - UHD and HDR attributes collected. - Scan completed. [09:02:46] Checking/Adjusting MPLS file... - Found HEVC stream... -- Type marker adjusted to UHD-BD HEVC... -- Format marker adjusted to 2160p... -- Version marker adjusted to be 0300... [09:02:46] Checking/Adjusting CLPI file... - Found HEVC stream... -- Type marker adjusted to UHD-BD HEVC... -- Format marker adjusted to 2160p... -- Version marker adjusted to be 0300... [09:02:47] Checking/Adjusting BDMV files... - Added UHD-BD extension... - Checked/Updated version in Index file... - Checked/Updated version in MovieObject file... [09:02:47] Checking/Adjusting M2TS file... [10:28:11] TSMUXER TO UHD - SUCCESS =========Job Ended=========t after created bd structure with bdrebuilder but error again [03/06/21] BD Rebuilder v0.61.21 [10:31:52] Source: TS_00000 - Input BD size: 65,91 GB - Approximate total content: [02:20:36.803] - Target BD size: 24,22 GB - Windows Version: 6.2 [9200] - MOVIE-ONLY mode enabled - Quality: Better (Faster), Two Pass - UHD-BD source detected. - Decoding/Frame serving: FFMPEG - Audio Settings: AC3=0 DTS=0 HD=1 Kbs=640 [10:31:52] PHASE ONE, Encoding - [10:31:52] Processing: VID_00000 (1 of 1) - [10:31:52] Extracting A/V streams [VID_00000] - [11:13:35] Reencoding video [VID_00000] - Source Video: HEVC, 3840x2160 - Rate/Length: 23,976fps, 202.281 frames - Bitrate: 20.061 Kbs - [11:13:35] Reencoding: VID_00000, Pass 1 of 2 [12:58:08] - Failed video encode, aborted someone help me? thanks |
6th March 2021, 15:16 | #30425 | Link | |
Moderator
Join Date: Oct 2001
Posts: 20,973
|
Quote:
Also -- make sure you have plenty of space in your WORKING folder. Last edited by jdobbs; 6th March 2021 at 15:18. |
|
6th March 2021, 15:39 | #30426 | Link | |
Registered User
Join Date: May 2010
Posts: 134
|
Quote:
|
|
6th March 2021, 16:55 | #30427 | Link | |
Registered User
Join Date: Jul 2012
Posts: 1,213
|
Quote:
Might be temp/oc issue or free space issue |
|
6th March 2021, 19:07 | #30428 | Link |
Registered User
Join Date: May 2010
Posts: 134
|
Microsoft Windows [Versione 10.0.19042.844]
(c) 2020 Microsoft Corporation. Tutti i diritti sono riservati. C:\Users\Alex>"C:\Users\Alex\Desktop\BD_Rebuilder\tools\ffmpeg.exe" -probesize 100MB -i "F:\TS\BDMV\STREAM\00000.m2ts" -an -pix_fmt yuv420p10le -f yuv4mpegpipe -strict -1 - | "C:\Users\Alex\Desktop\BD_Rebuilder\tools\x265-64.exe" - --preset faster --profile main10 --uhd-bd --repeat-headers --vbv-bufsize 45000 --vbv-maxrate 48000 --hdr --chromaloc 2 --colorprim bt2020 --transfer smpte2084 --colormatrix bt2020nc --master-display "G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(40000000,50)" --max-cll "349,86" --fps 23.976 --sar 1:1 --qpfile "E:\NUOVA CARTELLA\WORKFILES\VID_00000.CHP" --keyint 24 --bitrate 20153 --y4m --stats "E:\NUOVA CARTELLA\WORKFILES\VID_00000.AVS.hevc.stats" --pass 1 --output NUL ffmpeg version 3.4 Copyright (c) 2000-2017 the FFmpeg developers built with gcc 7.2.0 (GCC) configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-bzlib --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libfreetype --enable-libmp3lame --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-cuda --enable-cuvid --enable-d3d11va --enable-nvenc --enable-dxva2 --enable-avisynth --enable-libmfx libavutil 55. 78.100 / 55. 78.100 libavcodec 57.107.100 / 57.107.100 libavformat 57. 83.100 / 57. 83.100 libavdevice 57. 10.100 / 57. 10.100 libavfilter 6.107.100 / 6.107.100 libswscale 4. 8.100 / 4. 8.100 libswresample 2. 9.100 / 2. 9.100 libpostproc 54. 7.100 / 54. 7.100 [mpegts @ 000002818ea45ec0] start time for stream 2 is not set in estimate_timings_from_pts [mpegts @ 000002818ea45ec0] start time for stream 3 is not set in estimate_timings_from_pts [mpegts @ 000002818ea45ec0] start time for stream 4 is not set in estimate_timings_from_pts [mpegts @ 000002818ea45ec0] Could not find codec parameters for stream 2 (Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)): unspecified size Consider increasing the value for the 'analyzeduration' and 'probesize' options [mpegts @ 000002818ea45ec0] Could not find codec parameters for stream 3 (Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)): unspecified size Consider increasing the value for the 'analyzeduration' and 'probesize' options [mpegts @ 000002818ea45ec0] Could not find codec parameters for stream 4 (Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)): unspecified size Consider increasing the value for the 'analyzeduration' and 'probesize' options Input #0, mpegts, from 'F:\TS\BDMV\STREAM\00000.m2ts': Duration: 02:30:09.99, start: 4200.000000, bitrate: 62838 kb/s Program 1 Stream #0:0[0x1011]: Video: hevc (Main 10) (HDMV / 0x564D4448), yuv420p10le(tv, bt2020nc/bt2020/smpte2084), 3840x2160 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 90k tbn, 23.98 tbc Stream #0:1[0x1100]: Audio: dts (DTS-HD MA) ([134][0][0][0] / 0x0086), 48000 Hz, 5.1(side), s16p Stream #0:2[0x1200]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090) Stream #0:3[0x1201]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090) Stream #0:4[0x1202]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090) Stream mapping: Stream #0:0 -> #0:0 (hevc (native) -> wrapped_avframe (native)) Press [q] to stop, [?] for help [yuv4mpegpipe @ 0000028193f966c0] Warning: generating non standard YUV stream. Mjpegtools will not work. Output #0, yuv4mpegpipe, to 'pipe:': Metadata: encoder : Lavf57.83.100 Stream #0:0: Video: wrapped_avframe, yuv420p10le, 3840x2160 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 23.98 fps, 23.98 tbn, 23.98 tbc Metadata: encoder : Lavc57.107.100 wrapped_avframe y4m [info]: 3840x2160 fps 23976/1000 i420p10 sar 1:1 unknown frame count raw [info]: output file: NUL x265 [info]: HEVC encoder version 3.2.1+3-b4b2ecac21f6 x265 [info]: build info [Windows][GCC 9.2.0][64 bit] 10bit x265 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 x265 [warning]: uhd-bd: Turning off open GOP x265 [warning]: uhd-bd: keyframeMin is always 1 x265 [info]: Main 10 profile, Level-5.1 (High tier) x265 [info]: Thread pool created using 8 threads x265 [info]: Slices : 1 x265 [info]: frame threads / pool features : 3 / wpp(34 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 : hex / 57 / 2 / 2 x265 [info]: Keyframe min / max / scenecut / bias: 1 / 24 / 40 / 5.00 x265 [info]: Lookahead / bframes / badapt : 15 / 4 / 0 x265 [info]: b-pyramid / weightp / weightb : 1 / 1 / 0 x265 [info]: References / ref-limit cu / depth : 2 / on / on x265 [info]: AQ: mode / str / qg-size / cu-tree : 2 / 1.0 / 32 / 1 x265 [info]: Rate Control / qCompress : ABR-20153 kbps / 0.60 x265 [info]: VBV/HRD buffer / max-rate / init : 45000 / 48000 / 0.900 x265 [info]: tools: rd=2 psy-rd=2.00 early-skip rskip signhide tmvp fast-intra x265 [info]: tools: strong-intra-smoothing lslices=8 deblock sao stats-write x265 [error]: malloc of size 20951040 failedime=00:00:00.79 bitrate=4772805.4kbits/s speed=0.723x x265 [error]: memory allocation failure, aborting encode x265 [info]: consecutive B-frames: 100.0% 0.0% 0.0% 0.0% 0.0% encoded 0 frames aborted at input frame 23, output frame 0 av_interleaved_write_frame(): Broken pipe Error writing trailer of pipe:: Broken pipetime=00:00:01.16 bitrate=4602347.3kbits/s speed=0.667x frame= 28 fps= 10 q=-0.0 Lsize= 656100kB time=00:00:01.16 bitrate=4602347.3kbits/s speed=0.421x video:14kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 4544317.000000% Conversion failed! ---------------------- [03/06/21] BD Rebuilder v0.61.21 [16:13:42] Source: TS_00000 - Input BD size: 65,91 GB - Approximate total content: [02:20:36.803] - Target BD size: 24,32 GB - Windows Version: 6.2 [9200] - MOVIE-ONLY mode enabled - Quality: Better (Faster), Two Pass - SHUTDOWN at completion enabled - UHD-BD source detected. - Decoding/Frame serving: FFMPEG - Audio Settings: AC3=0 DTS=0 HD=1 Kbs=640 [16:13:42] PHASE ONE, Encoding - [16:13:42] Processing: VID_00000 (1 of 1) - [16:13:42] Extracting A/V streams [VID_00000] - [16:52:55] Reencoding video [VID_00000] - Source Video: HEVC, 3840x2160 - Rate/Length: 23,976fps, 202.281 frames - Bitrate: 20.153 Kbs - [16:52:55] Reencoding: VID_00000, Pass 1 of 2 [18:03:29] - Failed video encode, aborted ---------------------- [03/06/21] BD Rebuilder v0.61.21 [16:13:42] Source: TS_00000 - Input BD size: 65,91 GB - Approximate total content: [02:20:36.803] - Target BD size: 24,32 GB - Windows Version: 6.2 [9200] - MOVIE-ONLY mode enabled - Quality: Better (Faster), Two Pass - SHUTDOWN at completion enabled - UHD-BD source detected. - Decoding/Frame serving: FFMPEG - Audio Settings: AC3=0 DTS=0 HD=1 Kbs=640 [16:13:42] PHASE ONE, Encoding - [16:13:42] Processing: VID_00000 (1 of 1) - [16:13:42] Extracting A/V streams [VID_00000] - [16:52:55] Reencoding video [VID_00000] - Source Video: HEVC, 3840x2160 - Rate/Length: 23,976fps, 202.281 frames - Bitrate: 20.153 Kbs - [16:52:55] Reencoding: VID_00000, Pass 1 of 2 [18:03:29] - Failed video encode, aborted [03/06/21] Checking System Settings - BD-Rebuilder v0.61.21 - Windows Version: 6.2 [9200] - Working Path Free Space: 164,56GB - AVISYNTH Version: 2.6.0.6, Ok - LAVFILTERS: Ok - X264: Ok - X265: Ok - AFTEN: Ok - FAAC: Ok - MP4BOX: Ok - WAVI: Ok - TSMUXER: Ok - FRIMEncode: Ok - FRIMDecode: Ok [03/06/21] Systems Settings Check complete Last edited by gamete; 6th March 2021 at 19:11. |
6th March 2021, 19:30 | #30431 | Link |
Registered User
Join Date: May 2010
Posts: 134
|
[Status]
LABEL=TS VERSION=v0.61.21 SOURCE_SIZE=70772109312 SOURCE_VIDEO_SIZE=70772109312 TARGET_SIZE=26109542400 REDUCTION=.368924180073476 RESIZE_1080=0 RESIZE_1440=0 AUDIO_TO_KEEP=eng;ita; KEEP_HD_AUDIO=-1 SUBS_TO_KEEP=all BACKUP_MODE=1 MOVIEONLY_TYPE=0 USE_LAVF=0 INSTANCES=1 DGDECNV=0 DGDECIM=0 FRIMSOURCE=0 FFMS2=0 SSIF_MODE=0 UHD_V3_MODE=0 QUICK=0 ENCODE_STEP=1.5 [00000] AUDIO=1 PGS=111 VIDEO2=0 V2MBRATE=0 M2TS_TARGET=26109542400 RATE=20153 |
12th March 2021, 00:17 | #30433 | Link |
Registered User
Join Date: Mar 2009
Posts: 129
|
BDRB cannot confirm NVEnc capability
Hey all... when trying to enable the NVEnc encoder I get the error "BDRB cannot confirm NVEnc capability. Cannot select." I'm running the latest nVidia drivers v461.72, v0.61.21 of BDRB and a GTX1060 6GB card, which according to the chart is capable. Any ideas? Thanks...
Last edited by spotswood; 12th March 2021 at 04:31. |
12th March 2021, 00:44 | #30434 | Link |
Registered User
Join Date: Mar 2009
Posts: 129
|
Uhd_convert_enable=1
Hey again... took a crack at the new hidden option above. I reencoded "The Fifth Element" Blu-ray and it came out great, amazing UHD quality (to my eye at least) on my LG OLED. Took forever though (12+ hours! Is that normal?), hence my attempt with NVEnc and the problem in my previous post. Most "regular" Blu-ray encodes take no more than a couple hours with my Ryzen 2700X.
A couple things I noticed... I tried with Movie and Menus selected, and in the log it shows "Converting to UHD-BD (HEVC)" (pic attached). But when selecting "Movie Only" mode the same notation is not shown. I do have "Convert BD to UHD-BD (HEVC)" selected (see pic).The resulting job IS in fact HEVC, it's just not shown in the log as in M&M mode. Also if I want to output to MKV w/HEVC and Intact Audio, which Alternate Movie Only Output should I select? Don't see that option. Other than that everything worked great, other than taking forever. Now if I can just get NVEnc enabled... Last edited by spotswood; 12th March 2021 at 04:33. Reason: addl info... |
12th March 2021, 15:32 | #30435 | Link |
Moderator
Join Date: Oct 2001
Posts: 20,973
|
@spotswood
BD-RB runs NVENCC.EXE with the option "--check-features" in order to see if the installed card is capable of h.264 and/or h.265 encoding. Try that from a CMD window and post your results. Also, what card are you using? A GTX-1060? Last edited by jdobbs; 12th March 2021 at 15:41. |
12th March 2021, 20:29 | #30436 | Link | |
Registered User
Join Date: Mar 2009
Posts: 129
|
NVENCC.EXE --check-features
Quote:
Results for NVENCC.EXE --check-features: C:\Windows\system32>c:\users\em-ssd\downloads\bd-rbv06121\tools\nvenc\nvencc.exe --check-features NVEncC (x86) 5.15 (r1658) by rigaya, Sep 12 2020 14:50:44 (VC 1900/Win/avx2) [NVENC API v10.0, CUDA 8.0] reader: raw, y4m, avi, avs, vpy, avsw, avhw [H.264/AVC, H.265/HEVC, MPEG2, VP8, VP9, VC-1, MPEG1, MPEG4] Environment Info OS : Windows 10 x64 (19042) CPU: AMD Ryzen 7 2700X Eight-Core Processor (8C/16T) RAM: Used 3577 MB, Total 16337 MB #0: GeForce GTX 1060 6GB (1280 cores, 1771 MHz)[2147483.64] NVEnc features Codec: H.264/AVC Max Bframes 4 B Ref Mode 2 (only middle) RC Modes 63 Field Encoding 1 (field mode) MonoChrome no FMO no Quater-Pel MV yes B Direct Mode yes CABAC yes Adaptive Transform yes Max Temporal Layers 4 Hierarchial P Frames no Hierarchial B Frames no Max Level 62 Min Level 10 4:4:4 yes Min Width 33 Max Width 4096 Min Height 17 Max Height 4096 Multiple Refs no Max LTR Frames 8 Dynamic Resolution Change yes Dynamic Bitrate Change yes Forced constant QP yes Dynamic RC Mode Change no Subframe Readback yes Constrained Encoding yes Intra Refresh yes Custom VBV Bufsize yes Dynamic Slice Mode yes Ref Pic Invalidiation yes PreProcess no Async Encoding yes Max MBs 65536 Lossless yes SAO no Me Only Mode 1 (I,P frames) Lookahead yes AQ (temporal) yes Weighted Prediction yes 10bit depth no Codec: H.265/HEVC Max Bframes 0 B Ref Mode 0 (no) RC Modes 63 Field Encoding 0 (no) MonoChrome no Quater-Pel MV yes B Direct Mode no Max Temporal Layers 0 Hierarchial P Frames no Hierarchial B Frames no Max Level 186 Min Level 30 4:4:4 yes Min Width 65 Max Width 8192 Min Height 33 Max Height 8192 Multiple Refs no Max LTR Frames 7 Dynamic Resolution Change yes Dynamic Bitrate Change yes Forced constant QP yes Dynamic RC Mode Change no Subframe Readback yes Constrained Encoding yes Intra Refresh yes Custom VBV Bufsize yes Dynamic Slice Mode yes Ref Pic Invalidiation yes PreProcess no Async Encoding yes Max MBs 262144 Lossless yes SAO yes Me Only Mode 1 (I,P frames) Lookahead yes AQ (temporal) no Weighted Prediction yes 10bit depth yes NVDec features H.264/AVC: nv12, yv12 H.265/HEVC: nv12, yv12, yv12(9bit), yv12(10bit), yv12(12bit) MPEG1: nv12, yv12 MPEG2: nv12, yv12 MPEG4: nv12, yv12 VP9: nv12, yv12 VC-1: nv12, yv12 |
|
12th March 2021, 23:57 | #30437 | Link |
Moderator
Join Date: Oct 2001
Posts: 20,973
|
Hmmm.... that looks like is should have worked. BD-RB just looks for the lines "Codec: H.264/AVC" and "Codec: H.265/HEVC" in the output.
Try adding the following to your INI file. That should force BD-RB to accept that you have a compliant card: NVENC_CAPABLE=1 |
13th March 2021, 00:40 | #30438 | Link | |
Registered User
Join Date: Jun 2010
Location: Germany
Posts: 205
|
Quote:
Regarding the encoding time: bear in mind, that UHD is four times the pixels per picture than 1080p and HEVC is more complex than AVC, so 12+ hours is quite a good duration |
|
13th March 2021, 04:36 | #30439 | Link | |
Registered User
Join Date: Mar 2009
Posts: 129
|
Nvenc_capable=1
Quote:
[03/12/21] BD Rebuilder v0.61.21 [17:16:58] Source: THE_MATRIX_00000 - Input BD size: 26.49 GB - Approximate total content: [02:16:17.961] - Target BD size: 24.00 GB - Windows Version: 6.2 [9200] - MOVIE-ONLY mode enabled - Auto Quality: Very Good (Very Fast), VBR - Decoding/Frame serving: NVENCC - Audio Settings: AC3=0 DTS=0 HD=1 Kbs=640 [17:17:00] PHASE ONE, Encoding - [17:17:00] Processing: VID_00000 (1 of 1) - [17:17:00] Extracting A/V streams [VID_00000] - [17:22:14] Reencoding video [VID_00000] - Source Video: VC-1, 1920x1080 - Rate/Length: 23.976fps, 196,075 frames - Bitrate: 19,436 Kbs - [17:22:14] Reencoding: VID_00000, Pass 1 of 1 [17:22:14] - Failed video encode, aborted [Options] VERSION=0.61.0.21 ENCODER=1 MODE=3 ENCODE_QUALITY=0 ONEPASS_ENCODING=0 AUTO_QUALITY=1 TARGET_SIZE=25600 AUDIO_TO_KEEP=eng; SUBS_TO_KEEP=eng; SD_CONVERT=0 OPEN_GOP=0 RESIZE_1080=0 RESIZE_1440=0 RESIZE_720=0 DEINTERLACE=1 SD_TO_1080=0 IGNORE_3D=0 CONVERT_WIDE=0 DTS_REENCODE=0 AC3_REENCODE=0 AC3_640=1 AC3_192=0 KEEP_HD_AUDIO=1 AUDIO_DRC=0 DECODER=3 AVCHD=0 REMOVE_WORKFILES=1 REMOVE_OUTPUT=1 USE_FILTERS=0 BDMV_CERT_ONLY=1 IVTC_PULLDOWN=0 ASSUME_DVD_PAL=0 FRIMSOURCE=0 COMPLETION_BEEP=1 OUTPUT_SBS=0 NEROAAC=0 SUPTITLE=0 PGSTOSRT=0 AUDIO_TRACK_LIMIT=1 SUBTITLE_TRACK_LIMIT=0 CUSTOM_TARGET_SIZE=24576 MOVIE_ONLY_LOOP=0 ENABLE_TEST=1 ENABLE_BLANKING=1 BLANK_THRESHOLD=1800 MULTIPROCESS=1 BEEP_SOUNDFILE=C:\Windows\Media\tada.wav NVENC_CAPABLE=1 UHD_CONVERT_ENABLE=1 UHD_ALL_MODE=0 REENCODE_MENUS=0 MOVIEONLY_TYPE=0 ALTCRF=23 ALT_TARGET=1024 ALT_CRF_TARGET=1024 ALTMETHOD=0 ALTAUTOCROP=0 UHD_V3_MODE=1 [Paths] DGIndexNV=C:\Users\eM-SSD\Downloads\dgdecnv2053\x32 Binaries\DGIndexNV.exe DGDecNV=C:\Users\eM-SSD\Downloads\dgdecnv2053\x32 Binaries\DGDecodeNV.dll SOURCE_PATH=N:\ WORKING_PATH=C:\USERS\EM-SSD\VIDEOS\HEVC\ Last edited by spotswood; 13th March 2021 at 04:42. |
|
13th March 2021, 04:37 | #30440 | Link |
Registered User
Join Date: Mar 2009
Posts: 129
|
Took a look but that's a little above my pay grade. @jdobbs, can you add an alternate output for MKV w/HEVC and Intact Audio in the next update? Or post the entry here and I can add it to the .txt file. Just not sure what to include. I can do a standard Blu-ray structure and then convert to MKV w Makemkv but that's an extra step. Thanks...
Last edited by spotswood; 13th March 2021 at 05:51. |
Thread Tools | Search this Thread |
Display Modes | |
|
|