Autore Topic: [RISOLTO] Incompatibilita' gambas 3.5.2 con gstreamer?  (Letto 596 volte)

Offline allegfede

  • Gran Maestro dei Gamberi
  • *****
  • Post: 738
    • Mostra profilo
[RISOLTO] Incompatibilita' gambas 3.5.2 con gstreamer?
« il: 17 Febbraio 2014, 19:34:49 »
dopo aver dovuto ri-installare ubuntu (da ubuntu 12.04 a lubuntu 13.10), ho notato che i miei programmi (ma anche l'esempio multimedia del pacchetto ghambas) che utilizzano Gstreamer non vanno piu'.

dopo aver visto un post di vuott sull'incompatibilita' con gstreamer0.1 l'ho imosso e messo gstreamer1.0 ... ma nulla da fare.

idee?
« Ultima modifica: 20 Febbraio 2014, 18:47:28 da allegfede »
se corri, morirai stanco (motto degli sniper)

Offline Picavbg

  • Senatore Gambero
  • ******
  • Post: 1.620
    • Mostra profilo
Re: Incompatibilita' gambas 3.5.2 con gstreamer?
« Risposta #1 il: 19 Febbraio 2014, 15:26:52 »
Ho letto che oltre a Gstreamer hai avuto anche problemi con l'editor di Gambas3. Probabilmente nell'installazione è andato storto qualcosa. Hai provato a reinstallare Gambas?
Se l'hai fatto, hai controllato che le dipendenze siano tutte correttamente presenti?
 :ciao:
:ciao:

Offline allegfede

  • Gran Maestro dei Gamberi
  • *****
  • Post: 738
    • Mostra profilo
Re: Incompatibilita' gambas 3.5.2 con gstreamer?
« Risposta #2 il: 20 Febbraio 2014, 13:01:29 »
si ho ri-installato tutto.

ho anche sostituito la 12.04 di ubuntu con una lubuntu 13.10 .....

vorrei controllare la versione di gambas e di gstreamer per vedere se c'e' qualche problema relativo ad uno specifico build .... sapete come trovarla?

la versione "ufficiale" di gambas da quale repository si ottiene?

c'e' un po' di confusione su gambas.sourceforge ....
se corri, morirai stanco (motto degli sniper)

Offline allegfede

  • Gran Maestro dei Gamberi
  • *****
  • Post: 738
    • Mostra profilo
Re: Incompatibilita' gambas 3.5.2 con gstreamer?
« Risposta #3 il: 20 Febbraio 2014, 18:22:41 »
sto' testando la versione DEV di gambas ....e l'errore che ricevo dall'ide
Citazione
Cannot connect to server socket err = File o directory non esistente
Cannot connect to server request channel
jack server is not running or cannot be started
AL lib: UpdateDeviceParams: Failed to set 44100hz, got 48000hz instead

mi ha fatto pensare a qualche problema della mia macchina virtuale con il sotto sistema audio.

benche' con SDL o con i tool precompilati (tipo audacious) l'audio si senta, ho il sospetto (confermato penso da minisini) che gstreamer di default cerchi un server audio non presente o configurato male .....
https://sourceforge.net/mailarchive/forum.php?set=custom&viewmonth=&viewday=&forum_name=gambas-user&style=nested&max_rows=100&submit=Change+View
Citazione
Le Wed, 12 Feb 2014 11:24:32 +0100,
Fabien Bodard <gambas.fr@...> a écrit :

> 2014-02-12 7:12 GMT+01:00 Dominique Michel
> <dominique.michel@...>:
> > Le Wed, 12 Feb 2014 02:57:10 +0200,
> > Jussi Lahtinen <jussi.lahtinen@...> a écrit :
> >
> >> OK, now it works. I'm getting these messages:
> >> Cannot connect to server socket err = No such file or directory
> >> Cannot connect to server request channel
> >> jack server is not running or cannot be started
> >>
> >> I really don't have jack installed, why it looks for it?
> >>
> >>
> >> Jussi
> >
> > This have nothing to do with Gambas and all with Gstreamer. Here I
> > have jack running all the time, and if I use the autoaudiosink,
> > gstreamer connect to alsa...
>
> But you need to this anybody... it is an example ... it is not
> only for your use.

I know that. That was just to say Jussi is not the only one that have
an issue with that auto sink, even if it work.

On my system, alsa and jack are interconnected with the jack pcm plugin
in my .asoundrc, so I get the sound of both sound systems in jack.


>
> >
> > Dominique
> >
> >>
> >>
> >> On Wed, Feb 12, 2014 at 2:43 AM, Benoît Minisini <
> >> gambas@...> wrote:
> >>
> >> > Le 12/02/2014 01:37, Jussi Lahtinen a écrit :
> >> > > See attached pic. No further error messages, or warnings.
> >> > >
> >> > > Gambas 3 rev 6147 @ Xubuntu 13.10 64bit
> >> > >
> >> > > Jussi
> >> > >
> >> >
> >> > Replace "alsasink" with "autoaudiosink". I will commit that fix
> >> > later.
> >> >
> >> > --
> >> > Benoît Minisini

se corri, morirai stanco (motto degli sniper)

Offline allegfede

  • Gran Maestro dei Gamberi
  • *****
  • Post: 738
    • Mostra profilo
Re: Incompatibilita' gambas 3.5.2 con gstreamer?
« Risposta #4 il: 20 Febbraio 2014, 18:33:37 »
facendo un test:

Codice: [Seleziona]
gst-launch-1.0 audiotestsrc ! audioconvert ! audioresample ! alsasink

mi fa sentire un suono (un tono fisso)

ma invece:
Codice: [Seleziona]
gst-launch-1.0 audiotestsrc ! audioconvert ! audioresample ! alsasink

mi ritorna:
Codice: [Seleziona]
WARNING: erroneous pipeline: no element "alsasink"

...

installando il sink di alsa in modo ESPLICITO ... qualcosa si muove:
Codice: [Seleziona]
 apt-get install gstreamer1.0-alsa

ora pero' ho un segmentation fault :D .... provo la versione STABLE di gambas3 ...
« Ultima modifica: 20 Febbraio 2014, 18:40:14 da allegfede »
se corri, morirai stanco (motto degli sniper)

Offline allegfede

  • Gran Maestro dei Gamberi
  • *****
  • Post: 738
    • Mostra profilo
Re: Incompatibilita' gambas 3.5.2 con gstreamer?
« Risposta #5 il: 20 Febbraio 2014, 18:47:00 »
RISOLTO ... con l'aggiunta del sink alsa e usando gambas3 stable tutto OK
se corri, morirai stanco (motto degli sniper)