GNOME Bugzilla – Bug 584811
playbin2's get-text-tags sometimes fails in text stream 0
Last modified: 2011-10-29 15:46:00 UTC
Please describe the problem: i got an mkv container with two subtitle streams from a customer today out of which the first track was sometimes being reported as "undefined" language in our enigma2 dreambox gui. i've tracked down the problem to the line g_signal_emit_by_name (m_gst_playbin, "get-text-tags", i, &tags); which _sometimes_ fails to assign the tags correctly, even though the message had shown up before: eServiceMP3::gst_message from matroskademux11: taglist, language-code=(string)dut, source-pad=(GstPad)"\(GstPad\)\ subtitle_00"; eServiceMP3::gst_message from matroskademux11: taglist, language-code=(string)tur, source-pad=(GstPad)"\(GstPad\)\ subtitle_01"; Steps to reproduce: i made a minimal example, which will be attached and also the beginning of the movie container 1. text-tags "file:///hdd/movie/Night At The Museum_sample.mkv" Actual results: root@dm8000:/testProgs# ./text-tags "file:///hdd/movie/Night At The Museum_sample.mkv" eServiceMP3::async-done - 1 video, 1 audio, 2 subtitle eServiceMP3::audio stream=0 codec=AC-3 audio language=eng eServiceMP3::subtitle stream=0 language=tur eServiceMP3::subtitle stream=1 language=dut root@dm8000:/testProgs# ./text-tags "file:///hdd/movie/Night At The Museum_sample.mkv" eServiceMP3::async-done - 1 video, 1 audio, 2 subtitle eServiceMP3::audio stream=0 codec=AC-3 audio language=eng eServiceMP3::subtitle stream=0 language=und eServiceMP3::subtitle stream=1 language=dut root@dm8000:/testProgs# ./text-tags "file:///hdd/movie/Night At The Museum_sample.mkv" eServiceMP3::async-done - 1 video, 1 audio, 2 subtitle eServiceMP3::audio stream=0 codec=AC-3 audio language=eng eServiceMP3::subtitle stream=0 language=tur eServiceMP3::subtitle stream=1 language=dut root@dm8000:/testProgs# ./text-tags "file:///hdd/movie/Night At The Museum_sample.mkv" eServiceMP3::async-done - 1 video, 1 audio, 2 subtitle eServiceMP3::audio stream=0 codec=AC-3 audio language=eng eServiceMP3::subtitle stream=0 language=tur eServiceMP3::subtitle stream=1 language=dut root@dm8000:/testProgs# ./text-tags "file:///hdd/movie/Night At The Museum_sample.mkv" eServiceMP3::async-done - 1 video, 1 audio, 2 subtitle eServiceMP3::audio stream=0 codec=AC-3 audio language=eng eServiceMP3::subtitle stream=0 language=und eServiceMP3::subtitle stream=1 language=dut Expected results: always process the stream tags correctly Does this happen every time? ~ 50% Other information:
Created attachment 135927 [details] Test case run with file:// uri as parameter
Created attachment 135928 [details] movie with 2 subtitle streams
Can you still reproduce this with a recent release? Tested with GStreamer 0.10.28 and the latest plugin releases the output now seems to be consistent over multiple runs: > ./text-tags file:///mnt/media/night_at_the_museum.mkv No accelerated IMDCT transform found eServiceMP3::async-done - 1 video, 1 audio, 2 subtitle eServiceMP3::audio stream=0 codec=Dolby Digital (AC-3) language=en eServiceMP3::subtitle stream=0 language=nl eServiceMP3::subtitle stream=1 language=tr
i know this is purely empiric but still doesn't really look perfect working with release 0.10.28 :/ root@dm8000:/testProgs# ./text-tags file:///hdd/movie/mkv/Night\ At\ The\ Museum_sample.mkv eServiceMP3::async-done - 1 video, 1 audio, 2 subtitle eServiceMP3::audio stream=0 codec=AC-3 audio language=en eServiceMP3::subtitle stream=0 language=und eServiceMP3::subtitle stream=1 language=und root@dm8000:/testProgs# ./text-tags file:///hdd/movie/mkv/Night\ At\ The\ Museum_sample.mkv eServiceMP3::async-done - 1 video, 1 audio, 2 subtitle eServiceMP3::audio stream=0 codec=AC-3 audio language=en eServiceMP3::subtitle stream=0 language=nl eServiceMP3::subtitle stream=1 language=tr root@dm8000:/testProgs# ./text-tags file:///hdd/movie/mkv/Night\ At\ The\ Museum_sample.mkv eServiceMP3::async-done - 1 video, 1 audio, 2 subtitle eServiceMP3::audio stream=0 codec=AC-3 audio language=en eServiceMP3::subtitle stream=0 language=nl eServiceMP3::subtitle stream=1 language=tr root@dm8000:/testProgs# ./text-tags file:///hdd/movie/mkv/Night\ At\ The\ Museum_sample.mkv eServiceMP3::async-done - 1 video, 1 audio, 2 subtitle eServiceMP3::audio stream=0 codec=AC-3 audio language=en eServiceMP3::subtitle stream=0 language=nl eServiceMP3::subtitle stream=1 language=tr root@dm8000:/testProgs# ./text-tags file:///hdd/movie/mkv/Night\ At\ The\ Museum_sample.mkv eServiceMP3::async-done - 1 video, 1 audio, 2 subtitle eServiceMP3::audio stream=0 codec=AC-3 audio language=en eServiceMP3::subtitle stream=0 language=und eServiceMP3::subtitle stream=1 language=und eServiceMP3::async-done - 1 video, 1 audio, 2 subtitle eServiceMP3::audio stream=0 codec=AC-3 audio language=en eServiceMP3::subtitle stream=0 language=und eServiceMP3::subtitle stream=1 language=und root@dm8000:/testProgs# ./text-tags file:///hdd/movie/mkv/Night\ At\ The\ Museum_sample.mkv eServiceMP3::async-done - 1 video, 1 audio, 2 subtitle eServiceMP3::audio stream=0 codec=AC-3 audio language=en eServiceMP3::subtitle stream=0 language=nl eServiceMP3::subtitle stream=1 language=tr root@dm8000:/testProgs# ./text-tags file:///hdd/movie/mkv/Night\ At\ The\ Museum_sample.mkv eServiceMP3::async-done - 1 video, 1 audio, 2 subtitle eServiceMP3::audio stream=0 codec=AC-3 audio language=en eServiceMP3::subtitle stream=0 language=nl eServiceMP3::subtitle stream=1 language=tr root@dm8000:/testProgs# ./text-tags file:///hdd/movie/mkv/Night\ At\ The\ Museum_sample.mkv eServiceMP3::async-done - 1 video, 1 audio, 2 subtitle eServiceMP3::audio stream=0 codec=AC-3 audio language=en eServiceMP3::subtitle stream=0 language=und eServiceMP3::subtitle stream=1 language=und
I can't reproduce this here, is it still a problem? Does it only happen with that single file?
worked now in 10 out of 10 tries. i'd consider it fixed :) thx