Subtitle Timing is wrong

View previous topic View next topic Go down

Subtitle Timing is wrong

Post by Dev on Mon Mar 14, 2016 8:34 pm

I installed k lite Version 12.0.1 Mega  and trying to display subtitle.
subtitle not display correctly in exact time, some phrases are overlapped with other phrases.
I spent too much time trying to read this forum for similar issues but nothing help me.
I tried to figure it out, I tried to specify the problem, and here what I get:

I opened subtitle file (.str) side by side to classic media player, the surprise was that MPC display time in wrong way
for example
0:00:00.230,0:00:03.780
should displays subtitme for about 3 seconds starting from 230 milliseconds after running the video file till 3 seconds and 780 milliseconds from the video beginning, right? !
but MPC treat 230 milliSeconds as 2 seconds and 300 milli !!!

here is a screen shot.




so please help,



Dev

Posts : 3
Join date : 2016-03-14

View user profile

Back to top Go down

Re: Subtitle Timing is wrong

Post by Dev on Mon Mar 14, 2016 8:39 pm

and here is a link to subtitle I used
http://d2uz2655q5g6b2.cloudfront.net/1395568821/Lesson%201%3A%20Create%20Project%20Sunshine%20Subtitles.zip

the above image is for subtitle file:
33 - Initialize the Adapter.srt


Dev

Posts : 3
Join date : 2016-03-14

View user profile

Back to top Go down

Re: Subtitle Timing is wrong

Post by Admin on Tue Mar 15, 2016 2:35 am

This file is currently incorrectly being interpreted as a different format, where the values correspond to the video frame instead of the time.

Usually SRT subtitles are numbered like this:
Code:
1
0:00:00.230,0:00:03.780
In our code, we're going to initialize the adapter within the placeholder

2
0:00:03.780,0:00:07.530
fragment on create view method. Because that's where we want the list view to

3
0:00:07.530,0:00:11.790
be populated with data. We're using a array adapter, and we can initialize it

I will have this bug fixed.

Admin
Admin

Posts : 2977
Join date : 2011-06-17

View user profile http://codecs.forumotion.net

Back to top Go down

Re: Subtitle Timing is wrong

Post by Dev on Tue Mar 15, 2016 9:02 am

Admin wrote:This file is currently incorrectly being interpreted as a different format, where the values correspond to the video frame instead of the time.

Usually SRT subtitles are numbered like this:
Code:
1
0:00:00.230,0:00:03.780
In our code, we're going to initialize the adapter within the placeholder

2
0:00:03.780,0:00:07.530
fragment on create view method. Because that's where we want the list view to

3
0:00:07.530,0:00:11.790
be populated with data. We're using a array adapter, and we can initialize it

I will have this bug fixed.

Although this issue need to fix, but I feel happy with your reply.
I will wait you to fix it, as I hope in nearest next new version.
and waiting your next reply with "done" Wink
Thank you in advanced.

Dev

Posts : 3
Join date : 2016-03-14

View user profile

Back to top Go down

Re: Subtitle Timing is wrong

Post by Admin on Wed Mar 16, 2016 2:17 am

You should also contact the creator of those subtitle files because technically they are invalid. The numbers are show in my example are a requirement.

Admin
Admin

Posts : 2977
Join date : 2011-06-17

View user profile http://codecs.forumotion.net

Back to top Go down

Re: Subtitle Timing is wrong

Post by Sponsored content Today at 9:09 pm


Sponsored content


Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum