Log in

View Full Version : problem with bilingual video creation


k-motion
6th January 2002, 23:35
Hi there,

i have the following problem...i have a video file (already divx) and two audiostreams but i am unable to mux them correctly...i have used nandub with two wav files as sound source and everything was fine...sync...switchable...perfect..
then i set it to full compression...mp3...but nandub only encodes the first audiostream and leaves the second at wave...however the file works...then i used fileinput and streamed a pre-encoded mp3 into the movie...but this ends in either unplayable file or a file in which the second audiostream misses the last couple seconds..

i also tried avimux...but this progy is unable to encode mp3 on my system...it gives an errormessage....if i use wma..it works...the sound is complete but a bit out of sync...i already tried interleaving from 4ms to 500ms...it is always out of sync...

please help...

thanx in advance
k-motion

chi
7th January 2002, 09:01
hi, try to compress before you mux...
(you may use lame or besweet)

k-motion
8th January 2002, 02:38
thanx, i already tried that...with limited success...either the file was unplayable....or the second track ends 2 to 4 seconds before the movie

chi
8th January 2002, 11:37
when the audio ends 4 seconds to early, is it in synch before?

k-motion
8th January 2002, 12:03
yes, it is in perfect sync...both streams...it is just that the second stream ends abbruptly a couple o' seconds before it shoul end...however this only seems to occure with mp3...with wav the files are complete and in perfect sync...only that they r to big

fratersinister
8th January 2002, 13:13
Hi K-motion,

What's the player you use to read your BivX ? because i still have pb when i switch from the first to the second audio stream and as you seem able to read it i would like to know.

Sinister

chi
8th January 2002, 14:10
@fratersinister
i use wmp with morgan stream switcher to play bivx...

@k-motion
do mp3 and avi have the same lenghth?

k-motion
8th January 2002, 17:46
i also use mp3 with morgan stream switcher...winamp with nicemcmedia should also work well...since it uses wmp to play the file...it only lacks the support of switching audio...one would have to build a graph for this..

all 3 files are of the perfect same length...
since it works well with 2 wave files...all of the same length...i thought the problem may be nandub....when encoding...but he manages the first stream perfectly...no matter if i take stream 1 or two..and always failes on the second stream...again no matter which one i use...it also doesn't matter if it is pre-encoded...

however nandub seems to have a bug...since it never encodes the second stream..even if it is set to 'full processing/MP3' he only encodes the first which works...but streams the second...so for the second i have to use a pre-encoded file....maybe older version of nandub work correctly?...i use 1.0rc2...but if i stream the first mp3 track in...he has no problems...this really drives me crazy....

k-motion
8th January 2002, 17:47
sorry...i mean i also use Windows Media Player..

as i said this drives me crazy ;)

chi
8th January 2002, 22:39
i never experienced any problems like the oney descibed by you... yesterday i made a nice bivx rip of fightclub, video/sound with mpeg2avi/besweet (using simple.frontend) muxing/splitting with nandub 1.0rc2...

k-motion
8th January 2002, 23:08
do u encode multfile movies...or single file ones...in singlefile movies one would probably not recognize this problem...but in multifile you recognize this problem at the end of every file...

which version of nandub are u using....are you compressing the second stream with nandub or before muxing?

chi
9th January 2002, 00:12
i'm using nandub 1.0rc2 build 1852 for muxing/splitting and besweet for audio processing(encoding both streams before muxing! like i wrote above). normaly i merge all vobs from the dvd to one vob on my hd with smartripper, but i did fightclub from multiple vobs. with this movie i headed for two 700mb cds. btw. i'm doing muxing/splitting at the same time.