i recently learned about this plugin and it handles my hdpvr .ts files very well. no more crashes or program shutdowns while stepping bw/fw. however, i also just learned that its very slow at loading an avs script. when i am debuggin my scripts, i have to wait for it to load up the video. i even tried trim'ing to the position to speed it up, but that doesn't matter, it still takes the same amount of time to load up.
the above snippet is the complete script to load both audio/video.Code:v = "h:\video.ts" LoadPlugin( "C:\PLUGINS\LSMASHSource.dll" ) LWLibavVideoSource(v, cache=True, threads=2).selectevery(2,1) AudioDub(last, LWLibavAudioSource(v, stream_index=1, av_sync=true))
is there any way of speeding it up ?
+ Reply to Thread
Results 1 to 16 of 16
-
-
Loading a source will take some time due to the indexing step.
cache=True -> index file will be created next to the input file (if it does not exist)
cache=false -> index will be created inside the RAM (this might cause problems)
read: http://forum.doom9.org/showthread.php?t=167435 and: https://github.com/VFR-maniac/L-SMASH-Works/issues/17
i even tried trim'ing to the position to speed it up, but that doesn't matter,
Only way to really speed up the loading of the Avisynth script, would be to create the index file before loading the script. -
yeah, but loading for the first time thus creating the initial first index always took a long time in ffmpegsource too, but subsequent loading was always instant, thanks to the index it created. LWLibavVideoSource doesn''t seem to work the same. it recreates the index or is re-reading it entirely, thus taking the same amount of time. the index has been created. but this is no good way to work with scripts under this behavior. i'd sure forget the next move (edit/idea) that i was planning while waiting for the video to load up again during repetivie dubugging situtations.
just for record purposes, the sources are .ts files from the hauppauge hdvpr, 720x480i, duration 01:33:53.280 on file used in this post. my usual file lengths are 1/2 hr or less captures.
edit: i closed down other tasks and re-ran stats again.
the script in post #1 takes: 2min 02secs to load 1st time, and 18secs subseq loads, index size 82MB
the script below takes: 2min 4secs to load 1st time, and 1.5secs subseq loads, index size 501KB
Code:v = "h:\499.video.hdpvr.nbc.snl.MyLeyCyrus2013.full.9Mbpts.ts" LoadPlugin( "c:\plugins\ffms2.dll" ) FFIndex(v) aud = FFAudioSource(v) vid = FFVideoSource(v) audiodub(vid, aud)
Last edited by vhelp; 14th Oct 2013 at 10:06.
-
yes, aui_indexer (which requires lsmashinput.aui) is comparable to ffmsindex.
-
i goggle "aui_indexer" and found this link and downloaded the app, but the readme is in japaneese.
https://github.com/VFR-maniac/L-SMASH-Works/issues/17
edit: i see i need more files. i will search later, have to step out..thanks for the help.
Last edited by vhelp; 14th Oct 2013 at 10:57.
-
attached aui_indexer 0.01 and lwinput from L-SMASH_Works r679
got L-SMASH_Works from:
http://translate.google.de/translate?hl=de&sl=ja&tl=en&u=http%3A%2F%2Fpop.4-bit.jp%2F%3Fp%3D5060
and
aui_indexer from:
https://skydrive.live.com/?cid=6bdd4375ac8933c6&id=6BDD4375AC8933C6!505&sc=documentsLast edited by Selur; 14th Oct 2013 at 11:21.
-
no, it failed. when i loaded the script, it overwritten the aui_indexer's.. it is rewriting the index now..
-
i should have kept a record of all the test scenarios so, far. i guess i'll have to start over.
this is the d/l'ed pkg version i have currently: "L-SMASH-Works_r688v2.7z" files dumped inside my c:\plugins folder.
Code:LSMASHSource.dll 8,230kb 08/30/2013 12:45pm msvcr110.dll 855kb 11/05/2012 9:20am #01 overwrites aui_index index file LWLibavVideoSource(v, stream_index=1, cache=true).selectevery(2,0) AudioDub(last, LWLibavAudioSource(v, cache=true, stream_index=1, av_sync=true))
-
#02 video only = 9 secs load time:
Code:# if original LSMash created index, then=9secs, else if aui_index created=overwrites a new index # LWLibavVideoSource(v, stream_index=0, cache=true , seek_mode=0 ).selectevery(2,0)
Code:# if original LSMash created index, then=17secs, else if aui_index created=overwrites a new index LWLibavVideoSource(v, stream_index=0, cache=true , seek_mode=0 ).selectevery(2,0) AudioDub(last, LWLibavAudioSource(v, av_sync=true))
Code:# if original LSMash created index, then=17secs, else if aui_index created=overwrites a new index LWLibavVideoSource(v, stream_index=0, cache=true , seek_mode=0 ).selectevery(2,0) AudioDub(last, directshowsource(v)) # get audio through directshow, sample rate was 44.1k, probably default, maybe conversion-slowed
Code:# if original LSMash created index, then=17secs, else if aui_index created=overwrites a new index LWLibavVideoSource(v, stream_index=0, cache=true , seek_mode=0 ).selectevery(2,0) AudioDub(last, ffAudioSource(v, track=1)) # get audio through ffAudioSource (ffms2.dll), sample rate was 48k, crashes after 1st playback
-
After about 5 years,
is there some command line utility out there to create lwi , index file for LWLibavSource?
I downloaded that lwinput.aui from Selur, also downloaded latest aui_indexer.exe for 2016 but those lwi do not match, there is difference in header, POC value and some more.
Both utilities aui_indexer.exe or LWLibavSource in Vapoursynth refuse the other lwi respectively and create one of their own.
Similar Threads
-
Speeding Up Editing.
By vodmare in forum Newbie / General discussionsReplies: 8Last Post: 3rd Sep 2010, 14:13 -
Speeding Up / Clean Up on XP
By tgpo in forum ComputerReplies: 7Last Post: 7th Sep 2009, 20:09 -
DVD to H.264 - Different Running Times, Chapter Times Wrong
By nrogers64 in forum Newbie / General discussionsReplies: 0Last Post: 17th Mar 2009, 18:28 -
Samsung HT-BD2R slow disk load times
By swheller in forum DVD & Blu-ray PlayersReplies: 2Last Post: 24th Feb 2009, 11:26 -
blu-ray load times?
By colt4523 in forum DVD & Blu-ray PlayersReplies: 2Last Post: 25th Dec 2008, 21:39