[Slackbuilds-users] ffmpeg2theora compile fail, fix
Willy Sudiarto Raharjo
willysr at slackbuilds.org
Fri May 9 03:24:00 UTC 2014
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Fri 09 May 2014 02:21:51 AM WIT, B Watson wrote:
> With ffmpeg installed (version 2.1, what's in the 14.1 repo now):
>
> src/ffmpeg2theora.c:1071:40: error: 'AVCODEC_MAX_AUDIO_FRAME_SIZE'
> undeclared (first use in this function)
> int16_t *audio_buf=av_malloc(4*AVCODEC_MAX_AUDIO_FRAME_SIZE);
>
> I've run into other software with this problem, that can be fixed by
> adding -DAVCODEC_MAX_AUDIO_FRAME_SIZE=19200 to the CFLAGS. Tried that
> here, it compiles, but fails to work, spits out an endless stream of
> "[audioresample @ 0x6484c0] Audio sample format conversion failed" errors.
Can you try this fix?
Add this line before the scons install line
echo "#define AVCODEC_MAX_AUDIO_FRAME_SIZE 192000" >>
src/ffmpeg2theora.h
i tested on VM and it works
- --
Willy Sudiarto Raharjo
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iEYEARECAAYFAlNsSk8ACgkQiHuDdNczM4FuPwCeNZd2+KX9KocC2qnMgFvxazrH
ogoAn1KKHgJPljzr/yxL3Gk7CW3pWDrz
=HYPI
-----END PGP SIGNATURE-----
More information about the SlackBuilds-users
mailing list