I have a MKV file (1.07 GB). I want to convert it to avi with this guide:
https://forum.videohelp.com/topic239995.html
After I extract I got in the folder a H264 file and AC3 file.
How do i convert H264 to avi?
will the result (the avi file I'll get) be the same quality as the original MKV file?
+ Reply to Thread
Results 1 to 30 of 44
-
-
< COMMAND-LINE >
[C:\]
=>avc2avi -h
avc2avi
Syntax: avc2avi [options] [ -i input.h264 ] [ -o output.avi ]
-h, --help Print this help
-i, --input Specify input file (default: stdin)
-o, --output Specify output file (default: stdout)
-f, --fps <float> Set FPS (default: 25.0)
-c, --codec <string> Set the codec fourcc (default: 'h264')
[C:\]
=> -
What avc2avi? i don't find this software
how do i use this software?
how do i use what you wrote?
I downloaded the software and what do i use the code you wrote?
***but the original file is mkv. after i extract it i get h264 file and ac3 file so the avi file i'll get be without sound?*** -
As was pointed out, avc2avi is a command line application:
http://forum.doom9.org/showthread.php?t=118267
http://sourceforge.net/projects/avc2avi
If your goal is to make an AVI file that will play on a Divx certified DVD player this will not work. -
i just want to convert mkv to avi with the same quality. when i extract from the mkv as i said in the first post i get h264 and ac3.
-
You'll probably find the other tool Midzuki recommended, Avi-Mux GUI, easier to use.
-
Open, select MKV file
verify: video=copy, audio=copy, output=AVI (these are all the defaults)
Save.
This may or may not work.
A more robust solution is to use MkvExtractGui to demux to .h264 and .ac3 files. Then use Avc2Avi to mux the .h264 file to an AVI, then use VirtualDubMod to mux the audio into the AVI. -
Avc2Avi is a command line application. You start up a command line interpreter (CLI) (Start -> All Programs -> Accessories -> Command Propmpt) and start typing in commands. Unfortunately, it's hard to explain how to use a CLI.
To simplyfy things a bit, try this:
1) Put AVC2AVI.EXE in your Windows System32 folder, usually, C:\Windows\System32.
2) Put the attached MUX.BAT file in the same folder as your .h264 file.
3) Drag your .h264 file onto the MUX.BAT file. Wait a few minutes. Press a key when prompted.
That should create an AVI file in the same folder as the .h264 file -- with the same name, just .AVI added to the end. You should be able to play the file but it will have no audio. Add the AC3 audio with VirtualDubMod:
0) Start VirtualDubMod.
1) File -> Open Video File, pick AVI (you may get an error message about not finding an h264 codec, ignore it).
2) Video -> Direct Stream Copy
3) Streams -> Stream List...
4) Press the Add button, select the AC3 file
5) File -> Save As... -
Originally Posted by dallylama
-
what codec do i need? can you give me a direct link?
the avi file is about the same size as the h264 file i convert -
Judging by the file size it looks like the h.264 video was muxed into the AVI file.
You should be able to play h.264 AVI with VLC or KMPlayer without a DirectShow codec (they have their own built-in decoders). Otherwise you can use ffdshow or CoreAVC to let any DirectShow based player to play h.264.
Similar Threads
-
transcoding from avi h264 to Quicktime H264
By muffinman123 in forum Video ConversionReplies: 1Last Post: 24th Sep 2011, 05:56 -
Another H264 to AVI Question
By kenzier in forum Video ConversionReplies: 4Last Post: 20th Feb 2011, 00:59 -
AVI to H264 Mov ?
By swiftor in forum Video ConversionReplies: 1Last Post: 29th Mar 2009, 13:21 -
h264 avi to mkv
By frostiex in forum Video ConversionReplies: 1Last Post: 27th Feb 2009, 08:45 -
H264: Are there other h264 (AVCHD/VC-1) encoding command-line/CLI tools ??
By vhelp in forum Newbie / General discussionsReplies: 12Last Post: 16th Feb 2008, 01:20