GNOME Bugzilla – Bug 666155
[teletextdec] - can not work with playbin2?
Last modified: 2012-06-18 16:57:58 UTC
I have tried to exercise teletextdec on native Linux PC. And it works fine when try below command: ====================================================== gst-launch filesrc location=/mnt/winhost/ip_ttx.ts ! mpegtsdemux ! private/teletext ! teletextdec ! ffmpegcolorspace ! ximagesink And I can get the teletext in the window. But I have problem to try with playbin2 like below command: ===================================================== gst-launch playbin2 uri=file:///mnt/winhost/ip_ttx.ts And it gave me error like below: ============================================ [liud@fedora14 x86-source]$ gst-launch playbin2 uri=file:///mnt/winhost/ip_ttx.ts Setting pipeline to PAUSED ... Pipeline is PREROLLING ... Missing element: private/teletext decoder WARNING: from element /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: No decoder available for type 'private/teletext'. Additional debug info: gsturidecodebin.c(874): unknown_type_cb (): /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0 Pipeline is PREROLLED ... Setting pipeline to PLAYING ... New clock: GstAudioSinkClock Then I looked at the teletext decoder code and found the RANK priorty is NONE. So I changed to PRIMARY and let playbin2 to pickup the teletextdec element. And after this, I got one more error as followed: =============================================== [liud@fedora14 x86-source]$ gst-launch playbin2 uri=file:///mnt/winhost/ip_ttx.ts Setting pipeline to PAUSED ... Pipeline is PREROLLING ... WARNING: from element /GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:tbin/GstSubtitleOverlay:suboverlay: Internal GStreamer error: negotiation problem. Please file a bug at http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer. Additional debug info: gstsubtitleoverlay.c(799): _pad_blocked_cb (): /GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:tbin/GstSubtitleOverlay:suboverlay: Subtitle sink is blocked but we have no subtitle caps WARNING: from element /GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:tbin/GstSubtitleOverlay:suboverlay: Internal GStreamer error: negotiation problem. Please file a bug at http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer. Additional debug info: gstsubtitleoverlay.c(799): _pad_blocked_cb (): /GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:tbin/GstSubtitleOverlay:suboverlay: Subtitle sink is blocked but we have no subtitle caps vbi_print_page_region 'UTF-8' table=0 col=0 row=0 width=41 height=25 WARNING: from element /GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:vbin/GstAutoVideoSink:videosink/GstXImageSink:videosink-actual-sink-ximage: Internal data flow problem. Additional debug info: gstbasesink.c(3647): gst_base_sink_chain_unlocked (): /GstPlayBin2:playbin20/GstPlaySink:playsink0/GstBin:vbin/GstAutoVideoSink:videosink/GstXImageSink:videosink-actual-sink-ximage: Received buffer without a new-segment. Assuming timestamps start from 0. Pipeline is PREROLLED ... Setting pipeline to PLAYING ... New clock: GstAudioSinkClock
But anyway, I can see the teletextdec element has been picked up and linked with subtitleoverlay bin.
This sounds like a bug in teletextdec indeed. Could we have a sample file ?
where i can upload the file?
You can upload it on bugzilla.gnome.org, select "Add an attachment (proposed patch, testcase, etc.)", below the comments list. I believe it is limited to up to 1 MB, so if the file is larger you might be able to cut part of it using, eg: dd if=sourcefile of=/tmp/partfile count=1000 bs=1024
bcxa.sz, ping, can you please upload sample file ?
Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for. Thanks!