Так как не нашел его в портах решил поставить его коммандой:
cpan -i FFmpeg
Пошло собиратсяЮ, ставится, станавливать некоторые зависимости, но итоге получаем
Код: Выделить всё
FFmpeg.xs:559: error: 'AV_TIME_BASE' undeclared (first use in this function)
FFmpeg.xs:566: error: 'AVStream' undeclared (first use in this function)
FFmpeg.xs:566: error: 'st' undeclared (first use in this function)
FFmpeg.xs:575: error: 'AVCodecContext' undeclared (first use in this function)
FFmpeg.xs:575: error: 'ctx' undeclared (first use in this function)
FFmpeg.xs:576: error: 'AVCodec' undeclared (first use in this function)
FFmpeg.xs:576: error: 'codec' undeclared (first use in this function)
FFmpeg.xs: In function 'XS_FFmpeg__codecs':
FFmpeg.xs:631: error: 'AVInputFormat' undeclared (first use in this function)
FFmpeg.xs:631: error: 'ifmt' undeclared (first use in this function)
FFmpeg.xs:632: error: 'AVOutputFormat' undeclared (first use in this function)
FFmpeg.xs:632: error: 'ofmt' undeclared (first use in this function)
FFmpeg.xs:633: error: 'AVImageFormat' undeclared (first use in this function)
FFmpeg.xs:633: error: 'image_fmt' undeclared (first use in this function)
FFmpeg.xs:634: error: 'URLProtocol' undeclared (first use in this function)
FFmpeg.xs:634: error: 'up' undeclared (first use in this function)
FFmpeg.xs:635: error: 'AVCodec' undeclared (first use in this function)
FFmpeg.xs:635: error: 'p' undeclared (first use in this function)
FFmpeg.xs:635: error: 'p2' undeclared (first use in this function)
FFmpeg.xs:648: error: 'first_avcodec' undeclared (first use in this function)
FFmpeg.xs:670: error: 'CODEC_TYPE_AUDIO' undeclared (first use in this function)
*** Error code 1
Stop in /usr/home/mack/.cpan/build/FFmpeg-6036-8IM7Gu.
ALLENDAY/FFmpeg-6036.tar.gz
/usr/bin/make -- NOT OK
Warning (usually harmless): 'YAML' not installed, will not store persistent state
Running make test
Can't test without successful make
Running make install
Make had returned bad status, install seems impossible
Так как я начинающий пользователь Unix систем, а так же только изучаю Perl, самостоятельно не смог найти причину проблемы и её решение.
Буду благодарен за любую помощь.