Log in

View Full Version : raw mp4 vide + wav -> mp4


kwanbis
22nd May 2005, 23:26
Hi, i have some raw mp4 videos, and wavs, and i want to merge all the raw videos, plus the wavs, to make a high quality mp4 video with audio. The raw video and the wavs, are extracted from ASF files created by my Panasonic's D-Snap SV-AV25. I use videolan and asf tools to extract the raw video, and the wav files. The SV-AV25 creates one ASF file each time i press record, so after a shooting session, i end up, for example, with:

video1.asf, video2.asf, video3.asf

after using videolan, and asf tools, i end up with:

video1.m4v, video2.m4v, video3.m4v

and

video1.wav, video2.wav, video3.wav

and i want to do

(video1.m4v + video1.wav ) + (video2.m4v + video2.wav) + (video3.m4v + video3.wav) = bigvideo.mp4

Kurtnoise
23rd May 2005, 00:51
IIRC, we can't mux wav files with raw videos m4v into mp4 container...btw, if you want to keep the "high-quality" as you notice, you can try to transcode your wav files in alac (this is a lossless format) with iTunes. Thus, you can mux easily your video and audio streams into mp4.

kwanbis
23rd May 2005, 01:54
i actually was thinking on encoding the WAVs to something first, aac, or mp3, or anything else.

bond
23rd May 2005, 12:16
encode the .wav to aac (no matter if as .aac or .mp4) and mux with mp4box with the following commandline:

MP4Box -cat video1.m4v -cat video2.m4v -cat video3.m4v -cat audio1.mp4 -cat audio2.mp4 -cat audio3.mp4 output.mp4

make sure to use the latest version of mp4box

SeeMoreDigital
23rd May 2005, 14:12
So are you guys saying it is possible to mux elementary .m4v streams with MP4Box?


Cheers

bond
23rd May 2005, 14:28
for a long time already :)