[gstreamer-bugs] [Bug 584441] New: rethink playbin2's policiy of dealing with suburi streams that come with unknown encodings

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Mon Jun 1 04:36:37 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=584441

  GStreamer | gst-plugins-base | Ver: git
           Summary: rethink playbin2's policiy of dealing with suburi
                    streams that come with unknown encodings
           Product: GStreamer
           Version: git
          Platform: Other
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-base
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: andreas.frisch at multimedia-labs.de
         QAContact: gstreamer-bugs at lists.sourceforge.net
     GNOME version: Unspecified
   GNOME milestone: Unspecified


Please describe the problem:
i find it unsatisfying that when adding a suburi srt subtitle file to a
playbin2 pipeline, the playback will fail to preroll in case the srt file has a
non-utf8 character set. i work on the dreambox again, with our minimal embedded
linux environment and we only ship the distro with utf and 8859-15 gconv
charmaps.
when having an srt file in cp1250 encoding i get the described problem, even if
cp1250 gconv table is installed.


Steps to reproduce:
gst-launch playbin2 uri=file:///media/hdd/movie/avi/coa-dragonevo-xvid.avi
suburi=file:///media/hdd/movie/avi/coa-dragonevo-xvid.srt


Actual results:
Setting pipeline to PAUSED ...
ERROR: Pipeline doesn't want to pause.
ERROR: from element
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin1/GstDecodeBin2:decodebin20/GstTypeFindElement:typefind:
Could not determine type of stream.
Additional debug info:
gsttypefindelement.c(888): gst_type_find_element_activate ():
/GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin1/GstDecodeBin2:decodebin20/GstTypeFindElement:typefind
Setting pipeline to NULL ...
Freeing pipeline ...


Expected results:
i'd be happy if the playback would start anyways, ignoring the undeterminable
text stream and maybe posting a message on the bus

Does this happen every time?
yes, even though
root at dm8000:/media/hdd/movie/avi# ipkg list_installed | grep 1250
glibc-charmap-cp1250 - 2.3.5+cvs20051107-r0 -
glibc-gconv-cp1250 - 2.3.5+cvs20051107-r0 -
and also with specifying "subtitle-encoding=CP1250"

Other information:
actual srt file to be uploaded


-- 
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=584441.




More information about the Gstreamer-bugs mailing list