Hi,
I have been trying to play Youtube videos using gstreamer but have not been successful in doing so.From what i could figure out, swfdec plug-in is required to play youtube vides because youtube supports flash video. As per gstreamer plug-in overview page, this plug-in should be available in "bad plugins". This plug-in has some external dependecy on libswfdec. Even after installing this library, this plug-in does not show in the list of the elements. The configure script in "bad plug-ins" searches for 0.3 version of swfdec, which is already obsolete. I have tried bypassing this , but "swfdec" plug-in is still not built. I have tried the following pipelines. gst-launch-0.10 souphttpsrc location="http://www.youtube.com/v/6R0NJMGVjf4?f=videos&c=gdataSample-YouTube-1&app=youtube_gdata" ! decodebin ! ximagesink Setting pipeline to PAUSED ... Pipeline is PREROLLING ... ERROR: from element /GstPipeline:pipeline0/GstDecodeBin:decodebin0/ffdemux_swf:ffdemux_swf0: GStreamer encountered a general supporting library error. Additional debug info: gstffmpegdemux.c(1243): gst_ffmpegdemux_open (): /GstPipeline:pipeline0/GstDecodeBin:decodebin0/ffdemux_swf:ffdemux_swf0: Input/output error ERROR: pipeline doesn't want to preroll. Setting pipeline to NULL ... Freeing pipeline ... Any help would be greatly appreciated. Thanks, Shaw ------------------------------------------------------------------------------ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Are you using Debian. If so then at times I've had troubles with it installing the full package. Just try a update and reinstall. That's what has worked for me. Matt ----- Original Message ----- From: "abhisek shaw" <[hidden email]> To: [hidden email] Sent: Wednesday, 19 May, 2010 7:54:09 PM GMT +10:00 Brisbane Subject: Re: [gst-devel] gstreamer-devel Digest, Vol 48, Issue 37 Hi, I have been trying to play Youtube videos using gstreamer but have not been successful in doing so.From what i could figure out, swfdec plug-in is required to play youtube vides because youtube supports flash video. As per gstreamer plug-in overview page, this plug-in should be available in "bad plugins". This plug-in has some external dependecy on libswfdec. Even after installing this library, this plug-in does not show in the list of the elements. The configure script in "bad plug-ins" searches for 0.3 version of swfdec, which is already obsolete. I have tried bypassing this , but "swfdec" plug-in is still not built. I have tried the following pipelines. gst-launch-0.10 souphttpsrc location="http://www.youtube.com/v/6R0NJMGVjf4?f=videos&c=gdataSample-YouTube-1&app=youtube_gdata" ! decodebin ! ximagesink Setting pipeline to PAUSED ... Pipeline is PREROLLING ... ERROR: from element /GstPipeline:pipeline0/GstDecodeBin:decodebin0/ffdemux_swf:ffdemux_swf0: GStreamer encountered a general supporting library error. Additional debug info: gstffmpegdemux.c(1243): gst_ffmpegdemux_open (): /GstPipeline:pipeline0/GstDecodeBin:decodebin0/ffdemux_swf:ffdemux_swf0: Input/output error ERROR: pipeline doesn't want to preroll. Setting pipeline to NULL ... Freeing pipeline ... Any help would be greatly appreciated. Thanks, Shaw ------------------------------------------------------------------------------ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel ------------------------------------------------------------------------------ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Administrator
|
In reply to this post by abhisek shaw
On Wed, 2010-05-19 at 15:24 +0530, abhisek shaw wrote:
> Hi, > > I have been trying to play Youtube videos using gstreamer but have not > been successful in doing so.From what i could figure out, swfdec > plug-in is required to play youtube vides because youtube supports > flash video. As per gstreamer plug-in overview page, this plug-in > should be available in "bad plugins". This plug-in has some external > dependecy on libswfdec. Even after installing this library, this > plug-in does not show in the list of the elements. The configure > script in "bad plug-ins" searches for 0.3 version of swfdec, which is > already obsolete. I have tried bypassing this , but "swfdec" plug-in > is still not built. > > I have tried the following pipelines. > > gst-launch-0.10 souphttpsrc > location="http://www.youtube.com/v/6R0NJMGVjf4?f=videos&c=gdataSample-YouTube-1&app=youtube_gdata" ! decodebin ! ximagesink Don't do it like that. Use libgdata to get the flv/mp4 video link. That url is for the flash player (and not for the actual video file). That's how the totem youtube plugin does it and it works like a charm. Go check how they do it. Edward > > Setting pipeline to PAUSED ... > Pipeline is PREROLLING ... > ERROR: from > element /GstPipeline:pipeline0/GstDecodeBin:decodebin0/ffdemux_swf:ffdemux_swf0: GStreamer encountered a general supporting library error. > Additional debug info: > gstffmpegdemux.c(1243): gst_ffmpegdemux_open > (): /GstPipeline:pipeline0/GstDecodeBin:decodebin0/ffdemux_swf:ffdemux_swf0: > Input/output error > ERROR: pipeline doesn't want to preroll. > Setting pipeline to NULL ... > Freeing pipeline ... > > Any help would be greatly appreciated. > Thanks, > Shaw > ------------------------------------------------------------------------------ > > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel ------------------------------------------------------------------------------ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |