Skip to content
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

Q: Open app with video as argument? #8064

Closed
noembryo opened this issue Mar 24, 2024 · 2 comments
Closed

Q: Open app with video as argument? #8064

noembryo opened this issue Mar 24, 2024 · 2 comments

Comments

@noembryo
Copy link

noembryo commented Mar 24, 2024

This is not an issue, just a question for your wonderful application.

I have associated the .srt files plus some video types (.mp4, .mkv, .avi,..) to open with Subtitle Edit using the command "APP_PATH" "%1".
And although the .srt file opens in the app normally, the video files open the app but are not loaded.
Instead I see a "No subtitles found" error dialog.

I use this all the time, when I want to create subtitles from scratch for a video that has none.
So, the question is:
Is there a command that will open the app and load a video file (without subtitles) at once?

TIA 🙏

@niksedk
Copy link
Member

niksedk commented Mar 25, 2024

I think you can add something like /video:<video_file_name>, e.g. SubtitleEdit.exe a.srt /video:myvideo.mkv

Note that SE will auto-open video files that matches the subtitle file name, e.g. when opening a.srt then SE will look for a video file like a.mkv.

@noembryo
Copy link
Author

What I was referring to, was to open the app using only a video file as argument, with no subtitle file involved..

But your suggestion works perfectly! 🥳 🎆 🍾
The argument I used was "APP_PATH" /video:"%1"

Thank you! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants