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. |
21st April 2021, 14:11 | #1302 | Link | |
Registered User
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
|
Quote:
did you add what Asd-g forget https://github.com/HolyWu/L-SMASH-Wo...ment-753911159 ?
__________________
See My Avisynth Stuff |
|
23rd April 2021, 15:57 | #1304 | Link |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
|
Thankyou Mister Wu :- https://www.youtube.com/watch?v=3w3X95uWv8A
__________________
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 ??? |
24th April 2021, 13:52 | #1306 | Link |
Registered User
Join Date: Dec 2008
Posts: 99
|
I tried to do some research on this, both in reading this thread and my own testing, but I wanted to get a more definitive answer: is the cache file created by MeGUI different than the one created when using VirtualDub/AvsPMod? Since I'm dealing with 1080i files that are several GB in size, I'd love to use the same cache file across both programs so I don't have to wait (and wait, and wait) for a new file to be generated when I go from one program to another. Thanks.
|
24th April 2021, 20:50 | #1307 | Link |
brainless
Join Date: Mar 2003
Location: Germany
Posts: 3,653
|
I typically capture my VHS-tapes three times into YUV422-10bit (Blackmagic Intensity Shuttle).
Then I load these three files in AVISynth+ using LibavSMASH and do some median() processing to get rid of recording-noise. I really gave LibavSMASH a try. But it nearly always reindexed my files upon reloading the AVS-file into VDub. And my files are *huge* (400GB per File). It takes about 15 minutes to reindex a single file. So reloading a AVS-file may take up to 45 minutes. This is very painful. How can I force LibavSMASH to never re-index a file if a index is already present?
__________________
Don't forget the 'c'! Don't PM me for technical support, please. |
24th April 2021, 21:10 | #1308 | Link | |
Registered User
Join Date: Sep 2007
Posts: 5,346
|
Quote:
It normally does not re-index by default. You might have done something to the cache file (.lwi), or location of files ? Also, if you use MOV container for v210, you don't need an index when using LSmashVideoSource |
|
24th April 2021, 21:43 | #1309 | Link |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
|
This anything to do with it [from old docs, dont know if changed]
Code:
#LoadPlugin("LSMASHSource.dll") ################################## ## @ atrack - audio track number. Default auto. If -2, ignore audio. ## @ fpsnum, fpsden - framerate. Default auto. ## @ stacked - if true, return Stack16 format. ## (note, stacked=true requires a 16-bit color format) ## @ format - force specified output pixel format. Default auto. ## (see documentation for valid color formats) ## (if stacked = true, default "YUV420P16") ## @ cache - if true (the default), create an index file. ## function LibavSource2(string path, int "atrack", \ int "fpsnum", int "fpsden", \ string "format", bool "stacked", bool "cache") { atrack = Default(atrack, -1) fpsnum = Default(fpsnum, 0) fpsden = Default(fpsden, 1) stacked = Default(stacked, false) cache = Default(cache, true) format = Default(format, "") format = (format=="" && stacked==true) ? "YUV420P16" : "" video = LWLibavVideoSource(path, \ fpsnum=fpsnum, fpsden=fpsden, format=format, \ stacked=stacked, cache=cache) return (atrack==-2) ? video: AudioDub(video, \ LWLibavAudioSource(path, stream_index=atrack, cache=cache)) } EDIT: Or is that too obvious. EDIT: Yeah, cache default true for current LWLibavAudioSource, http://avisynth.nl/index.php/LSMASHS...bavVideoSource
__________________
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; 24th April 2021 at 22:07. |
17th May 2021, 12:39 | #1311 | Link |
Registered User
Join Date: Jan 2018
Posts: 2,153
|
Error when index .avi with L-SMASH source, original video have 25 minutes but when i index video output just 22 minutes
Example video: https://drive.google.com/file/d/1MDi...w?usp=drivesdk |
17th May 2021, 20:06 | #1312 | Link |
App Digger
Join Date: Sep 2018
Posts: 411
|
@HolyWu,
Plz take a look at this issue I posted the other day. It's about wrong frame rate(playback duration) info served by LSMASHVideoSource for (some) Dolby Vision video streams. |
18th May 2021, 02:59 | #1313 | Link |
Registered User
Join Date: Jan 2015
Posts: 1,048
|
I'm having an interesting problem. I have 32-bit AVIsynth 2.60 installed on both my Win7 laptop and the WinXP x64 partition on my desktop. I have an MP4 file and an AVIsynth script on an external hard drive (to eliminate any problems resulting from differences between files). The newest version of 32-bit Lsmashsource.dll has been extracted to the plugin folders on both computers. The laptop's avisynth can read the MP4 just fine, but my desktop's avisynth complains that there is no function named lsmashaudiosource, LWLibavAudioSource, ffms2source, etc.??
__________________
I ask unusual questions but always give proper thanks to those who give correct and useful answers. Last edited by Katie Boundary; 18th May 2021 at 03:05. |
18th May 2021, 05:21 | #1314 | Link | |
Registered User
Join Date: Jan 2018
Posts: 2,153
|
Quote:
|
|
18th May 2021, 07:56 | #1315 | Link |
German doom9/Gleitz SuMo
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,753
|
@ Katie Boundary: Use AVSMeter (AVSMeter.exe -avsinfo -l) to check if AviSynth is installed correctly, in which directory it looks for plugins, which plugins are found, which functions are known (the created log file is more verbose than the screen output).
Last edited by LigH; 18th May 2021 at 07:59. |
18th May 2021, 11:33 | #1316 | Link | ||
Moderator
Join Date: Feb 2005
Location: Spain
Posts: 6,890
|
Quote:
1) Load Kanjani8.avi in VirtualDub2: 38902 frames, 25 fps -> Duration 24:56 sequence of frames: KDPPPPPPPPPPKDKDKDKPPPPPPPPPPPPPPPPPPPDPDPDP... K=Key frame, D=Drop or Duplicated frame 2) Load LWLibavVideoSource("C:\tmp\Kanjani8.avi") in VirtualDub2: 34239 frames, 25 fps -> Duration 22:49 Drop/Duplicated frames deleted, but the fps is not changed then the duration is shorter. It is not than you say or the help show: Quote:
38902 frames, 25 fps -> Duration 25:56 The Drop/Duplicated frames are preserved. Now is correct. 4) Load FFVideoSource("C:\tmp\Kanjani8.avi", timecodes = "C:\tmp\Kanjani8.txt") in VirtualDub2: 34239 frames, 22 fps -> Duration 25:56 FFVideoSource output the average fps to preserve duration. And output the timecodes for a perfect sync with audio in a mkv VFR. I don't know how output timecodes with LWLibav. 5) Load FFVideoSource("C:\tmp\Kanjani8.avi", fpsnum=25, fpsden=1) in VirtualDub2: 38902 frames, 25 fps -> Duration 25:56 The Drop/Duplicated frames are preserved. The same than LWLibav. And MediaInfo can't detect VFR in avi files. With Avinaptic we can detect Null/Drop/Duplicated frames: Code:
Video track FourCC XVID/XVID Resolution 1280 x 720 Frame aspect ratio 16:9 = 1.777778 Pixel aspect ratio 1:1 = 1 Display aspect ratio 16:9 = 1.777778 Vprp aspect ratio 71:40 = 1.775 (~16:9) Framerate 25 fps Total frames 38,902 Stream size 559,355,390 bytes (533.442869 MiB) Bitrate 2875.715336 kbps Qf 0.124814 Key frames 264 (0; 12; 14; 16; 18; ... 38763) Null frames 4,663 (1; 13; 15; 17; 38; ... 38837) ...
__________________
BeHappy, AviSynth audio transcoder. |
||
18th May 2021, 19:16 | #1318 | Link |
Moderator
Join Date: Feb 2005
Location: Spain
Posts: 6,890
|
To make timecodes with FFVideoSource("C:\tmp\Kanjani8.avi", timecodes = "C:\tmp\Kanjani8.txt")
Now recode only 34239 frames and after add timecodes with mkvmerge/mp4fpsmod for mkv/mp4
__________________
BeHappy, AviSynth audio transcoder. |
22nd May 2021, 10:52 | #1320 | Link |
Broadcast Encoder
Join Date: Nov 2013
Location: Royal Borough of Kensington & Chelsea, UK
Posts: 2,883
|
Hi there, HolyWu, I noticed that you have archived your repository, so I can't open any new issue on GitHub, therefore I might as well post it here.
I think this is something of concern that has to be addressed on developers side: https://forum.doom9.org/showthread.php?p=1943307 |
Thread Tools | Search this Thread |
Display Modes | |
|
|