View Full Version : How to Covert Dual audio AVC in MP4 and MKV to AVI.pls help
dooms9day
10th April 2010, 21:43
Please help me in these 2 subjects....
First..
I have a MKV with dual audio AC3 audio and I wanted to convert it into AVI without re-encoding...
Second...
I have a MP4 (AVC) with AC3 and I wanted to convert it into AVI.
I used ffmpeg.exe before and use that commands.....
ffmpeg -i input.mp4 -vcodec copy -an -vbsf h264_mp4toannexb output.h264
ffmpeg -i input.mp4 -vn -acodec copy output.aac
its create two files..one H264 file and one AC3 file(I used it in AVC MP4)
Now my problem is how I convert H264 file to AVI without re-encoding like ffmpeg.exe..
one of "ffmpeg.exe" Readme file guide this.....>
"Mux h264 to avi using avc2avi. You have to specify the correct frame-rate."
I use avctoavi but can't able to use it,,in the other way I can't type the correct commands or syntax.
please tell my easiest way if u can..(easy commands)
sneaker_ger
10th April 2010, 21:48
How often do you want to post this?
http://forum.doom9.org/showthread.php?t=153553
dooms9day
11th April 2010, 08:41
Because I cant understand this http://forum.doom9.org/showthread.php?t=153553
and want easiest way or syntax. in the above post,,,the commands is
Example:
convert avc in mkv to raw:
ffmpeg -i input.mkv -vcodec copy -an -vbsf h264_mp4toannexb=norepeatheader output.h264
convert avc in mp4 to avi, set container fps to 29.97:
ffmpeg -i input.mp4 -vcodec copy -acodec copy -vbsf h264_mp4toannexb=avihack -muxerfps 30000/1001 -vtag H264 output.avi
but it wont work.....
Midzuki
11th April 2010, 12:52
avc2avi -f 29.9700 -i input.h264 -o output.avi
Then, try adding the ac3 stream with AVI-Mux GUI
or
with VirtualDub.
HTH.
dooms9day
11th April 2010, 14:32
Ok,, thanx brother...its done by using this syntax "avc2avi -f 29.9700 -i input.h264 -o output.avi"
but the Format ID is still AVC....is there any way to convert mp4 avc to avi in DivX or XviD without re-encoding........?
sneaker_ger
11th April 2010, 14:45
No, that is impossible.
dooms9day
11th April 2010, 14:52
ok....now tell me how I convert dual audio mkv to avi......?
detmek
11th April 2010, 15:29
Why do you want to convert AVC/AC3/MKV into AVC/AC3/AVI? What is the poblem with MKV? Or MP4?
sneaker_ger
11th April 2010, 15:53
Dual audio mkv to avi:
1. convert the video to xvid/avi with one of the many GUIs like e.g. StaxRip, MeGUI etc.
2. extract the ac3 audio tracks using mkvtoolnix
3. mux everything together using AVI Mux GUI
dooms9day
11th April 2010, 17:46
Why do you want to convert AVC/AC3/MKV into AVC/AC3/AVI? What is the poblem with MKV? Or MP4?
Because my stand alone tv dvd player cant play MKV..
dooms9day
11th April 2010, 17:50
Dual audio mkv to avi:
1. convert the video to xvid/avi with one of the many GUIs like e.g. StaxRip, MeGUI etc.
2. extract the ac3 audio tracks using mkvtoolnix
3. mux everything together using AVI Mux GUI
Using StaxRip and MeGUI is very difficult to me,,once I use it but I cant able to use them....StaxRip and MeGUI is the tools for advance multimedia users..
RunningSkittle
11th April 2010, 18:26
If you dont want to take the time to learn the tools, then buy a new standalone that plays mp4 and mkv. Also if your standalone wont do mp4 it likely will not do AVC in AVI.
detmek
11th April 2010, 18:38
In that case, you have to re-encode video stream, too. Standalone DVD players can not decode AVC video stream.
You could try XMedia Recode. Its free and I think it supports dual audio. Other options are Avidemux, Xvid4PSP, MediaCoder, Virtualdubmod + Avisynth, Dr. Divx 2.0 + Divx codec.
dooms9day
11th April 2010, 18:48
ya I know that dvd player wont play avc in avi...ok thanx to u all.....
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.