Hi guys.
I'm looking for a good tutorial or suggested tools (and I'll work through the man pages) for linux (ubuntu if possible) command line tools that I can use to convert SD AVI video to the best possible high quality/small size ratio MKV (using H24/AAC). Hope this makes sense.
Thanks in advance.
+ Reply to Thread
Results 1 to 10 of 10
-
-
Try AVIDemux. Not sure about command line tools that will work for Linux. Our other Linux tools here: https://www.videohelp.com/tools/sections/linux-video-tools
For Ubuntu, I would try their forums. http://ubuntuforums.org/
You might also look in our Linux Forum. I'll move this thread there. -
Thanks, wasnt sure myself which forum to post it on.
Thanks for the links, will try them out -
ffmpeg with x264 is what I would use and it can be done in different ways.
1) You can use libx264 directly with ffmpeg
2) or you can pipe the decoded video from ffmpeg to x264 program.
3) or you can compile x264 with lavf or ffms support and open the avi file directly as input file to x264
You can use neroAacEnc to convert audio to aac (it may give better quality of AAC compared to ffmpeg aac encoder).
MKVToolnix can be used for muxing mkv files.
If you want to use avisynth you can use it with wine and pipe the output to x264 using avs2yuv.exe or avs2pipe.
With avs2pipe you can also redirect audio output from avisynth. See http://doom10.org/index.php?topic=759.0
To learn x264 CLI options you can type x264 --fullhelp on command line.Ronny -
I am too after the same thing right now. I am using ffmpeg on the command line with x264 compiled into ffmpeg. I also want the smallest file size with acceptable SD quality. mkv format is also my preferred output container format. I have tried a few different things but I am not sure if I am getting the best results. I have 8 cores available for processing video and do not mind doing a two step process if it is going to have better results.
There are so many different formats out there. I know depending on the source and type of video there might be different ways of processing as well. Cartoons vs a TV Show basically. I wish this was a more straight forward process but it is definitely one of the hardest to learn at even an intermediate level.
Any help is appreciated! -
With x264 you can use the presets for quality or speed (I use slow, slower or veryslow because I prefer quality over speed) and tunings for different sources like film or animation. Use the crf mode to set a constant quality mode and just choose a crf value that is good enough. I use crf 18 mostly.
Ronny -
With CRF encoding there's very little difference in quality between the different presets. The major difference is in the file size. And, of course, encoding time.
Last edited by jagabo; 6th Oct 2011 at 21:50.
-
Similar Threads
-
mux h264/aac flv into h264/aac mkv
By Pitorasilo in forum Newbie / General discussionsReplies: 4Last Post: 18th Jul 2011, 09:36 -
Move h264 and aac from MKV into AVI without loss.
By duhmez in forum Video ConversionReplies: 10Last Post: 12th Sep 2010, 06:11 -
any (free) command line tools for converting swf to other formats?
By kkol123 in forum Video ConversionReplies: 1Last Post: 7th Dec 2008, 22:42 -
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 -
h264/AAC mkv -> h264/AAC mp4?
By joshwa in forum Video ConversionReplies: 7Last Post: 4th Jan 2008, 11:08