Benvenuto ospite!


 
Valutazione discussione:
  • 0 voti - 0 media
  • 1
  • 2
  • 3
  • 4
  • 5
gstreamer codecs
Autore Messaggio
faabio Offline
AspireOne Friend
**

Messaggi: 42
Registrato: Mar 2009
Reputazione: 0
Località:
Modello Aspire One: 110L
Messaggio: #1
gstreamer codecs
salve a tutti...ho cercato un pò in giro una guida su come installare i codecs per gstreamer, il player pre-installato in moblin 2.1
tutte le mie ricerche mi hanno riportato ad una sola procedura,di cui dall alto della mia ignoranzo non riesco a completare tutti i punti..infatti una volta scaricati i pacchetti necessari mi viene chiesto di "compilarli" in un determinato ordine e per ognuno eseguire i seguenti comandi
"cd directory
./configure -prefix=/usr
make
sudo make install "
qualcuno può aiutarmi??

in alternativa c è la possibilità di installare i codec tramite la creazione di uno script in un file testo rinominato gstreamer.sh e poi renderlo eseguibile..ma anche qui,come lo si rende eseguibile?
sicuro del vostro aiuto ringrazio tutti in anticipo!!!
19/01/2010 12:00
Find Quote
tafazzi87 Offline
AspireOne Senior
****

Messaggi: 103
Registrato: Jan 2009
Reputazione: 1
Località: Perugia
Modello Aspire One: 110L
Messaggio: #2
RE: gstreamer codecs
si io già l'ho fatto...quella è la procedura giusta e finora è l'unica...ma tranquillo poi funzionerà tutto...per rendere eseguibile un file .sh basta fare "sh nomefile.sh" dal terminale...
19/01/2010 13:26
Website Find Quote
faabio Offline
AspireOne Friend
**

Messaggi: 42
Registrato: Mar 2009
Reputazione: 0
Località:
Modello Aspire One: 110L
Messaggio: #3
RE: gstreamer codecs
credo tu ti riferisca alla seconda procedura e quindi creare una cartella nella directory home,e copiare lo script

#!/bin/bash
yum install gcc bison flex *glib* *diff* liboil*dev* make
wget http://gstreamer.freedesktop.org/src/gst....25.tar.gz
wget http://gstreamer.freedesktop.org/src/gst...0.9.tar.gz
wget http://gstreamer.freedesktop.org/src/gst...bad-0.1...
wget http://gstreamer.freedesktop.org/src/gst...-base-0...
wget http://gstreamer.freedesktop.org/src/gst...-good-0...
wget http://gstreamer.freedesktop.org/src/gst...-ugly-0...
tar xvf gst-ffmpeg-0.10.9.tar.gz
tar xvf gst-plugins-bad-0.10.17.tar.gz
tar xvf gst-plugins-base-0.10.25.tar.gz
tar xvf gst-plugins-good-0.10.17.tar.gz
tar xvf gst-plugins-ugly-0.10.13.tar.gz
tar xvf gstreamer-0.10.25.tar.gz
for directory in gstreamer-0.10.25 gst-plugins-base-0.10.25 gst-plugins-good-0.10.17 gst-plugins-bad-0.10.17 gst-plugins-ugly-0.10.13 gst-ffmpeg-0.10.9
do
cd $directory
./configure -prefix=/usr
make
sudo make install
cd ..

..in un file di testo..fin qua c sono,però se come dici tu faccio nel terminale "sh nomefile.sh" mi dice "no such file or directory"...dove sbaglio?puoi spiegarmi come hai fatto tu?ti ringrazio
19/01/2010 13:47
Find Quote
tafazzi87 Offline
AspireOne Senior
****

Messaggi: 103
Registrato: Jan 2009
Reputazione: 1
Località: Perugia
Modello Aspire One: 110L
Messaggio: #4
RE: gstreamer codecs
allora una volta fatto sudo make install, i codec sono installati non devi fare nient'altro che vedere un filmato capito?
19/01/2010 15:25
Website Find Quote
faabio Offline
AspireOne Friend
**

Messaggi: 42
Registrato: Mar 2009
Reputazione: 0
Località:
Modello Aspire One: 110L
Messaggio: #5
RE: gstreamer codecs
purtroppo non t seguo Sad non capisco a quale delle due procedure ti riferisci..in entrambi i casi non riesco ad arrivare al comando "sudo make install"
se mi spieghi un attimo come "compilare i pacchetti" o come rendere eseguibile un file di testo.sh (ti ho segnalato prima l errore) te ne sarei davvero grato
19/01/2010 15:46
Find Quote
tafazzi87 Offline
AspireOne Senior
****

Messaggi: 103
Registrato: Jan 2009
Reputazione: 1
Località: Perugia
Modello Aspire One: 110L
Messaggio: #6
RE: gstreamer codecs
allora devi scaricare uno per volta i codec io l'ho fatto manualmente senza wget da questo sito http://gstreamer.freedesktop.org/src/ ma cmq come hai fatto te è uguale.
poi li estrai io ho fatto sempre da interfaccia grafica e l'ho estratti nella home adesso prenderò come esempio gstreamer, per bad, ugly ffmpeg etc etc ho fatto la stessa procedura.
a questo punto vai sul terminale e installi l'ambiente di compilazione e gcc con il comando:

yum install gcc flex *glib* *diff* liboil*dev* make

fatto questo scrivi sul terminale:

cd /home/tafazzi87/gstreamer-0.10.25

poi

./configure -prefix=/usr

poi

make

e infine

sudo make install

fatto finito installato, se hai qualke problema postami l'errore che ti dà
io non ho utilizzato nessuno script infatti io t ho risposto alla tua domanda se come si rendeva eseguibile uno script e t ho dato il comando e basta Smile
(Questo messaggio è stato modificato l'ultima volta il: 20/01/2010 13:36 da tafazzi87.)
20/01/2010 13:34
Website Find Quote
faabio Offline
AspireOne Friend
**

Messaggi: 42
Registrato: Mar 2009
Reputazione: 0
Località:
Modello Aspire One: 110L
Messaggio: #7
RE: gstreamer codecs
scaricati i codec necessarei,installato senza problemi l' ambiente di compilazione e gcc poi questo è quello che mi viene fuori..dove sbaglio?Confused
[root@fabio-desktop fabio]# cd //home/fabio/gstreamer-0.10.25
[root@fabio-desktop gstreamer-0.10.25]# ./configure -prefix=/usr
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking nano version... 0 (release)
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for style of include used by make... GNU
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 ISO C89... none needed
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/i586-moblin-linux/bin/ld
checking if the linker (/usr/i586-moblin-linux/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/i586-moblin-linux/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
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 for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/i586-moblin-linux/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... no
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether NLS is requested... yes
checking for msgfmt... no
checking for gmsgfmt... :
checking for xgettext... no
checking for msgmerge... no
checking for ld used by GCC... /usr/i586-moblin-linux/bin/ld
checking if the linker (/usr/i586-moblin-linux/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for VALGRIND... no
no
configure: Using GStreamer source release as package name
configure: Using Unknown package origin as package origin
configure: WARNING: Sissy ! By asking to not build the tests known to fail, you hereby waive your right to customer support. If you do not agree with this EULA, please press Ctrl-C before the next line is printed. By allowing the next line to be printed, you expressly acknowledge your acceptance of this EULA.
checking whether byte ordering is bigendian... no
checking if unaligned memory access works correctly... (whitelisted) yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking whether gcc and cc understand -c and -o together... yes
checking dependency style of gcc... gcc3
checking for perl... /usr/bin/perl
checking for bison... no
configure: error: Could not find bison
[root@fabio-desktop gstreamer-0.10.25]# make
make: *** No targets specified and no makefile found. Stop.
[root@fabio-desktop gstreamer-0.10.25]# make gstreamer-0.10.25
20/01/2010 15:32
Find Quote
tafazzi87 Offline
AspireOne Senior
****

Messaggi: 103
Registrato: Jan 2009
Reputazione: 1
Località: Perugia
Modello Aspire One: 110L
Messaggio: #8
RE: gstreamer codecs
allora premetto che non ho più installato moblin quindi devi fare le prove te...cmq sembra che non sia installato bison quindi prova a ridare il comando
yum install bison
io mi sembra non avevo dato quel comando per installare l'ambiente di compilazione e gli strumenti necessari bensì un groupinstall cioè avevo dato questo comando :
sudo yum groupinstall "Development Tools"
cmq su un altro sito danno questa soluzione alernativa :
sudo yum install gcc flex bison make diffutils glib2-devel pango-devel cairo-devel liboil-devel alsa-lib-devel libtheora-devel libvorbis-devel libogg-devel
(Questo messaggio è stato modificato l'ultima volta il: 20/01/2010 15:41 da tafazzi87.)
20/01/2010 15:37
Website Find Quote
tafazzi87 Offline
AspireOne Senior
****

Messaggi: 103
Registrato: Jan 2009
Reputazione: 1
Località: Perugia
Modello Aspire One: 110L
Messaggio: #9
RE: gstreamer codecs
cmq ora sto scaricandolo e vedo la procedura corretta e t faccio sapere
20/01/2010 17:04
Website Find Quote
faabio Offline
AspireOne Friend
**

Messaggi: 42
Registrato: Mar 2009
Reputazione: 0
Località:
Modello Aspire One: 110L
Messaggio: #10
RE: gstreamer codecs
quello che mancava era proprio bison...dopo quasi due ore di installazioni varie (ho temuto il peggio) finalmente sono riuscito a completare la procedura...file mp3,amr,mov,3gp vanno alla perfezione,non mi resta che provare un file avi..
ti ringrazio per la pazienza e per l aiuto!!
(Questo messaggio è stato modificato l'ultima volta il: 20/01/2010 18:10 da faabio.)
20/01/2010 17:59
Find Quote




Utente(i) che stanno guardando questa discussione: 2 Ospite(i)