Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
26th May 2007, 15:07 | #1 | Link |
x264 developer
Join Date: Sep 2005
Posts: 8,666
|
Need a good 4:4:4 codec
All the codecs I'm finding have 4:2:2 or 4:1:1 or 4:2:0 or similar chroma subsampling.
x264 can get my video (losslessly!) down to 15MB due to the low motion and graphics used, but it converts it to 4:2:0, which causes annoying color bleeding. The YV12 is also annoying--there's tons of banding in the gradients because of the conversion from RGB. What's a good, modern encoder/codec that supports 4:4:4 subsampling and works well for zero-noise RGB graphics? I tried the MSU screencapture codec and that got it down to 26MB, but it seems to be very CPU-intensive on playback (100% of one of my cores). Additionally most people probably won't have the codec. Last edited by Dark Shikari; 26th May 2007 at 15:18. |
26th May 2007, 15:18 | #2 | Link |
the dumbest
Join Date: Oct 2002
Location: Malvinas
Posts: 494
|
Have you tried Huffyuv in RGB mode or Lagarith in RGB mode ?
They are both lossless in that Mode. If you video/graphics is so low motion and noise free (which let me think it is from synthetic origin) you could also try some screen capture codec or even some simple RLE one. |
26th May 2007, 16:03 | #3 | Link | |
x264 developer
Join Date: Sep 2005
Posts: 8,666
|
Quote:
The graphics are of synthetic origin. What's a good screen capture codec? MSU seems extremely effective and can detect fades, but its too slow on playback to be useful. |
|
26th May 2007, 16:17 | #4 | Link |
A CORE Media Player User
Join Date: May 2002
Location: Africa
Posts: 789
|
@ Dark
You're doing something wrong somewhere. Downsampling to YUY2 or YV12 should be (almost) transparent to the human eye. Check this out: Original 24-bit RGB picture: Downsampled to YV12:
__________________
Stereo better than 128kbps MP3? Ogg Vorbis at -q2! (~96kbps) / Get the LANCER releases for max conversion speed (at least twice as fast as Lame 3.97!) Last edited by Awatef; 26th May 2007 at 16:20. |
26th May 2007, 17:28 | #6 | Link |
A CORE Media Player User
Join Date: May 2002
Location: Africa
Posts: 789
|
Well, I had a hard time telling the difference (putting my LCD under weird viewing angles and stuff), so I don't think it's dramatic.
Either way, I don't know any "main stream" codec that supports 4:4:4, sorry
__________________
Stereo better than 128kbps MP3? Ogg Vorbis at -q2! (~96kbps) / Get the LANCER releases for max conversion speed (at least twice as fast as Lame 3.97!) |
27th May 2007, 01:54 | #7 | Link |
Registered User
Join Date: May 2003
Posts: 114
|
First: YUV is notoriously bad at encoding green. Unfortunately your image is mostly green, and that's where the banding happens.
Second: You're encoding a screenshot in a DCT based format. Much like you wouldn't compress a screenshot of a web page in JPG (use PNG instead) you shouldn't do this here either. If your movie consists only of images like your sample, you should use a Flash animation instead. Third: you're judging the quality of an encode by a still image. If you want any possible screenshot to look as best as possible the only way to do that is to use a codec that only uses intra frames. As soon as the codec has to save more space by using p-frames it will throw away information that won't be visible in a movie. Pausing the movie and making a screenshot sabotages all that work and will make errors visible that wouldn't be in a realistic environment. |
27th May 2007, 02:28 | #8 | Link | |
interlace this!
Join Date: Jun 2003
Location: i'm in ur transfers, addin noise
Posts: 4,555
|
Quote:
reds have issues because of their relatively high luminance, and blues have it very bad but usually it's not noticable as the eye sucks at picking up blue. FWIW, on my CRT i didn't see any banding, only mild pixelliness in coloured edges. that doesn't solve your problem, but it implies that it can vary from computer to computer. give corePNG a try, but it's not a common codec, and is quite slow. also, bink video might work, as they say there's special consideration given to RGB.
__________________
sucking the life out of your videos since 2004 |
|
27th May 2007, 10:48 | #10 | Link |
Registered User
Join Date: May 2006
Posts: 957
|
You could try FFmpeg and it's ZLIB lossess compression. It will compress RGB video so there is no (minute) loss from the colourspace change. I used for storing some movie dumps from ZSNES and it managed 2830 kbit/s for 256x224 50Hz video which I thought wasn't too bad coming from a raw pipe. The raw video was 68 Mbit/s
|
|
|