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. |
![]() |
#1661 | Link |
Formerly davidh*****
Join Date: Jan 2004
Posts: 2,596
|
qyot27, StvG, thank you both again for your indefatigability. I would have given up on me a long time ago. I have now successfully - if still somewhat mystifyingly - built LSMASHSource.dll.
Unfortunately while it does create a .lwi file, VirtualDub2 simply ends without an error when I try to open a file with it. I can't build a Debug version; I can build RelWithDebInfo, but when I try to Start Debugging I get this: https://i.imgur.com/oYtxTi5.png even though I specified VirtualDub2 as the program to launch for debugging ![]() |
![]() |
![]() |
![]() |
#1662 | Link |
Registered User
Join Date: Jul 2018
Posts: 533
|
You can build a Debug version but change in VS->C/C++->Code Generation->Runtime library to MD instead MDd.
Open VirtualDub2 (without loading anything), in VS->Debug->Attach to process and choose VirtualDub2, then load the script in VD2. |
![]() |
![]() |
![]() |
#1663 | Link |
Formerly davidh*****
Join Date: Jan 2004
Posts: 2,596
|
I had no idea you could attach like that. Useful!
That tells me: Code:
Exception thrown at 0x00007FF94535F270 (LSMASHSource.dll) in VirtualDub64.exe: 0xC0000005: Access violation reading location 0xFFFFFFFFFFFFFFFF. Code:
Source information is missing from the debug information for this module I'll try again tomorrow. |
![]() |
![]() |
![]() |
#1664 | Link | |
Registered User
Join Date: Jul 2018
Posts: 533
|
Quote:
Put some break point in the lsmashworks code and see if it's hit - if it's hit with f10 go from there and see where the crash is, if it's not hit put the break point somewhere before in order to be hit. Btw you can share a sample of the problematic video. |
|
![]() |
![]() |
![]() |
#1665 | Link |
Formerly davidh*****
Join Date: Jan 2004
Posts: 2,596
|
Here, apparently, is the problem:
https://i.imgur.com/PuTNmAc.png To clarify, the videos I'm trying to open all work fine with the distributed LSMASHSource.dll; it's just the one I've built that isn't working. |
![]() |
![]() |
![]() |
#1667 | Link |
Registered User
Join Date: Jul 2018
Posts: 533
|
Here you can download L-SMASH-Works 1194 source code with included external libs ("deps_lsmash" folder). Just open "build" folder and the solution file.
Your build can crash because of the some later commits after the latest release. Also the ffmpeg version is different - the latest version, older version for 1194. Last edited by StvG; 2nd February 2025 at 20:35. |
![]() |
![]() |
![]() |
#1668 | Link |
Formerly davidh*****
Join Date: Jan 2004
Posts: 2,596
|
Thanks for the download - but I'm afraid I'm still too dim
![]() I tried opening LSMASHSourceVCX.sln, added the deps_lsmash\x64-Release\include and deps_lsmash\x64-Release\lib directories but got 107 unresolved externals, all seemingly MinGW related. I also tried just opening the main folder in VS, but CMake generation fails: Code:
1> [CMake] Could NOT find FFMPEG (missing: FFMPEG_INCLUDE_DIRS FFMPEG_LIBRARIES 1> [CMake] avcodec avformat swscale swresample avutil) |
![]() |
![]() |
![]() |
#1669 | Link |
Registered User
Join Date: Jul 2018
Posts: 533
|
You don't open the solution file from folder build - https://i.ibb.co/cXND9wFG/Untitled.png
You don't need to add the path of the external libs. They are already configured for the correct paths. Last edited by StvG; 4th February 2025 at 01:41. |
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|