Subtitleedit: SubtitleEdit command line seems to be appending subtitle files

Created on 19 Jan 2018  路  17Comments  路  Source: SubtitleEdit/subtitleedit

Running SubtitleEdit 3.5.4
When I run SubtitleEdit /convert *.mkv subrip /inputfolder:"C:\TEMP" /removetextforhi /fixcommonerrors
I end up with an X amount of subtitles files depending on the number that are in the original video.
It seems however that the second file is the first subtitle and then the second subtitle is appended to that.
image
other example
image

The result is an subtitle file that shows like this in the video:
image

Would it also be possible to only export and convert the first subtitle from the videofile?

All 17 comments

Will give it a try and let you know.
Would it also be possible to have more control over the file naming? Right now it uses underscores _ while all my post processing like Medusa expects dots .

Using version you provided
image

Still the same issue.
image

Strange... could you attach/email the mkv without video and audio (with mkvtoolnix) so I try your file?

I guess SE could use dot instead of underscore...

Here you go. This is just 1 example I've seen it in other files as well.
https://cloud.mgdn.nl/s/9rREM5otXD0Qtzo

Does this includes dots instead of underscores?

I think so...

Mysterious :)
Will give it a go.

This looks very good thank you!
image

@niksedk
I'm also curious, from the command line with options /removetextforhi /fixcommonerrors which will run first the remove HI or the fix common errors?
When I do it manually through the GUI I first do Remove HI and then Fix Common errors, in my logic that way mistakes that are created after removing HI are fixed with Common Errors.

OK, new beta up where /removetextforh and /fixcommonerrors will run in the order that you specify via cmd line (can even be multiple times): https://github.com/SubtitleEdit/subtitleedit/releases/download/3.5.4/SubtitleEditBeta.zip

To be honest that was just my thinking, is there any reasoning to it?
With multiple times you mean that I could specify /fixcommonerrors /removetextforhi /fixcommonerrors and it would do it in that order?

Yes...

@niksedk Because I put every file through SubtitleEdit command line, sometimes it will try on a file with no subtitle embedded.
Right now I get an error message input file too large

Subtitle Edit 3.5.4 - Batch converter

the.big.bang.theory.s11e14.1080p.web.x264-tbs.mkv: subrip - input file too large!

0 file(s) converted

@niksedk Thank you!
One last question, is the command line using the settings that are in the settings.xml in regards to the Common Errors and the removal of HI?

Yes, the current settings are using for Fix common error and Remove text for HI .

Was this page helpful?
0 / 5 - 0 ratings