Pagina 1 di 2
gstreamer da problemi
Inviato: ven 2 mag 2008, 8:52
da huvber
ho installato gstreamer per far funzionare exaile ma non funziona.. allora ho provato a fare gst-launch per vedere che mi dice e mi da questo errore
Codice: Seleziona tutto
ERROR: pipeline could not be constructed: empty pipeline not allowed.
che devo fare?
Re: gstreamer da problemi
Inviato: dom 4 mag 2008, 12:18
da huvber
nessuno sa spiegarmi che significa quell'errore?
io credo che sia a causa di quello che non riesco ad usare nessun programma basato su gstreamer (exaile per esempio)
Re: gstreamer da problemi
Inviato: dom 4 mag 2008, 12:22
da d4z_c0nf
huvber ha scritto:nessuno sa spiegarmi che significa quell'errore?
io credo che sia a causa di quello che non riesco ad usare nessun programma basato su gstreamer (exaile per esempio)
Ciao, proprio ieri ho scaricato e ricompilato tutti i pacchetti gstreamer per la 12.1 utilizzando gli SlackBuild di slacky, per usare exaile comunque ti serve anche gst-python che almeno io non ho trovato su slacky. Tu che pacchetti hai preso?
rock
Re: gstreamer da problemi
Inviato: dom 4 mag 2008, 18:51
da huvber
gst python non l'ho trovato neanche io... mi potresti dire dove lo trovo... anche solo i sorgenti
Re: gstreamer da problemi
Inviato: dom 4 mag 2008, 18:55
da d4z_c0nf
huvber ha scritto:gst python non l'ho trovato neanche io... mi potresti dire dove lo trovo... anche solo i sorgenti
http://gstreamer.freedesktop.org/src/gst-python/
sul sito di gstreamer in pratica, ovviamente questi sono sorgenti
ah, comunque prova a lanciarlo da shell exaile, così vedi che errori ti da
rock
Re: gstreamer da problemi
Inviato: dom 4 mag 2008, 18:58
da huvber
quindi se me li compilo senza fare il pacchetto tgz dovrebbe andar bene lo stesso
EDIT provando a compilare mi da questo errore
Codice: Seleziona tutto
bash-3.1# make
if test -f pygst.py; then chmod +w pygst.py; fi
sed -e "s|@PYGSTDIR\@|/root/gst-python-0.10.11|g" \
-e "s|@GST_MAJORMINOR\@|0.10|g" \
pygst.py.in > pygst.py
chmod -w pygst.py
make all-recursive
make[1]: Entering directory `/root/gst-python-0.10.11'
Making all in codegen
make[2]: Entering directory `/root/gst-python-0.10.11/codegen'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/gst-python-0.10.11/codegen'
Making all in gst
make[2]: Entering directory `/root/gst-python-0.10.11/gst'
Making all in extend
make[3]: Entering directory `/root/gst-python-0.10.11/gst/extend'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/root/gst-python-0.10.11/gst/extend'
make[3]: Entering directory `/root/gst-python-0.10.11/gst'
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/python2.5 -I/usr/include/python2.5 -I/usr/include/pygtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/local/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -Wall -fno-strict-aliasing -g -O2 -MT _gst_la-gst-argtypes.lo -MD -MP -MF ".deps/_gst_la-gst-argtypes.Tpo" -c -o _gst_la-gst-argtypes.lo `test -f 'gst-argtypes.c' || echo './'`gst-argtypes.c; \
then mv -f ".deps/_gst_la-gst-argtypes.Tpo" ".deps/_gst_la-gst-argtypes.Plo"; else rm -f ".deps/_gst_la-gst-argtypes.Tpo"; exit 1; fi
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/python2.5 -I/usr/include/python2.5 -I/usr/include/pygtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/local/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -Wall -fno-strict-aliasing -g -O2 -MT _gst_la-gst-argtypes.lo -MD -MP -MF .deps/_gst_la-gst-argtypes.Tpo -c gst-argtypes.c -fPIC -DPIC -o .libs/_gst_la-gst-argtypes.o
In file included from gst-argtypes.c:26:
common.h:29:21: error: gst/gst.h: No such file or directory
In file included from common.h:32,
from gst-argtypes.c:26:
pygstminiobject.h:25: error: expected specifier-qualifier-list before 'GstMiniObject'
pygstminiobject.h:31: error: expected ')' before '*' token
In file included from gst-argtypes.c:26:
common.h:68: error: expected specifier-qualifier-list before 'GstIterator'
common.h:75: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
common.h:76: error: expected ')' before '*' token
gst-argtypes.c:37: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
make[3]: *** [_gst_la-gst-argtypes.lo] Error 1
make[3]: Leaving directory `/root/gst-python-0.10.11/gst'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/gst-python-0.10.11/gst'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/gst-python-0.10.11'
make: *** [all] Error 2
EDIT ho già provato Exaile mi da questo errore:
Codice: Seleziona tutto
bash-3.1# exaile
Traceback (most recent call last):
File "/usr/lib/exaile/exaile.py", line 144, in <module>
main()
File "/usr/lib/exaile/exaile.py", line 136, in main
exaile = exailemain.ExaileWindow(options, xl.path.firstrun)
File "/usr/lib/exaile/xl/gui/main.py", line 100, in __init__
self.player = player.ExailePlayer(self)
File "/usr/lib/exaile/xl/player.py", line 279, in __init__
GSTPlayer.__init__(self)
File "/usr/lib/exaile/xl/player.py", line 48, in __init__
self.setup_playbin()
File "/usr/lib/exaile/xl/player.py", line 424, in setup_playbin
GSTPlayer.setup_playbin(self)
File "/usr/lib/exaile/xl/player.py", line 51, in setup_playbin
self.playbin = gst.element_factory_make('playbin')
ElementNotFoundError: playbin
sul forum di exaile il tizio mi ha detto che mi manca il gstreamer-plugin base ma io ce l'ho
Re: gstreamer da problemi
Inviato: dom 4 mag 2008, 19:05
da d4z_c0nf
huvber ha scritto:quindi se me li compilo senza fare il pacchetto tgz dovrebbe andar bene lo stesso
EDIT provando a compilare mi da questo errore
Codice: Seleziona tutto
bash-3.1# make
if test -f pygst.py; then chmod +w pygst.py; fi
sed -e "s|@PYGSTDIR\@|/root/gst-python-0.10.11|g" \
-e "s|@GST_MAJORMINOR\@|0.10|g" \
pygst.py.in > pygst.py
chmod -w pygst.py
make all-recursive
make[1]: Entering directory `/root/gst-python-0.10.11'
Making all in codegen
make[2]: Entering directory `/root/gst-python-0.10.11/codegen'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/gst-python-0.10.11/codegen'
Making all in gst
make[2]: Entering directory `/root/gst-python-0.10.11/gst'
Making all in extend
make[3]: Entering directory `/root/gst-python-0.10.11/gst/extend'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/root/gst-python-0.10.11/gst/extend'
make[3]: Entering directory `/root/gst-python-0.10.11/gst'
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/python2.5 -I/usr/include/python2.5 -I/usr/include/pygtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/local/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -Wall -fno-strict-aliasing -g -O2 -MT _gst_la-gst-argtypes.lo -MD -MP -MF ".deps/_gst_la-gst-argtypes.Tpo" -c -o _gst_la-gst-argtypes.lo `test -f 'gst-argtypes.c' || echo './'`gst-argtypes.c; \
then mv -f ".deps/_gst_la-gst-argtypes.Tpo" ".deps/_gst_la-gst-argtypes.Plo"; else rm -f ".deps/_gst_la-gst-argtypes.Tpo"; exit 1; fi
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/python2.5 -I/usr/include/python2.5 -I/usr/include/pygtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/local/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -Wall -fno-strict-aliasing -g -O2 -MT _gst_la-gst-argtypes.lo -MD -MP -MF .deps/_gst_la-gst-argtypes.Tpo -c gst-argtypes.c -fPIC -DPIC -o .libs/_gst_la-gst-argtypes.o
In file included from gst-argtypes.c:26:
common.h:29:21: error: gst/gst.h: No such file or directory
In file included from common.h:32,
from gst-argtypes.c:26:
pygstminiobject.h:25: error: expected specifier-qualifier-list before 'GstMiniObject'
pygstminiobject.h:31: error: expected ')' before '*' token
In file included from gst-argtypes.c:26:
common.h:68: error: expected specifier-qualifier-list before 'GstIterator'
common.h:75: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
common.h:76: error: expected ')' before '*' token
gst-argtypes.c:37: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
make[3]: *** [_gst_la-gst-argtypes.lo] Error 1
make[3]: Leaving directory `/root/gst-python-0.10.11/gst'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/gst-python-0.10.11/gst'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/gst-python-0.10.11'
make: *** [all] Error 2
mm Io ho anche un pacchetto compilato per la 12 ma è 0.10.9 se vuoi te lo do
a me funzionava
Re: gstreamer da problemi
Inviato: dom 4 mag 2008, 19:07
da d4z_c0nf
huvber ha scritto:
sul forum di exaile il tizio mi ha detto che mi manca il gstreamer-plugin base ma io ce l'ho
ma se non hai pygst non può mai funzionare
perchè pygst è un binder tra python e gstreamer
Re: gstreamer da problemi
Inviato: dom 4 mag 2008, 19:09
da huvber
d4z_c0nf ha scritto:
mm Io ho anche un pacchetto compilato per la 12 ma è 0.10.9 se vuoi te lo do
a me funzionava
ok me lo provi a passare
Re: gstreamer da problemi
Inviato: dom 4 mag 2008, 19:13
da d4z_c0nf
huvber ha scritto:d4z_c0nf ha scritto:
mm Io ho anche un pacchetto compilato per la 12 ma è 0.10.9 se vuoi te lo do
a me funzionava
ok me lo provi a passare
Inviato sulla casella di posta.
rock
Re: gstreamer da problemi
Inviato: dom 4 mag 2008, 19:15
da huvber
d4z_c0nf ha scritto:huvber ha scritto:d4z_c0nf ha scritto:
mm Io ho anche un pacchetto compilato per la 12 ma è 0.10.9 se vuoi te lo do
a me funzionava
ok me lo provi a passare
Inviato sulla casella di posta.
rock
grazie mille ora provo
Re: gstreamer da problemi
Inviato: dom 4 mag 2008, 19:17
da huvber
non cambia nulla
Re: gstreamer da problemi
Inviato: dom 4 mag 2008, 19:24
da d4z_c0nf
huvber ha scritto:non cambia nulla
mm
ma hai installato tutti i pacchetti di gstreamer?
sono
gstreamer
gst-plugin-base/good/bad/ugly
gst-python
ovviamente questi hanno delle dipendenze, se non sei sicuro di aver soddisfatto tutte le dipendenze di questi pacchetti cerca su slacky i vari pacchetti, clicchi su download e vai in src del Repository per quel pacchetto e guardati un po' il file slackrequired.
Anche se slacky non segnala tutte le dipendenze di exaile, per esempio non segnala la dipendenza dai i plugin bad ugly e good.
Buona fortuna
Re: gstreamer da problemi
Inviato: dom 4 mag 2008, 19:28
da huvber
d4z_c0nf ha scritto:huvber ha scritto:non cambia nulla
mm
ma hai installato tutti i pacchetti di gstreamer?
sono
gstreamer
gst-plugin-base/good/bad/ugly
gst-python
ovviamente questi hanno delle dipendenze, se non sei sicuro di aver soddisfatto tutte le dipendenze di questi pacchetti cerca su slacky i vari pacchetti, clicchi su download e vai in src del Repository per quel pacchetto e guardati un po' il file slackrequired.
Anche se slacky non segnala tutte le dipendenze di exaile, per esempio non segnala la dipendenza dai i plugin bad ugly e good.
Buona fortuna
ti spiego com'è andata
ho installato tutti i pachetti e la gui di exaile partiva
ma non leggeva gli mp3
e mi dava un errore di gstreamer
allora ho provato a compilarli a mano e ora non parte neanche + la gui
Re: gstreamer da problemi
Inviato: dom 4 mag 2008, 19:42
da d4z_c0nf
huvber ha scritto:d4z_c0nf ha scritto:huvber ha scritto:non cambia nulla
mm
ma hai installato tutti i pacchetti di gstreamer?
sono
gstreamer
gst-plugin-base/good/bad/ugly
gst-python
ovviamente questi hanno delle dipendenze, se non sei sicuro di aver soddisfatto tutte le dipendenze di questi pacchetti cerca su slacky i vari pacchetti, clicchi su download e vai in src del Repository per quel pacchetto e guardati un po' il file slackrequired.
Anche se slacky non segnala tutte le dipendenze di exaile, per esempio non segnala la dipendenza dai i plugin bad ugly e good.
Buona fortuna
ti spiego com'è andata
ho installato tutti i pachetti e la gui di exaile partiva
ma non leggeva gli mp3
e mi dava un errore di gstreamer
allora ho provato a compilarli a mano e ora non parte neanche + la gui
A mano senza fare gli installer? mm quindi è probabile che tu abbia dei residui da qualche parte.
Comunque anche a me era andata così (cioè non mi leggeva gli mp3) ma dopo aver installato tutti i plugin compresi bad ugly e good, che come ti ho detto slacky non li menziona tra le dipendenze, ha funzionato tutto.
Il problema di quando non fai i pacchetti è che poi non puoi tenere traccia dei file installati. Per toglierli ora dovresti fare un lavoraccio anche se un mezzo metodo c'è, ora ci penso un po' e ti faccio sapere.
rock
Mmm ci ho ripensato, alla fine c'è il metodo ma è scocciante, ti conviene installare dinuovo i pacchetti di slacky così i tuoi file vengono sovrascritti. rock