Hello
I have very shallow knowledge of audio and video.
On the one hand, I have an AVI movie that was ripped from a DVD. According to MediaCodec, it's in "MPEG-4 Visual" encoded with "FMP4", while the sound is in MP3.
On the other hand, I have its English subtitles in .sub and .ssa, which appear about 30s after what is actually said in the documentary.
I'd like...
1. To move subtitles about 30s earlier, so they show up at the right time
2. Insert the subtitles within the AVI file, so that users can simply view the file in VLC instead of having to open both the AVI and the subtitle file.
What would be the easiest way to do this in Windows, preferably with free/affordable applications?
Thank you.
+ Reply to Thread
Results 1 to 13 of 13
-
Last edited by yetanotherlogin; 11th Mar 2013 at 17:21.
-
1. Try subtitle edit. See http://www.nikse.dk/SubtitleEdit/Help#sync Or maybe aegisub for ssa/ass subs.
2. Name the avi and subtitle same like video.avi and video.ssa/sub and it should load automatically. -
Thanks for the tip. I'll give Subtitle Edit a try.
Incidently, I managed to adjust the delay in VLC, and noticed that about 2/3 in the movie, a few seconds were removed from the movie, so I should remove the corresponding subtitles.
The section that is no longer needed in the .sub file looks like this:
Code:65630}{65838}<first line> ... {66534}{66572}<last line>
Thank you. -
For the benefit of other users who might need this, here's a newbie Python that does this:
Code:import re #substration of start frame in next block to start frame of block to be removed = 942 DIFF_FILE = 942 f = open("c:\\input.sub", "r") textlines = f.readlines() f.close() #rewrite lines to new file log = open('output.sub','w') p = re.compile('^\{(.+?)\}\{(.+?)\}') for line in textlines: m = p.search(line) start = int(m.group(1)) end = int(m.group(2)) DIFF_FRAME = end - start start = start - DIFF_FILE end = start + DIFF_FRAME #update line start = str(start) end = str(end) new = "{%s}{%s}" % (start,end) line = p.sub(new,line) #save line to new file log.write("%s" % line) log.close()
-
However, I noticed that further in the movie, there's once again too many subtitles and not enough movie
It looks like Subtitle Workshop would be the perfect tool to manage subtitles and video, but there's no tutorial on their site, their forum is pretty much empty, and the four articles on VideoHelp don't show how to use that application.
I need to perform the following tasks:
1. The subtitles start about 5s too early: How can I tell Subtitle Workshop to wait 5s, and renumber all the subtitles start/end frame numbers?
2. About 2/3 into the movie, a few seconds of the movie are missing in the movie, so there are extra subtitles I must remove: How can I do this, and have Subtitle Workshop renumber the remaining subtitles start/end frame numbers accordingly?
Thank you. -
For your case, SubtitlePlus may be an solution for you.
1. First, you need a format converter to convert .sub and .ssa data into *.SRT, or other supported formats in SubtitlePlus application.
2. Import subtitle data (like *.SRT)
3. Data->Timecode Offset to offset all timecode.
4. Data->Delete Data to delete any subtitles.
5. Export data to specific format
If you need to check subtitle against video, use File->Video Convert to convert your video file into the format (MPEG1), which is internal supported format in software.
The following information may help.
Protection-keys:
100B-9488E7ED-0010---try version key
The software is all-in-one solution for subtitle editing, formatting, localization, rendering and streaming, such as DVD, Blu-Ray, Line21, closed caption and YouTube.
The software is on http://www.subtitleplus.com/ to download, there are
3 steps to use:
1. Prepare video/audio (MPEG1) and load to the software
2. Edit subtitle like using Microsoft Excel+Word
3. Import/Export as WINCap RTF, UIP RTF, Microsoft SMI, SMPTE Text/Image, SubRip, Line21, or render as DVD and Blu-Ray,
---SubtitlePlus -
It would have been better to add the subs in when the DVD was converted; at least the timing would have been preserved. If you still have access to the DVD, you would save yourself a lot of trouble by just re-doing the job.
AutoGK will make XVID AVI's with burned in subs from the original DVD (you'll need to rip the DVD with DVDfab HD Decrypter first). If you need to trim any part of the documentary use SolveigMM AVI Trimmer + MKV, it trims without re-encoding. -
Thanks both the infos. After a bit of work, I managed to edit the subs with SubTitle Workshop and hard-code them using VirtualDub.
-
Last edited by AlanHK; 13th Sep 2012 at 09:54.
-
I have a problem with an MPEG-4 file (AVC + AAC): After loading its SRT file, I can hear the audio playing, but no video (dark screen).
I tried running Subtitle Workshop 2.51 and 2.52RC on an XPSP3 host, same result. Apparently, the software is no longer maintained.
Has someone experienced the same thing? Any idea what to try?
Thank you. -
SW uses Windows to display video.
So if you can play it in Windows Media Player, it should display in SW.
If you have ffdshow installed, it should be able to play just about anything. -
Thanks.
Windows Media Player 11.0.5721.5280 plays the video just fine.
After installing ffdshow 1.2.4499 (20130104) with default options, still no video in SW.
Do I need to do something in ffdshow or SW for video to be displayed? -
Problem solved by installing DirectVobSub, as explained here.
No idea what ffdshow and DirectVobSub do that is required for Subtitle Workshop to work, but anyhow.
Thank you.
Similar Threads
-
How to insert NON-PERMANENT subtitles to a DVD?
By CrisLark in forum SubtitleReplies: 2Last Post: 9th May 2009, 14:27 -
how to insert subtitles....thx from spain
By xaviereb in forum ffmpegX general discussionReplies: 1Last Post: 22nd Nov 2008, 09:57 -
How do I insert subtitles into a video?
By AORMan in forum Newbie / General discussionsReplies: 1Last Post: 1st Aug 2008, 05:32 -
How do I insert chapters into a VOB file with subtitles?? URGENT!
By wozo in forum Authoring (DVD)Replies: 11Last Post: 30th Mar 2008, 19:47 -
Problems when trying to insert subtitles
By edoud in forum ffmpegX general discussionReplies: 1Last Post: 21st Feb 2008, 17:41