GNOME Bugzilla – Bug 575550
srt subtitle file keeps playbin2 from playing
Last modified: 2009-03-16 15:19:25 UTC
Please describe the problem: when supplying a certain srt suburi with a playbin2, playback doesn't start Steps to reproduce: 1. gst-launch playbin2 uri=file:///media/hdd/movie/mkv/artehd_2lang.mkv suburi=file:///media/hdd/movie/mkv/artehd_2lang.srt Actual results: Setting pipeline to PAUSED ... /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: connection-speed = 0 /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: subtitle-encoding = NULL /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: uri = "file:///media/hdd/movie/mkv/artehd_2lang.mkv" /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: buffer-duration = -1 /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0: buffer-size = -1 /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin1: connection-speed = 0 /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin1: subtitle-encoding = NULL /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin1: uri = "file:///media/hdd/movie/mkv/artehd_2lang.srt" /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin1: source = (GstFileSrc) source 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(807): gst_type_find_element_activate (): /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin1/GstDecodeBin2:decodebin20/GstTypeFindElement:typefind Setting pipeline to NULL ... FREEING pipeline ... Expected results: to recognize the subtitle file as expected Does this happen every time? yes Other information: the problem is specific to this subtitle file it's in german language and has special characters codepage is 8859-15 actual subtitle file to be uploaded...
Created attachment 130742 [details] subtitle file, 8859-15 encoding with german characters
i should probably mention, that setting the property subtitle-encoding=ISO-8859-15 doesn't change a thing
commit ba6d3b5aca488f37c47f2b44f60db3fa1d2ffa8c Author: Wim Taymans <wim.taymans@collabora.co.uk> Date: Mon Mar 16 16:16:30 2009 +0100 playbin2: release the shutdown lock Release the shutdown lock when we wait for other groups to complete or else we have a deadlock when the other group completes and tries to grab the shutdown lock. Fixes #575550.