Log in

View Full Version : H.264 vs. Xvid at high bitrates please advise


Pages : 1 [2] 3

Sagittaire
4th May 2006, 19:34
Strong ? How strong... is it worth the huge time difference to encode in AVC ?
With Cyberlink power encoder, the process is relatively fast but I cannot manage to get AAC / AC3 audio with the tool.

I tried to encode using x264 + MeGUI, but it is so slow, it is not viable (< 1fps most of the time)

My system: Athlon X2 3800+ OC
Original content: .ts file / 1920x1080i / AC3 5.1
Destination content: .mp4 / 1920x1080 / x264 2 pass / AAC 5.1

I am willing to try AVC as long as the encoding does not take forever, maybe its me who does not understand how to speed up the process...

thanks for your time,

1 fps with your X2 ... lol
Well with esa me, 16 ref, trelli, and rdo yoau can make 0.1 fps I think ... why not ... ???

I can make MPEG4 ASP encoding at 0.1 fps too with libavcodec and Insame setting and my conclusion will be "ASP is slow".

Use the slowest setting for x264 is not a obligation and it's certainely very bad idea for 1080p encoding ... lol

One more time at the same speed x264 done always very better quality than XviD (quality is objective test here).

Momotte
4th May 2006, 19:40
It was not a bad critical statement, you can view this also as a question... maybe someone can point me the proper settings for 1080p since obviously I am doing something wrong to have such a slow encoding speed. I used the HQ slow template, which one is suggested for 1080i HD content ?

thanks, sorry if my comment was not appropriate.

emmel
4th May 2006, 19:49
I tried to encode using x264 + MeGUI, but it is so slow, it is not viable (< 1fps most of the time)

My system: Athlon X2 3800+ OC
Original content: .ts file / 1920x1080i / AC3 5.1
Destination content: .mp4 / 1920x1080 / x264 2 pass / AAC 5.1
I have a similar setup, and also I'm encoding 1080i mpeg2 ts-content into AVC.

My target is basically to reduce the file size with 50% while achieving an almost transparent quality (let say PSNR 45...50dB). This is not necessarily possible with ASP (or at least I have not found out a way of doing it right), but iboth goals can be achieved with x264 --crf quite easily. And if you choose the parameters correctly, you can get about 4fps. Good enoug for me.

Lefungus
4th May 2006, 21:11
Whoever it was that wrote the avisynth filter implementing SSIM decided to remap the scores to a different range, [0,100] with 100 being highest quality. The remapping formula was arbitrarily picked as: 100*(1-internalssim)^8.

This is why I also added the 'scaled' parameter to disable this arbitrary scaling and keep range between 0-1, like in the original paper.
However, due to the absence of documentation, this feature may be unknown to most people :)

Isochroma
4th May 2006, 22:19
Some things to think about:

1. Crop. x264 needs mod16. Is your source (after cropping) mod16? Do you want to use a resize filter to make it such if it's not?

2. Encoding speed. XviD is faster
3. Decoding speed. XviD is faster
4. Encoding flexibility. Many more apps support vfw xvid.

Since I only do q-1 encodes I use DivX 6.2 for SD. I never use avc because of its dimensional inflexibility, high CPU usage on decode, encoding speed limitation, etc.

GodofaGap
4th May 2006, 22:32
1. x264 doesn't need mod16 anymore for a long time.
2. Depends, quality/speed wise x264 is probably better. If you compare encoding speed, you must compare encoding quality as well.
3. MPEG4 ASP with pp can be just as slow as MPEG4 AVC, I think. Depends on decoders used. Would make for an interesting test though. :)
4. There is a x264vfw too, it has worked in any app I tried so far.

But yea... with q1, thank god for DL-DVD's :)

Isochroma
4th May 2006, 22:51
1. It can accept non-mod16, but uses an internal workaround to expand the actual encoded frame. AVC only supports mod16.

2. I was only talking about speed.

3. I've tested decoding speed via ffdshow for asp vs. coreavc for avc. ASP decode is faster at same bitrate and also at same quality.

4. VFW mode can be used for x264, but it is not recommended. See other threads on the forum for more information. MKVmerge will throw a warning and refuse to mux vfw-mode avc-in-avi files.

GodofaGap
4th May 2006, 22:56
1. This is true for any MPEG codec. Macroblocks are 16x16. Period. XviD uses a workaround too.
2. You win. Although I never tried x264 without inloop and cabac. :)
3. I will try and test myself too. :)
4. Some people say it is not recommended for XviD as well. Same b-frame problems. And there is always "--engage allow_avc_in_vfw" :)

Isochroma
4th May 2006, 23:04
Do note that some AVC decoders (such as Nero) will pad the output frame with an ugly green bar if either dimension is not mod16. However, the divx codec will do x mod4 y mod2, ffdshow vfw encoder will do both mod2, and no asp decoder that i've ever tested padded the frame for mod2 sizes.

foxyshadis
4th May 2006, 23:06
So does ASP, dude. All of MPEG is based on the 16x16 DCT, which is where that requirement comes from. Xvid uses the same exact workaround. (x264 copied it verbatim.) However, the real and visible frame sizes do not have to match. Nero is just stupid in that regard.

Speedwise, AVC can be as fast as fast ASP, but at that point it practically is ASP with minor changes, and decoding won't suffer much either (because you'd use CAVLC and no 8x8. b-pyramid and an extra ref or two would be the major gains).

Sagittaire
4th May 2006, 23:16
Since I only do q-1 encodes I use DivX 6.2 for SD. I never use avc because of its dimensional inflexibility, high CPU usage on decode, encoding speed limitation, etc

MPEG4 ASP at q1 ... it's certainely not an optimal use for this codec. Well if you want speed (encoding and decoding) and flexibility MPEG2 will be really better for your quality level.

Zorrander
5th May 2006, 01:01
I usually encode movies in the 1500-2000kbps range and can see very noticable differences between Xvid and H264. Xvid files, even at high bitrates, tend to have dark color blocks and other noticable artifacts. At least that's how they end up on my machine.

Blue_MiSfit
7th May 2006, 06:38
Seriously. Q1 with ASP is just a bad idea IMHO. If you need to preserve that much information stick with MPEG-2.

Regarding encoding speed... I can encode 1080p in x264 with my usual settings - fft3dgpu, lvl1 rdo, lvl1 trellis, 5 refs, 8x8dct etc at roughly 2fps for secondpass (about 5 fps for first). This is slow, but doable. Encoding speed is of little importance when compared to output quality IMHO. Provided of course you actually have the time to do the encode. <1fps is unacceptable though.

And regarding my statement about AVC being superior in HD resolutoins, I will admit I dont have any quantitative proof to show that. However, it does make sense, considering that with HD there's more information per frame, and with more information, things like multiple references and 8x8dct would be more useful. Perhaps :)

But I have nothing to back it up with I suppose, so I will retract that statement for now, since there seemed to be some questioning of its validity.

On another note, I have been looking for some really high quality MPEG-2 HD clips. The only ones I have are from satellite, and are starved for bitrate, not to mention hybrid progressive/interlaced. *YUCK*... And all the Apple stuff is in AVC already... Anyone know where to get some really high quality MPEG-2 HD to play with encoding?

Thanks

~MiSfit

Manao
7th May 2006, 10:37
So does ASP, dude. All of MPEG is based on the 16x16 DCT, which is where that requirement comes from. Xvid uses the same exact workaround. (x264 copied it verbatim.) However, the real and visible frame sizes do not have to match. Nero is just stupid in that regard.Erm. Firstly, MPEG1/2/4 use the same 8x8 DCT ( it has never been 16x16 ). Secondly, MPEG1/2/4 and AVC use the same base unit : the macroblock, which is 16x16 ( for AVC in MBaff, it could be argued that the unit is the macroblock pair, 16x32 ). Thirdly, it's not a workaround. The standards perfectly accepts mod 2 resolutions ( and mod 1 for 4:4:4 ). In such a case, the encoder must fill the missing border pixels. He can use any algorithm to do so, because they won't be shown anyway. x264, XviD - and actually most of the encoders I think - use the same technic which consists of copying the border pixels. Filling with black would have create an edge, which is something hard to encode, so it wouldn't have been wanted.Do note that some AVC decoders (such as Nero) will pad the output frame with an ugly green bar if either dimension is not mod16And that is a bug. Those pixels shouldn't be seen, and actually aren't green when decoded ( so it's most probably pixels that haven't been initialized at all ).

ASP decoding will always be faster then AVC decoding, even if you encode with CAVLC, no deblocking, no partition... AVC is just intrinsicly more complicated. In the same way, ASP's fastest encoding speed will be better than AVC's.If I had to encode 720p or 1080i HD, would you recommend I use AVC or ASP ? If I understood well, high bitrates should not mather that much so since HD is high bitrate... I am confused...High bitrate must be considered relatively to the complexity of the encoded video. 640x272 will require a quite lower bitrate than 1280x720 to look as nice, because there's 5.3x less pixels to encode.I think Sharktooth has a very good point about ASP preserving minute details like film grain better at high bitrates.It only preserves the grain. Everything else will be sharper and more detailed with AVC. And imho, the grain is something that should be handled by FGM anyway.What's wrong with Nero based AVC? I get much better results with Nero AVC than x264.Perhaps you're misconfiguring x264. Because, x264 is a bit better than Ateme's december 2005 codec, which itself is better ( by a fair margin ) than Nero's codec ( Ateme's september 2004 ).

temporance
7th May 2006, 11:48
It only preserves the grain. Everything else will be sharper and more detailed with AVC. And imho, the grain is something that should be handled by FGM anyway.
Interesting thread. IMHO, it is not just grain that is better preserved by ASP, it is all fine texture. AVC, for me, becomes too bland, flat and cartoon-like at low bitrates. ASP, on the other hand, preserves textures like facial stubble and wrinkles at the cost of some blockiness. Parametised texture (e.g. FGM) can not possibly do this.

Edit: Oh, and the reason why AVC has an advantage at higher resolutions is that it's low-pass filtering effect is similar to resizing and encoding at a smaller resolution. So, if you find yourself encoding HD in AVC and notice texture loss, try downsizing first and you'll possibly get a lower quantizer encode with better detail preservation, even though you're working at a lower res.

Manao
7th May 2006, 11:51
Indeed, it can't. But I think that at low bitrates, artifacts brought by ASP are more disturbing anyway. AVC comes out clean ( too clean, according to you ), and remarkably sharper than ASP ( imho ). And since ASP at low bitrates is a block fest in high motion, it makes deblocking mandatory, which in turn wash out textures anyway. So...

*.mp4 guy
7th May 2006, 14:53
Indeed, it can't. But I think that at low bitrates, artifacts brought by ASP are more disturbing anyway. AVC comes out clean ( too clean, according to you ), and remarkably sharper than ASP ( imho ).

The lack of texture details combined with the very sharp lines can give some very odd looking low bitrate encodes, the problem used to be much worse, but it is still a rather odd effect.

Sharktooth
7th May 2006, 15:10
AVC can preserve fine textures but that requires good psy algos, and of course, no loop deblocking (or a low qp...).

siddharthagandhi
7th May 2006, 17:28
"Perhaps you're misconfiguring x264. Because, x264 is a bit better than Ateme's december 2005 codec, which itself is better ( by a fair margin ) than Nero's codec ( Ateme's september 2004 )."

You can't just say that based on one codec comparison like Doom9's. MSU's says the opposite.

Manao
7th May 2006, 17:58
MSU's tests are not good tests ( read the following answers in the respective threads ). And anyway, I do not say that based only on Doom9 comparison, but from experience. The fact is that you're the only one to find Nero AVC better than x264.

And since, on another thread, you said :Nero isn't silly. Wait till I release my codec comparison. The PSNR's show that MP is better than x264, and HP is a lot better than x264.I can bet you that you misconfigured x264. Because, metric-wise, x264 is better than Nero ( except if the video is exclusively made of fades ). And how can you speak of Nero HP while it's still only vaporware ?

IgorC
7th May 2006, 18:12
Notice that Manao is Ateme developer. It's more than enough.

IgorC
7th May 2006, 20:21
Because, metric-wise, x264 is better than Nero ( except if the video is exclusively made of fades ). And how can you speak of Nero HP while it's still only vaporware ?

It is true if video consists only from fades as it says the message.

x264 had not problem with fades. x264 has weight prediction for B frames (not for P?). Maybe x264 adds some extra bitrate on fades but as fades aren't enough often so it shouldn't be noticeble waste of bitrate.

siddharthagandhi
7th May 2006, 20:27
I got a Nero HP encoder from someone. He said he got it from the Doom9 forum.

"Notice that Manao is Ateme developer"

Is he really? Then why is he diminishing his own codec?

IgorC
7th May 2006, 20:28
First of all it's illegal.
Second it's not HP cli version but old MP licked beta.
Check the version number.

Bye.

xyloy
7th May 2006, 20:33
I can bet you that you misconfigured x264.
I bet this too!

@siddharthagandhi:
To see x264's true quality( :P ), update to the last rev. build (http://x264.nl/) and try theses settings(wich maximise the quality without killing the encoding speed) for a 2-pass encode(3pass mode is only when the filesize is wrong):
x264.exe --pass 1 --bitrate xxx --stats "x264.stats" --ref 8 --mixed-refs --no-fast-pskip --bframes 3 --b-pyramid --b-rdo --bime --weightb --direct auto --subme 7 --trellis 2 --analyse all --8x8dct --me umh --merange 16 --cqm "jvt" --progress --no-psnr --output NUL "x:\x264.mp4"
(bitrate and output folder are your choice)
Or a turbo 1 pass(very little side effects on finale quality AFAIK):
x264.exe --pass 1 --bitrate xxx --stats "x264.stats" --bframes 3 --b-pyramid --direct auto --subme 1 --analyse none --me dia --merange 16 --cqm "jvt" --progress --no-psnr --output NUL "F:\x264.mp4"

2nd pass:
x264.exe --pass 2 --bitrate xxx --stats "x264.stats" --ref 8 --mixed-refs --no-fast-pskip --bframes 3 --b-pyramid --b-rdo --bime --weightb --direct auto --subme 7 --trellis 2 --analyse all --8x8dct --me umh --merange 16 --cqm "jvt" --progress --no-psnr --output "x:\x264.mp4"

Last note, I'm currently using --merange 24, but that's because time is unimportant to me, and I like to play with x264. ;)

Manao
7th May 2006, 20:35
IgorC : Extract a fade from a video, and encode it with weighted prediction in Nero and with x264, both at the same bitrate. The difference should be obvious. But of course, fades mostly happen in trailers, and there must be less than 0.1% of a movie that is made of fades. So it doesn't tip the balance towards Nero.

Is he really? Then why is he diminishing his own codec?I don't think I am. Saying that our codec is on par with x264 isn't diminishing it in any way, since x264 is the best ( there's no best, but you know what I mean ) codec out there at the moment. Saying otherwise would be a misstatement.

Sagittaire
7th May 2006, 22:32
I got a Nero HP encoder from someone. He said he got it from the Doom9 forum.


it's not me, it's not me ... lol
Manao is certainely happy to know that ... :eek:

"Notice that Manao is Ateme developer"
Is he really? Then why is he diminishing his own codec?

Simply because it's true. x264 is little better than Ateme/Elecard for metric and IMO visually all these top H264 encoder are really close now.


Extract a fade from a video, and encode it with weighted prediction in Nero and with x264, both at the same bitrate

perhaps because x264 use only bwpred ... ???

foxyshadis
7th May 2006, 23:57
Ateme devs don't need to worry about absolute quality being just a tiny bit less, given how much faster theirs is... They were scorching in the 2005 comparison.

And yeah, aku said he hasn't done full b-wpred yet:
http://forum.doom9.org/showthread.php?p=817250#post817250

Blue_MiSfit
8th May 2006, 00:04
It only preserves the grain. Everything else will be sharper and more detailed with AVC. And imho, the grain is something that should be handled by FGM anyway.

What is this fgm? I dont recall reading about it.

I think grain preservation is extremely important when dealing with film sources. Noise removal is always important, but keeeping grain ads so much to the image. Removing grain with AVS filtering usually works, but at the cost of too much detail / sharpness IMHO. I totally agree with what temporance said regarding the wrinkles and stubble. That's something I have ALWAYS noticed.

However, what Manao responded with is also quite valid. Low bitrate, non PP'd (obviously), slightly oversmooth AVC looks a lot better than low bitrate, PP'd blocky ASP. I was thinking more along the lines of midrange bitrate.. .8-1.2 mbit

Maybe I'm not configuring things properly or using the right prefiltering.. or maybe this FGM thing is the holy grail of grain preservation (:D)

~MiSfit

IgorC
8th May 2006, 00:35
Ateme devs don't need to worry about absolute quality being just a tiny bit less, given how much faster theirs is...They were scorching in the 2005 comparison.

Yes, it was 2005 year. (revision aprox. 380)

Now it looks more like that http://forum.doom9.org/showthread.php?t=105763 . The last revisions are even better in trading of quality/speed.

Sagittaire
8th May 2006, 01:32
Yes, it was 2005 year. (revision aprox. 380)

Now it looks more like that http://forum.doom9.org/showthread.php?t=105763 . The last revisions are even better in trading of quality/speed.

well I think that x264 is the best for quality (aka metric) and now for speed too ... but I don't test the last Elecard and Ateme encoder. If x264 can progress certainely that Elecard and Ateme can progress too.

Now I think that big improvement for quality will be really difficult (no impossible but difficult and slow). The last improvement for x264 are now majoritary speed improvement.

*.mp4 guy
8th May 2006, 01:49
Now I think that big improvement for quality will be really difficult (no impossible but difficult and slow). The last improvement for x264 are now majoritary speed improvement.

It may seem like that now, but look at the amazing amount of progress LAME has made, in recent double blind tests (at 128kbps vbr) it was statistically tied with Itunes AAC, AoTuv vorbis and WMA Profesional. Source (http://www.maresweb.de/listening-tests/mf-128-1/resultsz.png)

foxyshadis
8th May 2006, 03:37
He never specified whether it was the encoder that was current as of his test, or the old test codec that was released in late spring/early summer 2005 iirc. If it was current, great, but if it was the old beta release, then its results can't really be trusted to apply to the current codec a year later (even though we can't use it yet). I'd be interested in seeing current results, but I'm sure Ateme's devs have better things to do than that. :p

[edit] Looks like the last beta.

I think the big leaps in quality will end up being when currently unrealized portions of the spec are implemented, and entirely new tunings and psychovisual models developed to put bits in more important areas.

Sharktooth
8th May 2006, 03:40
x264 still lacks psy enhancements (psy adaptive quant, psy motion search, psy RD), weighted prediction in Ps, edge detection based on intra search, macroblock partitions (B8x4,B4x8,B4x4), adaptive refs, and some other possible tunings and enhancements i dont actually remember.
despite all that, x264 is one of the best avc encoders out there and it's free...

akupenguin
8th May 2006, 04:05
edge detection based on intra search
edge detection (http://students.washington.edu/lorenm/src/x264/x264_edge_intra.0.diff) is a speed/quality tradeoff, and not a good one.

Sharktooth
8th May 2006, 11:26
thanks for the clarification.

Dayvon
2nd June 2006, 23:27
Just to throw a quick 2 cents in the ring here...

I would use x264 for anything under 2000kbps. Of course, it all depends on the frame size too, but for a normal frame (900x500 and down) Xvid is just too weak under 2000kbps. For a true high quality rip. You can see this by actually watching the "sharper" details of the Xvid encode... They exhibit this pixelated look where you can see the "bits".

Now, I do find that at 2500kbps+ I would use xvid over x264 because of the details. At this high of bitrate, the problem I mentioned before is lessend dramatically and x264's difficulties with "fog" type motions becomes comparably worse. Xvid is better with rain at high bitrates as well because of its detail retention.

For HD, I wouldn't be able to say, but I would have the hardware you use as a major consideration. Xvid obviously is quicker on the decode (and encode) which could make all the difference for your PC/hardware. 1080p@60fps is not something that you will want in AVC. But if you have good decoding, then conserve some space and use AVC for size/quality improvements.

I know I write in general terms and not specifics (like the PSNR guys), but that is because I consider experience and my eye to be a great judge. Because I am so dang critical ;).

BTW, is there a xvid version that works with MeGUI yet? I switched to the MP4 container awhile ago (and MeGUI) and I'd rather keep my encodes non-VFW and MP4 compliant. I know of Xvid_encraw but have had no luck with it yet. I find it's also hard to find the most recent build.

foxyshadis
3rd June 2006, 00:02
The best place to get it is always ftp://squid80.no-ip.com/xvid_encraw.zip and you can check the encraw thread for other mirrors (not updated as often) as well. The new versions work better with megui than they used to.

Dayvon
3rd June 2006, 00:22
The best place to get it is always ftp://squid80.no-ip.com/xvid_encraw.zip and you can check the encraw thread for other mirrors (not updated as often) as well. The new versions work better with megui than they used to.
Thank you sooooooo much.
Xvid_encraw needs a good mirror. I wish I had a ftp. :o

Morte66
3rd June 2006, 11:49
I have a similar setup, and also I'm encoding 1080i mpeg2 ts-content into AVC. [...] And if you choose the parameters correctly, you can get about 4fps. Good enoug for me.

So what settings, specifically, do you use?

Morte66
3rd June 2006, 11:53
1 fps with your X2 ... lol[...]
Use the slowest setting for x264 is not a obligation and it's certainely very bad idea for 1080p encoding ... lol

So what do you suggest for 1920x1088/24p at about 4000 to 6000kbps starting from very imperfect MPEG2 HDTV TS?

Perhaps you could post a pair of command lines that don't include "lol".

Sagittaire
3rd June 2006, 14:11
x264.exe --bframe 2 --weightb --ref 2 --direct auto --filter -1:-1 --crf 26 --qcomp 0.75 --ipratio 1.25 --pbratio 1.33 --analyse "all" --8x8dct --me "hex" --subme 5 --progress -o 1080p.mp4 1080p.avs

don't forget to use deblocking for your HDTV source

foxyshadis
3rd June 2006, 14:18
Thank you sooooooo much.
Xvid_encraw needs a good mirror. I wish I had a ftp. :o
Well, like I mentioned, there are a few in the thread since Squid's home server is so flaky. :p

http://elicit.vn.ua/files/hosted/
http://brother-john.net/

I'm sure there's others I missed.

Morte:
Try 1P-Intermediate profile in MeGUI with a CRF of your choice, 2 threads, b-pyramid, and an extra reference or two. That should be fast enough. (Don't bother with ABR, just switch to auto 2pass if you need a size.) Depending on the speed of your computer you may or may not need to switch off CABAC. Hopefully not, it'll drop quality and/or increase bitrate.

That profile would make a good starting point for an HD 1080p profile (hint sharktooth).

[Edit]
Yes, approximately what sagittaire suggested.

Morte66
3rd June 2006, 15:42
I am about to start converting many of my DVD's into mkv's and I am still debating over which I should use.

I am not asking what is best here, but more to the point is there enough of a quality difference at higher bitrates for me to use H.264 and the extra encoding time?

I am looking to create files around the 2gb range for a typical movie.

I've been mucking about with some higher-quality encodings today on a 113 second HD clip made from 8.24GB of 1080p uncompressed YUV samples. I used Xvid, x264 and QuEnc. Nothing rigorous here, but it might interest you.

I used x264 with a variety of high profile settings similar to Sharktooth's HQ-Slow profile for MeGUI, at around 4500kbps (thinking HDTV movie to DVD5 backups) and around 8000kbps (wondering what HDDVD might look like). They all looked the same as the source and each other, apart from a sky shot that I'll come to. The only settings that really changed the character of the video were the deblocking options: -2,-2 looked a hell of a lot better than -1,-1 to my tastes.

Xvid single pass q2 looked pretty much level with the best x264 encodes, but the bitrate came out at 26103kbps. [These settings tend to give about half original size for a DVD backup, with a big variation.]

QuEnc on guestimated Blu-Ray MPEG2 settings (16000kbps VBR 2 pass) looked poor compared to the MP4, but wonderful compared to MPEG2 HDTV transport streams. If you like PS3 games and want to watch a few HD movies but not many...


As for that sky shot (3 seconds out of 2 minutes with some smoothly graduated haze):

The haze came out subtly posterised/banded in all the h264 encodes. This was the only shot where I noticed a difference between crf18 and crf22 without actively looking for it, for about half a second I saw a block on crf22.

The haze was smooth in xvid, no sign of banding, but the scene was 271 frames long and at frame 250 where the I-frame came in Xvid suffered an obvious jump (like a blob of colour hitting the screen).

QuEnc showed gross blocking on this section.

Just sitting back and watching it like a movie, I didn't notice a difference between the encoders except that x264 with stonger deblocking was a bit soft and QuEnc was very noisy/blocky. Xvid vs x264 was pretty even, but x264 needed less than a third of the bitrate to be "transparent for my purposes" and Xvid encoded five times as fast.

Morte66
3rd June 2006, 16:05
Sagittaire/Foxyshadis: thanks, I'll give those a spin.

{edit} I wasn't so happy with that at --crf 26 --filter -1,-1; but it looks good at --crf 22 filter -2,-2. I'm pretty impressed that it gave twice the speed (2.32fps on A64 X2 3800+) for 20% more output size, compared to using my usual DVD backup settings at 1920x1080. Unfortunately it comes out at more than 8000kbps, which would mean DVD9 rather than DVD5. Well, I'll have to do some more tests.

[My DVD backup settings, developed by trial and error on a wet Sunday, are --crf 22 --ref 5 --mixed-refs --bframes 3 --b-pyramid --b-rdo --bime --weightb --direct temporal --filter -2,-2 --subme 6 --trellis 1 --analyse all --8x8dct --threads 2 --thread-input --progress --no-psnr --output "" "". I reaslise they're on the slow side of "best bang for buck", but I encode overnight so 4 hours vs 8 hours doesn't really matter and it saves me time because it's less discs to burn. Then along camed HDTV, and specific target sizes needing 2-pass encodes, and everything changed. If I didn't like DGIndex deblocking and ColorMatrix() so much I'd just burn the transport streams over three discs.]

audioman
25th February 2007, 10:38
Hi all forumers

Sagittaire , I sent you a PM and no answers :)

As far as I am concerned , I Made my choice on X264 codec
Just make a test on the " NEMO MOVIE " which causes the xvid and divx codecs to fail , showing some big artefacts and some image degradation even at High bitrates

Make the same test using X264 with HQ matrix slow, Lanczos and Bitrate 900 , it is quite astonishing
The compressibility test gives me a 52 % value
Neither artefacts nor image degradations and the final image file is 650 megs

My question is :

Is it better to use Lanczos instead of Neutral ?
Do you often use compressibility test ?
Is it worth it using higher bitrates when encoding Non HD movies

Thanks

smok3
25th February 2007, 11:31
what would be x264 single pass transparent settings for 720x576 progressive (dv) material, where speed is relatively important?

ToS_Maverick
25th February 2007, 13:19
what would be x264 single pass transparent settings for 720x576 progressive (dv) material, where speed is relatively important?

you can check this (http://forum.doom9.org/showthread.php?t=121304&page=9) thread, where i tried to get the last out of x264, and compared it with xvid.

here is the commandline i use if i need good quality and speed (HDTV coding for example):

--crf 20.0 --ref 3 --mixed-refs --no-fast-pskip --bframes 3 --b-pyramid --bime --weightb --filter -2,-2 --subme 1 --analyse p8x8,b8x8,i8x8 --8x8dct --threads auto --thread-input --progress --no-dct-decimate --no-psnr --no-ssim --output

smok3
25th February 2007, 20:45
ToS_Maverick, tnx will try, is --threads auto for dual-core cpus or should i force threads 2? (quick test didnt reveal any significant speed changes...)

ToS_Maverick
25th February 2007, 23:55
threads auto will pick the optimal thread-setting. no need to change it. i should work, as i get 50 fps @ dvd-resolution :D