Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for graphic subtitle formats in cutscenes #1753

Open
NovachenFS2 opened this issue Jun 9, 2018 · 6 comments
Open

Support for graphic subtitle formats in cutscenes #1753

NovachenFS2 opened this issue Jun 9, 2018 · 6 comments
Labels
enhancement A new feature or upgrade of an existing feature to add additional functionality. graphics A feature or issue related to graphics (2d and 3d)

Comments

@NovachenFS2
Copy link
Contributor

NovachenFS2 commented Jun 9, 2018

Well, because of the beginning discussion in the Forums: https://www.hard-light.net/forums/index.php?topic=94802.msg186906 and the up- and downsides of SRT files, i create this issue here, because i made my reasons why SRT is not a desireable format for me right now.

So i simply want to see support for subtitles that are based on a graphical layer, as far as i know SUB/IDX (also used on DVDs back then) and PGS (also used on BluRays today) are the most common ones these days. Even they are hard to create, because they are graphic files, they surely would make downloads much smaller without to download whole language specific cutscenes (and yes, i see the downsides of this as well). And you will not have any limitations in the creation of a subtitle, because it is a layer above the video track you can design like you want.

Because i am maybe the only one who would ever use this feature i actually do not see that this will be implemented (which i also can understand ^^). But i wanted to bring it up at least (once again after a discussion in an older topic as well)

@The-E
Copy link
Member

The-E commented Jun 9, 2018

Does ffmpeg support these formats?

@NovachenFS2
Copy link
Contributor Author

As far as i know, based on this list: https://www.ffmpeg.org/general.html#File-Formats. It should.

@asarium
Copy link
Member

asarium commented Jun 9, 2018

FFmpeg has support for PGS and DVD subitles but I'll need an example of a movie file with those subtitles before I can look into how this could be supported.

@NovachenFS2
Copy link
Contributor Author

I admit, that i actually never created one myself. But i will try to make one. Could take a while however, because i have to read in in the creation process of that myself.

@asarium
Copy link
Member

asarium commented Jun 9, 2018

It doesn't have to be a full cutscene. Just a few example subtitles with varying styles would be enough to implement the basic support (or to realize that it's too much work).

@NovachenFS2
Copy link
Contributor Author

NovachenFS2 commented Jun 9, 2018

Yeah, i actually tried a bit and it seems, that the idea i had in mind is reached by the SSA/ASS format actually. And that is a text based subtitle format (never know that), because it allows to reposition, to color and to select invidual fonts for each subtitle and is able to include the needed font file as well.

In the attachment is a small 15 second sequence of FS1' hallfight, but in mp4 of course, not sure if this is working with OGG at all. This one has two different styles for subtitles. Descriptions and the normal chatter.
The corresponding font was embedded in the ass file.

As for SUB and PGS, actually i do not find a good tutorial to make one so far. And all converters i have found get rid of the graphic style by fonts etc. (so they get rid of the reason, why i actually suggested them in the first place)

hallfight short.zip

@z64555 z64555 added the enhancement A new feature or upgrade of an existing feature to add additional functionality. label Jul 13, 2018
@JohnAFernandez JohnAFernandez added the graphics A feature or issue related to graphics (2d and 3d) label Sep 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement A new feature or upgrade of an existing feature to add additional functionality. graphics A feature or issue related to graphics (2d and 3d)
Projects
Status: To Sort
Development

No branches or pull requests

5 participants