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. |
15th May 2019, 22:28 | #781 | Link |
Registered User
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
|
935 from the link above might have a memory leak problem.
__________________
https://github.com/stax76/software-list https://www.youtube.com/@stax76/playlists |
16th May 2019, 10:38 | #782 | Link |
German doom9/Gleitz SuMo
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,781
|
If you want to use L-SMASH Works in AviSynth also for audio processing, you may want to prefer LwLibavAudioSource over LSMASHAudioSource even for ISO base media containers. I had an MP4 as source which contains AVC video and AAC audio (surprisingly in 44.1 kHz, possibly accidently resampled). Using LSMASHAudioSource, the audio contained annoying crackles; using LwLibavAudioSource, the sound was clean.
|
16th May 2019, 10:46 | #783 | Link | |
Registered User
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
|
Quote:
Which build are you using? Maybe have a look in task manager regarding memory consumption.
__________________
https://github.com/stax76/software-list https://www.youtube.com/@stax76/playlists |
|
17th May 2019, 14:02 | #785 | Link |
Registered User
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
|
@LigH
staxrip was using 929, I've checked 941 memory usage and it's fine. L-SMASH Source 941: http://www.mediafire.com/file/id4dp2zqha08wvx/
__________________
https://github.com/stax76/software-list https://www.youtube.com/@stax76/playlists Last edited by stax76; 17th May 2019 at 14:26. |
17th May 2019, 14:22 | #786 | Link |
German doom9/Gleitz SuMo
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,781
|
I don't think the crackling sound of my issue is related to a memory leak, rather to the L-SMASH demultiplexer handling audio streams incorrectly (the libav demultiplexer instead works correctly).
|
11th July 2019, 19:26 | #788 | 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 |
|
11th July 2019, 23:44 | #789 | Link |
Registered User
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
|
What I don't understand is, when I close the avifile API the memory is not instantly reclaimed entirely.
__________________
https://github.com/stax76/software-list https://www.youtube.com/@stax76/playlists |
12th July 2019, 00:44 | #790 | Link |
結城有紀
Join Date: Dec 2003
Location: NJ; OR; Shanghai
Posts: 894
|
I also have a copy at https://github.com/HomeOfAviSynthPlu.../L-SMASH-Works basically I integrated patches from multiple forks.
Binaries compiled by myself can be found at https://down.7086.in/AviSynthPlus%20..._r935%2B26.zip . |
12th July 2019, 02:59 | #791 | Link | |
47.952fps@71.928Hz
Join Date: Mar 2011
Posts: 940
|
Quote:
Can you tell us a little more about these patches?
__________________
Win10 (x64) build 19041 NVIDIA GeForce GTX 1060 3GB (GP106) 3071MB/GDDR5 | (r435_95-4) NTSC | DVD: R1 | BD: A AMD Ryzen 5 2600 @3.4GHz (6c/12th, I'm on AVX2 now!)
|
|
12th July 2019, 05:51 | #793 | Link |
Registered User
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
|
__________________
https://github.com/stax76/software-list https://www.youtube.com/@stax76/playlists |
25th July 2019, 17:04 | #794 | Link |
RipBot264 author
Join Date: May 2006
Location: Poland
Posts: 7,815
|
Feature request:
Add option cachefile to LWLibavVideoSource so user can specify where index file will be created. Example Code:
LWLibavVideoSource("..\video.mkv",cachefile="C:\temp\MyIndex.lwi") BTW. Standalone indexer similar to ffmsindex.exe would be also useful.
__________________
Windows 7 Image Updater - SkyLake\KabyLake\CoffeLake\Ryzen Threadripper Last edited by Atak_Snajpera; 25th July 2019 at 17:09. |
26th July 2019, 00:02 | #796 | Link |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
|
To maybe avoid possible misunderstanding and unnecessary work,
Code:
ffms2_ORDERED_Function_List There follows a list of all function names together with CPP style argument specifiers that inform Avisynth the argument types and optional names. Optional arguments have square brackets surrounding their name as in [name] and are followed by a type specifier character that gives the type. Unnamed arguments are not optional. eg "cc[arg1]b[arg2]i" would be two compulsory unnamed clip args, followed by optional 'arg1' of type bool and optional 'arg2' of type int. # Argument type specifier strings. c - Video Clip i - Integer number f - Float number s - String b - boolean . - Any type (dot) # Array Specifiers i* - Integer Array, zero or more i+ - Integer Array, one or more .* - Any type Array, zero or more .+ - Any type Array, one or more # Etc ################################### FFAudioSource "[source]s[track]i[cache]b[cachefile]s[adjustdelay]i[utf8]b[varprefix]s" FFGetLogLevel "" FFGetVersion "" FFIndex "[source]s[cachefile]s[indexmask]i[dumpmask]i[audiofile]s[errorhandling]i[overwrite]b[utf8]b" FFSetLogLevel "i" FFVideoSource "[source]s[track]i[cache]b[cachefile]s[fpsnum]i[fpsden]i[threads]i[timecodes]s[seekmode]i[rffmode]i[width]i[height]i[resizer]s[colorspace]s[utf8]b[varprefix]s" and just for good luck. Code:
LSMASHSource_ORDERED_Function_List LSMASHAudioSource "[source]s[track]i[skip_priming]b[layout]s[rate]i[decoder]s" LSMASHVideoSource "[source]s[track]i[threads]i[seek_mode]i[seek_threshold]i[dr]b[fpsnum]i[fpsden]i[stacked]b[format]s[decoder]s" LWLibavAudioSource "[source]s[stream_index]i[cache]b[av_sync]b[layout]s[rate]i[decoder]s" LWLibavVideoSource "[source]s[stream_index]i[threads]i[cache]b[seek_mode]i[seek_threshold]i[dr]b[fpsnum]i[fpsden]i[repeat]b[dominance]i[stacked]b[format]s[decoder]s"
__________________
I sometimes post sober. StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace "Some infinities are bigger than other infinities", but how many of them are infinitely bigger ??? Last edited by StainlessS; 26th July 2019 at 00:54. |
26th July 2019, 16:32 | #797 | Link |
結城有紀
Join Date: Dec 2003
Location: NJ; OR; Shanghai
Posts: 894
|
I meant I found a standalone version of lsmash indexing tool on GitHub -- if that was causing misunderstanding.
Although I'm just using symbolic links to link the source into encoding directory, so no pollution to the sources. |
26th July 2019, 16:59 | #798 | Link |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
|
Was intended just incase Atak_Snajpera thought ffmsindex.exe was required for indexing in script via ffmsindex(clip).
[I at one time thought that the executable was necessary for indexing].
__________________
I sometimes post sober. StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace "Some infinities are bigger than other infinities", but how many of them are infinitely bigger ??? |
26th July 2019, 18:29 | #799 | Link |
Registered User
Join Date: Jun 2002
Location: On thin ice
Posts: 6,837
|
cachefile feature would be very helpful and it would be awesome if the filter would write progress like 'Progress: 1%' to stdout.
Please note that any code can write to stdout, console tools can but GUIs and libraries like LSMASHSource.dll can do that as well. An indexing app would be nice but using ffmpeg or vspipe will work as well: Code:
Using proc As New Proc proc.Header = "Index LWLibav" proc.Encoding = Encoding.UTF8 If p.Script.Engine = ScriptEngine.AviSynth Then proc.File = Package.ffmpeg.Path proc.Arguments = "-i " + p.Script.Path.Escape + " -hide_banner" Else proc.File = Package.vspipe.Path proc.Arguments = p.Script.Path.Escape + " NUL -i" End If proc.AllowedExitCodes = {0, 1} proc.Start() End Using
__________________
https://github.com/stax76/software-list https://www.youtube.com/@stax76/playlists Last edited by stax76; 26th July 2019 at 18:32. |
27th July 2019, 00:20 | #800 | Link |
Registered User
Join Date: Sep 2003
Location: Berlin, Germany
Posts: 3,079
|
Another question about the different LSMASH versions...
A while ago Ligh recommended to use the LSMASH versions which come with the current MeGUI distribution. Maybe not the latest and greatest, but proven and well tested. I did that (pleasantly surprised about the included latest XP-compatible version), and the non-XP version from the MeGui download is r929. I used this version without any problems, but now I see that there are some newer builds which also incorporate a couple of patches, and I am curious again... There is r941 by hydra3333, and also interesting is r935 by MeteorRain. I only need the 32-bit versions, and they should work under classic AVS 2.60 as well as under the latest AVS+ version. And stability is my major concern. I did some test conversions with r935 by MeteorRain under classic AVS 2.61 Alpha without any problems. What confused me is that the readme says that this is a plugin for AVS+ and VapourSynth, no mention of classic AVS. Can I safely ignore this for the 32-bit version, or am I playing with fire? Cheers manolito |
Thread Tools | Search this Thread |
Display Modes | |
|
|