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. |
4th March 2019, 19:34 | #21 | Link | |
SuperVirus
Join Date: Jun 2012
Location: Antarctic Japan
Posts: 1,410
|
Quote:
https://github.com/intel/SVT-HEVC/is...ment-468867836 |
|
4th March 2019, 20:10 | #22 | Link | |
Registered User
Join Date: Jul 2015
Posts: 810
|
Quote:
I've compiled svt encoder myself. Strange, for BPG libsvt works, in encoder svt doesn't want to. |
|
5th March 2019, 08:01 | #24 | Link |
Registered User
Join Date: Jul 2015
Posts: 810
|
I will not clutter up the topic. I'll wait for the corrections. In general, I have a hard time compiling the App with GCC. GCC enforces static headers in the APP otherwise the information is duplicated with libsvt.
Last edited by Jamaika; 5th March 2019 at 14:08. |
5th March 2019, 08:54 | #25 | Link |
Registered User
Join Date: Oct 2014
Posts: 268
|
AFAIK the svt encoder only supports a few specific input formats :
https://github.com/intel/SVT-HEVC/bl...t-video-format Svt encodes to raw hevc streams on my system, so I have to mux it and set framerate there. The fps parameters on the cli are (I guess ) only to specify framerate of the input for things like calculating bits per second (so it needs to know how many frames in a second ). I don't know, but do raw elementary hevc streams even have a fps field somewhere ? |
5th March 2019, 14:14 | #27 | Link | |
Registered User
Join Date: Jul 2015
Posts: 810
|
Quote:
At the moment the only way I could use. yuv420p->RGB24->yuv420p SvtHevcEncApp1.exe -i park_joy_1080p50.y4m -w 1920 -h 1080 -vid-info 1 -fpsinvps 1 -rt 0 -lp 0 -ss -1 -dolby-vision-rpu 0 -tune 2 -profile 1 -tier 0 -hme 1 -sao 0 -dlf 1 -brr 1 -bit-depth 8 -fps 50 -asm 0 -encMode 9 -tbr 70000 -compressed-ten-bit-format 0 -max-qp 48 -min-qp 10 -use-default-me-hme 1 -search-w 16 -search-h 7 -n 0 -q 30 -dolby-vision-profile 0 -max-cll 0 -max-fall 0 -use-master-display 0 -inj-frm-rt 60 -temporal-id 1 -sharp 1 -lad 17 -scd 1 -interlaced-video 0 -color-format 1 -base-layer-switch-mode 0 -pred-struct 0 -irefresh-type 2 -intra-period -2 -hierarchical-levels 3 -b park_joy_1080p50_QP30_tune2_hier3_base0_pred0.h265 https://www.sendspace.com/file/yf2ht7 Conclusion: We don't use option PredStructure greater than zero. Tune 2 it's VMAF. |
|
5th March 2019, 16:17 | #28 | Link | |
RipBot264 author
Join Date: May 2006
Location: Poland
Posts: 7,888
|
Quote:
__________________
Windows 7 Image Updater - SkyLake\KabyLake\CoffeLake\Ryzen Threadripper |
|
5th March 2019, 19:01 | #29 | Link |
Registered User
Join Date: Jul 2015
Posts: 810
|
For grumpy here they are:
https://www.sendspace.com/filegroup/...GMHiESUyp2aEtw |
5th March 2019, 19:21 | #30 | Link | |
RipBot264 author
Join Date: May 2006
Location: Poland
Posts: 7,888
|
Quote:
https://www.mediafire.com/file/dmbhg...ormal.mkv/file
__________________
Windows 7 Image Updater - SkyLake\KabyLake\CoffeLake\Ryzen Threadripper Last edited by Atak_Snajpera; 5th March 2019 at 19:28. |
|
1st June 2019, 08:30 | #32 | Link |
Registered User
Join Date: Jul 2015
Posts: 810
|
- new fixes for codec SVT HEVC 2019.06.01
Despite few amendments. Generally codec is a bit neglected in relation to SV1 AV1. The codec still has visible errors. There are pink spots of pixels. svt_hevc.exe -i 111.yuv -b auto_svt.h265 -tile_row_cnt 1 -tile_col_cnt 1 -w 1280 -h 720 -n 0 -bit-depth 8 -umv 1 -fpsinvps 1 -level 0 -tier 0 -fps-num 30000 -fps-denom 1001 -temporal-id 0 -asm 0 -rc 0 -tbr 3000000 -qp-file 32 -max-qp 48 -min-qp 10 -search-w 16 -search-h 7 -hme 1 -use-default-me-hme 1 -sao 0 -dlf 1 -tune 2 -interlaced-video 0 -compressed-ten-bit-format 0 -color-format 1 -encMode 0 -vid-info 1 -sharp 0 -irefresh-type 1 -hierarchical-levels 0 -base-layer-switch-mode 0 -intra-period 31 -pred-struct 2 -constrd-intra 1 -profile 1 -hdr 0 https://www.sendspace.com/file/z9xqvl |
11th June 2019, 17:19 | #33 | Link | |
Moderator
Join Date: Jan 2006
Location: Portland, OR
Posts: 4,893
|
Quote:
|
|
24th July 2019, 07:25 | #34 | Link | |
Registered User
Join Date: Feb 2011
Posts: 51
|
Assembly code paths
Quote:
Even the NONAVX2 codepath (--asm 1) seems to depend on AVX in some way. Or maybe it depends on YMM/ZMM registers or the OS XSAVE instruction being present, I don't know. Can't speak C or x86 assembly properly. Edit: Or maybe it's Visual Studio 2017 at fault here? What I would like to do is to create a build that runs with SSE2 or SSSE3 or SSE4.2 selectively, so I can do non-NUMA specific builds for older CPUs, while retaining as many optimizations as possible. Thank you!
__________________
Proud owner of a 3dfx Voodoo5 6000 AGP HiNT Rev.A-3700 prototype No RISC, no fun! Last edited by GrandAdmiralThrawn; 24th July 2019 at 08:20. |
|
24th July 2019, 21:00 | #35 | Link |
Registered User
Join Date: Jul 2015
Posts: 810
|
I have changed some implementations a bit. I had to turn off the SIMD (SSE3, SSE41, AVX, AVX2, AVX512)
I could not use assembler in GCC. So some of the functions do not work, i.e. SAO. It should be added that x265_svt is only 8bit 420yuv. I also changed the functions of svt in param.cpp Added opensource for GNU and codec video with file .bat https://www.sendspace.com/filegroup/...fwx7MXSw%2B6nA How do you think that you will do better? You have other ideas. Share your knowledge. Last edited by Jamaika; 24th July 2019 at 21:03. |
29th July 2019, 17:39 | #36 | Link |
Video compressionist
Join Date: Jun 2009
Location: Israel
Posts: 126
|
How to configure SVT-HEVC to generate closed GOPs with SPS/PPS?
i tried the following command line to generate closed GOP (= 30 frames): ./SvtHevcEncApp -i container_384x320.yuv -w 384 -h 320 -encMode 6 -intra-period 29 -fps 30 -rc 1 -tbr 500000 -umv 0 -irefresh-type 2 -lad 2 -pred-struct 2 -hierarchical-levels 0 -ua-delm 1 -b test.h265 However, upon inspection of the generated stream i found that all IDRs (excepting the very first one) are not accompanied with SPS/PPS and hence can't serve as a random access point. |
29th July 2019, 18:06 | #37 | Link |
Registered User
Join Date: Jul 2015
Posts: 810
|
Use the function:
-irefresh-type 2 -hierarchical-levels 0 -base-layer-switch-mode 0 -intra-period 29 -pred-struct 2 Code:
// GOP Structure /* The intra period defines the interval of frames after which you insert an * Intra refresh. It is strongly recommended to set the value to multiple of * 8 minus 1 the closest to 1 second (e.g. 55, 47, 31, 23 should be used for * 60, 50, 30, (24 or 25) respectively. * * -1 = no intra update. * -2 = auto. * * Deault is -2. */ int32_t intraPeriodLength; /* Random access. * * 1 = CRA, open GOP. * 2 = IDR, closed GOP. * * Default is 1. */ uint32_t intraRefreshType; /* Flag to code VPS / SPS / PPS. * * Default is 1. */ uint8_t codeVpsSpsPps; Last edited by Jamaika; 29th July 2019 at 19:01. |
30th July 2019, 03:12 | #38 | Link |
Video compressionist
Join Date: Jun 2009
Location: Israel
Posts: 126
|
@Jamaika
i actually use same command line 'excepting -base-layer-switch-mode 0'. This does not work. i dived into the source code and found in the main loop (the procedure PacketizationKernel ) the following condition: if(pictureControlSetPtr->pictureNumber == 0 && sequenceControlSetPtr->staticConfig.codeVpsSpsPps == 1) According to the above condition VPS/SPS/PPS are generated for the very first frame only. i replaced the condition with 'if(outputStreamPtr->sliceType==EB_IDR_PICTURE)' and the modified SVT encoder does inserts VPS/SPS/PPS before each IDR. Thus, each IDR is a random access point. |
30th July 2019, 04:40 | #39 | Link | |
Registered User
Join Date: Jul 2015
Posts: 810
|
Quote:
In general the problem frames B and SPS/VPS were reported. The answer was we don't have time for HEVC. It adds holiday corrections, added new features, but old problems remain. PS To check the new codecs HEVC, analyzer is useful. Unfortunately the programs are paid. |
|
30th July 2019, 17:18 | #40 | Link | |
Video compressionist
Join Date: Jun 2009
Location: Israel
Posts: 126
|
Quote:
As per B-frames, there are a wide class of low-latency applications (e.g. cloud gaming) where B-frames are irrelevant and not used. My main concern is low encoding time of SVT-HEVC comaring to that of x265. |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|