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.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Development

Reply
 
Thread Tools Search this Thread Display Modes
Old 25th September 2019, 20:04   #1001  |  Link
videoh
Useful n00b
 
Join Date: Jul 2014
Posts: 1,667
We're having so much fun I decided to try with GPU encoding for this use case we are discussing:

DGSource() + NVENCC + 2080 Ti + 7700K: 1:05.

I tried to choose settings that produced results perceptually approximating x264 medium.
videoh is offline   Reply With Quote
Old 26th September 2019, 07:32   #1002  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,886
Isn't the video decoding done in a separate PureVideo decoder chip which may not have developed as much as the 3D rendering and shader operations? ... The closet was the room with the least needs for space in this house.
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 26th September 2019, 08:42   #1003  |  Link
FranceBB
Broadcast Encoder
 
FranceBB's Avatar
 
Join Date: Nov 2013
Location: Royal Borough of Kensington & Chelsea, UK
Posts: 2,990
Quote:
Originally Posted by MeteorRain View Post
That means the video renderer can't keep up because of the limited PCIe bandwidth? Very interesting.
Also the number of lanes that the CPU has with the GPU is important. For instance, Xeon CPUs like the W-3265M has 64 PCI-E lanes, while its consumer counterpart probably has less lanes. The thing is that it's not only a matter of GPU, but also a matter of which CPU you are using. As a matter of fact, having a very good GPU with a not so good CPU will limit its efficiency.
FranceBB is offline   Reply With Quote
Old 27th September 2019, 03:40   #1004  |  Link
redbtn
Registered User
 
redbtn's Avatar
 
Join Date: Jan 2019
Location: Russia
Posts: 105
Can I safely index MKV (hevc) with audio tracks and subs for now? I read somewhere earlier that i need remux MKV with only video track for better indexing, cuz another tracks can impact on accuracy.

Last edited by redbtn; 27th September 2019 at 04:17.
redbtn is offline   Reply With Quote
Old 27th September 2019, 05:38   #1005  |  Link
videoh
Useful n00b
 
Join Date: Jul 2014
Posts: 1,667
Quote:
Originally Posted by LigH View Post
Isn't the video decoding done in a separate PureVideo decoder chip which may not have developed as much as the 3D rendering and shader operations? ... The closet was the room with the least needs for space in this house.
Quite right, LigH. Seems to me that the main nVidia development effort goes into gaming-relevant things. We really need super high PCI bandwidths too.
videoh is offline   Reply With Quote
Old 27th September 2019, 05:56   #1006  |  Link
MeteorRain
結城有紀
 
Join Date: Dec 2003
Location: Oregon
Posts: 895
Quote:
Originally Posted by redbtn View Post
Can I safely index MKV (hevc) with audio tracks and subs for now? I read somewhere earlier that i need remux MKV with only video track for better indexing, cuz another tracks can impact on accuracy.
Fairly safe. It used to index all other tracks and would create huge index file. Now they are all skipped. Let us know if you hit issues again.
__________________
My Projects
x265 - Yuuki-Asuna-mod
TS - ADTS AAC Splitter | LATM AAC Splitter | BS4K-ASS
Neo AviSynth+ filters - F3KDB | FFT3D | DFTTest | MiniDeen | Temporal Median
MeteorRain is offline   Reply With Quote
Old 1st October 2019, 12:46   #1007  |  Link
StvG
Registered User
 
Join Date: Jul 2018
Posts: 489
@HolyWu, I built LSMASHSource from your repo using this CMake file taken from @MeteorRain repo. When tested for seeking issues with that file my build has errors but your build is fine. Something wrong with my building process? ffmpeg 4.2.1 / 4.3 used without difference.
There is patch for replacing avresample with swresample in your repo but avisynth exlibs - #pragma comment( lib, "libavresample.a" ).
StvG is offline   Reply With Quote
Old 2nd October 2019, 21:53   #1008  |  Link
StvG
Registered User
 
Join Date: Jul 2018
Posts: 489
Thanks for the info.
StvG is offline   Reply With Quote
Old 15th October 2019, 10:45   #1009  |  Link
FNSCAR
Registered User
 
Join Date: Mar 2014
Posts: 10
@HolyWu ,I downloaded your build from release page of your github but there is no vsLSMASHSource.dll in folder.
Does it support vapoursynth?
FNSCAR is offline   Reply With Quote
Old 15th October 2019, 11:29   #1010  |  Link
ChaosKing
Registered User
 
Join Date: Dec 2005
Location: Germany
Posts: 1,798
Quote:
Originally Posted by FNSCAR View Post
@HolyWu ,I downloaded your build from release page of your github but there is no vsLSMASHSource.dll in folder.
Does it support vapoursynth?
It works for avisynth and vapoursynth.
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth
VapourSynth Portable FATPACK || VapourSynth Database
ChaosKing is offline   Reply With Quote
Old 15th October 2019, 16:11   #1011  |  Link
FNSCAR
Registered User
 
Join Date: Mar 2014
Posts: 10
Quote:
Originally Posted by ChaosKing View Post
It works for avisynth and vapoursynth.
I update vapouraynth to latest R47.2 and it works.Thank you.
FNSCAR is offline   Reply With Quote
Old 15th October 2019, 16:44   #1012  |  Link
DJATOM
Registered User
 
DJATOM's Avatar
 
Join Date: Sep 2010
Location: Ukraine, Bohuslav
Posts: 377
R47.2 is buggy. Stick with R46 or go to latest R48 test. It contains fixes for all spotted bugs of R47.
__________________
Me on GitHub
PC Specs: Ryzen 5950X, 64 GB RAM, RTX 2070
DJATOM is offline   Reply With Quote
Old 20th October 2019, 16:32   #1013  |  Link
Atak_Snajpera
RipBot264 author
 
Atak_Snajpera's Avatar
 
Join Date: May 2006
Location: Poland
Posts: 7,870
Question: Would be possible to use multiple threads to speed up indexing process? For example by using some kind of chunk indexing?
I'm asking because NVMe SSDs with read speed of 3GiB/s+ are getting much more affordable. I have Xeon E5-2690@3.2GHz (8C/16T) and I see that i'm experiencing a bottleneck due to single threaded code.
In this example I'm indexing 4k movie (~50Mbps) from RAM disk...

1,24GiB/s is a max I can get on single core. ffmsindex is even more cpu intensive (only ~0,5GiB/s).

Currently indexing of ~60 GiB 4k movie takes ~1 minute. With proper multi-threading we could easily reduce indexing time to ~15s!

Last edited by Atak_Snajpera; 20th October 2019 at 17:00.
Atak_Snajpera is offline   Reply With Quote
Old 22nd October 2019, 18:20   #1014  |  Link
kedautinh12
Registered User
 
Join Date: Jan 2018
Posts: 2,162
Quote:
Originally Posted by HolyWu View Post
https://github.com/HolyWu/L-SMASH-Works/releases/latest

Uploaded new binary which ditches libaom and is built by clang-cl. The binary size is smaller than the previous ICL build and decoding speed seems to be marginally faster.




No problem. Here.
Your Latest still error with .vp9, add this video and check
https://drive.google.com/file/d/1FAl...w?usp=drivesdk
kedautinh12 is offline   Reply With Quote
Old 22nd October 2019, 18:29   #1015  |  Link
stax76
Registered User
 
stax76's Avatar
 
Join Date: Jun 2002
Location: On thin ice
Posts: 6,840
Quote:
Originally Posted by Atak_Snajpera View Post
Question: Would be possible to use multiple threads to speed up indexing process? For example by using some kind of chunk indexing?
I'm asking because NVMe SSDs with read speed of 3GiB/s+ are getting much more affordable. I have Xeon E5-2690@3.2GHz (8C/16T) and I see that i'm experiencing a bottleneck due to single threaded code.
In this example I'm indexing 4k movie (~50Mbps) from RAM disk...

1,24GiB/s is a max I can get on single core. ffmsindex is even more cpu intensive (only ~0,5GiB/s).

Currently indexing of ~60 GiB 4k movie takes ~1 minute. With proper multi-threading we could easily reduce indexing time to ~15s!
Maybe you are asking the wrong question, how about MakeMKV creating an index? Answer: It's just code, anything is possible.
stax76 is offline   Reply With Quote
Old 23rd October 2019, 02:11   #1016  |  Link
kedautinh12
Registered User
 
Join Date: Jan 2018
Posts: 2,162
Quote:
Originally Posted by MeteorRain View Post
https://down.7086.in/AviSynthPlus%20...-r935%2B34.zip

Stop indexing progress spamming

-- Now only refresh at every 1%.
Still error with vp9, only old ver r929 of VFR-maniac still fine
kedautinh12 is offline   Reply With Quote
Old 23rd October 2019, 02:35   #1017  |  Link
poisondeathray
Registered User
 
Join Date: Sep 2007
Posts: 5,416
Quote:
Originally Posted by kedautinh12 View Post
Your Latest still error with .vp9, add this video and check
https://drive.google.com/file/d/1FAl...w?usp=drivesdk
This is AVC. Works ok. Rename the file characters
poisondeathray is offline   Reply With Quote
Old 23rd October 2019, 03:05   #1018  |  Link
kedautinh12
Registered User
 
Join Date: Jan 2018
Posts: 2,162
Quote:
Originally Posted by poisondeathray View Post
This is AVC. Works ok. Rename the file characters
I was renamed and load ok but still error with image in video
kedautinh12 is offline   Reply With Quote
Old 23rd October 2019, 03:36   #1019  |  Link
poisondeathray
Registered User
 
Join Date: Sep 2007
Posts: 5,416
Quote:
Originally Posted by kedautinh12 View Post
I was renamed and load ok but still error with image in video
what error? what time ?
poisondeathray is offline   Reply With Quote
Old 23rd October 2019, 06:01   #1020  |  Link
kedautinh12
Registered User
 
Join Date: Jan 2018
Posts: 2,162
Quote:
Originally Posted by poisondeathray View Post
what error? what time ?
When i load video with LWLibavVideoSource still error with L-SMASH-Works_20190917 and LSMASHSource-r935+34
https://drive.google.com/open?id=115...Yi9jrKPfOO2smu

But i load ok with L-SMASH-Works r929
https://drive.google.com/open?id=16c...G738RIUaCO2MtC
kedautinh12 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 15:33.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.