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. |
![]() |
#861 | Link | |
Registered User
Join Date: Aug 2006
Location: Taiwan
Posts: 757
|
Change the printing of index progress from stdout to stderr so as to avoid corrupting pipe data accidentally. Link in the previous post updated.
Quote:
![]() |
|
![]() |
![]() |
![]() |
#862 | Link |
Registered User
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,047
|
HolyWu, why not use github?
and the changes you made has no public source code?
__________________
See My Avisynth Stuff |
![]() |
![]() |
![]() |
#863 | Link |
Registered User
Join Date: Oct 2002
Location: France
Posts: 1,870
|
Thanks for your builds.
A while ago, i used to make builds using the method described here (with VS 2015 at the time) : https://github.com/BrunoReX/build-sc...MASH/readme.md Unfortunately, one day, the part with VS201x x86 Native Tools Command Prompt suddenly stoped working. Didn't know if it was something in msys2 or VS which has changed. A little question : Your release said r935+31, and your link showes 6 patches, when, i was expected 31. The only source i know is this one : https://github.com/VFR-maniac/L-SMASH-Works/branches Is there another one ?
__________________
My github. |
![]() |
![]() |
![]() |
#864 | Link |
Registered User
Join Date: Sep 2010
Location: Ukraine, Bohuslav
Posts: 290
|
There are also https://github.com/HomeOfAviSynthPlu.../L-SMASH-Works
|
![]() |
![]() |
![]() |
#865 | Link | ||
Registered User
Join Date: Mar 2012
Location: Texas
Posts: 1,179
|
Quote:
Quote:
![]() |
||
![]() |
![]() |
![]() |
#866 | Link |
結城有紀
Join Date: Dec 2003
Location: NJ; OR; Shanghai
Posts: 887
|
Since Holy released all the patches, I'll (after a vacation unfortunately) try to integrate them into the repo.
Lots of works are piled up on me, so please be patient. (Also there's work to do on f3kdb and minideen etc.) |
![]() |
![]() |
![]() |
#867 | Link | |
RipBot264 author
Join Date: May 2006
Location: Poland
Posts: 7,536
|
Quote:
It is annoying that lsmash now always re-indexes file which was just copied. original video=LWLibavVideoSource("original_video.MP4",cachefile="C:\index.lwi") Copy video=LWLibavVideoSource("C:\copy_of_original_video.MP4",cachefile="C:\index.lwi") The same file but with different modification time. For example FFMS2 does not care about "Last modification time". I think it only checks file size.
__________________
Windows 7 Image Updater - SkyLake\KabyLake\CoffeLake\Ryzen Threadripper |
|
![]() |
![]() |
![]() |
#868 | Link |
結城有紀
Join Date: Dec 2003
Location: NJ; OR; Shanghai
Posts: 887
|
Atak,
Although I agree there's other ways of doing the check, I don't think Windows file copy actually changes the mtime. If you use cp, you can use --preserve=timestamps. I might want to change it to some quick partial checksum if mtime mismatches. |
![]() |
![]() |
![]() |
#869 | Link |
RipBot264 author
Join Date: May 2006
Location: Poland
Posts: 7,536
|
The issue is that i AM copying files using my own custom code (streams and no win api). In this case last modification date is different. I think that Simple check for file size is enough.
__________________
Windows 7 Image Updater - SkyLake\KabyLake\CoffeLake\Ryzen Threadripper |
![]() |
![]() |
![]() |
#870 | Link |
Registered User
Join Date: Aug 2006
Location: Taiwan
Posts: 757
|
FFMS2 also checks partial SHA-1 hashing in addition to file size, but I really don't bother to do it. After all video files aren't like text files that normal users would open them in Notepad++ and edit some random bytes. Hence I agree that simply checking file size should be sufficient for most users. Redownload from the usual post.
|
![]() |
![]() |
![]() |
#871 | Link |
Registered User
Join Date: Mar 2002
Location: Krautland
Posts: 903
|
@HolyWu
Tried to redownload your build from the mediafire link. "Download not available".... Thanks for your efforts! Aaah, I just saw it is working again, maybe a mediafire hiccup ;-) Last edited by Taurus; 20th August 2019 at 09:43. Reason: Working again.. |
![]() |
![]() |
![]() |
#872 | Link | |
RipBot264 author
Join Date: May 2006
Location: Poland
Posts: 7,536
|
Quote:
![]()
__________________
Windows 7 Image Updater - SkyLake\KabyLake\CoffeLake\Ryzen Threadripper |
|
![]() |
![]() |
![]() |
#873 | Link |
Registered User
Join Date: Oct 2002
Location: France
Posts: 1,870
|
As isaid, i used to make builds using the method described here (with VS 2015 at the time) : https://github.com/BrunoReX/build-sc...MASH/readme.md
I've been able to find out the main issue, it's probably a change in msys2 behavior, which doesn't keep the %PATH% by default. I fixed it, make all the gcc builds, but when compiling the VS project, i have the following error : LINK : fatal error LNK1104: unable to open file 'lsmash.lib' I take any idea or advice.
__________________
My github. |
![]() |
![]() |
![]() |
#874 | Link | |
結城有紀
Join Date: Dec 2003
Location: NJ; OR; Shanghai
Posts: 887
|
Quote:
I second the idea of checksuming, and if you don't bother doing that, I might. |
|
![]() |
![]() |
![]() |
#875 | Link |
結城有紀
Join Date: Dec 2003
Location: NJ; OR; Shanghai
Posts: 887
|
LSMASHSource-Release_r935+33.zip
Commit Diff I have changed the logic. If size and timestamp match, assume unchanged. If size matches but not timestamp, hash (first 1MiB + last 1MiB) and compare with recorded hash. If file is too small, only first up to 1MiB counts. Hash method is xxhash which is extremely fast. A missing hash record will not force regenerating the index file as long as size and timestamp match. Let me know how that works. I also include an easy-compiling branch and a cmake build script. Get VS 2017 / 2019 and cmake installed, and use the following batch file to build your copy. Code:
@echo off mkdir build\x86 pushd build\x86 cmake -DCMAKE_GENERATOR_PLATFORM=Win32 -D_DIR=x86 ..\..\ popd mkdir build\x64 pushd build\x64 cmake -DCMAKE_GENERATOR_PLATFORM=x64 -D_DIR=x64 ..\..\ popd cmake --build build\x86 --config Release cmake --build build\x64 --config Release |
![]() |
![]() |
![]() |
#876 | Link |
RipBot264 author
Join Date: May 2006
Location: Poland
Posts: 7,536
|
Do you guys know why decoding VC-1 using vc1_cuvid is also broken? Unlike software decoder frames are not corrupted but they are decoded in incorrect order.
sample -> https://www.mediafire.com/file/dldzx...ample.mkv/file script LoadPlugin("LSMASHSource.dll") video=LWLibavVideoSource("vc1_sample.mkv",cachefile="vc1_sample.mkv.lwi",decoder="vc1_cuvid") Decoding works fine in MPC-HC with these settings ![]() PS. yes I have latest driver installed.
__________________
Windows 7 Image Updater - SkyLake\KabyLake\CoffeLake\Ryzen Threadripper Last edited by Atak_Snajpera; 29th August 2019 at 10:25. |
![]() |
![]() |
![]() |
#878 | Link | |
RipBot264 author
Join Date: May 2006
Location: Poland
Posts: 7,536
|
Quote:
![]() Also there is H/W indicator ![]()
__________________
Windows 7 Image Updater - SkyLake\KabyLake\CoffeLake\Ryzen Threadripper Last edited by Atak_Snajpera; 29th August 2019 at 12:59. |
|
![]() |
![]() |
![]() |
#879 | Link |
結城有紀
Join Date: Dec 2003
Location: NJ; OR; Shanghai
Posts: 887
|
https://down.7086.in/AviSynthPlus%20...-r935%2B34.zip
Stop indexing progress spamming -- Now only refresh at every 1%. |
![]() |
![]() |
![]() |
#880 | Link |
Registered User
Join Date: Jun 2002
Location: On thin ice
Posts: 6,660
|
@HolyWu
With my 49 PGS subtitle 50 GB file using your last build I'm getting 60 seconds load time, with MeteorRain's build it's only 10 seconds. edit: both was tested with 20 PGS subtitles, with 49 PGS subtitles MeteorRain's build took 30 seconds and yours 7 minutes. ![]() Last edited by stax76; 31st August 2019 at 00:42. |
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|