switching from playbin to playbin2 block the pipeline

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

switching from playbin to playbin2 block the pipeline

franchan
Hello,

I have the content "making_of_elephants_dream_3160kbps_2chn_48000Hz.mpg"

It starts rendering correctly when using this command:
    gst-launch playbin uri=file:///home/francis/Desktop
/making_of_elephants_dream_3160kbps_2chn_48000Hz.mpg

But it blocks before the pipeline gets into the state GST_STATE_PAUSED
when replacing playbin with playbin2

The mpega and mpegv elements are custom.

When I attach a debuger I see 6 threads:
- g_main_loop_run() waiting in poll
- gst_multi_queue_loop() waiting in handle_pad_block()
- gst_base_src_loop() driving the demuxer
      gst_mpeg_demux_send_subbuffer() waits in gst_data_queue_push()
- gst_multi_queue_loop() doing gst_mpegvideoparse_chain() doing
      mpv_send_pending_segs()
  My mpegv decoder handles the NEWSEGMENT and then hangs in handle_pad_block()
- gst_multi_queue_loop() doing a gst_mpegvideoparse_chain()
  My mpegv decoder is blocked in gst_pad_alloc_buffer_full()
      again because of handle_pad_block()
- gst_multi_queue_loop() doing a gst_mp3parse_chain()
  My mpega decoder handles the NEWSEGMENT and the hangs in handle_pad_block()

Is it normal to see 2 threads calling the video decoder?
If not, what might be the reason?

my gstreamer build is 0.10.25.
PS I succeed rendering MPEGTS container with AAC and h264 with
gst-launch playbin2
I can also play MPEG 1 layer 1 audio with playbin2 ...

Thanks for any hints

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: switching from playbin to playbin2 block the pipeline

Sebastian Dröge-7
Am Donnerstag, den 08.10.2009, 17:43 +0200 schrieb franchan:

> Hello,
>
> I have the content "making_of_elephants_dream_3160kbps_2chn_48000Hz.mpg"
>
> It starts rendering correctly when using this command:
>     gst-launch playbin uri=file:///home/francis/Desktop
> /making_of_elephants_dream_3160kbps_2chn_48000Hz.mpg
>
> But it blocks before the pipeline gets into the state GST_STATE_PAUSED
> when replacing playbin with playbin2
Hi, could you file a bug for that at http://bugzilla.gnome.org against
GStreamer? Also a backtrace of all threads from the point where
everything is blocked would be useful to have.

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel

signature.asc (205 bytes) Download Attachment