Problem playing video file using gstreamer

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

Problem playing video file using gstreamer

Anirban Chatterjee
Hi,
     i am new in gstreamer. I am issuing the command "gst-launch -v filesrc location=/home/anirbanc/bird.avi ! ximagesrc"  I am getting the following error:

WARNING: erroneous pipeline: could not link filesrc0 to ximagesrc0
anirbanc-2.desktop% gst-launch -v filesrc location=/home/anirbanc/bird.avi ! ximagesink
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...

(gst-launch-0.10:3799): GStreamer-CRITICAL **: gst_caps_get_structure: assertion `GST_IS_CAPS (caps)' failed

(gst-launch-0.10:3799): GStreamer-CRITICAL **: gst_structure_get_int: assertion `structure != NULL' failed
ERROR: from element /pipeline0/ximagesink0: Failed to create output image buffer of 0x0 pixels
Additional debug info:
ximagesink.c(475): gst_ximagesink_ximage_new (): /pipeline0/ximagesink0:
could not get shared memory of 0 bytes
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
FREEING pipeline ...

can you please help me fix this?
Reply | Threaded
Open this post in threaded view
|

Re: Problem playing video file using gstreamer

Paolo Bolzoni-2
Start studying the difference between sink and source...

On Wed, Dec 5, 2012 at 9:36 AM, Anirban Chatterjee <[hidden email]> wrote:

> Hi,
>      i am new in gstreamer. I am issuing the command "gst-launch -v filesrc
> location=/home/anirbanc/bird.avi ! ximagesrc"  I am getting the following
> error:
>
> WARNING: erroneous pipeline: could not link filesrc0 to ximagesrc0
> anirbanc-2.desktop% gst-launch -v filesrc location=/home/anirbanc/bird.avi !
> ximagesink
> Setting pipeline to PAUSED ...
> Pipeline is PREROLLING ...
>
> (gst-launch-0.10:3799): GStreamer-CRITICAL **: gst_caps_get_structure:
> assertion `GST_IS_CAPS (caps)' failed
>
> (gst-launch-0.10:3799): GStreamer-CRITICAL **: gst_structure_get_int:
> assertion `structure != NULL' failed
> ERROR: from element /pipeline0/ximagesink0: Failed to create output image
> buffer of 0x0 pixels
> Additional debug info:
> ximagesink.c(475): gst_ximagesink_ximage_new (): /pipeline0/ximagesink0:
> could not get shared memory of 0 bytes
> ERROR: pipeline doesn't want to preroll.
> Setting pipeline to NULL ...
> FREEING pipeline ...
>
> can you please help me fix this?
>
>
>
>
> --
> View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Problem-playing-video-file-using-gstreamer-tp4657227.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Problem playing video file using gstreamer

Krzysztof Konopko
In reply to this post by Anirban Chatterjee
1) man gst-launch (search for avi if you desperate)

2)
http://gstreamer.freedesktop.org/documentation/
or
http://lmgtfy.com/?q=gst-launch+avi (if you desperate)

3) Explain what you trying to do if something still doesn't work for
your after reading all the above.

Kris


On 05/12/12 08:36, Anirban Chatterjee wrote:

> Hi,
>      i am new in gstreamer. I am issuing the command "gst-launch -v filesrc
> location=/home/anirbanc/bird.avi ! ximagesrc"  I am getting the following
> error:
>
> WARNING: erroneous pipeline: could not link filesrc0 to ximagesrc0
> anirbanc-2.desktop% gst-launch -v filesrc location=/home/anirbanc/bird.avi !
> ximagesink
> Setting pipeline to PAUSED ...
> Pipeline is PREROLLING ...
>
> (gst-launch-0.10:3799): GStreamer-CRITICAL **: gst_caps_get_structure:
> assertion `GST_IS_CAPS (caps)' failed
>
> (gst-launch-0.10:3799): GStreamer-CRITICAL **: gst_structure_get_int:
> assertion `structure != NULL' failed
> ERROR: from element /pipeline0/ximagesink0: Failed to create output image
> buffer of 0x0 pixels
> Additional debug info:
> ximagesink.c(475): gst_ximagesink_ximage_new (): /pipeline0/ximagesink0:
> could not get shared memory of 0 bytes
> ERROR: pipeline doesn't want to preroll.
> Setting pipeline to NULL ...
> FREEING pipeline ...
>
> can you please help me fix this?
>
>
>
>
> --
> View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Problem-playing-video-file-using-gstreamer-tp4657227.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Problem playing video file using gstreamer

Tim-Philipp Müller-2
In reply to this post by Anirban Chatterjee
On Wed, 2012-12-05 at 00:36 -0800, Anirban Chatterjee wrote:
> Hi,
>      i am new in gstreamer. I am issuing the command "gst-launch -v filesrc
> location=/home/anirbanc/bird.avi ! ximagesrc"  I am getting the following
> error:
>
> WARNING: erroneous pipeline: could not link filesrc0 to ximagesrc0
> anirbanc-2.desktop% gst-launch -v filesrc location=/home/anirbanc/bird.avi !
> ximagesink

Try:

 gst-launch-0.10 playbin2 uri=file:///home/anirbanc/bird.avi

or

 gst-launch-1.0 playbin uri=file:///home/anirbanc/bird.avi

(depending which major version you use).

Cheers
-Tim


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Problem playing video file using gstreamer

Mandeep Sandhu
In reply to this post by Paolo Bolzoni-2
On Wed, Dec 5, 2012 at 3:10 PM, Paolo Bolzoni
<[hidden email]> wrote:
> Start studying the difference between sink and source...

...and demux'ers...and decoders :)
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel