I experience a problem while hardsubbing my self-created subs with a movie.
The FPS of the movie is 23.000 as well as the subtitle's FPS. At least VLC plays them synchronized as long as they are softsubbed.
As soon as I load the movie and the subs in VirtualDub (using either ffvdub or TextSub) and save it as a movie, the subs get out of sync (the preview in VirtualDub is already out of sync as well). The subs appear a little bit too early. Any suggestions?
I've searched heaps in the net, especially in this forum, but couldn't find any working solution so far. You'd be of great help!
Edit: The synch was good with AutoGK as well (http://forum.videohelp.com/threads/256625-How-to-add-permanent-subtitles-with-AutoGK-a...I-DivX-or-XviD), but the quality wasn't sufficient, especially in parts of the movie with white font on black ground. If I could increase the quality here, that would be fine with me too, but I assume I'd need to open another thread for that...!?
+ Reply to Thread
Results 1 to 10 of 10
Thread: Subtitles out of sync
Last edited by Klaster; 13th Jan 2013 at 20:03.
thanks for your relpy!
my settings are the following:
Unfortunately, rendering the video with this settings again showed me the following result:
The FPS changed from 23 to 22, the bitrate changed as well as the length. ?!?!
I'm totally lost here! Any help appreciated (as I said - solving my problem with VideoDub is fine, too!)!
So I looked into the .ssa-file today and saw that it doesn't contain any information about the fps-rate. Is that normal?
[Script Info] ; Script generated by Aegisub 3.0.2 ; http://www.aegisub.org/ Title: Default Aegisub file ScriptType: v4.00 WrapStyle: 0 ScaledBorderAndShadow: yes Collisions: Normal PlayResX: 640 PlayResY: 480 Scroll Position: 0 Active Line: 0 Video Zoom Percent: 1 Video File: 2011.avi Video Aspect Ratio: c1.33333 Video Position: 115 Export Encoding: Unicode (UTF-8) YCbCr Matrix: TV.601 [V4 Styles] Format: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, TertiaryColour, BackColour, Bold, Italic, BorderStyle, Outline, Shadow, Alignment, MarginL, MarginR, MarginV, AlphaLevel, Encoding Style: Default,Candara,26,16777215,255,0,0,0,0,1,2,0,3,10,10,10,0,1 [Events] Format: Marked, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text Dialogue: Marked=0,0:00:11.97,0:00:13.50,Default,,0,0,0,,April 30 Dialogue: Marked=0,0:00:13.50,0:00:15.63,Default,,0,0,0,,May 01 Dialogue: Marked=0,0:00:15.63,0:00:17.40,Default,,0,0,0,,May 02 Dialogue: Marked=0,0:00:17.40,0:00:19.02,Default,,0,0,0,,May 03 Dialogue: Marked=0,0:00:19.02,0:00:20.36,Default,,0,0,0,,May 04 Dialogue: Marked=0,0:00:20.36,0:00:21.80,Default,,0,0,0,,May 05 Dialogue: Marked=0,0:00:21.80,0:00:23.54,Default,,0,0,0,,May 06 Dialogue: Marked=0,0:00:23.54,0:00:25.19,Default,,0,0,0,,May 07 ... .... .....
SSA uses times so there's no need for a framerate.
Also, 23fps is an unheard of framerate. How did you get a video with that? It's always 23.976fps and AutoGK would say so. Why Intel H.264 input? AutoGK accepts various kinds of MPEG and AVI input, but that's all.
And these subs play more and more early as the movie goes along? Or they play early by a fixed amount all the way through?
Also, doesn't Aegisub creates subs in ASS format? How did you get an SSA sub out of it?
Aegisub created an ASS which I converted to SSA in one of my attempts to deal with the problem on my own. I still have the ASS, but it basically looks the same (besides one line determining UTF-8 as the used format)
VideoPad. The clips already have 23 FPS when I shoot them (I just tested. Some even have 22FPS ?!).
There are also 3 short clips of another camera with 25fps in the mix, but the project's FPS is 23 anyway:
However, I don't understand how that happened?
It worked with the adjustment configuration. If you guys have any ideas about the problem anyway, I'd be more than happy to know about it!
Thanks to davexnet and manono for their replies!
I'm wondering whether your footage was shot in variable frame rate mode which is possibly confusing your software? For instance, see how MediaInfo reports a video clip taken on my phone:
Frame rate mode : Variable
Frame rate : 29.946 fps
Minimum frame rate : 6.292 fps
Maximum frame rate : 60.000 fps
Original frame rate : 60.000 fps
This is what I meant regarding the delay (sry for German): [Edit: the box containing 142ms right now]
MediaInfo gives me this for my video:
Frame rate mode : Variable Frame rate : 23.000 fps
Pre-indexing sounds good, is there any tutorial on how to do that with Avisynth since it doesn't have any GUI?
Avisynth. The FFMepgSource2 documentation is excellent. Although it's a lot, I suggest you read it to familiarise yourself especially with how indexing works. I normally use code like:
source = "C:\Users\fvisagie\Videos\Home Videos\20121224 Williston\2012-12-24_13-22-30.mp4" FFIndex(source=source, cachefile=source+".ffindex", indexmask=-1, dumpmask=0, errorhandling=3, overwrite=false) Audio = FFAudioSource(source=source, track=-1, cache=true, cachefile=source+".ffindex", adjustdelay=-1) Video = FFVideoSource(source=source, track=-1, cache=true, cachefile=source+".ffindex", seekmode=1, rffmode=0, width=-1, height=-1, colorspace="YV12") AudioDub(Video, Audio)
- The index file name and location are unique to the input clip
- The index file name and location are the same each time the Avisynth script is run,
- Which together with the "overwrite=false" option ensures that the index file is created only once when the script is run the very first time
AvsPmod is an excellent integrated development environment for Avisynth scripts.