loa-ash
9th May 2006, 23:17
Hello dudes!
I need a little help with my Sylia script...
I've a video file with one stream audio, I'd like to remove this stream and add another stream, but I don't know what command use.
this is my script:
// load video:
VirtualDub.Open("video.avi", 0, 0);
VirtualDub.video.SetMode(0);
// how can I delete the track???
......
// load new audio:
VirtualDub.stream[0].SetSource("audio.mp3",0x0202, 1);
VirtualDub.stream[0].SetMode(0) ;
// save file:
VirtualDub.SaveAVI("nomefile.avi");
VirtualDub.Close();
thanks all
P.S. I'm using virtualdub mod 1.5.10.2
I need a little help with my Sylia script...
I've a video file with one stream audio, I'd like to remove this stream and add another stream, but I don't know what command use.
this is my script:
// load video:
VirtualDub.Open("video.avi", 0, 0);
VirtualDub.video.SetMode(0);
// how can I delete the track???
......
// load new audio:
VirtualDub.stream[0].SetSource("audio.mp3",0x0202, 1);
VirtualDub.stream[0].SetMode(0) ;
// save file:
VirtualDub.SaveAVI("nomefile.avi");
VirtualDub.Close();
thanks all
P.S. I'm using virtualdub mod 1.5.10.2