Gstreamer in an embedded Linuxdistribution

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Gstreamer in an embedded Linuxdistribution

Stephan Raue-2
Hi all,

I'm new to this list and I have a question.

I'm working on a project for an embedded Linux distribution for a HTPC.
My goal is to run the Elisa Media Center on a minimal Linux. Elisa is
based on Gstreamer.

Now i have various problems running Gstreamer:

When i want play a internet videostream i became elisa says:

Gstreamer error: resource not found

and when i am playing a local file: Your gestreamer installation is
missing a plugin an elisa.log says:

WARN  MainThread      default                     Mar 19 13:29:43  
Gstreamer Your GStreamer installation is missing a
plug-in.:gstplaybasebin.c(1673): gen_source_element ():
/GstPlayBin:playbin0:
No URI handler for file (elisa/plugins/poblesec/player_video.py:535)

where i can see which plugins are missing?

i have compiling everything from source including
gst-plugins-{base,bad.good,ugly} and gst-ffmpeg.

when i am play an e.g. Audiofile i become often error like this (from
elisa.log)

DEBUG MainThread      audio_player_controller     Mar 19 12:44:29  
Received metadata from player {'album': 'High Mud Leauder',
'track-number': 2L, 'artist': 'High Mud Leauder', 'title': 'Admiral',
'duration': 171781000000L, 'genre': 'Rock/Pop'}
(elisa/plugins/poblesec/player_video.py:1119)
WARN  MainThread      default                     Mar 19 12:44:29  
Gstreamer Could not open resource for writing.:gstalsasink.c(694):
gst_alsasink_open (): /GstAlsaSink:audiosink-actual-sink-alsa:
Playback open error on device 'default': Invalid argument
(elisa/plugins/poblesec/player_video.py:535)

can anyone help me?

sources to build my distribution or see how i compiled gstreamer,
plugins and other you can find at
http://bazaar.launchpad.net/~sraue/openelec/devel/files when you need it
i can upload an image of this Distribution (ca. 40MB)

Stephan

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Gstreamer in an embedded Linuxdistribution

Julien Moutte-2

You probably should try to launch a simple GStreamer pipeline with
playbin on your distro and you will see quickly the missing plugins.

Indeed Elisa uses playbin and a simple :

gst-launch-0.10 playbin uri=file:///home/user/file.mov

should work before Elisa can play that file.

Obviously you might have some problems with the video and audio sinks if
you don't use Xorg.

Best regards,

Julien Moutte,
FLUENDO S.A.

Stephan Raue wrote:

> Hi all,
>
> I'm new to this list and I have a question.
>
> I'm working on a project for an embedded Linux distribution for a HTPC.
> My goal is to run the Elisa Media Center on a minimal Linux. Elisa is
> based on Gstreamer.
>
> Now i have various problems running Gstreamer:
>
> When i want play a internet videostream i became elisa says:
>
> Gstreamer error: resource not found
>
> and when i am playing a local file: Your gestreamer installation is
> missing a plugin an elisa.log says:
>
> WARN  MainThread      default                     Mar 19 13:29:43  
> Gstreamer Your GStreamer installation is missing a
> plug-in.:gstplaybasebin.c(1673): gen_source_element ():
> /GstPlayBin:playbin0:
> No URI handler for file (elisa/plugins/poblesec/player_video.py:535)
>
> where i can see which plugins are missing?
>
> i have compiling everything from source including
> gst-plugins-{base,bad.good,ugly} and gst-ffmpeg.
>
> when i am play an e.g. Audiofile i become often error like this (from
> elisa.log)
>
> DEBUG MainThread      audio_player_controller     Mar 19 12:44:29  
> Received metadata from player {'album': 'High Mud Leauder',
> 'track-number': 2L, 'artist': 'High Mud Leauder', 'title': 'Admiral',
> 'duration': 171781000000L, 'genre': 'Rock/Pop'}
> (elisa/plugins/poblesec/player_video.py:1119)
> WARN  MainThread      default                     Mar 19 12:44:29  
> Gstreamer Could not open resource for writing.:gstalsasink.c(694):
> gst_alsasink_open (): /GstAlsaSink:audiosink-actual-sink-alsa:
> Playback open error on device 'default': Invalid argument
> (elisa/plugins/poblesec/player_video.py:535)
>
> can anyone help me?
>
> sources to build my distribution or see how i compiled gstreamer,
> plugins and other you can find at
> http://bazaar.launchpad.net/~sraue/openelec/devel/files when you need it
> i can upload an image of this Distribution (ca. 40MB)
>
> Stephan
>
> ------------------------------------------------------------------------------
> Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
> powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
> easily build your RIAs with Flex Builder, the Eclipse(TM)based development
> software that enables intelligent coding and step-through debugging.
> Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Gstreamer in an embedded Linuxdistribution

Stephan Raue-2
Am 19.03.2009 20:32, schrieb Julien Moutte:
> You probably should try to launch a simple GStreamer pipeline with
> playbin on your distro and you will see quickly the missing plugins.
>
> Indeed Elisa uses playbin and a simple :
>
> gst-launch-0.10 playbin uri=file:///home/user/file.mov
>    
i started this, and i become follow error - where can be my problem? how
can i test if alsa working?

# gst-launch playbin uri=file:///storage/Musik/Yeti\ Sports\ Song.mp3
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
ERROR: from element /GstAlsaSink:audiosink-actual-sink-alsa: Could not
open audio device for playback.
Additional debug info:
gstalsasink.c(694): gst_alsasink_open ():
/GstAlsaSink:audiosink-actual-sink-alsa:
Playback open error on device 'default': Invalid argument
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
FREEING pipeline ...

(gst-launch-0.10:6271): GStreamer-CRITICAL **:
Trying to dispose element playbin0, but it is not in the NULL state.
You need to explicitly set elements to the NULL state before
dropping the final reference, to allow them to clean up.


------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Gstreamer in an embedded Linuxdistribution

LIANG ZHAO-2
Seems your alsa driver is not working well.
You need to check your ALSA with "aplay xx.wav", or set OSSSink into
playbin if alsa is not available.

Zhao Liang

-----Original Message-----
From: Stephan Raue [mailto:[hidden email]]
Sent: Friday, March 20, 2009 5:11 AM
To: Discussion of the development of GStreamer
Subject: Re: [gst-devel] Gstreamer in an embedded Linuxdistribution

Am 19.03.2009 20:32, schrieb Julien Moutte:
> You probably should try to launch a simple GStreamer pipeline with
> playbin on your distro and you will see quickly the missing plugins.
>
> Indeed Elisa uses playbin and a simple :
>
> gst-launch-0.10 playbin uri=file:///home/user/file.mov
>    
i started this, and i become follow error - where can be my problem? how
can i test if alsa working?

# gst-launch playbin uri=file:///storage/Musik/Yeti\ Sports\ Song.mp3
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
ERROR: from element /GstAlsaSink:audiosink-actual-sink-alsa: Could not
open audio device for playback.
Additional debug info:
gstalsasink.c(694): gst_alsasink_open ():
/GstAlsaSink:audiosink-actual-sink-alsa:
Playback open error on device 'default': Invalid argument
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
FREEING pipeline ...

(gst-launch-0.10:6271): GStreamer-CRITICAL **:
Trying to dispose element playbin0, but it is not in the NULL state.
You need to explicitly set elements to the NULL state before dropping
the final reference, to allow them to clean up.


------------------------------------------------------------------------
------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based
development software that enables intelligent coding and step-through
debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel