wonderful, works well. thank you, mx3L
Thanks for the test.
Little more about the issue:
gst-launch-1.0 playbin uri=file:///home/marko/Downloads/sample.mkv -m
....
ximum-bitrate\=\(uint\)32000\;";
Got message #382 from element "dvbaudiosink0" (tag): GstMessageTag, taglist=(taglist)"taglist\,\ audio-codec\=\(string\)\"MPEG-1\\\ Layer\\\ 3\\\ \\\(MP3\\\)\"\,\ language-code\=\(string\)hu\,\ bitrate\=\(uint\)120461\,\ extended-comment\=\(string\)\{\ \"DURATION\\\=00:03:00.480000000\"\,\ \"NUMBER_OF_FRAMES\\\=7520\"\,\ \"NUMBER_OF_BYTES\\\=2717616\"\,\ \"_STATISTICS_WRITING_APP\\\=mkvmerge\\\ v8.3.0\\\ \\\(\\\'Over\\\ the\\\ Horizon\\\'\\\)\\\ 64bit\"\,\ \"_STATISTICS_WRITING_DATE_UTC\\\=2015-09-22\\\ 20:16:03\"\,\ \"_STATISTICS_TAGS\\\=BPS\\\ DURATION\\\ NUMBER_OF_FRAMES\\\ NUMBER_OF_BYTES\"\ \}\,\ has-crc\=\(boolean\)false\,\ channel-mode\=\(string\)joint-stereo\,\ minimum-bitrate\=\(uint\)32000\,\ maximum-bitrate\=\(uint\)32000\;";
Got message #383 from element "dvbaudiosink0" (tag): GstMessageTag, taglist=(taglist)"taglist\,\ audio-codec\=\(string\)\"MPEG-1\\\ Layer\\\ 3\\\ \\\(MP3\\\)\"\,\ language-code\=\(string\)hu\,\ bitrate\=\(uint\)120461\,\ extended-comment\=\(string\)\{\ \"DURATION\\\=00:03:00.480000000\"\,\ \"NUMBER_OF_FRAMES\\\=7520\"\,\ \"NUMBER_OF_BYTES\\\=2717616\"\,\ \"_STATISTICS_WRITING_APP\\\=mkvmerge\\\ v8.3.0\\\ \\\(\\\'Over\\\ the\\\ Horizon\\\'\\\)\\\ 64bit\"\,\ \"_STATISTICS_WRITING_DATE_UTC\\\=2015-09-22\\\ 20:16:03\"\,\ \"_STATISTICS_TAGS\\\=BPS\\\ DURATION\\\ NUMBER_OF_FRAMES\\\ NUMBER_OF_BYTES\"\ \}\,\ has-crc\=\(boolean\)false\,\ channel-mode\=\(string\)joint-stereo\,\ minimum-bitrate\=\(uint\)32000\,\ maximum-bitrate\=\(uint\)32000\;";
Got message #384 from element "dvbaudiosink0" (tag): GstMessageTag, taglist=(taglist)"taglist\,\ audio-codec\=\(string\)\"MPEG-1\\\ Layer\\\ 3\\\ \\\(MP3\\\)\"\,\ language-code\=\(string\)hu\,\ bitrate\=\(uint\)120461\,\ extended-comment\=\(string\)\{\ \"DURATION\\\=00:03:00.480000000\"\,\ \"NUMBER_OF_FRAMES\\\=7520\"\,\ \"NUMBER_OF_BYTES\\\=2717616\"\,\ \"_STATISTICS_WRITING_APP\\\=mkvmerge\\\ v8.3.0\\\ \\\(\\\'Over\\\ the\\\ Horizon\\\'\\\)\\\ 64bit\"\,\ \"_STATISTICS_WRITING_DATE_UTC\\\=2015-09-22\\\ 20:16:03\"\,\ \"_STATISTICS_TAGS\\\=BPS\\\ DURATION\\\ NUMBER_OF_FRAMES\\\ NUMBER_OF_BYTES\"\ \}\,\ has-crc\=\(boolean\)false\,\ channel-mode\=\(string\)joint-stereo\,\ minimum-bitrate\=\(uint\)32000\,\ maximum-bitrate\=\(uint\)32000\;";
Got message #386 from element "dvbaudiosink0" (tag): GstMessageTag, taglist=(taglist)"taglist\,\ audio-codec\=\(string\)\"MPEG-1\\\ Layer\\\ 3\\\ \\\(MP3\\\)\"\,\ language-code\=\(string\)hu\,\ bitrate\=\(uint\)120461\,\ extended-comment\=\(string\)\{\ \"DURATION\\\=00:03:00.480000000\"\,\ \"NUMBER_OF_FRAMES\\\=7520\"\,\ \"NUMBER_OF_BYTES\\\=2717616\"\,\ \"_STATISTICS_WRITING_APP\\\=mkvmerge\\\ v8.3.0\\\ \\\(\\\'Over\\\ the\\\ Horizon\\\'\\\)\\\ 64bit\"\,\ \"_STATISTICS_WRITING_DATE_UTC\\\=2015-09-22\\\ 20:16:03\"\,\ \"_STATISTICS_TAGS\\\=BPS\\\ DURATION\\\ NUMBER_OF_FRAMES\\\ NUMBER_OF_BYTES\"\ \}\,\ has-crc\=\(boolean\)false\,\ channel-mode\=\(string\)joint-stereo\,\ minimum-bitrate\=\(uint\)32000\,\ maximum-bitrate\=\(uint\)32000\;";
Got message #388 from element "dvbaudiosink0" (tag): GstMessageTag, taglist=(taglist)"taglist\,\ audio-codec\=\(string\)\"MPEG-1\\\ Layer\\\ 3\\\ \\\(MP3\\\)\"\,\ language-code\=\(string\)hu\,\ bitrate\=\(uint\)120461\,\ extended-comment\=\(string\)\{\ \"DURATION\\\=00:03:00.480000000\"\,\ \"NUMBER_OF_FRAMES\\\=7520\"\,\ \"NUMBER_OF_BYTES\\\=2717616\"\,\ \"_STATISTICS_WRITING_APP\\\=mkvmerge\\\ v8.3.0\\\ \\\(\\\'Over\\\ the\\\ Horizon\\\'\\\)\\\ 64bit\"\,\ \"_STATISTICS_WRITING_DATE_UTC\\\=2015-09-22\\\ 20:16:03\"\,\ \"_STATISTICS_TAGS\\\=BPS\\\ DURATION\\\ NUMBER_OF_FRAMES\\\ NUMBER_OF_BYTES\"\ \}\,\ has-crc\=\(boolean\)false\,\ channel-mode\=\(string\)joint-stereo\,\ minimum-bitrate\=\(uint\)32000\,\ maximum-bitrate\=\(uint\)32000\;";
Got message #389 from element "dvbaudiosink0" (tag): GstMessageTag, taglist=(taglist)"taglist\,\ audio-codec\=\(string\)\"MPEG-1\\\ Layer\\\ 3\\\ \\\(MP3\\\)\"\,\ language-code\=\(string\)hu\,\ bitrate\=\(uint\)120461\,\ extended-comment\=\(string\)\{\ \"DURATION\\\=00:03:00.480000000\"\,\ \"NUMBER_OF_FRAMES\\\=7520\"\,\ \"NUMBER_OF_BYTES\\\=2717616\"\,\ \"_STATISTICS_WRITING_APP\\\=mkvmerge\\\ v8.3.0\\\ \\\(\\\'Over\\\ the\\\ Horizon\\\'\\\)\\\ 64bit\"\,\ \"_STATISTICS_WRITING_DATE_UTC\\\=2015-09-22\\\ 20:16:03\"\,\ \"_STATISTICS_TAGS\\\=BPS\\\ DURATION\\\ NUMBER_OF_FRAMES\\\ NUMBER_OF_BYTES\"\ \}\,\ has-crc\=\(boolean\)false\,\ channel-mode\=\(string\)joint-stereo\,\ minimum-bitrate\=\(uint\)32000\,\ maximum-bitrate\=\(uint\)32000\;";
Got message #391 from element "dvbaudiosink0" (tag): GstMessageTag, taglist=(taglist)"taglist\,\ audio-codec\=\(string\)\"MPEG-1\\\ Layer\\\ 3\\\ \\\(MP3\\\)\"\,\ language-code\=\(string\)hu\,\ bitrate\=\(uint\)120461\,\ extended-comment\=\(string\)\{\ \"DURATION\\\=00:03:00.480000000\"\,\ \"NUMBER_OF_FRAMES\\\=7520\"\,\ \"NUMBER_OF_BYTES\\\=2717616\"\,\ \"_STATISTICS_WRITING_APP\\\=mkvmerge\\\ v8.3.0\\\ \\\(\\\'Over\\\ the\\\ Horizon\\\'\\\)\\\ 64bit\"\,\ \"_STATISTICS_WRITING_DATE_UTC\\\=2015-09-22\\\ 20:16:03\"\,\ \"_STATISTICS_TAGS\\\=BPS\\\ DURATION\\\ NUMBER_OF_FRAMES\\\ NUMBER_OF_BYTES\"\ \}\,\ has-crc\=\(boolean\)false\,\ channel-mode\=\(string\)joint-stereo\,\ minimum-bitrate\=\(uint\)32000\,\ maximum-bitrate\=\(uint\)32000\;";
Got message #393 from element "dvbaudiosink0" (tag): GstMessageTag, taglist=(taglist)"taglist\,\ audio-codec\=\(string\)\"MPEG-1\\\ Layer\\\ 3\\\ \\\(MP3\\\)\"\,\ language-code\=\(string\)hu\,\ bitrate\=\(uint\)120461\,\ extended-comment\=\(string\)\{\ \"DURATION\\\=00:03:00.480000000\"\,\ \"NUMBER_OF_FRAMES\\\=7520\"\,\ \"NUMBER_OF_BYTES\\\=2717616\"\,\ \"_STATISTICS_WRITING_APP\\\=mkvmerge\\\ v8.3.0\\\ \\\(\\\'Over\\\ the\\\ Horizon\\\'\\\)\\\ 64bit\"\,\ \"_STATISTICS_WRITING_DATE_UTC\\\=2015-09-22\\\ 20:16:03\"\,\ \"_STATISTICS_TAGS\\\=BPS\\\ DURATION\\\ NUMBER_OF_FRAMES\\\ NUMBER_OF_BYTES\"\ \}\,\ has-crc\=\(boolean\)false\,\ channel-mode\=\(string\)joint-stereo\,\ minimum-bitrate\=\(uint\)32000\,\ maximum-bitrate\=\(uint\)32000\;";
Got message #394 from element "dvbaudiosink0" (tag): GstMessageTag, taglist=(taglist)"taglist\,\ audio-codec\=\(string\)\"MPEG-1\\\ Layer\\\ 3\\\ \\\(MP3\\\)\"\,\ language-code\=\(string\)hu\,\ bitrate\=\(uint\)120461\,\ extended-comment\=\(string\)\{\ \"DURATION\\\=00:03:00.480000000\"\,\ \"NUMBER_OF_FRAMES\\\=7520\"\,\ \"NUMBER_OF_BYTES\\\=2717616\"\,\ \"_STATISTICS_WRITING_APP\\\=mkvmerge\\\ v8.3.0\\\ \\\(\\\'Over\\\ the\\\ Horizon\\\'\\\)\\\ 64bit\"\,\ \"_STATISTICS_WRITING_DATE_UTC\\\=2015-09-22\\\ 20:16:03\"\,\ \"_STATISTICS_TAGS\\\=BPS\\\ DURATION\\\ NUMBER_OF_FRAMES\\\ NUMBER_OF_BYTES\"\ \}\,\ has-crc\=\(boolean\)false\,\ channel-mode\=\(string\)joint-stereo\,\ minimum-bitrate\=\(uint\)32000\,\ maximum-bitrate\=\(uint\)32000\;";
Got message #395 from element "dvbaudiosink0" (tag): GstMessageTag, taglist=(taglist)"taglist\,\ audio-codec\=\(string\)\"MPEG-1\\\ Layer\\\ 3\\\ \\\(MP3\\\)\"\,\ language-code\=\(string\)hu\,\ bitrate\=\(uint\)120461\,\ extended-comment\=\(string\)\{\ \"DURATION\\\=00:03:00.480000000\"\,\ \"NUMBER_OF_FRAMES\\\=7520\"\,\ \"NUMBER_OF_BYTES\\\=2717616\"\,\ \"_STATISTICS_WRITING_APP\\\=mkvmerge\\\ v8.3.0\\\ \\\(\\\'Over\\\ the\\\ Horizon\\\'\\\)\\\ 64bit\"\,\ \"_STATISTICS_WRITING_DATE_UTC\\\=2015-09-22\\\ 20:16:03\"\,\ \"_STATISTICS_TAGS\\\=BPS\\\ DURATION\\\ NUMBER_OF_FRAMES\\\ NUMBER_OF_BYTES\"\ \}\,\ has-crc\=\(boolean\)false\,\ channel-mode\=\(string\)joint-stereo\,\ minimum-bitrate\=\(uint\)32000\,\ maximum-bitrate\=\(uint\)32000\;";
Got message #397 from element "dvbaudiosink0" (tag): GstMessageTag, taglist=(taglist)"taglist\,\ audio-codec\=\(string\)\"MPEG-1\\\ Layer\\\ 3\\\ \\\(MP3\\\)\"\,\ language-code\=\(string\)hu\,\ bitrate\=\(uint\)120461\,\ extended-comment\=\(string\)\{\ \"DURATION\\\=00:03:00.480000000\"\,\ \"NUMBER_OF_FRAMES\\\=7520\"\,\ \"NUMBER_OF_BYTES\\\=2717616\"\,\ \"_STATISTICS_WRITING_APP\\\=mkvmerge\\\ v8.3.0\\\ \\\(\\\'Over\\\ the\\\ Horizon\\\'\\\)\\\ 64bit\"\,\ \"_STATISTICS_WRITING_DATE_UTC\\\=2015-09-22\\\ 20:16:03\"\,\ \"_STATISTICS_TAGS\\\=BPS\\\ DURATION\\\ NUMBER_OF_FRAMES\\\ NUMBER_OF_BYTES\"\ \}\,\ has-crc\=\(boolean\)false\,\ channel-mode\=\(string\)joint-stereo\,\ minimum-bitrate\=\(uint\)32000\,\ maximum-bitrate\=\(uint\)32000\;";
Got message #398 from element "dvbaudiosink0" (tag): GstMessageTag, taglist=(taglist)"taglist\,\ audio-codec\=\(string\)\"MPEG-1\\\ Layer\\\ 3\\\ \\\(MP3\\\)\"\,\ language-code\=\(string\)hu\,\ bitrate\=\(uint\)120461\,\ extended-comment\=\(string\)\{\ \"DURATION\\\=00:03:00.480000000\"\,\ \"NUMBER_OF_FRAMES\\\=7520\"\,\ \"NUMBER_OF_BYTES\\\=2717616\"\,\ \"_STATISTICS_WRITING_APP\\\=mkvmerge\\\ v8.3.0\\\ \\\(\\\'Over\\\ the\\\ Horizon\\\'\\\)\\\ 64bit\"\,\ \"_STATISTICS_WRITING_DATE_UTC\\\=2015-09-22\\\ 20:16:03\"\,\ \"_STATISTICS_TAGS\\\=BPS\\\ DURATION\\\ NUMBER_OF_FRAMES\\\ NUMBER_OF_BYTES\"\ \}\,\ has-crc\=\(boolean\)false\,\ channel-mode\=\(string\)joint-stereo\,\ minimum-bitrate\=\(uint\)32000\,\ maximum-bitrate\=\(uint\)32000\;";
....
We are flooded by the same tags events. In servicemp3 on every received TAG message we create evUpdatedInfo. So in MoviePlayer there are some mixins flooded with evUpdatedInfo, like AudioSelection which tries get subtitles list, update audio info on evUpdatedInfo -> spinners.
So I think it's not a bad idea to ignore same tag's messages and only create evUpdatedInfo when something really changes.
Why we are flooded by tags messages?
I guess it has something to do with updated baseparse API for tags handling - https://bugzilla.gno...g.cgi?id=679768