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. |
![]() |
#841 | Link | |
結城有紀
Join Date: Dec 2003
Location: NJ; OR; Shanghai
Posts: 894
|
Quote:
It's as simple as removing lines containing Type=1 or Channel. You can use sed to manipulate the file.
__________________
Projects x265 - Yuuki-Asuna-mod Download / GitHub TS - ADTS AAC Splitter | LATM AAC Splitter | BS4K-ASS Neo AviSynth+ filters - F3KDB | FFT3D | DFTTest | MiniDeen | Temporal Median Last edited by MeteorRain; 14th August 2019 at 23:54. |
|
![]() |
![]() |
![]() |
#842 | Link | |
RipBot264 author
Join Date: May 2006
Location: Poland
Posts: 7,726
|
Quote:
![]() Nevertheless It is still too much for me. (4s extra delay on LAN100). Additionally to your 'hack' I decided to keep that index file in compressed form (LZMA-normal) for encoding server app. So instead of using index file directly now server has to first decompress index file to some temp folder.
__________________
Windows 7 Image Updater - SkyLake\KabyLake\CoffeLake\Ryzen Threadripper |
|
![]() |
![]() |
![]() |
#843 | Link | |
RipBot264 author
Join Date: May 2006
Location: Poland
Posts: 7,726
|
Quote:
Now only one thing is missing. Compression of index file like in FFMS2 index file. Thank you.
__________________
Windows 7 Image Updater - SkyLake\KabyLake\CoffeLake\Ryzen Threadripper Last edited by Atak_Snajpera; 17th August 2019 at 16:11. |
|
![]() |
![]() |
![]() |
#845 | Link | |
Registered User
Join Date: Dec 2005
Location: Germany
Posts: 1,746
|
Quote:
Would it be possible to add a gpu parameter? I saw that there is a supported HW decoders list, so maybe just a cuvid_gpu/qsv_gpu = true/false parameter could be added to avoid nvidia intel gpu detection? It should then set the hevc, h264, mjpeg, etc. decoder accordingly.
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth VapourSynth Portable FATPACK || VapourSynth Database || https://github.com/avisynth-repository Last edited by ChaosKing; 17th August 2019 at 17:47. |
|
![]() |
![]() |
![]() |
#846 | Link |
RipBot264 author
Join Date: May 2006
Location: Poland
Posts: 7,726
|
Ok. No problem.
__________________
Windows 7 Image Updater - SkyLake\KabyLake\CoffeLake\Ryzen Threadripper |
![]() |
![]() |
![]() |
#848 | Link |
Registered User
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,546
|
HolyWu, why not use github?
and the changes you made has no public source code?
__________________
See My Avisynth Stuff |
![]() |
![]() |
![]() |
#849 | Link |
Registered User
Join Date: Oct 2002
Location: France
Posts: 2,210
|
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. |
![]() |
![]() |
![]() |
#850 | Link |
Registered User
Join Date: Sep 2010
Location: Ukraine, Bohuslav
Posts: 376
|
There are also https://github.com/HomeOfAviSynthPlu.../L-SMASH-Works
|
![]() |
![]() |
![]() |
#851 | Link | ||
Registered User
Join Date: Mar 2012
Location: Texas
Posts: 1,611
|
Quote:
Quote:
![]() |
||
![]() |
![]() |
![]() |
#852 | Link |
結城有紀
Join Date: Dec 2003
Location: NJ; OR; Shanghai
Posts: 894
|
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.) |
![]() |
![]() |
![]() |
#853 | Link | |
RipBot264 author
Join Date: May 2006
Location: Poland
Posts: 7,726
|
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 |
|
![]() |
![]() |
![]() |
#854 | Link |
結城有紀
Join Date: Dec 2003
Location: NJ; OR; Shanghai
Posts: 894
|
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. |
![]() |
![]() |
![]() |
#855 | Link |
RipBot264 author
Join Date: May 2006
Location: Poland
Posts: 7,726
|
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 |
![]() |
![]() |
![]() |
#856 | 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.. |
![]() |
![]() |
![]() |
#857 | Link | |
RipBot264 author
Join Date: May 2006
Location: Poland
Posts: 7,726
|
Quote:
![]()
__________________
Windows 7 Image Updater - SkyLake\KabyLake\CoffeLake\Ryzen Threadripper |
|
![]() |
![]() |
![]() |
#858 | Link |
Registered User
Join Date: Oct 2002
Location: France
Posts: 2,210
|
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. |
![]() |
![]() |
![]() |
#859 | Link | |
結城有紀
Join Date: Dec 2003
Location: NJ; OR; Shanghai
Posts: 894
|
Quote:
I second the idea of checksuming, and if you don't bother doing that, I might. |
|
![]() |
![]() |
![]() |
#860 | Link |
結城有紀
Join Date: Dec 2003
Location: NJ; OR; Shanghai
Posts: 894
|
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 |
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|