Hello everyone!
I have some 720P file in disk, most are movie and show kind content, format is WMV/AVI(xvid)/MKV, I want to transcode into H264 for smaller size and compatible to my 32” LED TV with least quality loss.
My source is as 4000-7000kbps, progressive, 1280x720 or similar, I studied a lot on doom9’s topics and x264 settings in wiki, after days testing and the problems I’m facing is:
1. As my acknowledge, the x264 is more efficient than WMV/XVID/DIVX, so my target bitrate is around 3000±200kbps, any suggestions about this bitrate for 720P H264?
2. Some experienced guy indicated me to encode by CRF 21 rather than 2 pass vbr for this kind of lossy format, but I find to some movies the result(both quality and file size) from crf20/21/22 varies too much and different to control, what do you think?
3. Here is my code use Megui, but the process is rather slow in my outdated P4, please help to give some suggestions if this could be done better?
--level 4.1 --pass 1 --bitrate 3000 --stats "*.stats" --deblock -3:-2 --b-adapt 2 --ref 9 --merange 32 --me umh --subme 9 --partitions all --no-fast-pskip --sar 1:1 --output NUL "*.avs"
--level 4.1 --pass 2 --bitrate 3000 --stats "*.stats" --deblock -3:-2 --b-adapt 2 --ref 9 --merange 32 --me umh --subme 9 --partitions all --no-fast-pskip --sar 1:1 --output ".mp4" "*.avs"
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 7 of 7
Thread
-
-
You can't have both best filesize and best quiality. If you're leaning towards quality, go with #2 and realize that sometimes the file will be smaller and sometimes it will be larger depending on what the video needs to maintain a given quality and not necessarily what you would like. I'm more worried about quality than filesize, so I always go with CQ.
If files are already in MKV, more than likely they're already h264 and you'll gain little to nothing and probably make it worse. Doubtful that the extra work on a divx/xvid file will gain you much either. I never did much work with WMV so that you'll have to test yourself.
If this is all downloaded source, it would be cheaper and quicker to just get another hard drive.Have a good one,
neomaine
NEW! VideoHelp.com F@H team 166011!
http://fah-web.stanford.edu/cgi-bin/main.py?qtype=teampage&teamnum=166011
Folding@Home FAQ and download: http://folding.stanford.edu/ -
Thank Neo for your reply.
You can't have both best filesize and best quiality. If you're leaning towards quality,
If files are already in MKV, more than likely they're already h264 and you'll gain little to nothing and probably make it worse. Doubtful that the extra work on a divx/xvid file will gain you much either. I never did much work with WMV so that you'll have to test yourself. -
There's no 2pass CRF. It's there to give the video the bitrate it needs to maintain a given quality.
Then is sounds like you're more concerned with file size. But playing with the average bitrate to get it right is the price you'll pay. Personally, with (only) a 32" TV, I'd still go with h264 but go to 480p with 2000+/- 2 pass.
I have a 60" tv and my BR player upscales our DVDs very nicely. Yes, I can tell the difference between DVD and a Bluray, but most people can't. I sit at a distance and have the eye sight for it to make a difference.Have a good one,
neomaine
NEW! VideoHelp.com F@H team 166011!
http://fah-web.stanford.edu/cgi-bin/main.py?qtype=teampage&teamnum=166011
Folding@Home FAQ and download: http://folding.stanford.edu/ -
in a group someone told me, by using command line, you can encode crf firstly to see the quality and get a stats file, then 2nd you can use 2pass encoding to adjust the bitrate if you think necessary.
But I get no stats file after 1 crf encodine in Megui, do you know how this can be done?
But I really can see the difference between dvd source and 1080/720P source in my 32" LED, so I'd rather got 720P.
I have another MKV, it can't load in my TV, the x264 code is
cabac=1 / ref=5 / deblock=1:-3:-2 / analyse=0x3:0x113 / me=umh / subme=6 / me-prepass=0 / brdo=1 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=0 / 8x8dct=1 / cqm=2 / deadzone=6,6 / chroma_qp_offset=0 / threads=6 / nr=0 / decimate=0 / mbaff=0 / bframes=16 / b_pyramid=1 / b_adapt=1 / b_bias=0 / direct=1 / wpredb=1 / bime=1 / keyint=250 / keyint_min=25 / scenecut=40(pre) / rc=2pass / bitrate=6129 / ratetol=1.0 / rceq='blurCplx^(1-qComp)' / qcomp=1.00 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / pb_ratio=1.30 / aq=2:0.30
It seems not too much different from what I use in the top post, but it stops and get no response until I turn off the power when played in my TV. so I was wondering if the setting of H264 matters or anything else?
the file details:
Code:Complete name : 77650.mkv Format : Matroska File size : 4.37 GiB Duration : 1h 32mn Overall bit rate : 6 774 Kbps Writing application : mkvmerge v2.1.0 ('Another Place To Fall') built on Aug 19 2007 13:40:07 Writing library : libebml v0.7.7 + libmatroska v0.8.1 Video ID : 1 Format : AVC Format/Info : Advanced Video Codec Format profile : High@L4.1 Format settings, CABAC : Yes Format settings, ReFrames : 5 frames Codec ID : V_MPEG4/ISO/AVC Duration : 1h 32mn Bit rate : 6 129 Kbps Width : 1 280 pixels Height : 720 pixels Display aspect ratio : 16:9 Frame rate : 29.970 fps Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Progressive Bits/(Pixel*Frame) : 0.222 Stream size : 3.87 GiB (89%) Writing library : x264 core 59 r808M ff5059a Encoding settings : cabac=1 / ref=5 / deblock=1:-3:-2 / analyse=0x3:0x113 / me=umh / subme=6 / me-prepass=0 / brdo=1 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=0 / 8x8dct=1 / cqm=2 / deadzone=6,6 / chroma_qp_offset=0 / threads=6 / nr=0 / decimate=0 / mbaff=0 / bframes=16 / b_pyramid=1 / b_adapt=1 / b_bias=0 / direct=1 / wpredb=1 / bime=1 / keyint=250 / keyint_min=25 / scenecut=40(pre) / rc=2pass / bitrate=6129 / ratetol=1.0 / rceq='blurCplx^(1-qComp)' / qcomp=1.00 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / pb_ratio=1.30 / aq=2:0.30 Audio ID : 2 Format : AC-3 Format/Info : Audio Coding 3 Mode extension : CM (complete main) Codec ID : A_AC3 Duration : 1h 32mn Bit rate mode : Constant Bit rate : 640 Kbps Channel(s) : 2 channels Channel positions : Front: L R Sampling rate : 48.0 KHz Bit depth : 16 bits Compression mode : Lossy Stream size : 423 MiB (9%)
-
It's probably choking on 16 bframes.
Some guys also said this setting goes really unreasionable, I want to know if some parameters here go conflict with others?
Similar Threads
-
Lossy 32 bpp (32-bit color) codecs
By videohelperee in forum Video ConversionReplies: 9Last Post: 12th Dec 2011, 22:13 -
best lossy codec for 320x240 video
By videoasker in forum Video ConversionReplies: 12Last Post: 30th Jan 2010, 13:56 -
x264 MKV to HD-WMV or other HD format
By codyb in forum Video ConversionReplies: 12Last Post: 25th Nov 2008, 14:49 -
help with lossy DRM removal
By kenny1999 in forum Video ConversionReplies: 0Last Post: 7th Oct 2008, 09:22 -
Microsoft DV Avi codec - lossy?
By branch in forum Camcorders (DV/HDV/AVCHD/HD)Replies: 2Last Post: 5th Mar 2008, 00:27