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 674615 - Shows Matroska subtitles by default
Shows Matroska subtitles by default
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: dont know
0.10.x
Other Linux
: Normal normal
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-04-23 10:26 UTC by Andrew Cowie
Modified: 2013-04-24 16:18 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Andrew Cowie 2012-04-23 10:26:54 UTC
Although I speak English (and more to the point have LANG=en_CA.UTF-8), in an attempt to be helpful Totem is displaying English subtitles when playing videos in more recent container formats such as Matroska. 

Perhaps this is unnecessary. When playing a movie whose default audio track is in the same language as the user's environment, subtitles should be _off_ by default, and only turned on if requested.

AfC
Comment 1 Bastien Nocera 2012-04-23 10:31:24 UTC
(In reply to comment #0)
> in an attempt to be helpful

Where did you get that from?
Comment 2 Andrew Cowie 2012-04-23 11:26:04 UTC
Hey Bastien,

(In reply to comment #1)
> Where did you get that from?

That was my impression reading http://library.gnome.org/users/totem/stable/totem-usage.html.en#totem-usage-subtitle It suggests that having subtitles on is what you'd want in the case that the movie is in your own language.

AfC
Comment 3 Bastien Nocera 2012-04-23 13:42:06 UTC
(In reply to comment #2)
> It suggests that having subtitles on is what you'd want in the case that the
> movie is in your own language.

That's not what it says. It says that the default subtitle is the one that matches your language. It doesn't talk about enabling it. And that only applies to DVDs in any case.

You might want to upload a test file to make debugging of this easier.
Comment 4 Bastien Nocera 2012-04-23 13:46:11 UTC
See also bug 628790
Comment 5 Andrew Cowie 2012-04-23 14:24:17 UTC
(In reply to comment #3)
> You might want to upload a test file to make debugging of this easier.

So I had a look around for a demo file with a suitable licence. Matroska provide sample files in their test suite, 180MB from http://www.matroska.org/downloads/test_w1.html (hosted on SourceForge). I had a look, and test5 in that set includes multiple audio tracks and multiple subtitle streams.

[If anything, I'd worry it'd be too good a test case; playing it I get Totem playing a _random_ language from the eight or so subtitle languages it has in there. Still, something weird going on.]

Anyway, nice test data, lots of corner cases!

AfC
Comment 6 Tim-Philipp Müller 2012-09-29 12:37:42 UTC
The random language/subtitle thing should be fixed in 1.0.0.

So what's the actual bug here for GStreamer?

Bastien, are you saying that playbin should check the locale and default to the right audio track based on that and enable/disable subtitles by default based on that? (rather than Totem?)
Comment 7 Tim-Philipp Müller 2012-10-18 11:08:50 UTC
So, is there anything to do for us here now that the random-subtitle-order at startup is fixed?
Comment 8 Tobias Mueller 2013-03-31 12:15:08 UTC
Let's assume this to be OBSOLETE then. Please reopen if this is not the case.
Comment 9 Andrew Cowie 2013-03-31 16:33:20 UTC
It's still present as of GNOME 3.6 / totem 3.6.2 (ie, it's still been happening for 6 months). Does that mean I should re-open it now, or wait until I have a chance to try 3.8.x?

AfC
Comment 10 Tim-Philipp Müller 2013-03-31 16:41:30 UTC
I'm still looking for an answer to comment #6 :)

But we could also just dup it to bug #bug #695968 which might be related.
Comment 11 Bastien Nocera 2013-04-24 16:18:47 UTC
(In reply to comment #6)
> The random language/subtitle thing should be fixed in 1.0.0.
> 
> So what's the actual bug here for GStreamer?
> 
> Bastien, are you saying that playbin should check the locale and default to the
> right audio track based on that and enable/disable subtitles by default based
> on that? (rather than Totem?)

resindvd does that for DVDs. There's a separate bug about having a list of preferred subtitles/sound tracks.