-
Notifications
You must be signed in to change notification settings - Fork 908
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
Headless cli on Linux #3568
Comments
You could try |
Similar error unfortunately. I'm most interested in
|
+1 still waiting for it 👍 |
I'd also love to get a Linux headless version of this, even just for subtitle conversion (I'm running it in Windows in CLI to convert SRT to PAC and EBU-STL, works so brilliantly, thank you!). The 'headless' version in this comment has gone now, any chance of trying again? #3568 (comment) |
Hey, I got it working with Docker on a headless Linux environment. The same process should also work without Docker. xvfb is used to run GUI applications on headless environments using a virtual display.
Part of my docker setup about Subtitle Edit:
After that, I also got an error about saying something like: After you do all that stuff, the terminal command looks like this: |
Wonderful, I'll try this out thank you @batatop - perfect timing as I was just about to resign myself to learning some PowerShell to use in Windows CLI scriptin. |
A dotnet 6 version of SE with cli only is now available here: https://github.com/SubtitleEdit/subtitleedit-cli The above solution from batatop is still nice - especially as SeCli does not support anything bitmap related incl. OCR. |
And |
Renamed to all lowercase
(based on feedback) |
I packaged up @batatop 's solution with some wrapper around it as a premade docker container, specifically for use with on demand conversions. https://github.com/Wauter/subtitle-convert-docker Just seen the SeCli info, SeCli in a container compiled for linux would make a much cleaner solution than using mono. |
Hey @Wauter, thanks for referencing my comment in your package 🍻 |
You are very welcome! |
@niksedk I've created a multistage dockerFile that can build + run seconv, see pull request. Let me know if that looks appropriate. |
@Wauter: thx for the docker PR :) |
I would like to run the application on a headless Linux server using mono but I get this error:
This seems to work on Windows without any problem. Is there anyway to start the application without needing xserver/ a display?
The text was updated successfully, but these errors were encountered: