scarykitties on 25/10/2012 at 20:45
Well after doing the thing with the (
http://www.free-codecs.com/download/ffdshow.htm) FFDShow codecs, things seemed to work fine until just now when videos aren't playing anymore.
In this case, it's working on and off, seemingly at random. Sometimes I can load a game and move on to a new mission and it'll play the briefing just fine, other times not.
And no, Steam isn't installed on my C:
Swiz on 31/10/2012 at 18:18
I have this, or something similar, on one of my machines. Check thief2.log for "Could not load ffmpeg.dll" or something similar.
If it is that, I've compiled a version that of lgvid.dll that static links ffmpeg that fixes this. I'll upload it somewhere later today.
Swiz on 31/10/2012 at 20:10
(
http://zandysoft.com/lgvid.dll) Static linked dll for anyone with random video failure
Does anyone who knows about the innards of Windows know why this code could sporadically fail?
Code:
hDll = LoadLibrary("ffmpeg.dll");
if (!hDll)
{
// NOTE: could show message box (once) here, OTOH message boxes and fullscreen is just a bad combo
mprintf("Failed to find/load ffmpeg.dll, no movie playback possible");
return FALSE;
}
Swiz on 2/11/2012 at 10:07
ffmpeg.dll won't load due to "Error 193: %1 is not a valid Win32 application"
Likely it's a 64bit/32bit mixup somewhere according to Google, but I have no idea how to investigate further.
Al_B on 2/11/2012 at 10:11
When you say sporadically failing do you mean it sometimes fails on the same PC or works on some PCs and not others?
Edit: In either case I'd recommend downloading (
http://www.dependencywalker.com/) depends and looking at which DLLs the ffmpeg.dll references (if any). I suspect one of those is your problem, not fmpeg.dll directly.
scarykitties on 19/11/2012 at 00:09
Quote Posted by Al_B
When you say sporadically failing do you mean it sometimes fails on the same PC or works on some PCs and not others?
Edit: In either case I'd recommend downloading (
http://www.dependencywalker.com/) depends and looking at which DLLs the ffmpeg.dll references (if any). I suspect one of those is your problem, not fmpeg.dll directly.
It fails on the same computer, oftentimes with no discernible difference. For instance, I was playing/recording (with FRAPS) earlier today. Just now, I tried again and the videos failed. I restarted Thief a number of times and tried different combinations of loading/intro/credits, but nothing seemed to work. I seemed to get the same error that Swiz mentioned above when I checked my Thief.log file.
However...
I replaced my lgvid.dll with this version and it seemed to work when I tried it again. Of course, the problem is that the videos not working is kind of random, so I'll post again if it stops working again, but it seems fine for the moment.
Here is what Depends says:
(
http://pastebin.com/tgme4wA7) http://pastebin.com/tgme4wA7
Swiz on 19/11/2012 at 10:32
I didn't have much joy investigating this, but I did find these
http://archives.postgresql.org/message-id/ih36n7$1n7d$1@news.hub.org
(
http://mingw.5.n7.nabble.com/Bad-DLL-relocation-reproducible-w-test-case-td15147.html)
Which describe an issue with the mingw dllwrap tool that's been used to build the DLLs. This would cause failures depending on what else happens to be in memory at the time. I've not been able to find the gcc incantation to replace it.
Oh, for anyone attempting to update this with a newer FFMPEG build: FFMPEG has deprecated/removed some of the function calls used since this was built.
Thelvyn on 4/3/2013 at 15:32
that static linked dll seems to fix my video problems thanks
JeriX on 16/12/2013 at 17:38
Running Thief Gold with installed TFix 1.18a with hd mod from Gecko with this "Static linked dll".
I'm using 1920x1080 resolution and movies playing in game but playing truncated top and bottom.
When I play this movies in standalone Media Player Classic I can see that truncated regions.
What can I do to fix this?
Thx