Comments (3)
It was never my intention to make this desktop application work in a headless environment but I am willing to look into how much work it would be and time permitting implement it.
Indeed we should not eagerly initialize the GUI related parts if we don't need the GUI at all. Whether we need the GUI or not is not a trivial question. Just because the application is started from command line it does not mean the GUI is not loaded later. One example is when you start the application without the output file name specified:
java -jar BDSup2Sub [options]
This will result in loading the GUI with the specified input file pre-loaded for you and all the options applied.
I will look into what needs to be done to make BDSup2Sub work in a headless environment. Essentially if we don't have a full command line (e.g. no output file name specified) the fallback should be starting the GUI if we have a display (this is the current behavior) and a descriptive error message in a headless environment (this needs some work). If we have a full command line it should work regardless of the presence of a display (this needs some work as well).
from bdsup2sub.
I see. That makes sense. I'm grateful that BDSup2Sub even has a CLI mode in the first place and can convert my PGS subs. : ) As far as the scenarios you describe, I'm happy to have a basic headless sub conversion work from
from bdsup2sub.
I am happy to hear you like the CLI mode ;-)
BTW, I reopened this issue because this way it's listed for the next milestone so it remains on my radar. You'll be notified when it has been fixed and I'll close the issue then.
from bdsup2sub.
Related Issues (20)
- Command line option --language is broken
- OSX bundle v.5.1.2 : export menu is disabled
- Faulty DVD sub pictures when size is odd
- Request for inverse of forced only HOT 2
- Bug in export of subtitles - always changes frame rate HOT 1
- Subtitles At Top, Can't Move to Bottom
- Normal and forced start at the same time on DVD
- green background in player after saving subtitle
- feature request: when outputting png files, also output srtx file HOT 1
- out of date dependency for ubuntu 16.04 and later
- Document how to get started or include jar building script HOT 7
- 'Sing-Along' track from Greatest Showman not supported
- “BDSup2Sub” is damaged and can’t be opened. You should move it to the Trash. HOT 1
- Share a release of v5.1.2
- No install instructions
- Export in XML with Timestamp
- something wrong of the WARNING: missing end time of frame and fixed
- BDSup2Sub512.jar does not launch in single user mode (tested on Debian Linux 7 & 11).
- ERROR: Unexpected command 0 at index 0x00000012
- Convert IDX/SUB to Images with time codes in file name
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bdsup2sub.