Control Web Panel

WebPanel => FFMPEG => Topic started by: metatrone on January 20, 2018, 12:52:00 PM

Title: problem with FFMPEG
Post by: metatrone on January 20, 2018, 12:52:00 PM
Hello here I have a big problem with FFMPEG

I followed the procedure here

" https://blog.bullten.com/installing-ffmpeg-on-centos-web-panel/ (https://blog.bullten.com/installing-ffmpeg-on-centos-web-panel/) "

I did
Code: [Select]
whereis ffmpeg

Which give
Code: [Select]
ffmpeg: /usr/local/bin/ffmpeg
then this
Code: [Select]
ffmpeg
Which give

Code: [Select]
[root@vps46985 ~]# ffmpeg
ffmpeg version 2.8.8 Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-16)
  configuration: --disable-static --enable-gpl --enable-version3 --enable-nonfree --enable-shared --enable-libmp3lame --enable-libx264 --enable-libvpx --enable-libvorbis --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopencore-amrnb --enable-libtheora --enable-libxvid --enable-libfdk_aac --enable-libopus --enable-libfreetype --enable-libfaac
  libavutil      54. 31.100 / 54. 31.100
  libavcodec     56. 60.100 / 56. 60.100
  libavformat    56. 40.101 / 56. 40.101
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5. 40.101 /  5. 40.101
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  2.101 /  1.  2.101
  libpostproc    53.  3.100 / 53.  3.100
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'

I edited my php.ini file and edit the line

Code: [Select]
;extension_dir = “./” and replace it with extension_dir = “/usr/lib64/extensions/no-debug-non-zts-20100525”
and despite all this ffmpeg.so was not found
the folder /usr/lib64/extensions/no-debug-non-zts-20100525 is totally empty

therefore impossible to continue my installation for my clipbucket site
I am totally lost I do not know what to do to solve the problem
Title: Re: problem with FFMPEG
Post by: bullten on January 20, 2018, 05:53:23 PM
did you install php-ffmpeg?
Title: Re: problem with FFMPEG
Post by: metatrone on January 20, 2018, 06:09:07 PM
did you install php-ffmpeg?

I did not find the dependency for his install :(
Title: Re: problem with FFMPEG
Post by: bullten on January 20, 2018, 06:18:02 PM
May i know exact error you are getting?
Title: Re: problem with FFMPEG
Post by: metatrone on January 20, 2018, 06:48:58 PM
May i know exact error you are getting?

that my FFMPEG are not recognized by PHP so when I install my site this one does not find it for continued.

Code: [Select]
[root@vps46985 ~]# yum install php-ffmpeg
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: centos.mirror.fr.planethoster.net
 * epel: fr.mirror.babylon.network
 * extras: centos.quelquesmots.fr
 * nux-dextop: mirror.li.nux.ro
 * updates: centos.quelquesmots.fr
No package php-ffmpeg available.
Error: Nothing to do
Title: Re: problem with FFMPEG
Post by: bullten on January 20, 2018, 06:58:19 PM
Please install this

https://github.com/PHP-FFMpeg/PHP-FFMpeg

https://sourceforge.net/projects/ffmpeg-php/?source=navbar
Title: Re: problem with FFMPEG
Post by: metatrone on January 20, 2018, 07:22:37 PM
Please install this

https://github.com/PHP-FFMpeg/PHP-FFMpeg

https://sourceforge.net/projects/ffmpeg-php/?source=navbar

how should i install this because i just have a file and a long text meaning yum etc: S sorry i devour with centos
Title: Re: problem with FFMPEG
Post by: bullten on January 20, 2018, 07:55:04 PM
may I know if you are using centos 6 or centos 7?

also the php version you are using.
Title: Re: problem with FFMPEG
Post by: metatrone on January 20, 2018, 08:06:30 PM
may I know if you are using centos 6 or centos 7?

also the php version you are using.

centos 7 php 7.0.22

example of installation of my site http://vps46985.lws-hosting.com/c/cb_install/ (http://vps46985.lws-hosting.com/c/cb_install/)

click Ok, I Agree, Now let me Continue!
Title: Re: problem with FFMPEG
Post by: bullten on January 20, 2018, 08:15:55 PM
You are using php 5.6. Also php-ffpmeg is not required. Just ffmpeg will do the work.

May be it is not taking correct path of ffmpeg. Try running the command as below

ln -s /usr/local/bin/ffmpeg /usr/bin/ffmpeg

See if it helps to find the path.
Title: Re: problem with FFMPEG
Post by: metatrone on January 20, 2018, 08:23:43 PM
the transfer of php 5.6 or 7.0.22 is in progress it must leave a little time;)

I executed the command as said
and I wish to install the php because I wish that all the site works corectement;) because it is asked there is reason no?
Title: Re: problem with FFMPEG
Post by: bullten on January 20, 2018, 08:28:22 PM
Hello,

doesnt look like you forced the command I gave you. Also its good to install php 7.
Title: Re: problem with FFMPEG
Post by: metatrone on January 20, 2018, 09:50:55 PM
always the same problem despite the command line you gave me

http://vps46985.lws-hosting.com/c/cb_install/ (http://vps46985.lws-hosting.com/c/cb_install/)
Title: Re: problem with FFMPEG
Post by: bullten on January 21, 2018, 08:26:55 AM
I checked on demo clipbucked script and it does take ffpmg path with the way i told you.
Title: Re: problem with FFMPEG
Post by: metatrone on January 21, 2018, 10:01:00 AM
I believe you my here it remains in red for that for me I must activate the FFMPEG.so missing php is not found in the extension my impossible to activate because in phpinfo I can find no information on the extention FFMPEG
Title: Re: problem with FFMPEG
Post by: bullten on January 21, 2018, 05:46:00 PM
php extension is not needed. can you check what is output of command below

whereis ffmpeg

Title: Re: problem with FFMPEG
Post by: metatrone on January 22, 2018, 07:22:09 AM
[root@vps46985 ~]# whereis ffmpeg
ffmpeg: /usr/bin/ffmpeg /usr/local/bin/ffmpeg
Title: Re: problem with FFMPEG
Post by: bullten on January 22, 2018, 10:51:11 AM
I would suggest you to complete install the software first and then in website settings change the path of ffmpeg and then check if it works.
Title: Re: problem with FFMPEG
Post by: metatrone on January 22, 2018, 01:20:52 PM
étrangement une fois l'installation fini il ne trouve pas de probleme avec FFMPEG le seul qui avais un probleme étais Media Info que j'ai résolut je vais uploadé un fichier voir ci cela fonctione. et je posterais le resulta voir ci le probleme est résolut ou non

<a href="http://www.casimages.com/i/180122022547859608.gif.html" title="Sans titre">Lien vers mon image</a>
Title: Re: problem with FFMPEG
Post by: metatrone on January 25, 2018, 02:42:53 PM
good after several attempts to install the site with the modul ffmpeg impossible to use it I will dropped

so I make a mistake to install some by soite there is a problem with the site itself :(

even if this cms would have been very useful for my project :(

thank you for your help anyway
Title: Re: problem with FFMPEG
Post by: bullten on January 25, 2018, 02:53:51 PM
I would sugest you to use https://www.kernel-scripts.com/en/ for your project as its best and more advanced.
Title: Re: problem with FFMPEG
Post by: metatrone on January 25, 2018, 04:56:42 PM
I have trouble understanding the system this one is a free cms script?
Title: Re: problem with FFMPEG
Post by: bullten on January 25, 2018, 05:06:53 PM
It is paid script. Most of my client use it as I saw it is more advanced and flexible.