Quantcast

how to play h.264 file using gstreamer

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

how to play h.264 file using gstreamer

davidjohn
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: how to play h.264 file using gstreamer

Julien Moutte-2

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
> [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
|  
Report Content as Inappropriate

Re: how to play h.264 file using gstreamer

davidjohn
Hi,
Thanks for your valuable information. Now i'm able to play streams properly.
Loading...