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 17th September 2018, 20:09   #781  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 5,940
@Monamona:

Reading from authored files on optical discs is not recommendable for at least 2 reasons:

a) authored content may be logically spread across several file segments, and L-SMASH Works cannot read from more than one source file, and surely not follow the logical path (e.g. ProGram Chain across VOB segments of a DVD Video, as defined in IFO files)

b) optical devices are stressed by random instead of sequential reading, and multi-threaded decoding may seek forth and back

To convert with AviSynth based tools, you should always extract a logical "movie" from the optical disc to a harddisk into one continuous file (e.g. MakeMKV can handle both DVD and Blu-ray Video media).
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 14th February 2019, 23:06   #782  |  Link
redbtn
Registered User
 
redbtn's Avatar
 
Join Date: Jan 2019
Location: Russia
Posts: 84
If cache=0 i get vspipe error. This is L-Smash or VapourSynth problem?
Quote:
[2019-02-15][02:29:44] "C:\Program Files (x86)\VapourSynth\core64\vspipe.exe" --info F:\MKV\input.vpy -
[2019-02-15][02:29:44]
[2019-02-15][02:29:44] [hevc @ 0000020ecf48bc20] missing picture in access unit
[2019-02-15][02:29:44] [hevc @ 0000020ecf48bc20] missing picture in access unit
[2019-02-15][02:29:44] [hevc @ 0000020ecf48bc20] missing picture in access unit
[2019-02-15][02:29:44] [hevc @ 0000020ecf48bc20] missing picture in access unit
[2019-02-15][02:29:44] [hevc @ 0000020ecf48bc20] missing picture in access unit
[2019-02-15][02:29:44] [hevc @ 0000020ecf48bc20] missing picture in access unit
[2019-02-15][02:29:44] [hevc @ 0000020ecf48bc20] missing picture in access unit

and more same strings

Last edited by redbtn; 14th February 2019 at 23:08.
redbtn is offline   Reply With Quote
Old 1st April 2019, 07:09   #783  |  Link
Sparktank
47.952fps@71.928Hz
 
Sparktank's Avatar
 
Join Date: Mar 2011
Posts: 903
Thanks for this and FFMPEG updates.
__________________
Win10 (x64) build 18362| GPU Caps Viewer 1.42.4.0
NVIDIA GeForce GTX 1060 3GB (GP106) 3071MB/GDDR5 | (r435_95-4)
NTSC | DVD: R1 | BD: A
Intel Xeon X5660 @2.80GHz
Sparktank is offline   Reply With Quote
Old 1st April 2019, 07:48   #784  |  Link
VS_Fan
Registered User
 
Join Date: Jan 2016
Posts: 91
Quote:
Originally Posted by HolyWu View Post
Thanks, here my problem report:

Avisynth Error: LSMASHVideoSource [Fatal]: Failed to read an input file

vapoursynth.Error: lsmas: failed to open source file.
VS_Fan is offline   Reply With Quote
Old 1st April 2019, 08:41   #785  |  Link
VS_Fan
Registered User
 
Join Date: Jan 2016
Posts: 91
Sorry, should have tested more before reporting: I thought there was no need for a script as it was just the source filter, I am testing my new batch of 12 recently found DV 199x recordings (AVI).

Your build is fine. I found that instead of LSMASHVideoSource and lsmas.LibavSMASHSource, both LWLibavVideoSource (AviSynth) & lsmas.LWLibavSource (VapourSynth) work just fine on these AVI files.

Thanks again
VS_Fan is offline   Reply With Quote
Old 1st April 2019, 09:45   #786  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 5,940
@VS_Fan: As documented: "LSMASH...Source" functions support only containers compatible to the ISO base media file format (MOV, MP4, 3GPP and similar), but not AVI.

@HolyWu: Thank you for the new Win64 build. A pity I can't use it when I need to use legacy AviSynth 2.5 filters which are available for Win32 only.
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid

Last edited by LigH; 1st April 2019 at 09:48.
LigH is offline   Reply With Quote
Old 1st April 2019, 14:03   #787  |  Link
fvisagie
Registered User
 
Join Date: Aug 2008
Location: Isle of Man
Posts: 588
Quote:
Originally Posted by LigH View Post
@HolyWu: Thank you for the new Win64 build. A pity I can't use it when I need to use legacy AviSynth 2.5 filters which are available for Win32 only.
And I am on a Win32 *system*, so any update for that would be roundly welcomed! :-)
fvisagie is offline   Reply With Quote
Old 15th May 2019, 21:17   #788  |  Link
stax76
Registered User
 
stax76's Avatar
 
Join Date: Jun 2002
Location: Chamber 36
Posts: 5,845
If I understand it correctly then l-smash for avs will by default output a double width format for 10bit (or more) sources. I can use ConvertFromDoubleWidth to get it into planar but how can I detect in avisynth code if it has double width format and which bit depth it is?

Last edited by stax76; 15th May 2019 at 21:22.
stax76 is offline   Reply With Quote
Old 15th May 2019, 21:41   #789  |  Link
stax76
Registered User
 
stax76's Avatar
 
Join Date: Jun 2002
Location: Chamber 36
Posts: 5,845
I can do in pseudo code:

if width / height > 3.5 then ConvertFromDoubleWidth

Last edited by stax76; 15th May 2019 at 21:53.
stax76 is offline   Reply With Quote
Old 15th May 2019, 23:28   #790  |  Link
stax76
Registered User
 
stax76's Avatar
 
Join Date: Jun 2002
Location: Chamber 36
Posts: 5,845
935 from the link above might have a memory leak problem.
stax76 is offline   Reply With Quote
Old 16th May 2019, 11:38   #791  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 5,940
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.
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 16th May 2019, 11:46   #792  |  Link
stax76
Registered User
 
stax76's Avatar
 
Join Date: Jun 2002
Location: Chamber 36
Posts: 5,845
Quote:
If you want to use L-SMASH Works in AviSynth also for audio processing
Audio processing with avs is not something staxrip does by default.

Which build are you using? Maybe have a look in task manager regarding memory consumption.
stax76 is offline   Reply With Quote
Old 17th May 2019, 14:32   #793  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 5,940
My report was not directed specifically to you, stax76, rather to the general audience.

I have a file date 2018-05-30. Probably LSMASHSource r941 MSVC hydra3333.
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 17th May 2019, 15:02   #794  |  Link
stax76
Registered User
 
stax76's Avatar
 
Join Date: Jun 2002
Location: Chamber 36
Posts: 5,845
@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/

Last edited by stax76; 17th May 2019 at 15:26.
stax76 is offline   Reply With Quote
Old 17th May 2019, 15:22   #795  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 5,940
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).
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 21st May 2019, 11:08   #796  |  Link
Forteen88
Herr
 
Join Date: Apr 2009
Location: North Europe
Posts: 371
I don't get it, which L-SMASH should I use? Should I use L-SMASH-Works-r935+3-win64-20190401 or L-SMASH Source 941, or l33tmeatwad's "SWResample Test"-version that was released 2018-Jun-20?
Forteen88 is offline   Reply With Quote
Old 11th July 2019, 20:26   #797  |  Link
stax76
Registered User
 
stax76's Avatar
 
Join Date: Jun 2002
Location: Chamber 36
Posts: 5,845
Quote:
Removed parameter stacked. Now supports native high bit depth format.
Sounds awesome, thank you.
stax76 is offline   Reply With Quote
Old 12th July 2019, 00:44   #798  |  Link
stax76
Registered User
 
stax76's Avatar
 
Join Date: Jun 2002
Location: Chamber 36
Posts: 5,845
What I don't understand is, when I close the avifile API the memory is not instantly reclaimed entirely.
stax76 is offline   Reply With Quote
Old 12th July 2019, 01:44   #799  |  Link
MeteorRain
結城有紀
 
Join Date: Dec 2003
Location: NJ; OR; Shanghai
Posts: 616
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 .
MeteorRain is offline   Reply With Quote
Old 12th July 2019, 03:59   #800  |  Link
Sparktank
47.952fps@71.928Hz
 
Sparktank's Avatar
 
Join Date: Mar 2011
Posts: 903
Quote:
Originally Posted by HolyWu View Post
Thanks for this update!

Quote:
Originally Posted by MeteorRain View Post
basically I integrated patches from multiple forks.
Can you tell us a little more about these patches?
__________________
Win10 (x64) build 18362| GPU Caps Viewer 1.42.4.0
NVIDIA GeForce GTX 1060 3GB (GP106) 3071MB/GDDR5 | (r435_95-4)
NTSC | DVD: R1 | BD: A
Intel Xeon X5660 @2.80GHz
Sparktank 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 04:27.


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