ffmpeg installation ?

Nouveau WRInaute
Bonjour à toutes et à tous.
Ayant bien cherché un peu partout, je ne trouve pas de réponse à cette interrogation ultime . . .
Comment installer ( de A à Z) ffmpeg ? j'y comprends pas une cacahuette . . . Je trouve bien des pages par-ci par-là, mais rien qui m'aide vraiment à la première étape . . .
Merci pour votre aide !
Ubert
 
WRInaute occasionnel
Suffit de demander :D Je viens de l'installer sur fedora pour ma part, voici le tuto qu'un pote m'a filé (Traduit de l'anglais) :

1. Créer un dossier où tu vas travailler :
Code:
mkdir ffmpeg
cd ffmpeg

2. Télécharge les codecs / logiciles :
Code:
wget http://www3.mplayerhq.hu/MPlayer/releases/codecs/essential-20061022.tar.bz2
wget http://rubyforge.org/frs/download.php/17497/flvtool2-1.0.6.tgz
wget http://easynews.dl.sourceforge.net/sourceforge/lame/lame-3.97.tar.gz
wget http://superb-west.dl.sourceforge.net/sourceforge/ffmpeg-php/ffmpeg-php-0.5.0.tbz2
wget http://downloads.xiph.org/releases/ogg/libogg-1.1.3.tar.gz
wget http://downloads.xiph.org/releases/vorbis/libvorbis-1.1.2.tar.gz

3. On extrait les utilitaires des archives
Code:
bunzip2 essential-20061022.tar.bz2; tar xvf essential-20061022.tar
tar zxvf flvtool2-1.0.6.tgz
tar zxvf lame-3.97.tar.gz
bunzip2 ffmpeg-php-0.5.0.tbz2; tar xvf ffmpeg-php-0.5.0.tar
tar zxvf libogg-1.1.3.tar.gz
tar zxvf libvorbis-1.1.2.tar.gz

4. On créer le répertoire des codecs et on les met dedans :
Code:
mkdir /usr/local/lib/codecs/
mv essential-20061022/* /usr/local/lib/codecs/
chmod -R 755 /usr/local/lib/codecs/

5. On install des codes et ruby
Code:
yum install subversion
yum install ruby
yum install ncurses-devel

6. On télécharge ffmpeg et mplayer (codecs)
Code:
svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg
svn checkout svn://svn.mplayerhq.hu/mplayer/trunk mplayer

7. Compile LAME

Code:
cd ../lame-3.97
./configure
make
make install

8. Compile libOGG

Code:
cd ../libogg-1.1.3
./configure
make
make install

9. Compile libVorbis
Code:
cd ../libvorbis-1.1.2
./configure
make
make install

10. Compile flvtool2
Code:
cd ../flvtool2-1.0.6
ruby setup.rb config
ruby setup.rb setup
ruby setup.rb install
11. Compile MPlayer
Code:
cd ../mplayer
./configure
make
make install

12. Compile FFMPEG
Code:
cd ../ffmpeg
./configure --enable-libmp3lame --enable-libogg --enable-libvorbis --disable-mmx --enable-shared
echo '#define HAVE_LRINTF 1' >> config.h
make
make install

13a. On finalise l'instalation des codecs
Code:
ln -s /usr/local/lib/libavformat.so.50 /usr/lib/libavformat.so.50
ln -s /usr/local/lib/libavcodec.so.51 /usr/lib/libavcodec.so.51
ln -s /usr/local/lib/libavutil.so.49 /usr/lib/libavutil.so.49
ln -s /usr/local/lib/libmp3lame.so.0 /usr/lib/libmp3lame.so.0
ln -s /usr/local/lib/libavformat.so.51 /usr/lib/libavformat.so.51

13b. On créer des permission sur les fichiers
Code:
chcon -t texrel_shlib_t /usr/local/lib/libavformat.so.50 /usr/lib/libavformat.so.50
chcon -t texrel_shlib_t usr/local/lib/libavcodec.so.51 /usr/lib/libavcodec.so.51
chcon -t texrel_shlib_t /usr/local/lib/libavutil.so.49 /usr/lib/libavutil.so.49
chcon -t texrel_shlib_t /usr/local/lib/libmp3lame.so.0 /usr/lib/libmp3lame.so.0
chcon -t texrel_shlib_t /usr/local/lib/libavformat.so.51 /usr/lib/libavformat.so.51

14. Compile FFMPEG-PHP
Code:
cd ../ ffmpeg-php-0.5.0
phpize
./configure
make
make install

Si le phpize marche pas :

installe :
-autoconf
-automake
-libtool

Si ca marche toujours pas, j'ai fais un yum install php-dev ;)


15. Installe FFMPEG-PHP

Code:
echo 'extension=/usr/local/lib/php/extensions/no-debug-non-zts-20060613/ffmpeg.so' >> /etc/php.ini

16. Reboot apache.

17.On vérifi si sa marche :
Code:
php -r 'phpinfo();' | grep ffmpeg

Si sa marche tu obtien sa:
Code:
ffmpeg
ffmpeg support (ffmpeg-php) => enabled
ffmpeg-php version => 0.5.0
ffmpeg.allow_persistent => 0 => 0
 
Nouveau WRInaute
je reformule . . . ton code est super joli, mais je tappe tout ça où ? désolé pour la question si elle te parait bebette, mais je me suis jamais plongé là dedans
 
Nouveau WRInaute
j'ai compris :) Merci beaucoup ! y'a juste quelques lignes qui ne fonctionnent pas, comme tout ce qui est svn://
 
WRInaute discret
Suivre bêtement un tuto n'a jamais résolu le moindre service.
cours vite acheter un livre sur linux ("Linux pour les nuls", en dehors de son titre, est un excellent début) et ENSUITE essaie de comprendre les tutos ...

MADdanny
 
Nouveau WRInaute
ce qu'il y a de bien, c'est que je ne suis pas un tuto bêtement, mais j'essaie de comprendre en même temps, c'est comme ça que j'apprends ! j'ai simplement un pb avec la fonction YUM . . .
 
WRInaute discret
C'est pour ça qu'il faut commencer par les bases, même si c'est long.
Linux n'est que le "noyau", tout le reste est regroupé dans ce qu'on appelle une "distribution".
"yum" est spécifique à Fedora Core (et autres RedHat clones), mais il y a également "apt-get" pour les Debian, "urpmi" pour Mandriva (ça existe encore ça ???:p), etc.

MADdanny
 
Nouveau WRInaute
Désolé maddany, mais tu remarqueras que tu n'apporte rien à la discution, qui sans toi a plus que bien avancé . . .
Fuck a duck and try to fly :)
 
WRInaute discret
ubert a dit:
Désolé maddany, mais tu remarqueras que tu n'apporte rien à la discution, qui sans toi a plus que bien avancé . . .
Fuck a duck and try to fly :)

Dixit quelqu'un qui veut entrer du code shell dans une page php ...

MADdanny
 
Nouveau WRInaute
Ayé, j'ai fini et réussi, merci à tous et à toutes, pour cet apprentissage :)
Maddanny, t'as pas envie d'aller faire un démineur plutot ?
 
Nouveau WRInaute
ubert a dit:
Ayé, j'ai fini et réussi, merci à tous et à toutes, pour cet apprentissage :)
Maddanny, t'as pas envie d'aller faire un démineur plutot ?
Sache pour info, qu'on peut inclure une commande dans une page PHP ........
exemple : exec("wget http://www.patati_et_patata"); qui fonctionne très bien.
Tu l'as lu ton bouquin ?
 
Nouveau WRInaute
keitboor >> Je viens d'essayer de lancer l'installation de libogg sur serveur dedié chez 1and1 (fedora) et j'ai une erreur de ce type :

configure: error: C++ preprocessor "/lib/cpp" fails sanity check

J'ai parcouru pas mal de forum pour essayer de trouver la solution mais en vain.
J'ai fait plusieurs installations : yum install gcc, yum install cpp, yum install glibc mais rien n'y fait.

Je prefère vous prévenir que je ne suis pas un pro de linux.

Merci d'avance a ceux qui pourront m'aider

Louis
 
Nouveau WRInaute
Beh je l'avais deja fait mais c'est toujours pareil :(
Je viens de le refaire :
Code:
 yum install g++
Setting up Install Process
Setting up repositories
core                      100% |=========================| 1.1 kB    00:00
updates-released          100% |=========================| 1.2 kB    00:00
extras                    100% |=========================| 1.1 kB    00:00
updates                   100% |=========================| 1.2 kB    00:00
base                      100% |=========================| 1.1 kB    00:00
Reading repository metadata in from local files
Parsing package install arguments
Nothing to do

et quand j'essaye d'installer libogg j'obtiens ceci :
Code:
./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a sed that does not truncate output... //bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking dependency style of g++... none
checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.

Je comprends pas :-(

Merci d'avance pour votre aide
 
WRInaute passionné
Code:
checking for g++... no

ton problème vient de là, il ne trouve pas g++ !

Cherche ou est installe g++.

Sinon, peut-on voir le fichier log ?
 
Nouveau WRInaute
Voici le config.log :

Code:
## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=x86_64-unknown-linux-gnu
ac_cv_build_alias=x86_64-unknown-linux-gnu
ac_cv_c_compiler_gnu=yes
ac_cv_cxx_compiler_gnu=no
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_F77_set=
ac_cv_env_F77_value=
ac_cv_env_FFLAGS_set=
ac_cv_env_FFLAGS_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_exeext=
ac_cv_header_dlfcn_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_unistd_h=yes
ac_cv_host=x86_64-unknown-linux-gnu
ac_cv_host_alias=x86_64-unknown-linux-gnu
ac_cv_objext=o
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=gawk
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_CXXCPP=/lib/cpp
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_stdc=
ac_cv_prog_cxx_g=no
ac_cv_prog_egrep='grep -E'
ac_cv_prog_make_make_set=yes
am_cv_CC_dependencies_compiler_type=gcc3
am_cv_CXX_dependencies_compiler_type=none
lt_cv_deplibs_check_method=pass_all
lt_cv_file_magic_cmd='$MAGIC_CMD'
lt_cv_file_magic_test_file=
lt_cv_ld_reload_flag=-r
lt_cv_path_LD=/usr/bin/ld
lt_cv_path_NM='/usr/bin/nm -B'
lt_cv_path_SED=//bin/sed
lt_cv_prog_gnu_ld=yes

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /var/www/vhosts/tezamis.com/private/ffmpeg/libogg-1.1.3/missing --run aclocal-1.9'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='${SHELL} /var/www/vhosts/tezamis.com/private/ffmpeg/libogg-1.1.3/missing --run tar'
AR=''
AUTOCONF='${SHELL} /var/www/vhosts/tezamis.com/private/ffmpeg/libogg-1.1.3/missing --run autoconf'
AUTOHEADER='${SHELL} /var/www/vhosts/tezamis.com/private/ffmpeg/libogg-1.1.3/missing --run autoheader'
AUTOMAKE='${SHELL} /var/www/vhosts/tezamis.com/private/ffmpeg/libogg-1.1.3/missing --run automake-1.9'
AWK='gawk'
CC='gcc'
CCDEPMODE='depmode=gcc3'
CFLAGS='-g -O2'
CPP='gcc -E'
CPPFLAGS=''
CXX='g++'
CXXCPP='/lib/cpp'
CXXDEPMODE='depmode=none'
CXXFLAGS=''
CYGPATH_W='echo'
DEBUG=''
DEFS=''
DEPDIR='.deps'
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='grep -E'
EXEEXT=''
F77=''
FFLAGS=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
LDFLAGS=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LIBTOOL_DEPS=''
LIB_AGE='5'
LIB_CURRENT='5'
LIB_REVISION='3'
LN_S='ln -s'
LTLIBOBJS=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} /var/www/vhosts/tezamis.com/private/ffmpeg/libogg-1.1.3/missing --run makeinfo'
OBJEXT='o'
OPT=''
PACKAGE='libogg'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
PROFILE=''
RANLIB=''
SET_MAKE=''
SHELL='/bin/sh'
SIZE16=''
SIZE32=''
SIZE64=''
STRIP=''
USIZE16=''
USIZE32=''
VERSION='1.1.3'
ac_ct_AR=''
ac_ct_CC='gcc'
ac_ct_CXX='g++'
ac_ct_F77=''
ac_ct_RANLIB=''
ac_ct_STRIP=''
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE=''
am__fastdepCXX_TRUE='#'
am__include='include'
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build='x86_64-unknown-linux-gnu'
build_alias=''
build_cpu='x86_64'
build_os='linux-gnu'
build_vendor='unknown'
datadir='${prefix}/share'
exec_prefix='NONE'
host='x86_64-unknown-linux-gnu'
host_alias=''
host_cpu='x86_64'
host_os='linux-gnu'
host_vendor='unknown'
includedir='${prefix}/include'
infodir='${prefix}/info'
install_sh='/var/www/vhosts/tezamis.com/private/ffmpeg/libogg-1.1.3/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
mkdir_p='mkdir -p --'
oldincludedir='/usr/include'
prefix='NONE'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define HAVE_DLFCN_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STDINT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRINGS_H 1
#define HAVE_STRING_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_UNISTD_H 1
#define PACKAGE "libogg"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_STRING ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define STDC_HEADERS 1
#define VERSION "1.1.3"
#endif
#ifdef __cplusplus
void exit (int);

configure: exit 1

QUand je fais un whereis g++ j'ai rien :

Code:
whereis g++
g++:

Désolé encore pour mes questions qui vous paraissent peut être idiotes :-\

Merci de ton aide
 
WRInaute passionné
et en faisant which g++ , tu obtiens quoi ?

Sinon regarde sous /usr/bin/ si tu trouve quelque chose du type g++-x.x

Si ça existe, crée un raccourci vers ce ficheir et appelle le /usr/bin/g++ et ça devrait marcher.
 
Nouveau WRInaute
En faisant un which g++ j'obtiens :

Code:
 which g++
/usr/bin/which: no g++ in (//sbin://bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)

En faisant un yum install g++ j'otbiens :

Code:
yum install g++
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Parsing package install arguments
Nothing to do


Comment faire pour savoir si g++ est disponible dans les sources ? Quelqu'un aurait un lien vers le rpm directement ?

Merci d'avance
 
WRInaute passionné
regarde sous /usr/bin/ si tu trouve quelque chose du type g++-x.x

Si ça existe, crée un raccourci vers ce ficheir et appelle le /usr/bin/g++ et ça devrait marcher.
 
Nouveau WRInaute
Un autre problème survient, j'essaye d'installer phpmotion, le fichier tester.php qui doit vérifeir la présence des différents codecs fonctionne correctement.

Lorsque j'upload un fichier j'ai ceci qui apparait dans mon logfile :
Code:
PHPmotion debug
/usr/bin/mencoder /var/www/vhosts/[user]/httpdocs/phpmotion/uploads/avi/MebvwlxbfH5C3MYDLjN2.avi -o /var/www/vhosts/[user]/httpdocs/phpmotion/uploads/MebvwlxbfH5C3MYDLjN2.flv -of lavf -oac mp3lame -lameopts abr:br=56 -ovc lavc -lavcopts vcodec=flv:vbitrate=800:mbd=2:mv0:trell:v4mv:cbp:last_pred=3 -vf scale=450:400 -srate 22050
Command was executed.See rest of log for output details
--------------------------------------------------------------
get_path("config") problem
MPlayer was compiled without libmp3lame support.
-lameopts is not an MEncoder option

J'ai déjà testé de vouloir reinstaller mplayer et ffmpeg mais rien n'y fait.

QUelqu'un aurait une solution ?

Merci encore pour votre aide
 
Nouveau WRInaute
installation de phpmotion

juste pour info il y a certains fichiers du script phpmotion qui doivent entre envoyé par votre client ftp en mode binaire

j'ai installé la version beta de phpmotion qui fonctionne bien sur mon site et j'ai même pu mettre en place une réécriture de lien:

http://www.envoyer-video.com

et je n'ai pas pris de serveur dédié, un simple hébergeur mutualisé qui inclut la librairie ffmpeg peut convenir, pour ma part j'utilise l'hébergeur mutualisé suivant:

[OTP : pas d'affiliation... ]
 
Nouveau WRInaute
Salut

Oui carrement sinon ça fonctionne pas, normal ce sont des fichiers encodés, donc mode binaire obligatoire

Je sais pas si avec un hebergement tu vas avoir assez de place pour le stockage par la suite, parce que ça prend pas mal de place !

Moi j'ai reussi également et je l'ai mis sur serveur dédié.

Fais gaffe aussi avec cette réecriture d'url, moi google me l'as apprement filtré a cause du duplicate, il va revenir bientot je pense mais bon ça me gave :evil:

http://www.freedeo.com

Dites moi ce que vous en pensez?

@+
Manu
 
Nouveau WRInaute
salut a tous qqun a une idée je vous laisse lire mon msg d'erreure sachant que je suis sur ovh avec fedore 4 "dedié"

libvorbis-1.1.2/vq/bookutil.h
libvorbis-1.1.2/vq/residue_entropy
libvorbis-1.1.2/vq/vqgen.c
libvorbis-1.1.2/vq/vqgen.h
libvorbis-1.1.2/doc/
libvorbis-1.1.2/doc/xml/
libvorbis-1.1.2/doc/xml/10-tables.xml
libvorbis-1.1.2/doc/xml/a1-encapsulation_ogg.xml
libvorbis-1.1.2/doc/xml/03-codebook.xml
libvorbis-1.1.2/doc/xml/06-floor0.xml
libvorbis-1.1.2/doc/xml/spec-html.xsl
libvorbis-1.1.2/doc/xml/01-introduction.xml
libvorbis-1.1.2/doc/xml/07-floor1.xml
libvorbis-1.1.2/doc/xml/Vorbis_I_spec.xml
libvorbis-1.1.2/doc/xml/09-helper.xml
libvorbis-1.1.2/doc/xml/spec-common.xsl
libvorbis-1.1.2/doc/xml/05-comment.xml
libvorbis-1.1.2/doc/xml/footer.xml
libvorbis-1.1.2/doc/xml/04-codec.xml
libvorbis-1.1.2/doc/xml/08-residue.xml
libvorbis-1.1.2/doc/xml/a2-encapsulation_rtp.xml
libvorbis-1.1.2/doc/xml/spec-fo.xsl
libvorbis-1.1.2/doc/xml/02-bitpacking.xml
libvorbis-1.1.2/doc/fourphase.png
libvorbis-1.1.2/doc/Vorbis_I_spec.html
tar: Escamotage jusqu'à la prochaine en-tête.
tar: L'archive contient des en-têtes désuètes en base-64.

gzip: stdin: invalid compressed data--crc error

gzip: stdin: invalid compressed data--length error
tar: Child returned status 1
tar: Statut d'erreur reporté d'erreurs précédentes.
[root@ks355118 ffmpeg]# bunzip2 essential-20061022.tar.bz2; tar xvf essential-20061022.tar
bunzip2: Output file essential-20061022.tar already exists.
essential-20061022/
essential-20061022/wvc1dmod.dll
tar: Escamotage jusqu'à la prochaine en-tête.
tar: Statut d'erreur reporté d'erreurs précédentes.
[root@ks355118 ffmpeg]# tar zxvf flvtool2-1.0.6.tgz
flvtool2-1.0.6/
flvtool2-1.0.6/bin/
flvtool2-1.0.6/bin/._flvtool2
flvtool2-1.0.6/bin/flvtool2
flvtool2-1.0.6/._CHANGELOG
flvtool2-1.0.6/CHANGELOG
flvtool2-1.0.6/examples/
flvtool2-1.0.6/examples/tags.xml
flvtool2-1.0.6/._flvtool2.exy
flvtool2-1.0.6/flvtool2.exy
flvtool2-1.0.6/lib/
flvtool2-1.0.6/lib/flv/
flvtool2-1.0.6/lib/flv/._amf_string_buffer.rb
flvtool2-1.0.6/lib/flv/amf_string_buffer.rb
flvtool2-1.0.6/lib/flv/._audio_tag.rb
flvtool2-1.0.6/lib/flv/audio_tag.rb
flvtool2-1.0.6/lib/flv/._core_extensions.rb
flvtool2-1.0.6/lib/flv/core_extensions.rb
flvtool2-1.0.6/lib/flv/._meta_tag.rb
flvtool2-1.0.6/lib/flv/meta_tag.rb
flvtool2-1.0.6/lib/flv/._stream.rb
flvtool2-1.0.6/lib/flv/stream.rb
flvtool2-1.0.6/lib/flv/._tag.rb
flvtool2-1.0.6/lib/flv/tag.rb
flvtool2-1.0.6/lib/flv/._video_tag.rb
flvtool2-1.0.6/lib/flv/video_tag.rb
flvtool2-1.0.6/lib/._flv.rb
flvtool2-1.0.6/lib/flv.rb
flvtool2-1.0.6/lib/flvtool2/
flvtool2-1.0.6/lib/flvtool2/._base.rb
flvtool2-1.0.6/lib/flvtool2/base.rb
flvtool2-1.0.6/lib/flvtool2/._version.rb
flvtool2-1.0.6/lib/flvtool2/version.rb
flvtool2-1.0.6/lib/._flvtool2.rb

gzip: stdin: invalid compressed data--crc error

gzip: stdin: invalid compressed data--length error
flvtool2-1.0.6/lib/flvtool2.rb
tar: Escamotage jusqu'à la prochaine en-tête.
tar: L'archive contient des en-têtes désuètes en base-64.
tar: Child returned status 1
tar: Statut d'erreur reporté d'erreurs précédentes.
[root@ks355118 ffmpeg]# tar zxvf lame-3.97.tar.gz
lame-3.97/
lame-3.97/mac/
lame-3.97/mac/Precompile_Common.h
lame-3.97/mac/MacDLLMain.c
lame-3.97/mac/LAME_Classic_Final.pch
lame-3.97/mac/LAME_Classic_Debug.pch
lame-3.97/mac/LAME_Carbon_Final.pch
lame-3.97/mac/LAME_Carbon_Debug.pch
lame-3.97/mac/LAME.mcp
lame-3.97/mac/.DS_Store
lame-3.97/mac/Makefile.in
lame-3.97/mac/Makefile.am
lame-3.97/ACM/
lame-3.97/ACM/tinyxml/
lame-3.97/ACM/tinyxml/xmltest.cpp
lame-3.97/ACM/tinyxml/tinyxmlparser.cpp
lame-3.97/ACM/tinyxml/tinyxmlerror.cpp
lame-3.97/ACM/tinyxml/tinyxml.h
lame-3.97/ACM/tinyxml/tinyxml_vc7.vcproj
lame-3.97/ACM/tinyxml/tinyxml.dsp
lame-3.97/ACM/tinyxml/tinyxml.cpp
lame-3.97/ACM/tinyxml/test.dsw
lame-3.97/ACM/tinyxml/test.dsp
lame-3.97/ACM/tinyxml/readme.txt
lame-3.97/ACM/tinyxml/makedistwin.bat
lame-3.97/ACM/tinyxml/makedistlinux
lame-3.97/ACM/tinyxml/dox
tar: Escamotage jusqu'à la prochaine en-tête.
tar: L'archive contient des en-têtes désuètes en base-64.

gzip: stdin: invalid compressed data--crc error

gzip: stdin: invalid compressed data--length error
tar: Child returned status 1
tar: Statut d'erreur reporté d'erreurs précédentes.
[root@ks355118 ffmpeg]# bunzip2 ffmpeg-php-0.5.0.tbz2; tar xvf ffmpeg-php-0.5.0.tar
bunzip2: Output file ffmpeg-php-0.5.0.tar already exists.
ffmpeg-php-0.5.0/
ffmpeg-php-0.5.0/include/
ffmpeg-php-0.5.0/include/gd.h
ffmpeg-php-0.5.0/include/gd_io.h
ffmpeg-php-0.5.0/tests/
ffmpeg-php-0.5.0/tests/test_media/
ffmpeg-php-0.5.0/tests/test_media/robot.avi
tar: Escamotage jusqu'à la prochaine en-tête.
tar: Statut d'erreur reporté d'erreurs précédentes.
[root@ks355118 ffmpeg]# tar zxvf libogg-1.1.3.tar.gz
libogg-1.1.3/
libogg-1.1.3/doc/
libogg-1.1.3/doc/white-ogg.png
libogg-1.1.3/doc/framing.html
libogg-1.1.3/doc/index.html
libogg-1.1.3/doc/ogg-multiplex.html
libogg-1.1.3/doc/Makefile.am
libogg-1.1.3/doc/Makefile.in
libogg-1.1.3/doc/white-xifish.png
libogg-1.1.3/doc/libogg/
libogg-1.1.3/doc/libogg/ogg_page_continued.html
libogg-1.1.3/doc/libogg/ogg_sync_pageout.html
libogg-1.1.3/doc/libogg/ogg_page_pageno.html
libogg-1.1.3/doc/libogg/encoding.html
libogg-1.1.3/doc/libogg/datastructures.html
libogg-1.1.3/doc/libogg/ogg_stream_packetin.html
libogg-1.1.3/doc/libogg/oggpack_look1.html
libogg-1.1.3/doc/libogg/oggpack_writeclear.html
libogg-1.1.3/doc/libogg/oggpack_read.html
libogg-1.1.3/doc/libogg/style.css
libogg-1.1.3/doc/libogg/ogg_stream_eos.html
libogg-1.1.3/doc/libogg/oggpack_write.html
libogg-1.1.3/doc/libogg/ogg_stream_reset_serialno.html
libogg-1.1.3/doc/libogg/oggpack_adv1.html
libogg-1.1.3/doc/libogg/ogg_page_eos.html
libogg-1.1.3/doc/libogg/vorbis_info.html
libogg-1.1.3/doc/libogg/general.html
libogg-1.1.3/doc/libogg/oggpack_readinit.html
libogg-1.1.3/doc/libogg/ogg_sync_buffer.html
libogg-1.1.3/doc/libogg/ogg_page_packets.html
libogg-1.1.3/doc/libogg/ogg_sync_reset.html
libogg-1.1.3/doc/libogg/ogg_sync_state.html
libogg-1.1.3/doc/libogg/oggpack_writetrunc.html
libogg-1.1.3/doc/libogg/oggpack_bits.html
libogg-1.1.3/doc/libogg/ogg_packet.html
libogg-1.1.3/doc/libogg/index.html
libogg-1.1.3/doc/libogg/ogg_stream_flush.html
libogg-1.1.3/doc/libogg/ogg_packet_clear.html
libogg-1.1.3/doc/libogg/oggpack_writeinit.html
libogg-1.1.3/doc/libogg/ogg_stream_reset.html
libogg-1.1.3/doc/libogg/ogg_sync_clear.html
libogg-1.1.3/doc/libogg/ogg_stream_state.html
libogg-1.1.3/doc/libogg/ogg_page_checksum_set.html
libogg-1.1.3/doc/libogg/ogg_page_serialno.html
libogg-1.1.3/doc/libogg/ogg_page_bos.html
libogg-1.1.3/doc/libogg/overview.html
libogg-1.1.3/doc/libogg/oggpack_adv.html
libogg-1.1.3/doc/libogg/ogg_stream_clear.html
libogg-1.1.3/doc/libogg/ogg_sync_wrote.html
libogg-1.1.3/doc/libogg/oggpack_bytes.html
libogg-1.1.3/doc/libogg/Makefile.am
libogg-1.1.3/doc/libogg/Makefile.in
libogg-1.1.3/doc/libogg/oggpack_reset.html
libogg-1.1.3/doc/libogg/ogg_stream_packetpeek.html
libogg-1.1.3/doc/libogg/reference.html
libogg-1.1.3/doc/libogg/ogg_sync_pageseek.html
libogg-1.1.3/doc/libogg/ogg_stream_destroy.html
libogg-1.1.3/doc/libogg/oggpack_read1.html
libogg-1.1.3/doc/libogg/oggpack_writecopy.html
libogg-1.1.3/doc/libogg/ogg_stream_pageout.html
libogg-1.1.3/doc/libogg/ogg_page_granulepos.html
libogg-1.1.3/doc/libogg/oggpack_look.html
libogg-1.1.3/doc/libogg/bitpacking.html
libogg-1.1.3/doc/libogg/ogg_page.html
libogg-1.1.3/doc/libogg/ogg_stream_packetout.html
libogg-1.1.3/doc/libogg/decoding.html
libogg-1.1.3/doc/libogg/ogg_sync_init.html
libogg-1.1.3/doc/libogg/oggpack_writealign.html
libogg-1.1.3/doc/libogg/vorbis_comment.html
libogg-1.1.3/doc/libogg/oggpack_get_buffer.html
libogg-1.1.3/doc/libogg/ogg_stream_pagein.html
libogg-1.1.3/doc/libogg/ogg_page_version.html
libogg-1.1.3/doc/libogg/ogg_sync_destroy.html
libogg-1.1.3/doc/libogg/oggpack_buffer.html
libogg-1.1.3/doc/libogg/ogg_stream_init.html
libogg-1.1.3/doc/vorbisword2.png
libogg-1.1.3/doc/stream.png
libogg-1.1.3/doc/oggstream.html
libogg-1.1.3/doc/rfc3533.txt
libogg-1.1.3/doc/rfc3534.txt
libogg-1.1.3/src/
libogg-1.1.3/src/framing.c
tar: Escamotage jusqu'à la prochaine en-tête.
tar: L'archive contient des en-têtes désuètes en base-64.

gzip: stdin: invalid compressed data--crc error

gzip: stdin: invalid compressed data--length error
tar: Child returned status 1
tar: Statut d'erreur reporté d'erreurs précédentes.
[root@ks355118 ffmpeg]# tar zxvf libvorbis-1.1.2.tar.gz
 
Nouveau WRInaute
Salut,

Vraiment si tu as trop de problème avec les librairies vaut mieux se le faire installer par phpmotion, il te le font payer 30$ je crois et un collègue a moi l'as fait et ça a été rapide et efficace. Donc tu gagneras du temps

Le script étant gratuit, ça fait pas enorme, profitons de notre conversion euros/dollars :wink:

@+
Manu
 
Nouveau WRInaute
Bonjour à tous,

Ce tuto m'intéresse particulièrement, malheureusement, je bloque à l'étape 7.lorsque je tape ./configure, j'obtiens le message suivant :

[root@gcd lame-3.97]# ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.


Je suis débutant, donc soyez indulgent ! ;-)

Est ce que quelqu'un peut m'aider ?

Ai-je oublié de faire quelque chose ?

Ma copie de SME server a buggé, j'ai donc tout ré-installé hier, la copie est donc fraiche.

Please HELP !!!
 
Nouveau WRInaute
je suis sous SME Server, j'ai essayé de l'installer à l'instant grâce à putty en root, mais cette commande ne fonctionne pas....
 
WRInaute occasionnel
Ah !! SME Serveur, je connais pas cette distrib. Apparement ca utilise le gestionnaire de packet yum, tente ca :

Code:
yum install gcc
 
Nouveau WRInaute
j'ai avancé.
Je suis maintenant à l'étape 8. La 7 s'est passé impec après que j'ai installé GCC

Maintenant, quand je fait configure de libogg, j'obtiens ce message :




[root@gcd libogg-1.1.3]# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking dependency style of g++... none
checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
 
WRInaute discret
si votre installation n'en termine pas ... et sans vouloir vous inciter à baisser les bras, il reste aussi la possibilité de trouver un hébergeur PAS CHER (et en $) offrant un hébergement mutualisé, de qualité, avec accès complet aux fonctionnalités ftp (root), shh (root), phpmyadmin (root), ET ffmpeg d'installé en natif, et pourquoi pas un phpMotion (script youtube like) qui s'installe en un clic ...

Cela existe ! 8)

Ne voulant pas faire de pub sur wri, je vous communique volontiers le nom de l'hébergeur (trafic mois : 250 go, 8$=5€ , payable au mois) par PM.

@+

PS : marche bien ;-) , mais pour les mêmes raisons (pas de pub), mon site "demo" n'est pas linké ...
 
Nouveau WRInaute
etpae 7 "compile Lame"

bonjour tout le monde,

voila pour ma part j'arrive a l'etape 7 et la j'ai un message d'erreur.
Code:
cd ../lame-3.97
./configure
make
make install

j'ai pu passer l'étape "cd ../lame-3.97"

mais "./configure" pose problème

pourriez vous m'aidez s'il vous plait
j'ai fait ls pour voir la liste des répertoires et celui de lame-3.97 est bien crée


Code:
[root@s15261951 ffmpeg]# [b]cd ../lame-3.97[/b]
-bash: cd: ../lame-3.97: No such file or directory
[root@s15261951 ffmpeg]# [b]ls[/b]
essential-20061022      ffmpeg            ffmpeg-php-0.5.0.tar  flvtool2-1.0.6.tgz  lame-3.97.tar.gz    libogg-1.1.3         libvorbis-1.1.2         mplayer
essential-20061022.tar  ffmpeg-php-0.5.0  flvtool2-1.0.6        lame-3.97           lame-3.97.tar.gz.1  libogg-1.1.3.tar.gz  libvorbis-1.1.2.tar.gz
[root@s15261951 ffmpeg]# [b]cd lame-3.97[/b]
[root@s15261951 [b]lame-3.97[/b]]# ./configure
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.

merci d'avance
 
Nouveau WRInaute
probleme phpize

Bonjour,

Après voir fait phpize voilà ce qui s'affiche

Code:
configure.in:9: warning: underquoted definition of PHP_WITH_PHP_CONFIG
  run info '(automake)Extending aclocal'
  or see http://sources.redhat.com/automake/automake.html#Extending%20aclocal
configure.in:32: warning: underquoted definition of PHP_EXT_BUILDDIR
configure.in:33: warning: underquoted definition of PHP_EXT_DIR
configure.in:34: warning: underquoted definition of PHP_EXT_SRCDIR
configure.in:35: warning: underquoted definition of PHP_ALWAYS_SHARED
acinclude.m4:19: warning: underquoted definition of PHP_PROG_RE2C
/usr/share/aclocal/vorbis.m4:9: warning: underquoted definition of XIPH_PATH_VORBIS
/usr/share/aclocal/pkg.m4:5: warning: underquoted definition of PKG_CHECK_MODULES
/usr/share/aclocal/ogg.m4:8: warning: underquoted definition of XIPH_PATH_OGG

Pour info
distrib Fedora Core 2
php4

Merci d'avance
 
Nouveau WRInaute
Salut,

J'ai un problem quand je suis rendu a compiler the ffmpeg-php-0.5.0.

jai faite mon phpize

et je suis rendu a mon ./configure et je recois cette error

Code:
 [root@srv493 ffmpeg-php-0.5.0]# ./configure
checking for egrep... grep -E
checking for a sed that does not truncate output... /bin/sed
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking whether gcc and cc understand -c and -o together... yes
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... i686-redhat-linux-gnu
checking host system type... i686-redhat-linux-gnu
checking target system type... i686-redhat-linux-gnu
checking for PHP prefix... /usr
checking for PHP includes... -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext
checking for PHP extension directory... /usr/lib/php/modules
checking for PHP installed headers prefix... /usr/include/php
checking for re2c... no
configure: WARNING: You will need re2c 0.9.11 or later if you want to regenerate PHP parsers.
checking for gawk... gawk
checking for ffmpeg support... yes, shared
checking for ffmpeg headers... configure: error: ffmpeg headers not found. Make sure you've built ffmpeg as shared libs using the --enable-shared option

Pouver vous me donez de laide ?

Merci beaucoup
 
Nouveau WRInaute
Salut,

pour gentoo la commande est emerge.

Exemple :
Code:
    * FFmpeg :
      Code:

      emerge -av ffmpeg

    * Mplayer (Mencoder inclu)
      Code:

      emerge -av mplayer

    * Libogg et Libvorbis
      Code:

      emerge -av libogg libvorbis

    * Lame
      Code:

      emerge -av lame

Pour FLVTool2, il faut faire ça à la main, après j'imagine avoir installé les dépendances nécessaires Ruby (emerge -av ruby). http://rubyforge.org/projects/flvtool2/

Source :
Pour ffmpeg-php

Pour ffmpeg et compagnie

Personnellement, je l'ai testé mais sans trop de succès avec le script.
 
Discussions similaires
Haut