After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 666155 - [teletextdec] - can not work with playbin2?
[teletextdec] - can not work with playbin2?
Status: RESOLVED INCOMPLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-12-14 10:41 UTC by bcxa.sz
Modified: 2012-06-18 16:57 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description bcxa.sz 2011-12-14 10:41:19 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
Comment 1 bcxa.sz 2011-12-14 10:42:10 UTC
But anyway, I can see the teletextdec element has been picked up and linked with subtitleoverlay bin.
Comment 2 Vincent Penquerc'h 2012-01-17 13:48:08 UTC
This sounds like a bug in teletextdec indeed.
Could we have a sample file ?
Comment 3 bcxa.sz 2012-01-31 04:14:31 UTC
where i can upload the file?
Comment 4 Vincent Penquerc'h 2012-01-31 11:19:20 UTC
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
Comment 5 Akhil Laddha 2012-03-24 11:27:10 UTC
bcxa.sz, ping, can you please upload sample file ?
Comment 6 Akhil Laddha 2012-06-18 16:57:58 UTC
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!