Page 1 of 1

Subtitle problem

Posted: Mon Jun 06, 2022 5:50 pm
by Wolf-man451
So I want to put some fansub anime on disc. This is just for my personal use, I am not going to sell these, just as a disclaimer.

I lm having an issue with the subtitles not coming out right on the disc. The file type is MKV and the sub type is ASS. Everytime I burn this type, some of the subtitles are delayed or cut off. Is there any way to fix this or is this video and sub type not able to convert properly?

Re: Subtitle problem

Posted: Tue Jun 07, 2022 3:06 am
by JJ
Check on those subtitles that they are good before conversion.
I have a lot of files with different problems:
when subtitles simply drift off-sync from start - means they have wrong timing, quite often subtitles are for 23.96FPS and movie is 24FPS
this problem needs external program to edit subtitle timing.
another issue is when subtitles are from dvd/br and actual movie ripped from tv and ads are cut off creating problems with sync.
also needs external program to fix, you need to listen to audio and match subtitles with editor.

Usually both of those are so time consuming tasks that it is easier to find another subtitle file that matches the movies timing.

Re: Subtitle problem

Posted: Wed Jun 08, 2022 4:02 am
by Wolf-man451
I don't think its a problem with the subtitles. They work fine when I watch using VLC on my computer or through my xbox. Just when I burn them to disc they get weird.

Re: Subtitle problem

Posted: Sat Jun 11, 2022 8:50 am
by Nemesh
It's a bug in the ConvertXtoHD mux-engine I reported years ago.
Subtitles need to be at leats 0.8 sec. from each other otherwise you get this problem.

1, Download Subtitle Edit
2. Load the srt file
3. Select: File -> Export -> Blu-ray (sup)...
Here you can also set everthing as you want.
Take good care that you select the correct frame speed.
Right click on you mkv file -> properties -> details to see the frame rate.
Otherwise you subtitles will not be in sync.

In ConvertXtoHD -> Settings -> Subtitle -> Disabled (alway encode)
Load the mkv without the srt file in ConvertXtoHD.
Then add the .sup file.

Start the conversion.
If everything goes well it should work.

Subtitle Edit can be download here: https://www.nikse.dk/
If you need to change the frame rate in Subtitle Edit go to:

1. Synvhronization
2. Select: Change frame rate..

You can encouter several problems with sync.
Often black spaces (were the commercial use to be) are in the video but not in the srt file that was created from DVD.
Most of the time they are on the chapters points but I have already encountered several series were they are at random positions.
For example the series: The Expanse.

Also, the frame rate is 23.976 but if you set the subtitle speed also to that frame rate it it out of sync.
Happens often with older series and/or movies.
Then I set the frame rate to 25fps and then the subtitle is in sync.
Take Notice: If you create the .sup file from this srt set frame rate to 23.976.
I know sounds strange but it will work.

Re: Subtitle problem

Posted: Sat Jun 11, 2022 10:27 am
by JJ
Wolf-man451 wrote: Wed Jun 08, 2022 4:02 am I don't think its a problem with the subtitles. They work fine when I watch using VLC on my computer or through my xbox. Just when I burn them to disc they get weird.
I get these problems without conversion. I use Serviio to provide files to TV and these off-syncs happen a lot. Fixing subtitles or getting better ones fixes these problems.

But it has nothing to do with ConvertXtoHD3 !

Re: Subtitle problem

Posted: Sat Jun 11, 2022 11:10 pm
by Nemesh
Yes it does have everything to do with CovnvertXtoHD.
Even more Jaques has confimed that with a PM.
So you better conatact Jaques first before write something that it has nothing to do with ConvetXtoHD.
Look on this board for my bug reports.
Ask Jaques and let him explain why VSO doens't correct this bug instead shouting on this board that ConvertXtoHD has nothing to do with this.
Because I can provide you with the prove ConvertXHD has everything to do with this.
I saved all the PM's!

Further more, I upload my projects and everything else to Jaques for investigation.
And guess what, since ConvertXtoHD version 7.0.0.73 (May 2019) no bug fixes happend.
7.0.0.74 has a menu bug causing the menu not working right.
This I also reported.

VSO answer in 2019... we will correct all my bugs with the x64 CovertXsuite.
VSO wanted to first convert the VSO downloader to x64 and then take on the ConvertXsuiote to x64.
But all of a sudden they also want to make the VSO player x64.

In the mean time VSO are selling the product on you main web-site if it works fine.
But it doesn't like I wrote in many bug reports on this forum.

VSO need to start to work on what made them big: CovertXto... xxx
But that coin hasn't dropped yet.

To prove everything...
Download TsMuxer latests edition here: https://www.videohelp.com/software/tsMuxeR
Mux you movie with that tool BD and 4K and it works 100% every time.

I asked Jaques to suport this tool cause it supports cmd commands.
The answer was, that it was not so easy as I tought it was.
Well it is, but that's the standard VSO answer.

Found a way to let make ConertXtoHD to make the menu but replace the files with the original source files.
And gues what 99% of my problems is gone and no, I am not gonna explain that here.
Why? Because it not my problem.
You whan help?
Search contact with Justdan96 at his GitHub site, maybe Jauqes can learn somethiong from him and
improve the internal muxer from ConvertXtoHD.
You can contact him here: https://github.com/justdan96/tsMuxer
In the mean while, stop telling paying members that ConvetXtoHD isn't the problem, because it is.
With regards,

Nemesh

Re: Subtitle problem

Posted: Sun Jun 12, 2022 5:38 am
by JJ
If I get the same error WITHOUT converting files then how can it be problem with CxD?
Yes, VSO found a way to FIX that problem with subtitles in CxD code - I suppose they check on subtitle timing and framings differently so they can adapt those to match the file.

But still:

Simply playing those problematic originals on TV without any conversion causes subtitles to drift off. Using different subtitle file fixes it.
So real problem is subtitle encoding and it affects most players and converters if they have not added code to detect and repair encoding.

Re: Subtitle problem

Posted: Fri Jun 24, 2022 9:38 am
by Nemesh
Maybe you get out of sync problems BEFORE writing to disc.
But I was adressing Wolf-man451 issue not yours.
He has the problem AFTER writing to disc.

And no, the problem still hasn't be fixed.
The subtitle conversion part in the ConvertXtoHD code needs to be fully rewritten to solve it.
Not my words but from Jaques.
This problem will be adressed in the new ConvertXsuite x64.
Again, this was said by Jaques.
I assum you can contact Jaques JJ?
Please do and ask him!

The promise was that works on ConvertXsuite x64 would start after the VSO Downloader x64 was ready.
Works on that started on 7 November 2019 (Big works started! - topic by Alicia).
Then VSO also decided that the VSO Media Player also needed to be x64.

So the development of ConvertXSuite x64 has been postponed.
Then I also take in account that at the moment the size of ConvertXtoHD is 40 MB.

I can't even imagine how long it will take to port that x386 code to x64.
Then all the beta test etc. etc.
Guess it will take some years more before we see ConvertXsuite x64 and the bugs I reported wil be adressed.

But to your problem that subtitles are out of sync:

1. Check the framerate of the video (right mouse button -> properties)
2. Make sure your subtitle file has the same framerate.
3. Make sure that the subtitle starts at the right time.
You can check this by demuxing the subtitle and view start times.
I have encountered numerous BD's were the first 5-10 line are out of sync on original BD.
Then I go let's say 10 minutes forward and sync that line with the subtitlefile.
Make sure you shift all subtitles.

But then still the subtitle can be out of sync.
Encoutered several BD's were the subtitle running speed is 25fps but the BD stream is 23.976
So then you sync (I use windows Media Player x64 and use CTRL-L to load the srt file) at 25fps.
When everything is fine I export the file in Subtitle Edit: File -> Export -> Blu-ray (sup)...
BUT, export at 23.976fps altough the srt runs at 25fps otherwise the subtitle wille be out of sync.
In this screen you can also set borders, hight, font, etc. etc. etc.
The I load the appropriate index.bdmv from movie or episode from series into TsMuxer.
Select the video and audio and load the .sup file I created with Subtitle Edit.
Set the appropriate language for subtitle and start muxing.
Then in ConvertXtoHD set Subtitle Econding to Disabled (always encode).

I am doing this for years now and it works flawless.
I get around the other bugs by overwriting, renaming (if multiple videos like series) and editing (if multiple video like series) the following files:
1. CLPI
2. MPLS (edit if needed)
3. M2TS file.

So at this moment I use ConvertXtoHD ONLY to generate the menu.
The original M2TS file created by TsMuxer is always flawless.
Ever since I do that my custom BD's are perfect now.

Remains the INTRO and OUTRO (multiple menu screens) bug I reported to Jaques.
Encountered this bug when creating menus for The Big Bang Theory.
As I always have 1 audio and 1 subtitle stream (set them to default in ConvertXtoHD) I do not need intro, outro selection.
Yes, it can be disabled but it doesn't work.
Jaques has my full project (uploaded it to the VSO server for evaluation purposes).
So if you have questions regarding this, please contact him.
But he also said this will be adressed in the new ConvertXsuite.

I also asked Jaques to build in support for TsMuxer as it support CMD commands.
Guess what the answer was...
Latest version here: https://www.videohelp.com/software/tsMuxeR
Justdan96 has done a great amount of work on TsMuxer and is still developing and improving the program.
It even supports flawless muxing of 4K structure.

So in case of movies and series I use TsMuxer to create BD complient files (output as BD structure).
Load those by clicking on index.bdmv into ConvertXtoHD.
When finshed I let ConvertXtoHD do the conversion and then I patch the files as I wrote above.
Have done many series I had shelfed (because ConvertXtoHD created bugs) and they are all perect now.
No more static tics, video distortions etc etc.
You can find my bug reports here on the forum.

This is as far as I will go about explaing everything.
Jaques also offered me space on the main VSO website to create manuals how I dow all this.
I kindly refused because of several reasons.
If you want to know them, please contact Jaques.
Give you my best regards.

P.s.
I use Subtitle Edit to work with the .srt files.
You can find it here: https://www.nikse.dk/
Changing the framerate is very easy to do with Subtitle Edit.
Save the working srt file with Subtitle Edit into the BMDV-> PLAYLIST directory if
you are working like me with BD's.
The the file can be fast loaded into Window Media Player during playback using CTRL-L
Remember to reload the file if you have made changes (and don't forget to save)!

To patch the MPLS file I use a Hex Editior.
This is HxD and can be found here: https://mh-nexus.de/en/

To help me selecting the correct playlist from movies and/or series I use BDInfo 7.58b
You can find it here: https://www.videohelp.com/software/BDInfo

Development on TsMuxer can be found on Github: https://github.com/justdan96/tsMuxer

Re: Subtitle problem

Posted: Mon Jan 23, 2023 5:21 am
by Wolf-man451
Nemesh wrote: Sat Jun 11, 2022 8:50 am It's a bug in the ConvertXtoHD mux-engine I reported years ago.
Subtitles need to be at leats 0.8 sec. from each other otherwise you get this problem.

1, Download Subtitle Edit
2. Load the srt file
3. Select: File -> Export -> Blu-ray (sup)...
Here you can also set everthing as you want.
Take good care that you select the correct frame speed.
Right click on you mkv file -> properties -> details to see the frame rate.
Otherwise you subtitles will not be in sync.

In ConvertXtoHD -> Settings -> Subtitle -> Disabled (alway encode)
Load the mkv without the srt file in ConvertXtoHD.
Then add the .sup file.

Start the conversion.
If everything goes well it should work
So I finally decided to try what you said. I followed your instructions but when I added the .sup file, the subtitles wouldn't show at all this time.

I recorded a before and after video of the problem I've been having.

Original file:
https://drive.google.com/file/d/1ZcOPBh ... p=drivesdk

After being burned to blu-ray
https://drive.google.com/file/d/1ZfH27q ... p=drivesdk