View Full Version : mux video with the original audio
ali008
11th January 2008, 08:46
I want to make .mp4 from ^the original audio (without encoding)
and mux it with video (with encoding)^
How???????????
poisondeathray
11th January 2008, 17:42
It might help to provide more information on the type of audio and video. Since its the MPEG-4 section, I'll assume that's what you have.
One option would be to use YAMB to mux the streams. You can also do this with MeGUI (tools => muxer => MP4 muxer). I think both are based on Mp4Box anway.
There are compatibility problems with muxing AC3 audio in MP4 container - you may have to re-encode audio then, or select a different container, like MKV.
Good luck
ali008
12th January 2008, 12:47
I got it
Thanxxxxx
ali008
12th January 2008, 12:56
But:
Does your way encode the video??
Because i wont to encode it from Xivd to x264 (( with another Bitrate )) !!!!
poisondeathray
12th January 2008, 19:17
You can usually do it without re-encoding, but you haven't provided enough information.
Have you demuxed the streams?
What video codec is your source?
What audio codec is your source?
What container is your source in?
Use mediainfo and determine this.
"Because i wont to encode it from Xivd to x264 (( with another Bitrate )) !!!!"
=> what does this mean? you want to re-encode or do not want to?
ali008
12th January 2008, 19:42
1\ I have a audio (mp3)
2\ I have a video (AVI)
and I want to mux them
But
with ^the original audio (the demuxed one)
and video (with re-encoding to x264)^
poisondeathray
12th January 2008, 20:02
AVI is not a codec, it's a container. But you mentioned Xvid, so I'll assume it's an Xvid video in AVI container
I'm not sure why you would want to re-encode a video => you will lose quality... but anyway...
You can do this easily in megui or avidemux (and many other tools).
Avidemux is probably easier to use - you don't need avisynth scripts
1) Open your AVI in avidemux
2) Select x264 in the video sidebar, then adjust your settings and filters (such as 1-pass, 2-pass, bitrate, cropping etc...)
3) At the top select Audio => Main Track => Select external source MP3 and point to the file location
4) Format select your container (use mp4, because x264 has issues in AVI container)
5) Press save, but you must select the location and enter the full filename with extension (e.g. "myfile.mp4")
You can encode a small sample (say 30 seconds) by adjusting the slider bars to see if your settings are acceptable. If not, readjust your settings and do it again.
Cheers
ali008
13th January 2008, 12:29
you are awsome !!!
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.