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. |
22nd March 2018, 20:19 | #721 | Link | |
...?
Join Date: Nov 2005
Location: Florida
Posts: 1,420
|
Quote:
https://github.com/VFR-maniac/L-SMASH-Works And there was some recent activity in one of the forks: https://github.com/hydra3333/L-SMASH-Works Of course, that does require building L-SMASH itself and [FFmpeg or Libav] first, and then the LSMASHSource AviSynth plugin. For the VapourSynth plugin, all of that can be done in GCC, for the AviSynth plugin, you have to use MSVC and manually copy things like AviSynth's headers/lib around first. |
|
23rd March 2018, 00:39 | #722 | Link |
47.952fps@71.928Hz
Join Date: Mar 2011
Posts: 940
|
Thanks for those!
Especially for the hydra3333 fork. I never really thought to search for it on github in case someone created a fork. It'll be nice to check on the commits.
__________________
Win10 (x64) build 19041 NVIDIA GeForce GTX 1060 3GB (GP106) 3071MB/GDDR5 | (r435_95-4) NTSC | DVD: R1 | BD: A AMD Ryzen 5 2600 @3.4GHz (6c/12th, I'm on AVX2 now!)
|
12th May 2018, 19:37 | #725 | Link |
Registered User
Join Date: Sep 2010
Location: Ukraine, Bohuslav
Posts: 377
|
x64 version (AvisynthPluginInit3) with ffmpeg libs built near 1 month ago: https://mega.nz/#!GTxkmbJD!FgOYX1dJV...Em5BmZ2nwM4xiw
x86 will require building 32 bit libs for linking, I'm too lazy for this. |
14th May 2018, 00:22 | #726 | Link | |
Soul Architect
Join Date: Apr 2014
Posts: 2,559
|
Quote:
|
|
21st May 2018, 00:15 | #727 | Link | |
Soul Architect
Join Date: Apr 2014
Posts: 2,559
|
I was reading this about FFSM2. Does the same issue apply to L-SMASH Source when not using cache file?
Quote:
|
|
21st May 2018, 06:04 | #728 | Link |
German doom9/Gleitz SuMo
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,781
|
IIRC, only one of them required this quirk, so if it was FFMS2, it's not LSW. But it doesn't hurt to write scripts in this order (if you need audio at all, use it first) in any case.
|
27th May 2018, 04:53 | #729 | Link | |
変身!
Join Date: Dec 2008
Location: Brazil
Posts: 38
|
Quote:
|
|
30th May 2018, 16:50 | #730 | Link |
Registered User
Join Date: Jun 2007
Posts: 414
|
So this was kind of a pain to figure out so I decided I would post some build notes to help anyone else out trying to compile their own. The static libs build is a single DLL file and the shared libs contains the libav DLLs.
LSMASHSource r941 (hydra3333 Mod) Static Libs Build (x86 & x64) | Shared Libs Build (x86 & x64) | Sources Bonus: FFMS2 with Shared Libs Build Notes: Compiled with Microsoft Visual Studio 2015 Shared Libs & Include Files were copied to the Visual Studio Directories in: C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC Patch included with previous releases was applied to FFmpeg before compiling. Static FFmpeg compiled with: Code:
./configure --toolchain=msvc --enable-gpl --enable-version3 --disable-encoders --disable-programs --disable-filters \ --disable-network --disable-doc --disable-avdevice --disable-swresample --disable-postproc --disable-avfilter --enable-avresample make install Code:
./configure --toolchain=msvc --enable-gpl --enable-version3 --enable-shared --disable-encoders --disable-programs --disable-filters \ --disable-network --disable-doc --disable-avdevice --disable-swresample --disable-postproc --disable-avfilter --enable-avresample make install Project Properties > Configuration Properties > VC++ Directories - Include Directories: C:\msys32\usr\local\include - Library Directories: C:\msys32\usr\local\lib Project Properties > Configuration Properties > Linker > General - Additional Library Directories: C:\msys32\usr\local\lib Project Properties > Configuration Properties > Linker > Input - Additional Dependencies: libavutil.a;libavcodec.a;libavformat.a;libswscale.a;libavresample.a; Visual Studio Project Modifications (x64 Static Build) Project Properties > Configuration Properties > VC++ Directories - Include Directories: C:\msys64\usr\local\include - Library Directories: C:\msys64\usr\local\lib Project Properties > Configuration Properties > Linker > General - Additional Library Directories: C:\msys64\usr\local\lib Project Properties > Configuration Properties > Linker > Input - Additional Dependencies: libavutil.a;libavcodec.a;libavformat.a;libswscale.a;libavresample.a; Changes to exlibs.cpp (both Static Builds) Code:
//#pragma comment( lib, "libmingwex.a" ) //#pragma comment( lib, "libgcc.a" ) #pragma comment( lib, "lsmash.lib" ) #pragma comment( lib, "bcrypt.lib" ) //#pragma comment( lib, "avutil.lib" ) //#pragma comment( lib, "avcodec.lib" ) //#pragma comment( lib, "avformat.lib" ) //#pragma comment( lib, "swscale.lib" ) //#pragma comment( lib, "avresample.lib" ) Code:
//#pragma comment( lib, "libmingwex.a" ) //#pragma comment( lib, "libgcc.a" ) #pragma comment( lib, "lsmash.lib" ) #pragma comment( lib, "avutil.lib" ) #pragma comment( lib, "avcodec.lib" ) #pragma comment( lib, "avformat.lib" ) #pragma comment( lib, "swscale.lib" ) #pragma comment( lib, "avresample.lib" ) LibAV (from FFmpeg 4.0) L-Smash 2.14.5 Other Software: MSYS2 (i686 & x86_64) Yasm 1.3.0 (General Use Executables) Last edited by l33tmeatwad; 1st June 2018 at 04:50. |
3rd June 2018, 12:59 | #737 | Link |
Guest
Posts: n/a
|
When decoding 10-bit YUV 4:2:0, is there a need/way to specify whether the source is Rec.709 or Rec.2020? My source is Rec.709.
I'm using this bit of code from the wiki: Code:
## Decoding 10bit, YUV 4:2:0 source LSMASHVideoSource(<path>, stacked=true, format="YUV420P10") ConvertFromStacked(bits=10) |
3rd June 2018, 13:21 | #738 | Link |
Registered User
Join Date: Dec 2002
Posts: 5,565
|
Not in that simple script because you are not doing any "real" color conversions (like YUV to RGB or vice versa), only changing the storage format. (But you should set the correct flags in the encoder like x265/x264 you feed the script to.)
|
3rd June 2018, 13:33 | #739 | Link | |
Registered User
Join Date: Oct 2011
Posts: 275
|
Hello and thank you for the update of L-SMASH,
Previously i was using the FFMS2 shipped with Staxrip ( version 2.23.1 too apparently ), to give it a try I replaced it by the one released with libs and tried to open a .GIF file as input/source and it does not like this : Quote:
Then tried to replace the ffmsindex.exe provided in the zip file by the one shipped in Staxrip (while keeping all other dll's you provided) and it seems to work like this, not sure what is going on. Noticed that here https://github.com/FFMS/ffms2/releases there is a different ffmsindex.exe for both x86 and x64 ( hash is different ), while on your release a single one is provided for both, not sure if normal or not. Using win7 x64 and all the workflow in Staxrip is x64 if this helps. Thanks a lot Edit : command used triggering the problem when i use your release: Code:
LoadPlugin("H:\StaxRip-x64-1.7.0.6-test\Apps\Plugins\both\ffms2\ffms2.dll") FFVideoSource("H:\test.mkv", colorspace = "YUV420P8", \ cachefile = "H:\TEMP\test_temp\test.ffindex") Last edited by Yanak; 3rd June 2018 at 13:40. |
|
3rd June 2018, 13:58 | #740 | Link | |
Guest
Posts: n/a
|
Quote:
Sorry for this! I've looked at the Wiki but can't work it out. I've never worked with a 10-bit source before... Last edited by Richard1485; 3rd June 2018 at 15:39. |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|