[gst-devel] how to play h.264 file using gstreamer

Julien Moutte julien at moutte.net
Sat Mar 14 10:24:29 CET 2009


You might need to parse the elementary stream to make it easier for 
FFMPEG H264 decoder.

try this pipeline :

*gst-launch-0.10 filesrc location=$1 ! h264parse ! ffdec_h264 ! 
ffmpegcolorspace ! deinterlace ! xvimagesink*

Julien

john david wrote:
> Hi,
>              I tried to play h.264 ES using the below command,
> *gst-launch-0.10 filesrc location=$1 ! ffdec_h264 ! ffmpegcolorspace ! 
> deinterlace !xvimagesink*
> but i'm not able to play the video and i got the *error messages like,*
> Setting pipeline to PAUSED ...
> Pipeline is PREROLLING ...
> ERROR: from element /pipeline0/ffdec_h2640: Internal GStreamer error: 
> negotiation problem.  Please file a bug at 
> http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer.
> Additional debug info:
> gstffmpegdec.c(2317): gst_ffmpegdec_chain (): /pipeline0/ffdec_h2640:
> ffdec_h264: input format was not set before data start
> ERROR: pipeline doesn't want to preroll.
> Setting pipeline to NULL ...
> FREEING pipeline ...
>
> What may be the reason.
>
> Thanks and regards,
> john david.
>
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------------
> 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
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>   




More information about the gstreamer-devel mailing list