[gstreamer-bugs] [Bug 587877] File not playing with Playbin.where as playback fine with gst-launch-0.10 filesrc ! MyFilter

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Mon Jul 13 21:12:10 PDT 2009


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=587877

  GStreamer | gstreamer (core) | Ver: 0.10.22

Sriram changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |UNCONFIRMED




------- Comment #6 from Sriram  2009-07-14 04:12 UTC -------
(In reply to comment #5)
> Could you provide information that suggests that this is actually a bug in
> GStreamer and not your element?
> 

Once again Here i am not suspecting the gstreamer.. Please dont think this bug
from gstreamer point of view .. but i need from playbin point of view what it
requires .. or else please suggest me for any reference ... 

And one more thing here i am changed my filter architecture.. Previously i am
using only one filter for doing all(Demuxing,Decoding,Rendering). But now i
have both AudioSink and Video Sink elements in Chain. Here sink elements i am
added for Gstreamer supporting...
So Now I have 3follwing Filters
1. MyDemuxer      Codec/Demuxer With Rank 300
2. MyAudioSink    Sink/Audio    with Rank 300
3. MyVideoSink    Sink/Video    with Rank 300

with this filters Follwing chain working fine.

gst-launch-0.10 filesrc location=/home/sample_mpeg4.mp4 ! MyDemuxer name=demux
{demux.audio_00 ! MyAudioSink }  {demux.video_00 ! MyVideoSink }

where as same thing is not fine with Playbin...????

My other Observations:

When i am testing my chain with -m option i mean (gst-launch-0.10 -m filesrc..)
& (gst-launch-0.10 -m Playbin....)
here i am giving debug log:

1.gst-launch-0.10 -m filesrc
Setting pipeline to PAUSED ...

Pipeline is PREROLLED ...
#2  "MyVideoSink"  old-state=(GstState)GST_STATE_NULL,
new-state=(GstState)GST_STATE_READY,
pending-state=(GstState)GST_STATE_VOID_PENDING;
#3  "MyAudioSink"  old-state=(GstState)GST_STATE_NULL,
new-state=(GstState)GST_STATE_READY,
pending-state=(GstState)GST_STATE_VOID_PENDING;
#4  "demux"  old-state=(GstState)GST_STATE_NULL,
new-state=(GstState)GST_STATE_READY,
pending-state=(GstState)GST_STATE_VOID_PENDING;
#5  "filesrc0"  old-state=(GstState)GST_STATE_NULL,
new-state=(GstState)GST_STATE_READY,
pending-state=(GstState)GST_STATE_VOID_PENDING;
#6  "pipeline0"  old-state=(GstState)GST_STATE_NULL,
new-state=(GstState)GST_STATE_READY, pending-state=(GstState)GST_STATE_PAUSED;
#7  "MyVideoSink"  old-state=(GstState)GST_STATE_READY,
new-state=(GstState)GST_STATE_PAUSED,
pending-state=(GstState)GST_STATE_VOID_PENDING;
#8  "MyAudioSink"  old-state=(GstState)GST_STATE_READY,
new-state=(GstState)GST_STATE_PAUSED,
pending-state=(GstState)GST_STATE_VOID_PENDING;
#9  "demux"  old-state=(GstState)GST_STATE_READY,
new-state=(GstState)GST_STATE_PAUSED,
pending-state=(GstState)GST_STATE_VOID_PENDING;
#10  "filesrc0"  old-state=(GstState)GST_STATE_READY,
new-state=(GstState)GST_STATE_PAUSED,
pending-state=(GstState)GST_STATE_VOID_PENDING;
#11  "pipeline0"  old-state=(GstState)GST_STATE_READY,
new-state=(GstState)GST_STATE_PAUSED,
pending-state=(GstState)GST_STATE_VOID_PENDING;
Setting pipeline to PLAYING ...

#12  "pipeline0" (new-clock): GstMessageNewClock,
clock=(GstClock)"\(GstSystemClock\)\ GstSystemClock";
New clock: GstSystemClock

#14  "MyVideoSink"  old-state=(GstState)GST_STATE_PAUSED,
new-state=(GstState)GST_STATE_PLAYING,
pending-state=(GstState)GST_STATE_VOID_PENDING;
#15  "MyAudioSink"  old-state=(GstState)GST_STATE_PAUSED,
new-state=(GstState)GST_STATE_PLAYING,
pending-state=(GstState)GST_STATE_VOID_PENDING;
#16  "demux"  old-state=(GstState)GST_STATE_PAUSED,
new-state=(GstState)GST_STATE_PLAYING,
pending-state=(GstState)GST_STATE_VOID_PENDING;
#17  "filesrc0"  old-state=(GstState)GST_STATE_PAUSED,
new-state=(GstState)GST_STATE_PLAYING,
pending-state=(GstState)GST_STATE_VOID_PENDING;
#18  "pipeline0"  old-state=(GstState)GST_STATE_PAUSED,
new-state=(GstState)GST_STATE_PLAYING,
pending-state=(GstState)GST_STATE_VOID_PENDING;

#20  "pipeline0" (eos): no message details
Got EOS  "pipeline0".
Execution ended after 5206245933 ns.
Setting pipeline to PAUSED ...

FREEING pipeline ...



2. gst-launch-0.10 -m Playbin
Pipeline is PREROLLING ...
 #0  "playbin0"         old-state=(GstState)GST_STATE_NULL,
new-state=(GstState)GST_STATE_READY, pending-state=(GstState)GST_STATE_PAUSED;
 #4  "test"             old-state=(GstState)GST_STATE_NULL,
new-state=(GstState)GST_STATE_READY, pending-state=(GstState)GST_STATE_PAUSED;
 #6  "fakesink"         old-state=(GstState)GST_STATE_NULL,
new-state=(GstState)GST_STATE_READY,
pending-state=(GstState)GST_STATE_VOID_PENDING;
 #7  "typefind"         old-state=(GstState)GST_STATE_NULL,
new-state=(GstState)GST_STATE_READY,
pending-state=(GstState)GST_STATE_VOID_PENDING;
 #8  "decodebin0"       old-state=(GstState)GST_STATE_NULL,
new-state=(GstState)GST_STATE_READY, pending-state=(GstState)GST_STATE_PAUSED;
 #11  "MyDemuxer"    old-state=(GstState)GST_STATE_NULL,
new-state=(GstState)GST_STATE_READY,
pending-state=(GstState)GST_STATE_VOID_PENDING;
 #14  "MyDemuxer"    old-state=(GstState)GST_STATE_READY,
new-state=(GstState)GST_STATE_PAUSED,
pending-state=(GstState)GST_STATE_VOID_PENDING;
 #15  "typefind"        old-state=(GstState)GST_STATE_READY,
new-state=(GstState)GST_STATE_PAUSED,
pending-state=(GstState)GST_STATE_VOID_PENDING;
 #16  "source"          old-state=(GstState)GST_STATE_NULL,
new-state=(GstState)GST_STATE_READY, pending-state=(GstState)GST_STATE_PAUSED;
 #17  "source"          old-state=(GstState)GST_STATE_READY,
new-state=(GstState)GST_STATE_PAUSED,
pending-state=(GstState)GST_STATE_VOID_PENDING;

^C
    Caught interrupt -- handling interrupt.

 #18  "playbin0" (application): GstLaunchInterrupt, message=(string)"Pipeline\
interrupted";

    Interrupt: Stopping pipeline ...

    ERROR: pipeline doesn't want to preroll.

Setting pipeline to NULL ...
^C

Please Let me know if u need any information regrading this ....

Thanks & Regards,
Sriram


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=587877.




More information about the Gstreamer-bugs mailing list