Hi,
I'm new to gstreamer, and I compiled gstreamer-0.10.11, gst-plugins-base-0.10.11, and gst-plugins-good-0.10.5 for ARM board. - I don't want to explain why not use the latest version this time :) - When run the pipeline: gst-launch -v --gst-debug-level=4 filesrc location=t.avi ! avidemux name=t t.audio_00 ! fakesink t.video_00 ! fakesink It doesn't change to PLAYING state. Following is the last part of the log. 0:00:15.863467000 1118 0x32900 DEBUG basesink gstbasesink.c:1081:gst_base_sink_wait_preroll:<fakesink1> wait for preroll... 0:00:15.531643000 1118 0x782a0 DEBUG bin gstbin.c:2062:gst_bin_recalc_func:<pipeline0> doing state recalc 0:00:15.865721000 1118 0x782a0 INFO GST_STATES gstbin.c:1321:gst_bin_recalc_state:<pipeline0> recalc state 0:00:15.867391000 1118 0x782a0 INFO GST_STATES gstbin.c:1331:gst_bin_recalc_state:<pipeline0> checking element states 0:00:15.869160000 1118 0x782a0 DEBUG GST_STATES gstelement.c:1704:gst_element_get_state_func:<fakesink1> getting state 0:00:15.870837000 1118 0x782a0 DEBUG GST_STATES gstelement.c:1780:gst_element_get_state_func:<fakesink1> state current: PAUSED, pending: VOID_PENDING, result: SUCCESS 0:00:15.872851000 1118 0x782a0 DEBUG GST_STATES gstelement.c:1704:gst_element_get_state_func:<fakesink0> getting state 0:00:15.874556000 1118 0x782a0 DEBUG GST_STATES gstelement.c:1780:gst_element_get_state_func:<fakesink0> state current: READY, pending: PAUSED, result: ASYNC 0:00:15.876692000 1118 0x782a0 DEBUG GST_STATES gstelement.c:1704:gst_element_get_state_func:<t> getting state 0:00:15.878388000 1118 0x782a0 DEBUG GST_STATES gstelement.c:1780:gst_element_get_state_func:<t> state current: PAUSED, pending: VOID_PENDING, result: SUCCESS 0:00:15.880310000 1118 0x782a0 DEBUG GST_STATES gstelement.c:1704:gst_element_get_state_func:<filesrc0> getting state 0:00:15.882042000 1118 0x782a0 DEBUG GST_STATES gstelement.c:1780:gst_element_get_state_func:<filesrc0> state current: PAUSED, pending: VOID_PENDING, result: SUCCESS 0:00:15.884078000 1118 0x782a0 INFO GST_STATES gstbin.c:1421:gst_bin_recalc_state:<pipeline0> bin RETURN is now ASYNC 0:00:15.885834000 1118 0x782a0 DEBUG bin gstbin.c:2066:gst_bin_recalc_func:<pipeline0> state recalc done Am I using a wrong pipeline? How to make the pipeline running? PS. The t.avi is a mpeg4/mp3 (video/x-xvid) movie clip. Thanks and regards, -Bin. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
On Wed, 2008-05-21 at 16:35 -0500, Liu, Bin wrote:
> I'm new to gstreamer, and I compiled gstreamer-0.10.11, > gst-plugins-base-0.10.11, and gst-plugins-good-0.10.5 for ARM board. - I > don't want to explain why not use the latest version this time :) - When > run the pipeline: > > gst-launch -v --gst-debug-level=4 filesrc location=t.avi ! > avidemux name=t t.audio_00 ! fakesink t.video_00 ! fakesink > > It doesn't change to PLAYING state. You need to use queues, ie. t.audio_00 ! queue ! fakesink and t.video_00 ! queue ! fakesink otherwise it won't preroll (google the list archive for demuxer/tee/queue/preroll for details). Cheers -Tim ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Thanks Tim.
queue helps. -Bin. -----Original Message----- From: [hidden email] [mailto:[hidden email]] On Behalf Of Tim Müller Sent: Wednesday, May 21, 2008 5:00 PM To: [hidden email] Subject: Re: [gst-devel] pipeline dont change to PLAYING On Wed, 2008-05-21 at 16:35 -0500, Liu, Bin wrote: > I'm new to gstreamer, and I compiled gstreamer-0.10.11, > gst-plugins-base-0.10.11, and gst-plugins-good-0.10.5 for ARM board. - I > don't want to explain why not use the latest version this time :) - When > run the pipeline: > > gst-launch -v --gst-debug-level=4 filesrc location=t.avi ! > avidemux name=t t.audio_00 ! fakesink t.video_00 ! fakesink > > It doesn't change to PLAYING state. You need to use queues, ie. t.audio_00 ! queue ! fakesink and t.video_00 ! queue ! fakesink otherwise it won't preroll (google the list archive for demuxer/tee/queue/preroll for details). Cheers -Tim ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |