ffmpeg subtitle problem
labinotcurroja
HOBBYOP

3 months ago

Hey guys. im trying to deploy my app to railway, but the problem is that when i try to burn the subtitles in the video, its not working.

It seems that ffmpeg has to be complied with libass.

Can you help me resolve this? on the internet it says i have a shell on railway, but i cant find it.

$10 Bounty

6 Replies

Railway
BOT

3 months ago

Hey there! We've found the following might help you get unblocked faster:

If you find the answer from one of these, please let us know by solving the thread!


labinotcurroja
HOBBYOP

3 months ago

hey mate. Thanks for the reply. Im doing all of this (using nixpacks.toml) - it cant find a font config, ive tried to put the dejavu font but it cant locate it.

Ive tried everything to include it, but its not working lol


labinotcurroja

hey mate. Thanks for the reply. Im doing all of this (using nixpacks.toml) - it cant find a font config, ive tried to put the dejavu font but it cant locate it. Ive tried everything to include it, but its not working lol

labinotcurroja
HOBBYOP

3 months ago

im also using the nodejs ffmpeg installer binary, which is an old 2018 version. It has no fonts with it, so it uses system fonts. Its not installing the ffmpeg for the system. Im checking with the cli.


labinotcurroja

im also using the nodejs ffmpeg installer binary, which is an old 2018 version. It has no fonts with it, so it uses system fonts. Its not installing the ffmpeg for the system. Im checking with the cli.

labinotcurroja
HOBBYOP

3 months ago

okay guys, after an entire day i fixed it. To use nixpacks.toml you need a railway.toml - if not, the system just ignores the nixpacks. Horrible tbh.


3 months ago

I wouldn't call it "horrible", Nixpacks is deprecated and considered "legacy" and Railway recommends starting to use Railpack instead.


proudparrot2

I wouldn't call it "horrible", Nixpacks is deprecated and considered "legacy" and Railway recommends starting to use Railpack instead.

labinotcurroja
HOBBYOP

3 months ago

you are right. I was writing from frustration. The platform is good.


Loading...