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 584811 - playbin2's get-text-tags sometimes fails in text stream 0
playbin2's get-text-tags sometimes fails in text stream 0
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
git master
Other All
: Normal normal
: 0.10.36
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-06-04 10:16 UTC by Andreas Frisch
Modified: 2011-10-29 15:46 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Test case (6.03 KB, text/x-csrc)
2009-06-04 10:17 UTC, Andreas Frisch
Details
movie with 2 subtitle streams (844.88 KB, application/gzip)
2009-06-04 10:19 UTC, Andreas Frisch
Details

Description Andreas Frisch 2009-06-04 10:16:38 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:
Comment 1 Andreas Frisch 2009-06-04 10:17:31 UTC
Created attachment 135927 [details]
Test case

run with file:// uri as parameter
Comment 2 Andreas Frisch 2009-06-04 10:19:00 UTC
Created attachment 135928 [details]
movie with 2 subtitle streams
Comment 3 Thomas Green 2010-04-09 21:17:33 UTC
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
Comment 4 Andreas Frisch 2010-04-11 09:56:34 UTC
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
Comment 5 Sebastian Dröge (slomo) 2011-05-20 06:39:26 UTC
I can't reproduce this here, is it still a problem? Does it only happen with that single file?
Comment 6 Andreas Frisch 2011-05-20 08:05:47 UTC
worked now in 10 out of 10 tries. i'd consider it fixed :) thx