Log in

View Full Version : Well i thought this would be simple


DaveQB
26th December 2004, 10:44
I am trying to mux a video file (that has no audio) and an audio file (wave, that has no video)

Using avimerge i had this error


[avilib] V: 25.000 fps, codec=XVID, frames=213533, width=512, height=384
merging audio Packers-Panthers-week1.wav track 0 (multiplexing) into 0 ...
AVI open: avilib - Not an AVI file


So an hour of reading and researching i finally realised this in the man/help




-p
Specify the name of the audio file to multiplex into the output file. The type of file can be either another AVI file or an MP3 or AC3 file.


Isnt there a way mux audio and video into one file without having to make the audio a compressed format ??:confused:

PS avidemux2 crashes with this file for some reason

albertgasset
26th December 2004, 11:47
Maybe the avi file is corrupted?

Try to mux the audio with mencoder:
mencoder video.avi -audiofile audio.wav -oac copy -ovc copy -o output.avi

If this doesn't work, try adding the option "-forceidx" to rebuild the index of the AVI file.

DaveQB
26th December 2004, 11:59
Brilliant!!

I was out just then and got to thinking and thought MEncoder is so good, it must be able to take audio file from external source and 'copy' the video into a new AVI container and what ya know!

So far so good with that command you gave me, i'll add it to my little list of frequent commands i use for video editing ;)

Thanx alot for that

DaveQB
26th December 2004, 12:29
WOOHOOO

that worked a charm! :)

Thanx for that

That avimerge is a bit of false advertising, or needs some work.

Thanx again.