I spoke with my hosting but ffmpeg is installed. the location to the binary is /usr/bin/ffmpeg
BUT NOW I TRY WITH ZENCODER AND AMAZON S3 BUT DONT' CHANGE. THE CRON JOBS ERROR "CAN'T CONVERTER VIDEO.
I have checked and I was able to access ffmpeg by simply using the command ffmpeg:
Code:
myfacesp@serv01 [~/public_html]# which ffmpeg
/usr/bin/ffmpeg
myfacesp@serv01 [~/public_html]# ffmpeg
ffmpeg version 0.7.5, Copyright (c) 2000-2011 the FFmpeg developers
built on May 8 2013 09:41:07 with gcc 4.1.2 20080704 (Red Hat 4.1.2-50)
configuration: --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC' --prefix=/usr --libdir=lib64 --shlibdir=lib64 --disable-doc --mandir=/usr/share/man --incdir=/usr/include --disable-avisynth --enable-avfilter --enable-libdirac --enable-libfaac --enable-libgsm --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264 --enable-gpl --enable-nonfree --enable-postproc --enable-pthreads --enable-shared --enable-swscale --enable-vdpau --enable-version3 --enable-x11grab
libavutil 50. 43. 0 / 50. 43. 0
libavcodec 52.122. 0 / 52.122. 0
libavformat 52.110. 0 / 52.110. 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}...
Use -h to get full help or, even better, run 'man ffmpeg'
Hi,
not sure that ssh output from your site or not. but regarding debugging process, when php execute ffmpeg command, the result is not found.
usr/bin/ffmpeg -version 2>&1
sh: usr/bin/ffmpeg: No such file or directory
I spoke with my hosting and they wrote this:
We have checked the command specified by the remote team and I noticed that the path to the path to the ffmpeg binary is not correct. Please note that the correct path to the binary is:
/usr/bin/ffmpeg -version 2>&1
I have tested that command via SSH and it returned the following output:
Code:
myfacesp@serv01 [~/public_html]# /usr/bin/ffmpeg -version 2>&1
ffmpeg version 0.7.5, Copyright (c) 2000-2011 the FFmpeg developers
built on May 8 2013 09:41:07 with gcc 4.1.2 20080704 (Red Hat 4.1.2-50)
configuration: --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC' --prefix=/usr --libdir=lib64 --shlibdir=lib64 --disable-doc --mandir=/usr/share/man --incdir=/usr/include --disable-avisynth --enable-avfilter --enable-libdirac --enable-libfaac --enable-libgsm --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264 --enable-gpl --enable-nonfree --enable-postproc --enable-pthreads --enable-shared --enable-swscale --enable-vdpau --enable-version3 --enable-x11grab
libavutil 50. 43. 0 / 50. 43. 0
libavcodec 52.122. 0 / 52.122. 0
libavformat 52.110. 0 / 52.110. 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.5
libavutil 50. 43. 0 / 50. 43. 0
libavcodec 52.122. 0 / 52.122. 0
libavformat 52.110. 0 / 52.110. 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
myfacesp@serv01 [~/public_html]# hostname
serv01.c11461.sgvps.net
myfacesp@serv01 [~/public_html]# date
Tue Aug 25 14:21:27 CDT 2015
myfacesp@serv01 [~/public_html]# whoami
myfacesp
myfacesp@serv01 [~/public_html]#
Furthermore, I have searched through the files in your account and I could not find the string "usr/bin/ffmpeg" in any file. Please contact the developer of jomsocial ask him to check the php script and make sure that the full path to the ffmpeg binary is correct.
If the issue persists, please specify which is the php script that is returning the output in question.
Hi,
please make sure the cron job has been setup properly. videos convert will be triggered at cron job.
documentation.jomsocial.com/wiki/Setting_Up_Cron_Job
I just made a test. the video has been converted at your site.
Regards
Hi,
the problem is. php it self cannot find FFMPEG, I told you at my prev post:
www.jomsocial.com/forum/photos-videos/28...load?start=14#140314
can you give me full SSH access as a root user? send it to This email address is being protected from spambots. You need JavaScript enabled to view it.
Regards
Hi,
sorry I got your email. but at that email only containing joomla administrator access detail.
I need SSH access, so I can access your site server and looking FFMPEG installation at there.
If you no idea about SSH access. you can asking your server support about it. I need root access, so I can make sure the FFMPEG installed properly at there. because rightnow FFMPEG not found at your server.
Regards
Hi,
that SSH using java and not trusted by newest java.
could you please try to execute this command at that SSH
which ffmpeg
ffmpeg
Hi,
the issue at server side, the FFMPEG not installed properly for this myfacesport.eu domain
FFMPEG must installed under root. if not, it will not found under site domain.
please contacting your server support for more. jomsocial not support any server configuration assistance.
Regards
I have installed ffmpeg version 2.x that jomsocial system WANT. but dont' change anything.
Code:
This email address is being protected from spambots. You need JavaScript enabled to view it. [~]# ffmpeg -v
ffmpeg version N-74519-g2fa0199 Copyright (c) 2000-2015 the FFmpeg developers
I have installed the version that you want. I upload the video and I see video only in "pending page" .... cronjob can't convert the video.
Now, Why?