Audioconverter 모듈을 Drupal 7의 audiorecorderfield 모듈과 함께 사용하고 있습니다. Aegir 및 Nginx를 실행하는 자체 vps에서 ffmpeg를 사용하고 있습니다. audioconverter 모듈에서 wav 파일을 mp3로 변환하는 작업이 중단되었습니다. 여기에 오류가 있습니다.경고 : 보안상의 이유로 _audioconverter_scheduler_ffmpeg_helper에서 passthru()가 비활성화되었습니다.
Warning: passthru() has been disabled for security reasons in _audioconverter_scheduler_ffmpeg_helper() (line 358 of /mysite/drupal-7.16/sites/all/modules/audioconverter/audioconverter.module).
내 기록에 있습니다.
MESSAGE: executing: /usr/bin/ffmpeg -i /mysite/drupal-7.16/sites/default/files/1354856044.wav /mysite/drupal-7.16/sites/default/files/1354856044.wav.mp3
MESSAGE: Audio conversion failed. FFMPEG reported the following output:
SEVERITY: error
MESSAGE: converted file is an empty file.
내가 wav 파일이 audiorecorderfield 모듈에 의해 생성되지만 audioconverter 모듈은 변환에 실패 확인할 수 있습니다.
여기 내 ffmpeg 정보입니다.
ffmpeg version 0.7.13, Copyright (c) 2000-2011 the FFmpeg developers
built on Jun 13 2012 14:01:54 with gcc 4.4.5
configuration: --enable-libdc1394 --prefix=/usr --extra-cflags='-Wall -g ' --cc='ccache cc' --enable-shared --enable-libmp3lame --enable-gpl --enable-libvorbis --enable-pthreads --enable-libfaac --enable-libxvid --enable-postproc --enable-x11grab --enable-libgsm --enable-libtheora --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264 --enable-libspeex --enable-nonfree --disable-stripping --enable-avfilter --enable-libdirac --disable-decoder=libdirac --enable-libfreetype --enable-libschroedinger --disable-encoder=libschroedinger --enable-version3 --enable-libopenjpeg --enable-libvpx --enable-librtmp --extra-libs=-lgcrypt --disable-altivec --disable-armv5te --disable-armv6 --disable-vis
libavutil 50. 43. 0/50. 43. 0
libavcodec 52.123. 0/52.123. 0
libavformat 52.111. 0/52.111. 0
libavdevice 52. 5. 0/52. 5. 0
libavfilter 1. 80. 0/1. 80. 0
libswscale 0. 14. 1/0. 14. 1
libpostproc 51. 2. 0/51. 2. 0
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...
안전한 모드는 php.ini에서 꺼져 있으므로 audioconverter가 작동하지 않는 이유를 모르겠습니다.