Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 02/08/2007, à 23:21

casimir

[Résolu] Installation d'un tar.gz "/bin/csh : mauvais interpréteur:"

je souhaite convertir le format  m2ts qui est généré par le camescope hd Sony sr7
j'ai ce tuto, mais j'ai l'erreur suivante.
http://www.olmosconsulting.com/hdr-sr1/

:~$ cd /usr/local/bin/m2ts
:/usr/local/bin/m2ts$ ./configure
bash: ./configure : /bin/csh : mauvais interpréteur: Aucun fichier ou répertoire de ce type

j'ai déja posté ici http://forum.ubuntu-fr.org/viewtopic.php?id=136035 mais c'était pas la bonne rubrique.

Dernière modification par casimir (Le 02/08/2007, à 23:22)

Hors ligne

#2 Le 02/08/2007, à 23:23

HymnToLife

Re : [Résolu] Installation d'un tar.gz "/bin/csh : mauvais interpréteur:"

Ouvre le fichier configure dans ton éditeur de textre préféré. La première ligne devrait être

#!/bin/csh

Remplace-la par

#!/bin/bash

- Rodrigue, as-tu du cœur ?
- Non, mais j'ai du pique !

Hors ligne

#3 Le 02/08/2007, à 23:46

casimir

Re : [Résolu] Installation d'un tar.gz "/bin/csh : mauvais interpréteur:"

Ca lance bien maintenant, mais deja une erreur du style

./configure
Starting ./configure script.
./configure: line 93: erreur de syntaxe : fin de fichier inattendue

voici le script

#!/bin/bash
#The scripts and instructions in this package are free to use and
#redistribute AT YOUR OWN RISK!!  Standard disclaimers apply.
#NO WARRANTY!

echo Starting $0 script.

if ( ! -d src ) then
	echo src dir not found.  Exiting.
	exit
endif

cd src 

if ( -f xport.c ) then
	if ( ! -f xport.c.orig ) then
		cp xport.c xport.c.orig
	endif
	uname -i | grep x86_64  > /dev/null && sed 's/if.*(pts_aligned.*!=.*0xffffffffffffffff).*{/if\ (pts_aligned\ !=\ 0\ )\ {/' xport.c.orig   > xport.c.patch1
	uname -i | grep x86_64  > /dev/null && sed 's/if.*(current_pts.*>=.*pts_aligned).*{/if\ (current_pts\ >=\ 0\ )\ {/'        xport.c.patch1 > xport.c.patch2
	uname -i | grep x86_64  > /dev/null && mv xport.c.patch2 xport.c
	uname -i | grep x86_64  > /dev/null && rm -f xport.c.patch1
endif

chmod 755 JM/unixprep.sh
cd JM && ./unixprep.sh
cd ..

if ( -d apr-1.2.8 ) then
	echo apr-1.2.8
	cd apr-1.2.8
	./configure
	cd ..
	echo apr-1.2.8 done
	echo " "
endif

if ( -d apr-util-1.2.8 ) then
	echo apr-util-1.2.8
	cd apr-util-1.2.8
	./configure --with-apr=../apr-1.2.8 
	cd ..
	echo apr-util-1.2.8 done
	echo " "
endif

if ( -d subversion-1.4.3 ) then
	echo subversion-1.4.3
	cd subversion-1.4.3
	./configure --with-apr=../apr-1.2.8 --with-apr-util=../apr-util-1.2.8 
	cd ..
	echo subversion-1.4.3 done
	echo " "
endif

if ( -d x264 ) then
	echo x264
	cd x264
	./configure
	cd ..
	echo x264 done
	echo " "
endif

if ( -d ffmpeg ) then
	echo ffmpeg
	cd ffmpeg
	./configure --enable-libogg --enable-libvorbis --enable-x264 --enable-liba52 --enable-liba52bin --enable-gpl --enable-libfaad --enable-libfaac
	#uname -i | grep x86_64 && ./configure --prefix=/usr/local
	#--arch=x86_64 \
	#--extra-cflags="-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic" \
	#--enable-libogg --enable-libvorbis --enable-libfaad --enable-libfaac \
	#--enable-x264 --enable-liba52 --enable-liba52bin --enable-libdts --enable-pp --disable-static --enable-shared --enable-gpl \
	#--disable-debug --disable-opts --disable-strip 
	cd ..
	echo ffmpeg done
	echo " "
endif

if ( -d mplayer ) then
	echo mplayer
	cd mplayer
	./configure --enable-gui  --enable-runtime-cpudetection || ./configure
	cd ..
	echo mplayer done
	echo " "
endif

echo " "
echo "Run the compile script to compile the software."
echo " "
echo The $0 script has ended.

Dernière modification par casimir (Le 02/08/2007, à 23:47)

Hors ligne

#4 Le 02/08/2007, à 23:58

HymnToLife

Re : [Résolu] Installation d'un tar.gz "/bin/csh : mauvais interpréteur:"

BOn, en fait, c'est un script csh donc pas compatible avec Bash, il va d'abord falloir installer csh :

sudo apt-get install csh

Puis mettre en première ligne du script :

#!/bin/bsd-csh

- Rodrigue, as-tu du cœur ?
- Non, mais j'ai du pique !

Hors ligne

#5 Le 03/08/2007, à 00:12

casimir

Re : [Résolu] Installation d'un tar.gz "/bin/csh : mauvais interpréteur:"

Voici comment s'est passsé l'install. j'ai du mal a voir si ca a mracher correctement,

/usr/local/bin/m2ts$ ./install
Starting ./install script.
Starting ./download script.
 
wget http://www.w6rz.net/xport.zip
--00:11:21--  http://www.w6rz.net/xport.zip
           => `xport.zip'
Résolution de www.w6rz.net... 69.89.27.234
Connexion vers www.w6rz.net|69.89.27.234|:80... connecté.
requête HTTP transmise, en attente de la réponse... 200 OK
Longueur: 77 462 (76K) [application/zip]

100%[====================================>] 77 462        81.70K/s             

00:11:23 (81.53 KB/s) - « xport.zip » sauvegardé [77462/77462]

Archive:  xport.zip
  inflating: xport.c                 
  inflating: xport.exe               
  inflating: readme.txt              
xport.zip unzipped
 
wget http://iphome.hhi.de/suehring/tml/download/jm12.2.zip
--00:11:23--  http://iphome.hhi.de/suehring/tml/download/jm12.2.zip
           => `jm12.2.zip'
Résolution de iphome.hhi.de... 193.174.67.63
Connexion vers iphome.hhi.de|193.174.67.63|:80... connecté.
requête HTTP transmise, en attente de la réponse... 404 Not Found
00:11:23 ERREUR 404: Not Found.

jm12.2.zip does not exist. Please download it from http://iphome.hhi.de/suehring/tml/download
Starting ./configure script.
chmod: ne peut accéder `JM/unixprep.sh': Aucun fichier ou répertoire de ce type
JM: Aucun fichier ou répertoire de ce type.
Starting ./compile script.
xport.c:37: attention : integer constant is too large for «long" type
xport.c: In function «parse_ac3_audio":
xport.c:418: attention : integer constant is too large for «long" type
xport.c: In function «parse_mp2_audio":
xport.c:670: attention : integer constant is too large for «long" type
JM/ldecod: Aucun fichier ou répertoire de ce type.
Installing xporthdmv into /usr/local
Installing hdrsr1 into /usr/local
Installing m2tstoavi into /usr/local
using:
./xporthdmv
ldecod: Command not found.
MPlayer 2:1.0~rc1-0ubuntu12+3v1ubuntu1 (C) 2000-2006 MPlayer Team
CPU: AMD Athlon(tm) 64 Processor 3500+ (Family: 15, Model: 95, Stepping: 2)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing samplevideo.avi.
File not found: 'samplevideo.avi'
Failed to open samplevideo.avi.


Exiting... (End of file)

Je reprend la suite dès demain.

Dernière modification par casimir (Le 03/08/2007, à 00:13)

Hors ligne

#6 Le 03/08/2007, à 00:15

HymnToLife

Re : [Résolu] Installation d'un tar.gz "/bin/csh : mauvais interpréteur:"

Ça n'a pas marché, un des fichiers que le script veut télécharger n'existe plus, il va falloir modifier ton scrip ./download - et peut-être d'autres aussi.


- Rodrigue, as-tu du cœur ?
- Non, mais j'ai du pique !

Hors ligne

#7 Le 03/08/2007, à 19:22

casimir

Re : [Résolu] Installation d'un tar.gz "/bin/csh : mauvais interpréteur:"

Ca avance, merci de ton aide si tu est toujours la,lors de make j'ai l'erreur maintenant suivante
j'ai bien mofifier le lien du telechargement du fichier manquant et c'est bon mais forcement fallait que ca cloche quelque part.

/usr/local/bin/m2ts$ ./installStarting ./install script.Starting ./download script.
 
Archive:  xport.zip
xport.zip unzipped
 
Archive:  jm12.2.zip
jm12.2.zip unzipped
 
ffmpeg
/usr/bin/ffmpeg
ffmpeg done
 
mplayer
/usr/bin/mplayer
mplayer done
 
 
Run the configure script to configure the downloaded software
 
The ./download script has ended.
Starting ./configure script.
/bin/sed
Creating obj directories...
Removing DOS LF chars...
Done.
x264
Platform:   X86
System:     LINUX
avis input: no
mp4 output: no
pthread:    yes
gtk:        no
debug:      no
gprof:      no
PIC:        no
shared:     no
visualize:  no

You can run 'make' or 'make fprofiled' now.
x264 done
 
 
Run the compile script to compile the software.
 
The ./configure script has ended.
Starting ./compile script.
xport.c:37: attention : integer constant is too large for «long" type
xport.c: In function «parse_ac3_audio":
xport.c:418: attention : integer constant is too large for «long" type
xport.c: In function «parse_mp2_audio":
xport.c:670: attention : integer constant is too large for «long" type

checking dependencies

compiling object file "obj/annexb.o" ...
compiling object file "obj/biaridecod.o" ...
compiling object file "obj/block.o" ...
compiling object file "obj/cabac.o" ...
compiling object file "obj/context_ini.o" ...
compiling object file "obj/erc_api.o" ...
compiling object file "obj/erc_do_i.o" ...
compiling object file "obj/erc_do_p.o" ...
compiling object file "obj/errorconcealment.o" ...
compiling object file "obj/filehandle.o" ...
compiling object file "obj/fmo.o" ...
compiling object file "obj/header.o" ...
compiling object file "obj/image.o" ...
compiling object file "obj/ldecod.o" ...
compiling object file "obj/leaky_bucket.o" ...
compiling object file "obj/loopFilter.o" ...
compiling object file "obj/macroblock.o" ...
compiling object file "obj/mb_access.o" ...
compiling object file "obj/mbuffer.o" ...
compiling object file "obj/mc_prediction.o" ...
compiling object file "obj/memalloc.o" ...
compiling object file "obj/nal.o" ...
compiling object file "obj/nal_part.o" ...
compiling object file "obj/nalu.o" ...
compiling object file "obj/nalucommon.o" ...
compiling object file "obj/output.o" ...
compiling object file "obj/parset.o" ...
compiling object file "obj/parsetcommon.o" ...
compiling object file "obj/rtp.o" ...
compiling object file "obj/sei.o" ...
compiling object file "obj/transform8x8.o" ...
compiling object file "obj/vlc.o" ...

creating binary "../bin/ldecod.exe"
... done

update tag table
/bin/sh: ctags: not found
make: *** [tags] Erreur 127
cp: ne peut évaluer `bin/ldecod.exe': Aucun fichier ou répertoire de ce type
chmod: ne peut accéder `../xporthdmv': Aucun fichier ou répertoire de ce type
chmod: ne peut accéder `../ldecod': Aucun fichier ou répertoire de ce type
 
Run the installasroot script as root to install the software in /usr/local/bin
 
The ./compile script has ended.

Dernière modification par casimir (Le 03/08/2007, à 21:17)

Hors ligne

#8 Le 05/08/2007, à 18:53

casimir

Re : [Résolu] Installation d'un tar.gz "/bin/csh : mauvais interpréteur:"

C'est ici que ca cloche, comment puis-je m'ensortir d'aprés vous ?

update tag table
/bin/sh: ctags: not found
make: *** [tags] Erreur 127

Hors ligne

#9 Le 11/08/2007, à 18:31

casimir

Re : [Résolu] Installation d'un tar.gz "/bin/csh : mauvais interpréteur:"

J'ai une erreur dans le script, qui fait que le paquet ldecod ne s'install pas. j'ai une nouvelle fois modifier le fichier download, configure et install.
Le but est de convertir avec
xporthdmv
et
ldecod
pour convertir ensuite en fichier avi.
Je suis équiper d'une nouvelle camera HD qui utilise ce format m2ts qui n'est pour l'instant pas trés utilisé, ca reste un format Hd de trés bonne qualité, c'est donc idiot de ne pouvoir se servir que du mpeg.
Je remet le lien http://www.olmosconsulting.com/hdr-sr1/

/usr/local/bin/m2ts$ ./install
Starting ./install script.
Starting ./download script.
 
Archive:  xport.zip
xport.zip unzipped
 
Archive:  jm12.3.zip
jm12.3.zip unzipped
 
ffmpeg
/usr/bin/ffmpeg
ffmpeg done
 
mplayer
/usr/bin/mplayer
mplayer done
 
 
Run the configure script to configure the downloaded software
 
The ./download script has ended.
Starting ./configure script.
/bin/sed
Creating obj directories...
Removing DOS LF chars...
Done.
apr-util-1.2.8
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking for working mkdir -p... yes
APR-util Version: 1.2.8
checking for chosen layout... apr-util
Applying apr-util hints file rules for i686-pc-linux-gnu
checking for APR... configure: error: the --with-apr parameter is incorrect. It must specify an install prefix, a build directory, or an apr-config file.
apr-util-1.2.8 done
 
subversion-1.4.3
configure: Configuring Subversion 1.4.3
configure: creating config.nice
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 how to run the C preprocessor... gcc -E
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for egrep... grep -E
checking whether ln -s works... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for static Apache module support... no
checking for Apache module support via DSO through APXS... no
==================================================================
WARNING: skipping the build of mod_dav_svn
         --with-apxs or --with-apache must be used
==================================================================
configure: Apache Portable Runtime (APR) library configuration
checking for APR... configure: error: the --with-apr parameter is incorrect. It must specify an install prefix, a build directory, or an apr-config file.
subversion-1.4.3 done
 
x264
No suitable assembler found.  x264 will be several times slower.
Please install 'yasm' to get MMX/SSE optimized code.
Platform:   X86
System:     LINUX
avis input: no
mp4 output: no
pthread:    yes
gtk:        no
debug:      no
gprof:      no
PIC:        no
shared:     no
visualize:  no

You can run 'make' or 'make fprofiled' now.
x264 done
 
 
Run the compile script to compile the software.
 
The ./configure script has ended.
Starting ./compile script.
xport.c:37: attention : integer constant is too large for «long" type
xport.c: In function «parse_ac3_audio":
xport.c:418: attention : integer constant is too large for «long" type
xport.c: In function «parse_mp2_audio":
xport.c:670: attention : integer constant is too large for «long" type

checking dependencies

compiling object file "obj/annexb.o" ...
compiling object file "obj/biaridecod.o" ...
compiling object file "obj/block.o" ...
compiling object file "obj/cabac.o" ...
compiling object file "obj/context_ini.o" ...
compiling object file "obj/erc_api.o" ...
compiling object file "obj/erc_do_i.o" ...
compiling object file "obj/erc_do_p.o" ...
compiling object file "obj/errorconcealment.o" ...
compiling object file "obj/filehandle.o" ...
compiling object file "obj/fmo.o" ...
compiling object file "obj/header.o" ...
compiling object file "obj/image.o" ...
compiling object file "obj/ldecod.o" ...
compiling object file "obj/leaky_bucket.o" ...
compiling object file "obj/loopFilter.o" ...
compiling object file "obj/macroblock.o" ...
compiling object file "obj/mb_access.o" ...
compiling object file "obj/mbuffer.o" ...
compiling object file "obj/mc_prediction.o" ...
compiling object file "obj/memalloc.o" ...
compiling object file "obj/nal.o" ...
compiling object file "obj/nal_part.o" ...
compiling object file "obj/nalu.o" ...
compiling object file "obj/nalucommon.o" ...
compiling object file "obj/output.o" ...
compiling object file "obj/parset.o" ...
compiling object file "obj/parsetcommon.o" ...
compiling object file "obj/rtp.o" ...
compiling object file "obj/sei.o" ...
compiling object file "obj/transform8x8.o" ...
compiling object file "obj/vlc.o" ...

creating binary "../bin/ldecod.exe"
... done

update tag table
/bin/sh: ctags: not found
make: *** [tags] Erreur 127
Compiling x264
rm -f .depend
( echo -n "`dirname common/mc.c`/" && gcc -O4 -ffast-math  -Wall -I. -DHAVE_MALLOC_H -DARCH_X86 -DSYS_LINUX -DHAVE_PTHREAD -s -fomit-frame-pointer  common/mc.c -MM -g0 ) 1>> .depend;  ( echo -n "`dirname common/predict.c`/" && gcc -O4 -ffast-math  -Wall -I. -DHAVE_MALLOC_H -DARCH_X86 -DSYS_LINUX -DHAVE_PTHREAD -s -fomit-frame-pointer  common/predict.c -MM -g0 ) 1>> .depend;  ( echo -n "`dirname common/pixel.c`/" && gcc -O4 -ffast-math  -Wall -I. -DHAVE_MALLOC_H -DARCH_X86 -DSYS_LINUX -DHAVE_PTHREAD -s -fomit-frame-pointer  common/pixel.c -MM -g0 ) 1>> .depend;  ( echo -n "`dirname common/macroblock.c`/" && gcc -O4 -ffast-math  -Wall -I. -DHAVE_MALLOC_H -DARCH_X86 -DSYS_LINUX -DHAVE_PTHREAD -s -fomit-frame-pointer  common/macroblock.c -MM -g0 ) 1>> .depend;  ( echo -n "`dirname common/frame.c`/" && gcc -O4 -ffast-math  -Wall -I. -DHAVE_MALLOC_H -DARCH_X86 -DSYS_LINUX -DHAVE_PTHREAD -s -fomit-frame-pointer  common/frame.c -MM -g0 ) 1>> .depend;  ( echo -n "`dirname common/dct.c`/" && gcc -O4 -ffast-math  -Wall -I. -DHAVE_MALLOC_H -DARCH_X86 -DSYS_LINUX -DHAVE_PTHREAD -s -fomit-frame-pointer  common/dct.c -MM -g0 ) 1>> .depend;  ( echo -n "`dirname common/cpu.c`/" && gcc -O4 -ffast-math  -Wall -I. -DHAVE_MALLOC_H -DARCH_X86 -DSYS_LINUX -DHAVE_PTHREAD -s -fomit-frame-pointer  common/cpu.c -MM -g0 ) 1>> .depend;  ( echo -n "`dirname common/cabac.c`/" && gcc -O4 -ffast-math  -Wall -I. -DHAVE_MALLOC_H -DARCH_X86 -DSYS_LINUX -DHAVE_PTHREAD -s -fomit-frame-pointer  common/cabac.c -MM -g0 ) 1>> .depend;  ( echo -n "`dirname common/common.c`/" && gcc -O4 -ffast-math  -Wall -I. -DHAVE_MALLOC_H -DARCH_X86 -DSYS_LINUX -DHAVE_PTHREAD -s -fomit-frame-pointer  common/common.c -MM -g0 ) 1>> .depend;  ( echo -n "`dirname common/mdate.c`/" && gcc -O4 -ffast-math  -Wall -I. -DHAVE_MALLOC_H -DARCH_X86 -DSYS_LINUX -DHAVE_PTHREAD -s -fomit-frame-pointer  common/mdate.c -MM -g0 ) 1>> .depend;  ( echo -n "`dirname common/csp.c`/" && gcc -O4 -ffast-math  -Wall -I. -DHAVE_MALLOC_H -DARCH_X86 -DSYS_LINUX -DHAVE_PTHREAD -s -fomit-frame-pointer  common/csp.c -MM -g0 ) 1>> .depend;  ( echo -n "`dirname common/set.c`/" && gcc -O4 -ffast-math  -Wall -I. -DHAVE_MALLOC_H -DARCH_X86 -DSYS_LINUX -DHAVE_PTHREAD -s -fomit-frame-pointer  common/set.c -MM -g0 ) 1>> .depend;  ( echo -n "`dirname common/quant.c`/" && gcc -O4 -ffast-math  -Wall -I. -DHAVE_MALLOC_H -DARCH_X86 -DSYS_LINUX -DHAVE_PTHREAD -s -fomit-frame-pointer  common/quant.c -MM -g0 ) 1>> .depend;  ( echo -n "`dirname encoder/analyse.c`/" && gcc -O4 -ffast-math  -Wall -I. -DHAVE_MALLOC_H -DARCH_X86 -DSYS_LINUX -DHAVE_PTHREAD -s -fomit-frame-pointer  encoder/analyse.c -MM -g0 ) 1>> .depend;  ( echo -n "`dirname encoder/me.c`/" && gcc -O4 -ffast-math  -Wall -I. -DHAVE_MALLOC_H -DARCH_X86 -DSYS_LINUX -DHAVE_PTHREAD -s -fomit-frame-pointer  encoder/me.c -MM -g0 ) 1>> .depend;  ( echo -n "`dirname encoder/ratecontrol.c`/" && gcc -O4 -ffast-math  -Wall -I. -DHAVE_MALLOC_H -DARCH_X86 -DSYS_LINUX -DHAVE_PTHREAD -s -fomit-frame-pointer  encoder/ratecontrol.c -MM -g0 ) 1>> .depend;  ( echo -n "`dirname encoder/set.c`/" && gcc -O4 -ffast-math  -Wall -I. -DHAVE_MALLOC_H -DARCH_X86 -DSYS_LINUX -DHAVE_PTHREAD -s -fomit-frame-pointer  encoder/set.c -MM -g0 ) 1>> .depend;  ( echo -n "`dirname encoder/macroblock.c`/" && gcc -O4 -ffast-math  -Wall -I. -DHAVE_MALLOC_H -DARCH_X86 -DSYS_LINUX -DHAVE_PTHREAD -s -fomit-frame-pointer  encoder/macroblock.c -MM -g0 ) 1>> .depend;  ( echo -n "`dirname encoder/cabac.c`/" && gcc -O4 -ffast-math  -Wall -I. -DHAVE_MALLOC_H -DARCH_X86 -DSYS_LINUX -DHAVE_PTHREAD -s -fomit-frame-pointer  encoder/cabac.c -MM -g0 ) 1>> .depend;  ( echo -n "`dirname encoder/cavlc.c`/" && gcc -O4 -ffast-math  -Wall -I. -DHAVE_MALLOC_H -DARCH_X86 -DSYS_LINUX -DHAVE_PTHREAD -s -fomit-frame-pointer  encoder/cavlc.c -MM -g0 ) 1>> .depend;  ( echo -n "`dirname encoder/encoder.c`/" && gcc -O4 -ffast-math  -Wall -I. -DHAVE_MALLOC_H -DARCH_X86 -DSYS_LINUX -DHAVE_PTHREAD -s -fomit-frame-pointer  encoder/encoder.c -MM -g0 ) 1>> .depend;  ( echo -n "`dirname encoder/eval.c`/" && gcc -O4 -ffast-math  -Wall -I. -DHAVE_MALLOC_H -DARCH_X86 -DSYS_LINUX -DHAVE_PTHREAD -s -fomit-frame-pointer  encoder/eval.c -MM -g0 ) 1>> .depend;  ( echo -n "`dirname x264.c`/" && gcc -O4 -ffast-math  -Wall -I. -DHAVE_MALLOC_H -DARCH_X86 -DSYS_LINUX -DHAVE_PTHREAD -s -fomit-frame-pointer  x264.c -MM -g0 ) 1>> .depend;  ( echo -n "`dirname matroska.c`/" && gcc -O4 -ffast-math  -Wall -I. -DHAVE_MALLOC_H -DARCH_X86 -DSYS_LINUX -DHAVE_PTHREAD -s -fomit-frame-pointer  matroska.c -MM -g0 ) 1>> .depend;  ( echo -n "`dirname muxers.c`/" && gcc -O4 -ffast-math  -Wall -I. -DHAVE_MALLOC_H -DARCH_X86 -DSYS_LINUX -DHAVE_PTHREAD -s -fomit-frame-pointer  muxers.c -MM -g0 ) 1>> .depend;
gcc -O4 -ffast-math  -Wall -I. -DHAVE_MALLOC_H -DARCH_X86 -DSYS_LINUX -DHAVE_PTHREAD -s -fomit-frame-pointer   -c -o x264.o x264.c
gcc -O4 -ffast-math  -Wall -I. -DHAVE_MALLOC_H -DARCH_X86 -DSYS_LINUX -DHAVE_PTHREAD -s -fomit-frame-pointer   -c -o muxers.o muxers.c
gcc -O4 -ffast-math  -Wall -I. -DHAVE_MALLOC_H -DARCH_X86 -DSYS_LINUX -DHAVE_PTHREAD -s -fomit-frame-pointer   -c -o encoder/set.o encoder/set.c
ar rc libx264.a common/mc.o common/predict.o common/pixel.o common/macroblock.o common/frame.o common/dct.o common/cpu.o common/cabac.o common/common.o common/mdate.o common/csp.o common/set.o common/quant.o encoder/analyse.o encoder/me.o encoder/ratecontrol.o encoder/set.o encoder/macroblock.o encoder/cabac.o encoder/cavlc.o encoder/encoder.o encoder/eval.o 
ranlib libx264.a
gcc -o x264 x264.o matroska.o muxers.o libx264.a -lm -lpthread -s
Compiling x264 done
 
 
Run the installasroot script as root to install the software in /usr/local/bin
 
The ./compile script has ended.
Installing xporthdmv into /usr/local
Installing hdrsr1 into /usr/local
Installing m2tstoavi into /usr/local
Doing make install for x264
install -d /usr/local/bin /usr/local/include
install -d /usr/local/lib /usr/local/lib/pkgconfig
install -m 644 x264.h /usr/local/include
install -m 644 libx264.a /usr/local/lib
install -m 644 x264.pc /usr/local/lib/pkgconfig
install x264 /usr/local/bin
ranlib /usr/local/lib/libx264.a
using:
./xporthdmv
ldecod: Command not found.
MPlayer 2:1.0~rc1-0ubuntu9.1 (C) 2000-2006 MPlayer Team
CPU: AMD Athlon(tm) 64 Processor 3500+ (Family: 15, Model: 95, Stepping: 2)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing samplevideo.avi.
File not found: 'samplevideo.avi'
Failed to open samplevideo.avi.


Exiting... (End of file)

Dernière modification par casimir (Le 11/08/2007, à 18:32)

Hors ligne

#10 Le 30/10/2007, à 00:04

doobs

Re : [Résolu] Installation d'un tar.gz "/bin/csh : mauvais interpréteur:"

salut,

j'ai bataillé aussi pour installer  m2tstoavi
dans ton cas, il te manque ctags :
$ sudo aptitude install ctags.

pour ceux que ça interesse, voici ce qu'il faut entre autres :
subversion, ctags, build-essential, ffmpeg, faad, faac, a52dec, mencoder, csh, x264.

Apres, il se peut que le script d'install foire lors de la récupération de "ldecod". Il faut voir si la version téléchargée via le fichie "download" est la meme que celle présente sur le site suivant : http://iphome.hhi.de/suehring/tml/download/

normalement, avec ça c bueno, ca vous fait un fichier avi qui se lit bien avec mplayer et qui s'édite bien avec kdenlive wink

Hors ligne

#11 Le 01/11/2007, à 22:08

casimir

Re : [Résolu] Installation d'un tar.gz "/bin/csh : mauvais interpréteur:"

J'y était arrivé, sur lprod j'ai fai un ptit tuto, àprés avoir modifié et mis a disposition les script modifiés pour une plus simple installation. (enfin je croit)
http://fr.lprod.org/wiki/doku.php?id=vi … scope_m2ts
je ne parle pas de faad, faac ni de a52dec peut etre étaient t'ils déja installer sur ma machine ou sont t'ils intégrées dans le paquet build-essential, ?

Hors ligne

#12 Le 03/02/2008, à 23:59

krislec

Re : [Résolu] Installation d'un tar.gz "/bin/csh : mauvais interpréteur:"

Salut ...
J'essais en vain d'installer m2tstoavi ....mais rien. J'ai suivi la procédure ici et là , mis les paquets qu'il fallait mais j'ai toujours un message du style "core dumped" ????
QUEZAKO ???

Mon micropross qu'est trop lédge ??? (P4 3Ghz)

K.

 Exit JM 13 (FRExt) decoder, ver 13.2 
mencoder /tmp/00003.yuv -demuxer rawvideo -rawvideo w=1440:h=1080 -aspect 16:9 -ofps 29.97 -audiofile /tmp/00003.ac3 -oac copy -ovc x264 -x264encopts bitrate=15000 -o 00003.avi
MEncoder dev-SVN-r24350-4.1.2 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Pentium(R) 4 CPU 3.06GHz (Family: 15, Model: 2, Stepping: 9)
CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2

Illegal instruction (core dumped)
/usr/local/bin/m2tstoavi complete.

Dernière modification par krislec (Le 04/02/2008, à 00:00)


PC bureau Quad Core 2.4Ghz ....Natty 11.10, mais UBUNTU classique !!!

Hors ligne

#13 Le 05/02/2008, à 15:14

krislec

Re : [Résolu] Installation d'un tar.gz "/bin/csh : mauvais interpréteur:"

Up ...

K.


PC bureau Quad Core 2.4Ghz ....Natty 11.10, mais UBUNTU classique !!!

Hors ligne

#14 Le 08/02/2008, à 21:54

casimir

Re : [Résolu] Installation d'un tar.gz "/bin/csh : mauvais interpréteur:"

C'est quoi le code que tu as donné c'est l'ors de l'install, ou d'une conversion aprés l'install ?

Hors ligne

#15 Le 15/06/2008, à 17:16

zebreton

Re : [Résolu] Installation d'un tar.gz "/bin/csh : mauvais interpréteur:"

Bonjour,

J'ai bien suivi les instruction et lorsque je lance

m2tstoavi ./file.MTS

J'obtiens :

XXXXX@XXXXX:~$ m2tstoavi ./home/zebreton/00057.MTS
rm: No match.
using:
/usr/local/bin/xporthdmv
ldecod: Command not found.

Avez-vous une idée de mon problème ?

D'avance merci, zebreton.

#16 Le 15/06/2008, à 20:42

casimir

Re : [Résolu] Installation d'un tar.gz "/bin/csh : mauvais interpréteur:"

Sous hardy j'ai pas modifié le script, donne moi les resultats ci dessous:
ls /usr/local/bin
et
ls /usr/local/bin/m2ts/src

j'ai fait un tuto ici http://fr.lprod.org/wiki/doku.php?id=vi … scope_m2ts
il faut sans doute déplacer le fichier ldecod.

Hors ligne

#17 Le 16/06/2008, à 10:34

zebreton

Re : [Résolu] Installation d'un tar.gz "/bin/csh : mauvais interpréteur:"

Bonjour,

Merci de ton support :

zebreton@zebreton-laptop:~$ ls /usr/local/bin
hdrsr1  ldecod  ldecod.exe  m2ts  m2tstoavi  xporthdmv
zebreton@zebreton-laptop:~$ ls /usr/local/bin/m2ts/src
apr-1.2.9       apr-util-1.2.8.tar  readme.txt    xport.exe
apr-1.2.9.tar   JM                  xport.c       xport.zip
apr-util-1.2.8  jm14.zip            xport.c.orig

Je regarde le Tuto de plus près.

Encore merci.

Salutations, zebreton.

#18 Le 16/06/2008, à 20:32

casimir

Re : [Résolu] Installation d'un tar.gz "/bin/csh : mauvais interpréteur:"

C'est étonant ce message, puisque ldecod est bien présent.
Ldecod.exe n'est pas utile dans /usr/local/bin
Refait l'install comme sur mon tuto et donne les résultats de celle-ci.
Reprend le tar.gz que j'ai fait si tu veux.

Hors ligne

#19 Le 28/07/2008, à 11:28

gtkshroom

Re : [Résolu] Installation d'un tar.gz "/bin/csh : mauvais interpréteur:"

Bonjour, j'ai suivi le très bon tuto sur lprod pour l'installation de m2tstoavi mais je me heurte à un petit problème, ldecod ne veut désespérément pas se trouver dans /usr/local/bin/m2ts/src/ pour ensuite pouvoir être déplacer avec la commande mv comme précisé dans le tuto.

J'obtiens l'erreur classique:

rm: No match.
using:
/usr/local/bin/xporthdmv
ldecod: Command not found.

Comment dois-je faire?

Hors ligne

#20 Le 28/07/2008, à 20:11

casimir

Re : [Résolu] Installation d'un tar.gz "/bin/csh : mauvais interpréteur:"

a tu installé ? comme je ne l'ai pas précissé, le paquet "build-essential"  ca doit etre ca, tu refait ./compile, make et sudo make install ensuite ldecod se trouvera dans /usr/local/bin/m2ts/src
enfin, en principe ! et tu pourra le placer dans /usr/local/bin
J'ai si tu veux voici la commande mencoder que j'utilise a remplacer dans le script.

mencoder $videofifo -ffourcc DX50 -demuxer rawvideo -rawvideo w=1440:h=1080 -aspect 16:9 -ofps 25 \
			      -vf scale=1440:1080,harddup \
			      -oac copy  \
			      -audiofile $audiofile \
			        -audio-demuxer 20 -rawaudio format=0x2000:bitrate=384000:channels=5:rate=44100 \
			      -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=15000:aspect=16/9 \
			      -o $outputfile

		&& ffmpeg -i $outputfile -s pal -r pal -aspect 16:9 -ar 48000 -ac 2 /home/studio/mtstodv/$filebase".dv"

Hors ligne

#21 Le 28/07/2008, à 20:20

gtkshroom

Re : [Résolu] Installation d'un tar.gz "/bin/csh : mauvais interpréteur:"

Le paquet build-essential est bien installé.
Avec un ./compile, j'obtiens ceci, je ne vois pas sur quoi ça peut bloquer... hmm

louis@pc-tux:/usr/local/bin/m2ts$ sudo ./compile
[sudo] password for louis: 
Starting ./compile script.
Creating obj ...

checking dependencies


creating binary "../bin/ldecod.exe"
... done

cp: ne peut évaluer `../bin/ldecod.exe': Aucun fichier ou dossier de ce type
chmod: ne peut accéder `/usr/local/bin/m2ts/src/ldecod': Aucun fichier ou dossier de ce type
 
Run the installasroot script as root to install the software in /usr/local/bin
 
The ./compile script has ended.

./installasroot donne:

louis@pc-tux:/usr/local/bin/m2ts$ sudo ./installasroot 
Installing xporthdmv into /usr/local
Installing hdrsr1 into /usr/local
Installing m2tstoavi into /usr/local

Dernière modification par MiCrOsCo-PuCe (Le 28/07/2008, à 20:20)

Hors ligne

#22 Le 28/07/2008, à 20:35

casimir

Re : [Résolu] Installation d'un tar.gz "/bin/csh : mauvais interpréteur:"

ok, tu ouvre le script
sudo gedit /usr/local/bin/m2ts/compile

tu modifie les lignes 19 et 20 par

cd JM/ldecod && make && cd ..
cp ../JM/bin/ldecod.exe ../../ldecod

Hors ligne

#23 Le 28/07/2008, à 20:52

gtkshroom

Re : [Résolu] Installation d'un tar.gz "/bin/csh : mauvais interpréteur:"

C'est bon, ça a fonctionné. Avec les lignes modifiées, j'ai refait un ./compile, ./install et un ./installasroot et ldecod s'est enfin installé.

Merci beaucoup pour votre aide! big_smile

Hors ligne

#24 Le 28/07/2008, à 21:16

casimir

Re : [Résolu] Installation d'un tar.gz "/bin/csh : mauvais interpréteur:"

Je modifie le tuto et le script. dés ce soir.

Hors ligne

#25 Le 06/08/2008, à 19:18

René B

Re : [Résolu] Installation d'un tar.gz "/bin/csh : mauvais interpréteur:"

Bonjour

J'ai fait l'installation de m2tstoavi sans problème et la conversion de la petite vidéo est bonne
Je n'ai pas résolu pour autant mes problèmes avec les fichiers de mon camescope Sanyo Xacti VPC-HD1000
Mes essais de conversion de mes fichiers MP4 que je croyais au format AVCHD, n'aboutissent pas
J'espérais arriver à mieux utiliser ces fichiers car si j'arrive par exemple à les charger dans kdenlive, le montage n'est pas satisfaisant car il ne correspond pas à ce qui est demandé. Après un passage des fichiers par ffmpeg, j'arrive à les charger dans Cinelerra et à faire du montage mais il y a souvent des erreurs et le rendu n'est pas toujours correct.
Quel est donc le format de mes fichiers ?
Si vous avez des idées sur la manière de résoudre mes problèmes, merci d'avance de vos réponses

A tout hasard je vous donne la fin du traitement

packets for pid 8189 <0x1ffd> = 7, first = 1154, last = 29913
packets for pid 8190 <0x1ffe> = 5, first = 8128, last = 27302
packets for pid 8191 <0x1fff> = 13, first = 5354, last = 31156
coded pictures = 0, video fields = 0
Ending audio to video PTS difference = 0 ticks, 0.000000 milliseconds
ldecod -i bits0001.mpv -o /tmp/1920_1080_60_full-hd.MP4.yuv
----------------------------- JM 14.0 (FRExt) -----------------------------
Decoder config file                    : (null)
--------------------------------------------------------------------------
Input H.264 bitstream                  : bits0001.mpv
Output decoded YUV                     : /tmp/1920_1080_60_full-hd.MP4.yuv
Output status file                     : log.dec
Input reference file                   : test_rec.yuv does not exist
                                          SNR values are not available
--------------------------------------------------------------------------
POC must = frame# or field# for SNRs to be correct
--------------------------------------------------------------------------
  Frame          POC  Pic#   QP    SnrY     SnrU     SnrV   Y:U:V Time(ms)
--------------------------------------------------------------------------
GetAnnexbNALU can't read start code
Error while getting the NALU in file format Annex B, exit

mencoder /tmp/1920_1080_60_full-hd.MP4.yuv -ffourcc DX50 -demuxer rawvideo -rawvideo w=1440:h=1080 -aspect 16:9 -ofps 29.97 -vf scale=720:576,harddup -audiofile /tmp/1920_1080_60_full-hd.MP4.ac3 -oac mp3lame -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=5000:aspect=16/9 -o 1920_1080_60_full-hd.MP4.avi
MEncoder 2:1.0~rc2-0ubuntu13+medibuntu1 (C) 2000-2007 MPlayer Team
CPU: AMD Athlon(tm) XP 2500+ (Family: 6, Model: 10, Stepping: 0)
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled with runtime CPU detection.
success: format: 0  data: 0x0 - 0x0
rawvideo file format detected.
Win32 LoadLibrary failed to load: avisynth.dll, /usr/lib/win32/avisynth.dll, /usr/local/lib/win32/avisynth.dll
Seek failed
Failed to open audio demuxer: /tmp/1920_1080_60_full-hd.MP4.ac3
[V] filefmt:26  fourcc:0x30323449  size:1440x1080  fps:25.00  ftime:=0.0400
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
Opening video filter: [harddup]
Opening video filter: [scale w=720 h=576]
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 1440 x 1080 (preferred colorspace: Planar I420)
VDec: using Planar I420 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
SwScaler: reducing / aligning filtersize 9 -> 8
SwScaler: reducing / aligning filtersize 9 -> 8
SwScaler: reducing / aligning filtersize 9 -> 8
SwScaler: reducing / aligning filtersize 9 -> 8
[swscaler @ 0x8810770]SwScaler: BICUBIC scaler, from yuv420p to yuv420p using MMX2
[swscaler @ 0x8810770]SwScaler: using 8-tap MMX scaler for horizontal luminance scaling
[swscaler @ 0x8810770]SwScaler: using 8-tap MMX scaler for horizontal chrominance scaling
[swscaler @ 0x8810770]SwScaler: using n-tap MMX scaler for vertical scaling (YV12 like)
[swscaler @ 0x8810770]SwScaler: 1440x1080 -> 720x576
videocodec: libavcodec (720x576 fourcc=34504d46 [FMP4])
Selected video codec: [rawi420] vfm: raw (RAW I420)
==========================================================================
Forcing output FourCC to 30355844 [DX50].

Flushing video frames.
Writing index...
Writing header...
ODML: vprp aspect is 16:9.

Video stream:      nan kbit/s  (-2147483648 B/s)  size: 0 bytes  0.000 secs  0 frames
/usr/local/bin/m2tstoavi complete.


Reunig Kozh °¿°
Les conférences d'Entrée Libre #2 sont en ligne sur https://peertube.ecologie.bzh/c/entree_libre_2/videos

Hors ligne