Thread: Avisynth+
View Single Post
Old 3rd October 2013, 08:33   #77  |  Link
qyot27
...?
 
qyot27's Avatar
 
Join Date: Nov 2005
Location: Florida
Posts: 1,420
Quote:
Originally Posted by ultim View Post
I didn't have time yesterday again, so all I could manage was to verify that the precompiled 2.17 Cplugin works (as a Cplugin, ofc). It works. Today I'm gonna recompile the cplugin from latest git and see what's the situation with that.
Could it have to do with the dual handling of 2.5 and 2.6 (even though that's present in 2.17 also)? The C-plugin explicitly has a 2.5 mode and a 2.6 mode. You can see this in action by throwing FFmpeg into gdb and using a script using FFMS2 with either 2.5.8 or 2.6 - the language changes in the debug messages.

With the latest 2.6 MT (the video file being served in was 10-bit 4:4:4 H.264):
Code:
(gdb) r -i test.avs
...
  libpostproc    52.  3.100 / 52.  3.100
Error while mapping shared library sections:
`C:\WINDOWS\system32\avisynth.dll': not in executable format: File format not recognized
warning: FFMS2 avs plugin: Initializing...
warning: FFMS2 - avs 2.6 mode
Guessed Channel Layout for  Input Stream #0.1 : stereo
Input #0, avisynth, from 'test.avs':
  Duration: 00:05:00.47, start: 0.000000, bitrate: 0 kb/s
    Stream #0:0: Video: rawvideo (444P / 0x50343434), yuv444p, 848x480, 23.98 fps, 23.98 t
br, 23.98 tbn, 23.98 tbc
...
vs. 2.5.8:
Code:
(gdb) r -i test.avs
...
  libpostproc    52.  3.100 / 52.  3.100
warning: DllMain: hModule=0x10000000, ulReason=1, lpReserved=0x00000000, gRefCnt = 0

warning: FFMS2 avs plugin: Initializing...
warning: FFMS2 - avs 2.5 mode
Guessed Channel Layout for  Input Stream #0.1 : stereo
Input #0, avisynth, from 'test.avs':
  Duration: 00:05:00.47, start: 0.000000, bitrate: 0 kb/s
    Stream #0:0: Video: rawvideo (BGRA / 0x41524742), bgra, 848x480, 23.98 fps, 23.98 tbr,
 23.98 tbn, 23.98 tbc
...
I'm fairly sure I'm still using the same build I posted here, if it helps:
http://forum.doom9.org/showthread.php?p=1643738#post1643738

But building right from git would work, too. All the changes to the c_plugin branch after that build were for Linux/OSX (and the currently-disabled HEVC tag).

Last edited by qyot27; 3rd October 2013 at 08:54.
qyot27 is offline