[gstreamer-bugs] [Bug 555647] New: subparse doesn't correctly handle 8859-15 encoded .srt-Files
GStreamer (bugzilla.gnome.org)
bugzilla-daemon at bugzilla.gnome.org
Thu Oct 9 02:56:45 PDT 2008
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=555647
GStreamer | gst-plugins-base | Ver: 0.10.20
Summary: subparse doesn't correctly handle 8859-15 encoded .srt-
Files
Product: GStreamer
Version: 0.10.20
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:
when parsing subtitles from an .SRT file that has latin-1 or 8859-15 encoding
(german umlaute characters), only lines that have no non-ascii symbols are sent
down the pipeline when no character encoding is specified. when setting
subtitle-encoding or the GST_SUBTITLE_ENCODING to "ISO-8859-15", then the
pipeline stops after the first occurance of a symbol.
the same subtitle file works as expected after recoding it to utf-8
Steps to reproduce:
1. gst-launch-0.10 filesrc location=subs.srt ! subparse ! fakesink dump=true
2. gst-launch-0.10 filesrc location=subs.srt ! subparse
subtitle-encoding="ISO-8859-1" ! fakesink dump=true
3. export GST_SUBTITLE_ENCODING="ISO-8859-15"
4. gst-launch-0.10 filesrc location=subs.srt ! subparse ! fakesink dump=true
Actual results:
1: skips lines containing non-ascii chars
2: pipeline stops after the second string
4: same as above
Expected results:
emit correctly encoded utf-8 strings when specifying the correct input encoding
Does this happen every time?
yes
Other information:
log and 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=555647.
More information about the Gstreamer-bugs
mailing list