04-13-2005, 10:15 PM
|
Free Member
|
|
Join Date: Sep 2003
Posts: 384
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Hi ,
I have 2 sets of .srt files and I'm trying to merge them .... eg b.srt will automatically start playing after a.srt.
I've used this in my script
a=textsub(a.srt)
b=textsub(b.srt)
=a++b
this doesn't work. Only a.srt will show up. Should I use copy /b a.srt + b.srt ab.srt instead?
Thanks
|
Someday, 12:01 PM
|
|
Site Staff / Ad Manager
|
|
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
|
|
|
04-13-2005, 10:39 PM
|
Free Member
|
|
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by WOWIEGURL
Should I use copy /b a.srt + b.srt ab.srt instead?
|
Did you try it
-kwag
|
04-14-2005, 03:50 AM
|
Free Member
|
|
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
@Wowie
Open a srt file, read it and understand it.
Open the second one, do the same.
Now do you understand WHY merging is not so easy ?
Use tools like "subtitle workshop" or "time adjust" to merge the files.
|
04-15-2005, 01:47 PM
|
Free Member
|
|
Join Date: Jun 2002
Location: São Paulo - Brasil
Posts: 879
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Hi WOWIEGURL,
You can not merge subtitles with avisynth, but you can merge movies.
If you have two movie files and two subtitles files you can try this:
a=mpeg2source("movie_a").textsub("a.str")
b=mpeg2source("movie_b").textsub("b.str")
a++b
If you have only one movie file but two subtitles files, you can try this way:
a=mpeg2source("movie_a").trim(0, xxx).textsub("a.str")
b=mpeg2source("movie_b").trim(xxx, 0).textsub("b.str")
a++b
Where xxx is the point in frames where the first subtitle ends and the second starts.
The first situation is very simple to use.
The second one is a bit tricky to find the exact point to trim, and is probably easier to use subtitle workshop as Dialhot suggested.
|
04-15-2005, 09:27 PM
|
Free Member
|
|
Join Date: Sep 2003
Posts: 384
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by muaddib
Hi WOWIEGURL,
You can not merge subtitles with avisynth, but you can merge movies.
If you have two movie files and two subtitles files you can try this:
a=mpeg2source("movie_a").textsub("a.str")
b=mpeg2source("movie_b").textsub("b.str")
a++b
If you have only one movie file but two subtitles files, you can try this way:
a=mpeg2source("movie_a").trim(0, xxx).textsub("a.str")
b=mpeg2source("movie_b").trim(xxx, 0).textsub("b.str")
a++b
Where xxx is the point in frames where the first subtitle ends and the second starts.
The first situation is very simple to use.
The second one is a bit tricky to find the exact point to trim, and is probably easier to use subtitle workshop as Dialhot suggested.
|
Thanks thats the answer I was looking for.
 I posted my thanks in the quote.
|
04-16-2005, 08:37 AM
|
Free Member
|
|
Join Date: Jul 2003
Location: Valencia (España)
Posts: 741
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by WOWIEGURL
Quote:
Originally Posted by muaddib
Hi WOWIEGURL,
You can not merge subtitles with avisynth, but you can merge movies.
If you have two movie files and two subtitles files you can try this:
a=mpeg2source("movie_a").textsub("a.str")
b=mpeg2source("movie_b").textsub("b.str")
a++b
If you have only one movie file but two subtitles files, you can try this way:
a=mpeg2source("movie_a").trim(0, xxx).textsub("a.str")
b=mpeg2source("movie_b").trim(xxx, 0).textsub("b.str")
a++b
Thanks... this is the information I wanted.
THank very much.
Where xxx is the point in frames where the first subtitle ends and the second starts.
The first situation is very simple to use.
The second one is a bit tricky to find the exact point to trim, and is probably easier to use subtitle workshop as Dialhot suggested.
|
|
... and then ...
|
06-25-2005, 03:20 AM
|
Free Member
|
|
Join Date: Sep 2004
Location: Norway
Posts: 174
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Hi,when I try to load the following script:
Quote:
#LoadPlugin("C:\Programfiles\MovieStacker\Filters\ VSFilter.dll")
a=AviSource("D:\Video 1\CD1.avi")
b=AviSource("D:\Video 1\CD2.avi")
a++b
|
Ill get this AviSynth error:
It seems to me that it is a audio issue,but I havent been able to
find a way to fix it.Anyone have any ideas?
Thanks
|
06-25-2005, 05:10 AM
|
Free Member
|
|
Join Date: Mar 2003
Location: Denmark
Posts: 132
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Try this:
Quote:
#LoadPlugin("C:\Programfiles\MovieStacker\Filters\ VSFilter.dll")
a=AviSource("D:\Video 1\CD1.avi", false)
b=AviSource("D:\Video 1\CD2.avi", false)
a++b
|
-Anerboda
|
06-25-2005, 05:21 AM
|
Free Member
|
|
Join Date: Sep 2004
Location: Norway
Posts: 174
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Yep,that works anerboda,but leads to another "problem",
I still have two mp3 audio files to be encoded,do you know of
a program to join the files before encoding ?
|
06-25-2005, 05:58 AM
|
Free Member
|
|
Join Date: Mar 2003
Location: Denmark
Posts: 132
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
I'm not quite sure of what you want to do, but if I get you right you want to join two mp3 files and encode them to ? (ac3 or mp2).
The only few times I had to do that I join the two .avi's in vdub and saved the audio as wav, and then encoded the wav with headache or besweet...
Hope this get you a little further
-Anerboda
|
06-25-2005, 07:17 AM
|
Free Member
|
|
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by Anerboda
The only few times I had to do that I join the two .avi's in vdub and saved the audio as wav, and then encoded the wav with headache or besweet...
|
That's the way I use also.
|
06-25-2005, 10:40 AM
|
Free Member
|
|
Join Date: Sep 2004
Location: Norway
Posts: 174
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Thanks,works great!
|
07-08-2005, 02:13 PM
|
Free Member
|
|
Join Date: Oct 2003
Posts: 53
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Wowiegirl,
if you are still looking to merge .srt files, download SubtitleTool, and its a snap. I gave up on Subtitle Workshop trying to do exactly the same thing this weekend, because STW crashes on my computer as soon as I load a file.
|
07-08-2005, 05:39 PM
|
Free Member
|
|
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Don't feed the troll...
|
All times are GMT -5. The time now is 06:42 PM — vBulletin © Jelsoft Enterprises Ltd
|