GNOME Bugzilla – Bug 720687
game-music-emu files with multiple songs only play first song
Last modified: 2018-11-03 13:19:37 UTC
Hi guys! The GBS format supports multiple songs (from the Game Boy) in one .gbs file. See [1] for an example file. I've checked the git code [2], and even though the game-music-emu library supports playback and querying info about multiple songs in one file (via gme_track_count() and gme_start_track()), track 0 (first track of file) is hardcoded, thus ignoring any other tracks in the same file. I would write the patch myself, but I don't know the GStreamer API well enough, I'm only familiar with the game-music-emu API. I've seen an article [3] about streamids, so I know this should be possible. If someone can hint to where I can look in the code, maybe a similar plugin that supports multiple tracks, or the API headers, I can make a patch. [1] http://www.zophar.net/music/gbs/castlevania-2-belmont-s-revenge.html [2] http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/tree/ext/gme/gstgme.c [3] http://blogs.gnome.org/uraeus/2012/11/25/improved-handling-of-files-with-multiple-tracks-in-gstreamer/
I need to mention that these are not like multi-language audio in a movie, since they're not simultaneous. The end result should be opening the gbs file with your favorite player ( I use rhythmbox), and instead of one entry, several entries should be added in the playlist. Not sure if this has to do with GStreamer though.
I need to mention that these are not like multi-language audio in a movie, since they're not simultaneous. The end result should be opening the gbs file with your favorite player ( I use rhythmbox), and instead of one entry, several entries should be added in the playlist. Not sure if this has to do with GStreamer though. Alternately, songs could be concatenated. This is a patch that I could write, if the other ideas cannot be cleanly implemented.
Other tracks should probably be exposed with the TOC interface.
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/123.