afrancoamerican / subtitleedit

Automatically exported from code.google.com/p/subtitleedit
0 stars 0 forks source link

MicroDVD (.sub) display/conversion time problem #114

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
When using the .sub (microDVD) format, the displayed subtitle times do not 
match the actual video position time IF the Default Frame rate (in 
Options/Settings/General) is not the same as the video's frame rate. 
This bug also affects conversion, as it uses the displayed times to convert to 
(e.g. SubRip .srt). It does not affect video/subtitle playback synchronization.
The bug also affects conversion to a .sub file, using the Default frame rate to 
calculate the frame numbers rather than the video's frame rate.
I am not familiar with all the subtitle formats, but this bug may affect other 
formats that a use frame numbers.

What steps will reproduce the problem?
1. Select a MicroDVD .sub file and video with the same frame rate (e.g. 25 fps) 
that are already in sync.
2. Change the Default Frame Rate in Options/Settings/General to 23.976 (or 
anything but 25). Close and relaunch SE.
3. Open the .sub file, then the video file. Check the Select current subtitle 
while playing. 

During playback of the video, you will note that the displayed start time & end 
time values for the current subtitle do not match the video position time, even 
though the video and subtitles are in sync. 

If you change the Options/Settings/General/Default frame rate to 25, close and 
relaunch SE, then observe the displayed start & end times, they should now 
match the video position time.

What version of the product are you using? On what operating system?
3.2.8 (rev 1220) on Win 7 sp1 x64. 

Workaround:
In settings, change the Default frame rate to match the video's frame rate. 
Close and relaunch SE.

Possible Fixes:
1) Use the video's frame rate if available for display times and conversions. 
2) Fix the toolbar widget that displays the frame rate to correctly recalculate 
changes to displayed times when the frame rate is changed while editing frame 
based subtitles.
3) By default show the frame rate widget in the toolbar while working with 
frame based subtitle formats.

Thanks for a great product!
Regards,
AT2010

Original issue reported on code.google.com by g63ma...@gmail.com on 18 Nov 2012 at 8:02

GoogleCodeExporter commented 9 years ago
SE has moved to GitHub - please re-add this issue at GitHub if it's still 
important :)
https://github.com/SubtitleEdit/subtitleedit/issues

Original comment by nikse.dk@gmail.com on 4 Feb 2014 at 5:22