Skip to content

FR: add libass backend #55

@jose1711

Description

@jose1711

This is just an idea. It still can help with issues like #52.

What if next to glut, gles, rpi and other backends there is another called called ass which would work like this:

  • upon starting the playback, lyrics in .blitz file is converted into .ass subtitles file, resulting in something like this:
Comment: 0,0:00:14.96,0:00:16.54,Elsa,,0,0,0,karaoke,{\kf10}The {\kf57}snow {\kf40}glows {\kf51}white
Comment: 0,0:00:16.54,0:00:18.02,Elsa,,0,0,0,karaoke,{\kf19}on {\kf19}the {\kf21}moun{\kf18}tain {\kf26}to{\kf45}night
Comment: 0,0:00:18.29,0:00:21.34,Elsa,,0,0,0,karaoke,{\kf17}Not {\kf7}a {\kf35}foot{\kf80}print {\k16}to {\k14}be {\kf136}seen

  • mpv is being passed the result as a subtitle file so it will be responsible for displaying it (there won't be an overlay layer)

Of course this won't be on par with other engines but this could greatly benefit boxes with not enough horse power (RPi still needs a mmal-enabled mpv though, though even more stripped down .srt together with omxplayer would solve this).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions