gnomecast
gnomecast copied to clipboard
Custom subtitle fonts
Hi.
I am impressed by this initiative. I have been looking for a direct Linux to Chromecast transcoding solution for some time, and this project is on the right track!
For a start, which component is responsible for subtitle font choice? I'd be keen to be able to change the default.
Many thanks.
Thanks!
Subtitle control would be part of the DefaultMediaReceiver web app in Chromecast. There's very little documentation about it last I checked.
We could also code a custom media receiver. That would allow font customization.
On Sat, Jul 11, 2020, 2:18 PM Attila Szász [email protected] wrote:
Hi.
I am impressed by this initiative. I have been looking for a direct Linux to Chromecast transcoding solution for some time, and this project is on the right track!
For a start, which component is responsible for subtitle font choice? I'd be keen to be able to change the default.
Many thanks.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/keredson/gnomecast/issues/131, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAPUNAILTN2UAVNDP4SQAXLR3DJLBANCNFSM4OXPHVZA .
Thanks for the leads @keredson! Just had a brief look now.
Heading off from https://developers.google.com/cast/docs/caf_receiver I discovered the TextTracksManager class which has a setTextTrackStyle() method. Its underlying TextTrackStyle class has a fontFamily property.
Wouldn't this be the right place to dig around for changing the displayed font?
i will happily take a PR for a CAF receiver implementation!
@keredson would you mind pointing me at the code files in gnomecast where such change would be integrated?
Ah forget it, it's probably somewhere in gnomecast.py.
Well this would be a new file since it'd be writing a custom media receiver with the CAF framework. I don't really know what that entails, prob a HTML/JS/CSS package.
On Mon, Aug 10, 2020, 4:38 PM Attila Szász [email protected] wrote:
Ah forget it, it's probably somewhere in gnomecast.py.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/keredson/gnomecast/issues/131#issuecomment-671642096, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAPUNANA2TOGOBX6B6B6E7LSACAFXANCNFSM4OXPHVZA .