Error playing video streams

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

Error playing video streams

Görkem Çetin
Hi

I'm new to Gstreamer, trying to find out how it works. As I try to play a media file, I consistently get errors. Here's what I enter in the command line:

gst-launch -v playbin uri=file:///root/test.flv

And the corresponding error is like that:

Setting pipeline to PAUSED ...
/playbin0/decodebin0/typefind.src: caps = video/x-flv
Pipeline is PREROLLING ...
/playbin0/selector_audio_src1: active-pad = "sink0"
/playbin0/selector_video_src0: active-pad = "sink0"
ERROR: from element /playbin0/vbin/videosink: Could not initialize supporting library.
Additional debug info:
gstautovideosink.c(234): gst_auto_video_sink_detect (): /playbin0/vbin/videosink:
Failed to find a supported video sink
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
/playbin0/decodebin0/ffdemux_flv0.audio_00: caps = NULL
/playbin0/decodebin0/ffdemux_flv0.video_00: caps = NULL
/playbin0/decodebin0/typefind.src: caps = NULL
FREEING pipeline ...

I get the same error as I test with other AVI or MPEG files - not only FLV. My system is:

- Ubuntu 7.04
- Updated ffmpeg libraries
- Gstreamer-0.10 files (gstreamer-tools, gstreamer0.10-plugins-good, gstreamer0.10-plugins-ugly, gstreamer0.10-alsa, gstreamer0.10-ffmpeg, gstreamer0.10-tools, gstreamer0.10-plugins-bad, libgstreamer-plugins-base0.10-0, libgstreamer0.10-0)

What am I doing wrong here? Is there a way to trace how and why Gstreamer behaves ill and cannot find the codecs it finds?

Best
Görkem
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Error playing video streams

Thomas Winkler-5
Did you tried to launch that pipeline outside of an x-forwarded shell?
For example - if you try to start that pipeline in a console outside of x-server-session you can't use xvimagesink als renderer. So you have to use directfb instead.

But if you started your pipeline in a x-forwarded shell (like in gnome for example) - the xvimagesink should be accessable.

You have also possibility to switch to debug-levels.
You can specify an Environment variable GST_DEBUG or you use in your pipeline the parameter --gst-debug-level for more output information.

For example:
gst-launch -v playbin uri=file:///root/test.flv --gst-debug-level=3


greetings,
Thomas

-------- Original-Nachricht --------
> Datum: Tue, 1 Jul 2008 10:07:06 -0400
> Von: "Görkem Çetin" <[hidden email]>
> An: [hidden email]
> Betreff: [gst-devel] Error playing video streams

> Hi
>
> I'm new to Gstreamer, trying to find out how it works. As I try to play a
> media file, I consistently get errors. Here's what I enter in the command
> line:
>
> gst-launch -v playbin uri=file:///root/test.flv
>
> And the corresponding error is like that:
>
> Setting pipeline to PAUSED ...
> /playbin0/decodebin0/typefind.src: caps = video/x-flv
> Pipeline is PREROLLING ...
> /playbin0/selector_audio_src1: active-pad = "sink0"
> /playbin0/selector_video_src0: active-pad = "sink0"
> ERROR: from element /playbin0/vbin/videosink: Could not initialize
> supporting library.
> Additional debug info:
> gstautovideosink.c(234): gst_auto_video_sink_detect ():
> /playbin0/vbin/videosink:
> Failed to find a supported video sink
> ERROR: pipeline doesn't want to preroll.
> Setting pipeline to NULL ...
> /playbin0/decodebin0/ffdemux_flv0.audio_00: caps = NULL
> /playbin0/decodebin0/ffdemux_flv0.video_00: caps = NULL
> /playbin0/decodebin0/typefind.src: caps = NULL
> FREEING pipeline ...
>
> I get the same error as I test with other AVI or MPEG files - not only
> FLV.
> My system is:
>
> - Ubuntu 7.04
> - Updated ffmpeg libraries
> - Gstreamer-0.10 files (gstreamer-tools, gstreamer0.10-plugins-good,
> gstreamer0.10-plugins-ugly, gstreamer0.10-alsa, gstreamer0.10-ffmpeg,
> gstreamer0.10-tools, gstreamer0.10-plugins-bad,
> libgstreamer-plugins-base0.10-0, libgstreamer0.10-0)
>
> What am I doing wrong here? Is there a way to trace how and why Gstreamer
> behaves ill and cannot find the codecs it finds?
>
> Best
> Görkem

--
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Error playing video streams

Görkem Çetin
Hi

Just solved this issue by apt-get install --reinstall --purge gstreamer0.10.* command. Ubuntu 7.04 works fine with my current dpkg dependencies, however gstreamer somehow needs another file/group of files to work correctly other then this list:

(gstreamer-tools, gstreamer0.10-plugins-good, gstreamer0.10-plugins-ugly, gstreamer0.10-alsa, gstreamer0.10-ffmpeg, gstreamer0.10-tools, gstreamer0.10-plugins-bad, libgstreamer-plugins-base0.10-0, libgstreamer0.10-0) + ffmpeg

Best
Görkem



2008/7/1 Thomas Winkler <[hidden email]>:
Did you tried to launch that pipeline outside of an x-forwarded shell?
For example - if you try to start that pipeline in a console outside of x-server-session you can't use xvimagesink als renderer. So you have to use directfb instead.

But if you started your pipeline in a x-forwarded shell (like in gnome for example) - the xvimagesink should be accessable.

You have also possibility to switch to debug-levels.
You can specify an Environment variable GST_DEBUG or you use in your pipeline the parameter --gst-debug-level for more output information.

For example:
gst-launch -v playbin uri=file:///root/test.flv --gst-debug-level=3


greetings,
Thomas

-------- Original-Nachricht --------
> Datum: Tue, 1 Jul 2008 10:07:06 -0400
> Von: "Görkem Çetin" <[hidden email]>
> An: [hidden email]
> Betreff: [gst-devel] Error playing video streams

> Hi
>
> I'm new to Gstreamer, trying to find out how it works. As I try to play a
> media file, I consistently get errors. Here's what I enter in the command
> line:
>
> gst-launch -v playbin uri=file:///root/test.flv
>
> And the corresponding error is like that:
>
> Setting pipeline to PAUSED ...
> /playbin0/decodebin0/typefind.src: caps = video/x-flv
> Pipeline is PREROLLING ...
> /playbin0/selector_audio_src1: active-pad = "sink0"
> /playbin0/selector_video_src0: active-pad = "sink0"
> ERROR: from element /playbin0/vbin/videosink: Could not initialize
> supporting library.
> Additional debug info:
> gstautovideosink.c(234): gst_auto_video_sink_detect ():
> /playbin0/vbin/videosink:
> Failed to find a supported video sink
> ERROR: pipeline doesn't want to preroll.
> Setting pipeline to NULL ...
> /playbin0/decodebin0/ffdemux_flv0.audio_00: caps = NULL
> /playbin0/decodebin0/ffdemux_flv0.video_00: caps = NULL
> /playbin0/decodebin0/typefind.src: caps = NULL
> FREEING pipeline ...
>
> I get the same error as I test with other AVI or MPEG files - not only
> FLV.
> My system is:
>
> - Ubuntu 7.04
> - Updated ffmpeg libraries
> - Gstreamer-0.10 files (gstreamer-tools, gstreamer0.10-plugins-good,
> gstreamer0.10-plugins-ugly, gstreamer0.10-alsa, gstreamer0.10-ffmpeg,
> gstreamer0.10-tools, gstreamer0.10-plugins-bad,
> libgstreamer-plugins-base0.10-0, libgstreamer0.10-0)
>
> What am I doing wrong here? Is there a way to trace how and why Gstreamer
> behaves ill and cannot find the codecs it finds?
>
> Best
> Görkem

--
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer


-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel