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. |
17th September 2019, 15:30 | #921 | Link | |
Registered User
Join Date: Jan 2019
Location: Russia
Posts: 105
|
Quote:
|
|
17th September 2019, 15:41 | #922 | Link | |
Registered User
Join Date: Sep 2007
Posts: 5,377
|
Quote:
There were differences in earlier versions with CUVID, but this version looks to have fixed it I don't think there has been enough testing to ensure everything works 100% If something goes wrong, report it . That's the only way stuff gets fixed |
|
17th September 2019, 15:48 | #923 | Link | |
Registered User
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
|
Quote:
StaxRip hasn't the most efficient drawing implementation, dealing with 4K in the crop and preview dialog users get a noticeable improvement with a HW decoder.
__________________
https://github.com/stax76/software-list https://www.youtube.com/@stax76/playlists Last edited by stax76; 17th September 2019 at 15:57. |
|
17th September 2019, 15:57 | #924 | Link | |
Registered User
Join Date: Jan 2019
Location: Russia
Posts: 105
|
Quote:
So, if I can't see any difference after tests, the best way choose software decoder, right? Last edited by redbtn; 17th September 2019 at 15:59. |
|
17th September 2019, 17:44 | #925 | Link |
RipBot264 author
Join Date: May 2006
Location: Poland
Posts: 7,815
|
No wonder you see no differences with hardware decoding if encoder is only requesting on average 1 frame every 400ms.
__________________
Windows 7 Image Updater - SkyLake\KabyLake\CoffeLake\Ryzen Threadripper |
17th September 2019, 17:48 | #927 | Link |
RipBot264 author
Join Date: May 2006
Location: Poland
Posts: 7,815
|
Decoding speed with blu-ray avc source is around 130fps on Kepler.
For comparison: Q8200@2.8GHz reaches 100fps (~85% cpu usage) Xeon E5-2690@3.2GHz reaches 440fps (~75% cpu usage)
__________________
Windows 7 Image Updater - SkyLake\KabyLake\CoffeLake\Ryzen Threadripper Last edited by Atak_Snajpera; 17th September 2019 at 18:13. |
18th September 2019, 01:06 | #928 | Link |
結城有紀
Join Date: Dec 2003
Location: NJ; OR; Shanghai
Posts: 894
|
Thanks for correcting. Although those fps are "free" fps that does not fight with encoding speed at all. When transcoding HEVC 4k, having hardware decoder can free up large portion of CPU resources and leave them for encoding. I'd still use hardware decoder whenever possible to me.
|
18th September 2019, 09:04 | #929 | Link | |
RipBot264 author
Join Date: May 2006
Location: Poland
Posts: 7,815
|
Quote:
__________________
Windows 7 Image Updater - SkyLake\KabyLake\CoffeLake\Ryzen Threadripper Last edited by Atak_Snajpera; 18th September 2019 at 09:10. |
|
18th September 2019, 09:13 | #931 | Link |
RipBot264 author
Join Date: May 2006
Location: Poland
Posts: 7,815
|
Nope because those filters work on CPU creating additional bottleneck.
__________________
Windows 7 Image Updater - SkyLake\KabyLake\CoffeLake\Ryzen Threadripper |
18th September 2019, 10:08 | #933 | Link |
Registered User
Join Date: Dec 2002
Posts: 5,565
|
Atak_Snajpera is right. The more of my CPU time "cake" is spent on filtering and encoding the less impact HW decoding will make on speed. It doesn't mean HW decoding won't make encoding faster it's just that the percentage goes down. (Exception is if my CPU isn't utilized 100%.)
Imagine you use AV1 encoder with placebo settings and very slow filtering (QTGMC+waifu2x) and software decoding of source. Then 99% of CPU time is spent on encoding+filtering, 1% on SW decoding. If you replace SW decoding with HW decoding you only free up that 1%. If you use no filtering and very fast encoder settings (x264 preset ultrafast) maybe you have 70% encoding and 30% SW decoding. Then replacing SW by HW decoding can increase speed much more. |
18th September 2019, 10:11 | #934 | Link |
RipBot264 author
Join Date: May 2006
Location: Poland
Posts: 7,815
|
You do not realize how encoding chain works. Encoder determines how fast IT needs frames from decoder. Any filtering in avisynth will only slow down frame requests.
__________________
Windows 7 Image Updater - SkyLake\KabyLake\CoffeLake\Ryzen Threadripper |
18th September 2019, 10:17 | #935 | Link |
Registered User
Join Date: Dec 2005
Location: Germany
Posts: 1,795
|
Code:
# Latest lsmash Nvidia gpu Output 3001 frames in 34.80 seconds (86.24 fps) # SMDegrain(clip, tr=1) Output 3001 frames in 88.24 seconds (34.01 fps) # SMDegrain(clip, tr=3) # CPU Output 3001 frames in 40.83 seconds (73.51 fps) # SMDegrain(clip, tr=1) Output 3001 frames in 95.05 seconds (31.57 fps) # SMDegrain(clip, tr=3) source is 1080p AVC
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth VapourSynth Portable FATPACK || VapourSynth Database Last edited by ChaosKing; 18th September 2019 at 10:34. |
18th September 2019, 13:06 | #936 | Link |
Registered User
Join Date: Sep 2010
Location: Ukraine, Bohuslav
Posts: 377
|
I'm talking about CPU usage, not how frame requests works. Obviously software decoder will leave less room for other stuff and that was my point. You still can repeat your mantra about frame requests, but you can't say "software decoder is free for CPU", right?
|
18th September 2019, 14:49 | #937 | Link | |
RipBot264 author
Join Date: May 2006
Location: Poland
Posts: 7,815
|
Quote:
CPU: Intel Q8200@2.8GHz GPU: NVidia GT 710 (Kepler) SSD: Yes Source Blu-ray John Carter (first 10 minutes) Code:
Video ID : 1 Format : AVC Format/Info : Advanced Video Codec Format profile : High@L4.1 Format settings : CABAC / 4 Ref Frames Format settings, CABAC : Yes Format settings, ReFrames : 4 frames Format settings, GOP : M=3, N=18 Muxing mode : Container profile=@0.0 Codec ID : V_MPEG4/ISO/AVC Duration : 10 min 0 s Bit rate mode : Variable Bit rate : 26.9 Mb/s Maximum bit rate : 40.0 Mb/s Width : 1 920 pixels Height : 1 080 pixels Display aspect ratio : 16:9 Frame rate mode : Constant Frame rate : 23.976 (24000/1001) FPS Standard : NTSC Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Progressive Bits/(Pixel*Frame) : 0.541 Stream size : 1.88 GiB (98%) Default : No Forced : No Color range : Limited Color primaries : BT.709 Transfer characteristics : BT.709 Matrix coefficients : BT.709 Code:
LoadPlugin("C:\Program Files (x86)\RipBot264\Tools\AviSynth plugins\lsmash\LSMASHSource.dll") video=LWLibavVideoSource("C:\Temp\Video.mkv",cachefile="C:\Temp\Video.mkv.lwi",prefer_hw=0) return video Code:
LoadPlugin("C:\Program Files (x86)\RipBot264\Tools\AviSynth plugins\lsmash\LSMASHSource.dll") video=LWLibavVideoSource("C:\Temp\Video.mkv",cachefile="C:\Temp\Video.mkv.lwi",prefer_hw=1) return video Software Decoding Code:
Log file created with: AVSMeter 2.9.6 (x64) Script file: C:\Temp\scriptSW.avs [OS/Hardware info] Operating system: Windows 7 (x64) Service Pack 1.0 (Build 7601) CPU: Intel(R) Core(TM)2 Quad CPU Q8200 @ 2.80GHz / Yorkfield (Core 2 Quad) 2M MMX, SSE, SSE2, SSE3, SSSE3, SSE4.1 4 physical cores / 4 logical cores Video card: NVIDIA GeForce GT 710 GPU version: GK208 Video memory size: 1024 MiB OpenCL version: OpenCL 1.2 CUDA Graphics driver version: 26.21.14.3615 (NVIDIA 436.15) / Win7 64 [Avisynth info] VersionString: AviSynth+ 0.1 (r2772, MT, x86_64) VersionNumber: 2.60 File / Product version: 0.1.0.0 / 0.1.0.0 Interface Version: 6 Multi-threading support: Yes Avisynth.dll location: C:\Windows\system32\avisynth.dll Avisynth.dll time stamp: 2018-12-20, 12:55:18 (UTC) PluginDir2_5 (HKLM, x64): C:\Program Files (x86)\AviSynth+\plugins64 PluginDir+ (HKLM, x64): C:\Program Files (x86)\AviSynth+\plugins64+ [Clip info] Number of frames: 14405 Length (hh:mm:ss.ms): 00:10:00.809 Frame width: 1920 Frame height: 1080 Framerate: 23.976 (24000/1001) Colorspace: i420 Audio channels: n/a Audio bits/sample: n/a Audio sample rate: n/a Audio samples: n/a [Runtime info] Frames processed: 14405 (0 - 14404) FPS (min | max | average): 76.92 | 256.0 | 124.1 Process memory usage (max): 85 MiB Thread count: 10 CPU usage (average): 92.8% GPU usage (average): 1% VPU usage (average): 0% GPU memory usage: 130 MiB Time (elapsed): 00:01:56.122 [Script] LoadPlugin("C:\Program Files (x86)\RipBot264\Tools\AviSynth plugins\lsmash\LSMASHSource.dll") video=LWLibavVideoSource("C:\Temp\Video.mkv",cachefile="C:\Temp\Video.mkv.lwi",prefer_hw=0) return video Code:
Log file created with: AVSMeter 2.9.6 (x64) Script file: C:\Temp\scriptHW.avs [OS/Hardware info] Operating system: Windows 7 (x64) Service Pack 1.0 (Build 7601) CPU: Intel(R) Core(TM)2 Quad CPU Q8200 @ 2.80GHz / Yorkfield (Core 2 Quad) 2M MMX, SSE, SSE2, SSE3, SSSE3, SSE4.1 4 physical cores / 4 logical cores Video card: NVIDIA GeForce GT 710 GPU version: GK208 Video memory size: 1024 MiB OpenCL version: OpenCL 1.2 CUDA Graphics driver version: 26.21.14.3615 (NVIDIA 436.15) / Win7 64 [Avisynth info] VersionString: AviSynth+ 0.1 (r2772, MT, x86_64) VersionNumber: 2.60 File / Product version: 0.1.0.0 / 0.1.0.0 Interface Version: 6 Multi-threading support: Yes Avisynth.dll location: C:\Windows\system32\avisynth.dll Avisynth.dll time stamp: 2018-12-20, 12:55:18 (UTC) PluginDir2_5 (HKLM, x64): C:\Program Files (x86)\AviSynth+\plugins64 PluginDir+ (HKLM, x64): C:\Program Files (x86)\AviSynth+\plugins64+ [Clip info] Number of frames: 14405 Length (hh:mm:ss.ms): 00:10:00.809 Frame width: 1920 Frame height: 1080 Framerate: 23.976 (24000/1001) Colorspace: i420 Audio channels: n/a Audio bits/sample: n/a Audio sample rate: n/a Audio samples: n/a [Runtime info] Frames processed: 14405 (0 - 14404) FPS (min | max | average): 38.94 | 148.9 | 122.6 Process memory usage (max): 91 MiB Thread count: 8 CPU usage (average): 13.2% GPU usage (average): 22% VPU usage (average): 99% GPU memory usage: 230 MiB Time (elapsed): 00:01:57.449 [Script] LoadPlugin("C:\Program Files (x86)\RipBot264\Tools\AviSynth plugins\lsmash\LSMASHSource.dll") video=LWLibavVideoSource("C:\Temp\Video.mkv",cachefile="C:\Temp\Video.mkv.lwi",prefer_hw=1) return video The slower encoder the less you get from hardware decoding! It would be even worse if I added any filtering in AviSynth like MDegrain. Not to mention about a lot slower x265. Deal with it! Most of the time you get placebo effect
__________________
Windows 7 Image Updater - SkyLake\KabyLake\CoffeLake\Ryzen Threadripper Last edited by Atak_Snajpera; 18th September 2019 at 20:35. |
|
18th September 2019, 16:54 | #938 | Link |
結城有紀
Join Date: Dec 2003
Location: NJ; OR; Shanghai
Posts: 894
|
Time saved is time saved. Whatever slower preset you choose, the amount of CPU resource HW decoder saves you is basically the same.
The CPU resources saved always equals to the total cost of SW decoder demands, minus the effort to copy pictures from graphics card buffer, right? Saving 5 minutes off 10 minutes ultrafast encoding is great, but saving 5 minutes off 50 minutes medium encoding is not bad either. It's like upgrading your CPU from 3600 to 3600X for free. It's a free 5 minutes, I'll take it. |
18th September 2019, 17:46 | #940 | Link | |
RipBot264 author
Join Date: May 2006
Location: Poland
Posts: 7,815
|
Quote:
__________________
Windows 7 Image Updater - SkyLake\KabyLake\CoffeLake\Ryzen Threadripper Last edited by Atak_Snajpera; 18th September 2019 at 17:50. |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|