DvdKhl
11th July 2004, 22:44
I want to cut out the Start & End credits of an series and attach them all together, so I can watch without needing to load another file when one episode ends.
I don't want to reencode them just cut, join them and then load them into BSPlayer.
So, in my AVIs are 4 files:
1x Video *g*
2x Audio (mp3)
1x Subtitle (ssa)
Now I'm having 2 problems:
1. There is only one audio stream available
2. I don't know how to read the muxed ssa file so TextSub() can work with it
This is my best result so far.
N1 = avisource("Nr 01.avi").AssumeFPS(23.976)
N1 = TextSub(N1,"Nr 01.ssa")
N1 = trim(N1,0,16200) + trim(N1,16410,32524)
.
.
.
NR = N1 + N2 + N3 + N4 + N5 + N6 + N7 + N8 + N9 + N10 + N11 + N12 + N13 + N14 + N15 + N16 + N17 + N18 + N19 + N20 + N21 + N22 + N23 + N24 + N25 + N26
RETURN NR
But this only works if the ssa file isn't mused into the AVI file.
Is there a way that Avisynth can load both Audio streams?
Can I access an ssa file which is muxed into an AVI?
I don't want to reencode them just cut, join them and then load them into BSPlayer.
So, in my AVIs are 4 files:
1x Video *g*
2x Audio (mp3)
1x Subtitle (ssa)
Now I'm having 2 problems:
1. There is only one audio stream available
2. I don't know how to read the muxed ssa file so TextSub() can work with it
This is my best result so far.
N1 = avisource("Nr 01.avi").AssumeFPS(23.976)
N1 = TextSub(N1,"Nr 01.ssa")
N1 = trim(N1,0,16200) + trim(N1,16410,32524)
.
.
.
NR = N1 + N2 + N3 + N4 + N5 + N6 + N7 + N8 + N9 + N10 + N11 + N12 + N13 + N14 + N15 + N16 + N17 + N18 + N19 + N20 + N21 + N22 + N23 + N24 + N25 + N26
RETURN NR
But this only works if the ssa file isn't mused into the AVI file.
Is there a way that Avisynth can load both Audio streams?
Can I access an ssa file which is muxed into an AVI?