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. |
20th September 2019, 10:22 | #902 | Link | |
App Digger
Join Date: Sep 2018
Posts: 411
|
Quote:
See this. |
|
20th September 2019, 10:27 | #903 | Link | ||
Registered User
Join Date: Jan 2015
Posts: 286
|
Quote:
Quote:
|
||
20th September 2019, 10:45 | #904 | Link | |
Registered User
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
|
Quote:
__________________
https://github.com/stax76/software-list https://www.youtube.com/@stax76/playlists |
|
20th September 2019, 10:59 | #905 | Link | |
Registered User
Join Date: Sep 2019
Posts: 20
|
Quote:
I tried VBR, it's good to get low size, but i notice pixelation in fast movement scenes. So i just keep with CQP. |
|
20th September 2019, 20:48 | #906 | Link | |
App Digger
Join Date: Sep 2018
Posts: 411
|
Quote:
Thank you again. |
|
21st September 2019, 10:53 | #907 | Link |
Registered User
Join Date: Feb 2002
Posts: 758
|
I encoded an HDR mp4 and it seems the HDR flags are not passed.
This is the original file Code:
Format : MPEG-4 Format profile : Base Media Codec ID : isom (isom) File size : 724 MiB Duration : 1 min 23 s Overall bit rate mode : Variable Overall bit rate : 73.1 Mb/s Encoded date : UTC 2016-10-24 05:40:14 Tagged date : UTC 2016-10-24 05:40:14 Video ID : 1 Format : HEVC Format/Info : High Efficiency Video Coding Format profile : Main 10@L5.1@High HDR format : SMPTE ST 2086, HDR10 compatible Codec ID : hvc1 Codec ID/Info : High Efficiency Video Coding Duration : 1 min 23 s Bit rate : 72.9 Mb/s Maximum bit rate : 94.2 Mb/s Width : 3 840 pixels Height : 2 160 pixels Display aspect ratio : 16:9 Frame rate mode : Constant Frame rate : 59.940 (60000/1001) FPS Color space : YUV Chroma subsampling : 4:2:0 (Type 2) Bit depth : 10 bits Bits/(Pixel*Frame) : 0.147 Stream size : 722 MiB (100%) Encoded date : UTC 2016-10-24 06:37:11 Tagged date : UTC 2016-10-24 05:40:23 Color range : Limited Color primaries : BT.2020 Transfer characteristics : PQ Matrix coefficients : BT.2020 non-constant Mastering display color primaries : R: x=1.000000 y=1.000000, G: x=1.000000 y=1.000000, B: x=1.000000 y=1.000000, White point: x=1.000000 y=1.000000 Mastering display luminance : min: 0.1000 cd/m2, max: 1 cd/m2 Codec configuration box : hvcC Code:
ormat : Matroska Format version : Version 4 File size : 253 MiB Duration : 1 min 23 s Overall bit rate : 25.5 Mb/s Encoded date : UTC 2019-09-21 09:45:52 Writing application : mkvmerge v37.0.0 ('Leave It') 64-bit Writing library : libebml v1.3.9 + libmatroska v1.5.2 Writing frontend : StaxRip v2.0.4.0 Video ID : 1 Format : HEVC Format/Info : High Efficiency Video Coding Format profile : Main 10@L5.1@Main Codec ID : V_MPEGH/ISO/HEVC Duration : 1 min 23 s Bit rate : 25.3 Mb/s Width : 3 840 pixels Height : 2 160 pixels Display aspect ratio : 16:9 Frame rate mode : Constant Frame rate : 59.940 (60000/1001) FPS Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 10 bits Bits/(Pixel*Frame) : 0.051 Stream size : 251 MiB (99%) Writing library : x265 3.1+11-de920e0a3183:[Windows][GCC 9.1.1][64 bit] 10bit Encoding settings : rc=crf / crf=18.0000 / qcomp=0.60 / qpstep=4 / qpmax=69 / qpmin=0 / no-lossless / no-cu-lossless / ipratio=1.40 / pbratio=1.30 / aq-mode=2 / aq-strength=1.00 / psy-rd=2.00 / psy-rdoq=0.00 / rdoq-level=0 / cbqpoffs=0 / crqpoffs=0 / ctu=64 / min-cu-size=8 / ref=3 / limit-refs=1 / no-limit-modes / me=1 / subme=2 / merange=57 / no-hme / rd=3 / no-rd-refine / no-ssim-rd / rdpenalty=0 / deblock=0:0 / min-keyint=25 / keyint=250 / bframes=4 / bframe-bias=0 / b-adapt=2 / b-intra / b-pyramid / cutree / max-merge=3 / no-fades / weightp / no-weightb / no-rect / no-amp / sao / no-limit-sao / no-sao-non-deblock / early-skip / no-splitrd-skip / rskip / no-tskip / no-tskip-fast / no-fast-intra / scenecut=40 / scenecut-bias=0.05 / rc-lookahead=20 / gop-lookahead=0 / lookahead-slices=8 / max-tu-size=32 / tu-inter-depth=1 / tu-intra-depth=1 / limit-tu=0 / qg-size=32 / radl=0 / open-gop / no-hevc-aq / no-aq-motion / no-dynamic-refine / dynamic-rd=0.00 / nr-intra=0 / nr-inter=0 / strong-intra-smoothing / no-constrained-intra / no-strict-cbr / no-const-vbv / no-rc-grain / wpp / no-pmode / no-pme / no-psnr / no-ssim / signhide / stats-write=0 / stats-read=0 / zone-count=0 / input-csp=1 / input-res=3840x2160 / interlace=0 / total-frames=4980 / frame-threads=3 / level-idc=0 / high-tier=1 / uhd-bd=0 / no-analyze-src-pics / no-allow-non-conformance / no-repeat-headers / annexb / no-aud / no-hrd / info / hash=0 / temporal-mvp / no-temporal-layers / no-splice / no-intra-refresh / sar=0 / overscan=0 / videoformat=5 / range=0 / colorprim=9 / transfer=16 / colormatrix=9 / chromaloc=0 / display-window=0cll=0,0 / min-luma=0 / max-luma=1023 / log2-max-poc-lsb=8 / vui-timing-info / vui-hrd-info / slices=1 / no-opt-qp-pps / no-opt-ref-list-length-pps / no-multi-pass-opt-rps / no-opt-cu-delta-qp / no-hdr / no-hdr-opt / no-dhdr10-opt / no-idr-recovery-sei / analysis-reuse-level=5 / scale-factor=0 / refine-intra=0 / refine-inter=0 / refine-mv=0 / refine-ctu-distortion=0 / refine-analysis-type=0 / ctu-info=0 / copy-pic=1 / max-ausize-factor=1.0 / no-single-sei / no-svt / no-field / no-lowpass-dct / cpuid=1111039 / numa-pools=8 / log-level=2 / qp-adaptation-range=1.00 Default : Yes Forced : No Color range : Limited Color primaries : BT.2020 Transfer characteristics : PQ Matrix coefficients : BT.2020 non-constant |
21st September 2019, 11:24 | #908 | Link |
Registered User
Join Date: Feb 2002
Posts: 758
|
Here is the original file:
https://uhdsample.com/43-download-so...emo-video.html |
21st September 2019, 12:02 | #909 | Link | ||
Registered User
Join Date: Aug 2010
Location: Athens, Greece
Posts: 2,901
|
Quote:
Quote:
Hello @Patman. I replied earlier that ffmpeg DXVA2 worked like a charm and indeed, using my GTX 1660, the performance and CPU usage of ffmpeg DXVA2 was like NVEnc Hardware. But using my older Haswell system with no discrete card, just the iGPU, both "ffmpeg Intel" and "ffmpeg DXVA2" options inside StaxRip give me very bad results using both versions of ffmpeg (65MB and 20MB) The ffmpeg Intel option has 25% CPU usage for ffmpeg.exe + 10% CPU usage for QSVEncC = 35% CPU with highest CPU clock and 80% slower FPS than "QSVEnc Hardware" option. The ffmpeg DXVA2 options has 25% CPU usage for ffmpeg.exe + 25% CPU usage for QSVEncC = 50% CPU with highest clock and 40% slower FPS than QSVEnc Hardware option I think both ffmpeg Intel and DXVA2 use DXVA2 copy-back mode instead of DXVA2 native and that could be the reason of very high CPU usage and slow FPS performance. QSVEnc Hardware has lowest CPU clock during encoding and very low total CPU usage ~8% which is normal for DXVA2 native mode, along with highest FPS performance of course. @Patman Could you check if there is an option during compilation of ffmpeg for Intel hardware decoding regarding DXVA2 mode ? Thanks!
__________________
Win 10 x64 (19042.572) - Core i5-2400 - Radeon RX 470 (20.10.1) HEVC decoding benchmarks H.264 DXVA Benchmarks for all |
||
21st September 2019, 20:10 | #910 | Link | |
App Digger
Join Date: Sep 2018
Posts: 411
|
Quote:
See here. My guess is that the HDR flags are missing in the course of tweaking the metadata. Why don't you try Patman's x265 and see if the same problem occurs? See here. |
|
21st September 2019, 22:21 | #912 | Link |
Registered User
Join Date: Feb 2002
Posts: 758
|
I like the order of the new stuff
rc=crf / crf=17.0000 / qcomp=0.60 / qpstep=4 / vbv-maxrate=160000 / vbv-bufsize=160000 / vbv-init=0.9 / ... CRF at the beginning is great because it's the most important parameter that you might want to check and now I can see it at the beginning. I remember it was like this once before too. Maybe it was Staxrip 2.0.2 or some other previous version. |
21st September 2019, 23:39 | #913 | Link | |
App Digger
Join Date: Sep 2018
Posts: 411
|
Quote:
Now I highly suspect that it is an issue inherent in the MP4Box source. |
|
21st September 2019, 23:44 | #914 | Link | |
App Digger
Join Date: Sep 2018
Posts: 411
|
Quote:
|
|
22nd September 2019, 12:09 | #915 | Link | |
Registered User
Join Date: Jan 2015
Posts: 286
|
Quote:
that issue is related to mp4box. It's standard if no Tracktitle is set. I've run the mux process in command line with the parameter 'name:00009' after videoinput file and these is written to the title info. The container options for MP4Box must be adapted like those for mkv and webm. Last edited by Patman; 22nd September 2019 at 13:09. |
|
22nd September 2019, 14:55 | #916 | Link | |
Registered User
Join Date: Jul 2016
Posts: 171
|
Quote:
never seen metadata like this on any of the HDR10 file I have. Mastering display color primaries : R: x=1.000000 y=1.000000, G: x=1.000000 y=1.000000, B: x=1.000000 y=1.000000, White point: x=1.000000 y=1.000000 Mastering display luminance : min: 0.1000 cd/m2, max: 1 cd/m2 you file should still trigger HDR10 since PQ is still there (--transfer smpte2084) Last edited by imhh11; 22nd September 2019 at 14:57. |
|
22nd September 2019, 16:35 | #917 | Link | |
QfG Group Germany
Join Date: Oct 2018
Location: Germany
Posts: 245
|
Quote:
Code:
--hdr --output-depth 10 --hdr-opt --max-cll "1000,400" --master-display "G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(10000000,1)" --max-cll "1000,400" L(10000000,1) You can see this values with "MediaInfo" from your source file. With my little HDR Parser tool u must use this settings: Code:
--hdr --output-depth 10 --hdr-opt --master-display "G(50000,50000)B(50000,50000)R(50000,50000)WP(50000,50000)L(5000,1000)"
__________________
Last edited by -QfG-; 22nd September 2019 at 16:59. |
|
22nd September 2019, 16:47 | #918 | Link |
Registered User
Join Date: Dec 2002
Posts: 5,565
|
He can't see these exact values for his speficic source file because like imhh11 said this file's ("Sony Bravia OLED 4K Demo.mp4") mastering display color primaries and luminance metadata values are bogus. (Though this does not yet explain why StaxRip didn't transfer the metadata to the output.)
|
Tags |
aac, hdr, hevc, nvenc, staxrip, x264, x265 |
Thread Tools | Search this Thread |
Display Modes | |
|
|