[gst-devel] mepg 4 simple profile in gstreamer

Stefan Kost ensonic at hora-obscura.de
Thu Oct 22 21:32:08 CEST 2009


Xing Fan schrieb:
> Hi Bob,
> 
>     Thanks for your kind reply. Several more questions related to this.
> For my project, I want to use MPEG4 simple profile and AMR-WB. About
> MPEG 4 Simple profile, your answer is clear, either I install
> gst-ffmpeg, or install gst-plugins-bad 0.10.14.1. For AMRWB, i need to
> install gst-plugins-bad
> <http://gstreamer.freedesktop.org/modules/gst-plugins-bad.html> 0.10.13.1.
> 
> My question is:
> 1. Which version of gst-plugins-bad version should I choose? It seems
> XVID and AMRWB are in different gst-plugins-bad versions.
> 
> 2. I have gstreamer 0.10.12 and gst-plugins installed (base 0.10.12,good
> 0.10.5, bad 0.10.4,  ugly 0.10.5). However, when I try to play video or
> audio (gst-launch playbin * uri=file:///home/Music/test.avi* ), or when
> I use gst-inspect alsasink, I always got error message that says I do
> not have plugin installed. If I just type gst-inspect, I get nothing. I
> checked /usr/bin, /usr/lib folders, the gst stuff are there. PATH seems
> to be correct. What is the problem? Is it because I use the wrong
> version of the plugins?

If you have built the packages yourself, you might have specified no --prefix
during configure and thus the stuff was installed to /usr/local by default. If
that is the case you need to setup some env-vars among GST_PLUGIN_PATH.

Stefan
> 
> Thanks for your kind help!
> 
> Stella  
> 
> On Fri, Oct 16, 2009 at 10:53 AM, Robert Swain <robert.swain at gmail.com
> <mailto:robert.swain at gmail.com>> wrote:
> 
>     Hello,
> 
>     2009/10/13 Xing Fan <xing.fan0302 at googlemail.com
>     <mailto:xing.fan0302 at googlemail.com>>:
>     >     I want to use mpeg 4 simple profile codecs. I wonder which
>     gstreamer
>     > plugin should I install? I checked all the plugins, only find mpeg
>     4 parse
>     > in plugin bad. Where are the codecs. Thanks for your kind help!
> 
>     For decoding: ffdec_mpeg4 (i.e. install gst-ffmpeg) or xviddec
>     (gst-plugins-bad)
>     For encoding: xvidenc (i.e. gst-plugins-bad) or ffenc_mpeg4 (gst-ffmpeg)
> 
>     I'd recommend FFmpeg for decoding and XviD for encoding. You will need
>     to specify settings appropriately to be compliant with the MPEG-4 Part
>     2 Simple Profile restrictions though.
> 
>     Regards,
>     Rob
> 




More information about the gstreamer-devel mailing list