ISSUE SUMMARY:
When I upload a video, the cron job runs every 15 minutes. The file uploaded is approximately 5.4 megabytes - well below the max upload size of 100 megabytes. Max memory usage is about 120 mb. Script execution time is 1500 seconds. It keeps taking the uploaded video, running it through the converter and outputting a 0 mb file.
FFmpeg version is 2.2.1. The path has been triple checked with my server's tech support and is /usr/local/bin/ffmpeg2.2.1
here is my ffmpeg info:
FFMPEG Info:
/usr/local/bin/ffmpeg
/usr/local/bin/ffmpeg1.2.6
/usr/local/bin/ffmpeg2.1.4
/usr/local/bin/ffmpeg2.2.1
/usr/local/bin/avconv
php info and video file can be supplied if needed. currently they are both zipped up on the server in the root directory as diamondriosong.zip
I am a blind webmaster and rely on my wife for anything visual.
STEPS TO REPLICATE:
1 upload video file
2 wait for cron job to run
3 see a 0 byte file after conversion
4
5
RESULT 0 byte file
EXPECTED RESULT properly converted video file
BROWSER IE and Firefox - latest versions
Hi Philp,
Setting up FFMPEG on a server can get rather complex. I see you have posted the path to the install but you have not shown the list of compiled codecs. Below is a link to a post and in this post there is a PDF attachment that you should give to your server admin and get them to check the outputs / compiled codecs as per this document.
www.jomsocial.com/forum/photos-videos/15...on-centos-6x-servers
Alternatively if you are happy to tell me the server login details i can take a look myself. (edit the original post and place the server details in the misc field or email them to me) I also notice you mention that you are blind so in this situation i would be happy to assist you via skype using audio if this would make things easier for you and your wife.
If you would like this alternative to help you please email me your details to paul AT ijoomla DOT com and we can discuss your issue further. I can only assist you using English
Have a great day
Paul
Hey Paul,
Think this is what you needed.
FFMPEG Info:
/usr/local/bin/ffmpeg
/usr/local/bin/ffmpeg1.2.6
/usr/local/bin/ffmpeg2.1.4
/usr/local/bin/ffmpeg2.2.1
/usr/local/bin/avconv
And here are their respective outputs:
root@lancia [~]# /usr/local/bin/ffmpeg -version
ffmpeg version 0.7.15, Copyright (c) 2000-2013 the FFmpeg developers built on Aug 30 2014 14:39:20 with gcc 4.4.7 20120313 (Red Hat 4.4.7-4) configuration: --prefix=/opt/icert/chffmpeg --prefix=/opt/icert/chffmpeg --enable-shared --enable-nonfree --enable-gpl --disable-pthreads --enable-libopencore-amrnb --enable-decoder=liba52 --enable-libopencore-amrwb --enable-libfaac --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --extra-cflags=-I/opt/icert/chf fmpeg/include/ --extra-ldflags=-L/opt/icert/chffmpeg/lib --enable-version3 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
ffmpeg 0.7.15
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
root@lancia [~]# /usr/local/bin/ffmpeg1.2.6 -version
ffmpeg version 1.2.6
built on Aug 30 2014 14:30:41 with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-4) configuration: --prefix=/opt/icert/ffmpeg-1.2.6 --enable-shared --enable-nonfree --enable-gpl --disable-pthreads --enable-libopencore-amrnb --enable-decoder=liba52 --enable-libopencore-amrwb --enable-libfaac --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --extra-cflags=-I/opt/icert/chffmpeg/include/ --extra-ldflags='-L /opt/icert/chffmpeg/lib -Wl,-rpath=/opt/icert/ffmpeg-1.2.6/lib' --enable-version3 --disable-ffplay --disable-ffserver --disable-debug libavutil 52. 18.100 / 52. 18.100
libavcodec 54. 92.100 / 54. 92.100
libavformat 54. 63.104 / 54. 63.104
libavdevice 54. 3.103 / 54. 3.103
libavfilter 3. 42.103 / 3. 42.103
libswscale 2. 2.100 / 2. 2.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 2.100 / 52. 2.100
root@lancia [~]# /usr/local/bin/ffmpeg2.1.4 -version
ffmpeg version 2.1.4
built on Aug 30 2014 14:47:20 with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-4) configuration: --prefix=/opt/icert/ffmpeg-2.1.4 --enable-shared --enable-nonfree --enable-gpl --disable-pthreads --enable-libopencore-amrnb --enable-decoder=liba52 --enable-libopencore-amrwb --enable-libfaac --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --extra-cflags=-I/opt/icert/chffmpeg/include/ --extra-ldflags='-L/opt/icert/chffmpeg/lib -Wl,-rpath=/opt/icert/ffmpeg-2.1.4/lib' --enable-version3 --disable-ffplay --disable-ffserver --disable-debug libavutil 52. 48.101 / 52. 48.101
libavcodec 55. 39.101 / 55. 39.101
libavformat 55. 19.104 / 55. 19.104
libavdevice 55. 5.100 / 55. 5.100
libavfilter 3. 90.100 / 3. 90.100
libswscale 2. 5.101 / 2. 5.101
libswresample 0. 17.104 / 0. 17.104
libpostproc 52. 3.100 / 52. 3.100
root@lancia [~]# /usr/local/bin/ffmpeg2.2.1 -version
ffmpeg version 2.2.1
built on Aug 30 2014 15:03:15 with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-4) configuration: --prefix=/opt/icert/ffmpeg-2.2.1 --enable-shared --enable-nonfree --enable-gpl --disable-pthreads --enable-libopencore-amrnb --enable-decoder=liba52 --enable-libopencore-amrwb --enable-libfaac --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --extra-cflags=-I/opt/icert/chffmpeg/include/ --extra-ldflags='-L/opt/icert/chffmpeg/lib -Wl,-rpath=/opt/icert/ffmpeg-2.2.1/lib' --enable-version3 --disable-ffplay --disable-ffserver --disable-debug libavutil 52. 66.100 / 52. 66.100
libavcodec 55. 52.102 / 55. 52.102
libavformat 55. 33.100 / 55. 33.100
libavdevice 55. 10.100 / 55. 10.100
libavfilter 4. 2.100 / 4. 2.100
libswscale 2. 5.102 / 2. 5.102
libswresample 0. 18.100 / 0. 18.100
libpostproc 52. 3.100 / 52. 3.100
root@lancia [~]# /usr/local/bin/avconv -version
avconv version 9.12, Copyright (c) 2000-2013 the Libav developers built on Aug 30 2014 15:12:20 with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-4) avconv 9.12
libavutil 52. 3. 0 / 52. 3. 0
libavcodec 54. 35. 0 / 54. 35. 0
libavformat 54. 20. 3 / 54. 20. 3
libavdevice 53. 2. 0 / 53. 2. 0
libavfilter 3. 3. 0 / 3. 3. 0
libavresample 1. 0. 1 / 1. 0. 1
libswscale 2. 1. 1 / 2. 1. 1
<end output>
E-Mail sent.
Thanks Flip