[FFmpeg-devel] [PATCH] lavf/avisynth: fix compilation, remove bundled headers

Roger Pack rogerdpack2 at gmail.com
Thu Mar 26 19:31:09 CET 2015


On 3/26/15, John Warburton <john at johnwarburton.net> wrote:
>> On Wed, Mar 25, 2015 at 7:50 PM, Michael Niedermayer <michaelni at gmx.at>
>> wrote:
>>> On Wed, Mar 25, 2015 at 01:59:18PM -0400, Stephen Hutchinson wrote:
>>>> On Wed, Mar 25, 2015 at 12:49 PM, Michael Niedermayer <michaelni at gmx.at>
>>>> wrote:
>>>> > ive applied patch 4 from the patchset too, does that fix it ?
>>
>>> applied the patches
>
> Unfortunately, although FFmpeg compiles successfully, a simple
> AviSynth+ script that works perfectly in the 64-bit version of MPC-HC
> will not work in today's FFmpeg build. The error is "unknown error
> occurred". If there are additional ways of debugging the interface
> between avisynth+ and ffmpeg, I'd be glad to try them.
>
>> ffmpeg -v debug -i test.avs test.mp4
> ffmpeg version N-71096-g2139e58-COMPILED_BY_JohnWarburton Copyright
> (c) 2000-2015 the FFmpeg developers
>   built with gcc 4.9.2 (GCC)
>   libavutil      54. 20.101 / 54. 20.101
>   libavcodec     56. 30.100 / 56. 30.100
>   libavformat    56. 26.101 / 56. 26.101
>   libavdevice    56.  4.100 / 56.  4.100
>   libavfilter     5. 13.101 /  5. 13.101
>   libswscale      3.  1.101 /  3.  1.101
>   libswresample   1.  1.100 /  1.  1.100
>   libpostproc    53.  3.100 / 53.  3.100
> Splitting the commandline.
> Reading option '-v' ... matched as option 'v' (set logging level) with
> argument 'debug'.
> Reading option '-i' ... matched as input file with argument 'test.avs'.
> Reading option 'test.mp4' ... matched as output file.
> Finished splitting the commandline.
> Parsing a group of options: global .
> Applying option v (set logging level) with argument debug.
> Successfully parsed a group of options.
> Parsing a group of options: input file test.avs.
> Successfully parsed a group of options.
> Opening an input file: test.avs.
> [avisynth @ 00000000044c7be0] Format avisynth probed with size=2048 and
> score=50
> [AVIOContext @ 00000000044d0d80] Statistics: 450 bytes read, 0 seeks
> test.avs: Unknown error occurred

If I install AviSynth 2.60 32-bit then use 32 bit ffmpeg.exe, I am
able to consume a file like this:

Version()
So at least it's not totally broken for me here., I think.
GL!
-roger-


More information about the ffmpeg-devel mailing list