I have a bunch of large AVI files from my Canon IS 850 camera. To save disk space, I would like to convert these AVI files to a format that will let me keep the same quality. I tried converting a few of these AVI files to MP4 [h.264 in MP4(4:3)] using WinFF. While it greatly reduced the file size (the MP4 files were about 10% the size of the original AVI), I noticed the quality wasn't as good. Not terrible but noticeably worse that the original AVI. So how can I increase the quality of the generated MP4 files? I'm OK if the size of the MP4 files increase as long as it's less than the original AVI. Is ffmpeg the best tool for this? If so, what settings do I need to use? If not, can anyone recommend other free tools? I'm using Vista x64 SP1.
Please help.
I'm not set on MP4. I'm really looking for the best format that will let me keep the original quality [or as close to it as possible], while reducing file size.
These files will be used for PC viewing only.
Thanks.
+ Reply to Thread
Results 1 to 15 of 15
-
-
-
Thanks Baldrick. I downloaded Staxrip, when through downloading the plug-ins and after selecting a small file to convert, I was completely baffled by the jobs dialog box. I'm not sure what to do here. I assumed it was processing so I it let it go for 5 mins and there was no feedback, so I aborted. What a maddening UI!! I have no idea how to use this app.
-
I don't know if this will work for you but I just tried my script that I use for my TV archiving on my D90's Videos and I think its great so far I'll have to examine them more closely but have a go at it if you like.
Open notepad, copy the code and past it, then save the file as named "whatever.bat" if saving and creating file name from notepad keep the quotes.
Code:@echo off set done= :Process IF "%done%" EQU "%1" GOTO trs ELSE ( "C:\Program Files\ffmpeg\New Folder\ffmpeg.exe" -aspect 16x9 -threads 2 -i %1 -f mp4 -vcodec libx264 -b 2048k -bt 768k -maxrate 3072k -bufsize 8192k -level 13 -aspect 4:3 -acodec libmp3lame -ac 2 -ab 160k -mbd 2 -flags +mv4+trell+aic -cmp 2 -subcmp 2 "%~dpn1.m4v" shift /1 GOTO Process ) :trs echo Success
This will produce an mp4 file with x264 and mp3, at around 960MB per hour, multiple drag and drop and no I don't explain all of the code posted, the information about the flags I got form the Internet and I've been happy with it so far. -
yes ffmpeg is a fair tool to use.
Originally Posted by bigstusexy
http://tripp.arrozcru.com
also with latest builds you need to replaceCode:-flags trell
Code:-trellis 1
Code:-me
Code:-me_method
i recently looked at the latest staxrip beta,
looks elegant to me.
for an ffmpeg gui i use and recommend Avanti.
if you're goig to encode to h264,
megui using x264 directly is rather popular.
tripp"I'll give you five dollars if you let me throw a rock at you" -
Thanks trip you are awesome, I don't know if I'll start over with something else because to tell you the truth I don't know half heck a quarter of this stuff, motion vectors, estimation,chroma subsampling,trellis, this list goes on and on. Although I could look up everything I don't know and I've tried a few I don't understand how that relates to quality of what I'm doing and what I do and don't want etc etc etc.
I remember the simple xVid days when I could set the bit rate, quantizer and a few others and 2 pass a way all night long and consider myself smart and have a good compressed item. -
Although I could look up everything I don't know and I've tried a few I don't understand how that relates to quality of what I'm doing and what I do and don't want etc etc etc.
often with minimal gains btw
fortunately,
all these apps, come with profiles,
try them out for size,
pick one,
maybe tweak it.
Avanti has a nice ffmpeg h264 profile.
megui has tons of x264 profiles.
tripp"I'll give you five dollars if you let me throw a rock at you" -
Thanks you all for the feedback. It seems like I have a lot of options.
I know very little about this subject. So given some of these options, what's the best format for retaining the quality of my AVIs (I want to strive to retain 100% of the original quality) but reduced file size? -
if you are targeting size,
h264 is the right choice.
for quality retention,
encode with a cfr, give 18 a try.
provide a sample if you want,
upload on mediafire.com"I'll give you five dollars if you let me throw a rock at you" -
I use XVID4PSP and I use the PS3/XBOX 360 "MP4" profile. I use either the Ultra 18 or Ultra 16 settings. The default is the Ultra 21 setting but I think 18 is a good choice and 16 if you are really anal about quality LOL
I do this MP4 conversion whenever I download XviD videos that my PS3 doesn't like because although the PS3 will play XviD it is very finicky as to how it is encoded and if I need to re-encode then MP4 or even M2TS is a better choice as the quality loss is minimal at Ultra 18/Ultra 16 setting(s).
- John "FulciLives" Coleman"The eyes are the first thing that you have to destroy ... because they have seen too many bad things" - Lucio Fulci
EXPLORE THE FILMS OF LUCIO FULCI - THE MAESTRO OF GORE
-
hi, i'm italian boy, and I work in a webTV, (excuse me for my bad english). my problems is a conversion from avi to h264. I used the command line with the software mencoder for conversion my videos from avi (DV codec) to h264 (avi). ("[b]command line is:[/bmencoder.exe" %1 -sws 9 -of lavf -lavfopts format=mp4 -vf scale=768:576,dsize=768:576,harddup -ovc x264 -x264encopts subq=7:frameref=3
artitions=all:8x8dct:me=umh:bframes=3:b_pyramid:we ight_b:bitrate=700:vbv_maxrate=700:vbv_bufsize=200 0:nocabac:me=umh:trellis=1:level_idc=30:global_hea der:threads=2
ass=1:turbo -oac faac -faacopts mpeg=4
bject=2:br=128:raw -channels 2 -srate 48000 -o %NOMEFILE%_convertito.mp4), but the final result is a video in this link http://www.giocoegiochi.com/h264.mp4
how can i obtain ta better result for my videos?
thx
vincent -
Originally Posted by 45tripp
-
Just a typo. He probably mean "crf" or constant rate factor.
This is a 1-pass encode, and each encode will have the same level of "quality" i.e. constant quality encoding. Lower values give higher quality and larger filesize (most people use between 18-22). However, the resulting file size will vary depending on the source. So if you need a set filesize, you are better off using 2-pass mode and a set bitrate (but 2-pass mode will take longer to encode) -
yes crf
typo.
quality seemed to be the aim."I'll give you five dollars if you let me throw a rock at you"
Similar Threads
-
MP4 or FLV High Quality Videos
By gonwk in forum Newbie / General discussionsReplies: 3Last Post: 29th Apr 2011, 12:51 -
How to convert to high quality MP4 and display in Flash on your site
By Baldrick in forum User guidesReplies: 8Last Post: 5th Feb 2011, 11:39 -
ffmpeg command for mp4 to high quality dvd
By mehdi0016 in forum Video ConversionReplies: 3Last Post: 20th Apr 2010, 05:25 -
How do I replicate Camtasia 6 high quality MP4 in other video editors?
By raysolomon in forum Video ConversionReplies: 3Last Post: 3rd Mar 2009, 20:32 -
How do I replicate Camtasia 6 high quality MP4 in other video editors?
By raysolomon in forum Video ConversionReplies: 1Last Post: 3rd Mar 2009, 18:44