Log in

View Full Version : fastest loseless codec


gavo
6th June 2005, 07:04
hey,

I have a 3 min video i'm playing of my hardrive and space is not a problem at all. I have a huffy in yuv12 but I like to get it into a more playable format with as little lose as possible. Are there any formats that are loseless and dont comprass really while but can decode quickly. I was thinking mpeg 2 but it's limit is 15000 bitrate and it still lossy. Mjpeg can be nearly lossy. Any suggestions?

Zarxrax
6th June 2005, 18:13
The problem with huffyuv is that it is too large! Your hard drive is not fast enough to read the video data in realtime. The first thing I would say is try defragmenting. There is a freeware program called contig which allows you to defragment just a single file. http://www.sysinternals.com/Utilities/Contig.html
Try running your video through that and then see if it plays any smoother.

If that doesn't work I'd try giving the lagarith codec a shot. http://lags.leetcode.net/codec.html

It's about 2x slower than huffyuv, but it compresses much better, so it moves the bottleneck away from the hard disk and towards the cpu. If you have a reasonably fast cpu, maybe 2.4ghz or so, then i think you should be able to decode yv12 video in realtime with it.

gavo
7th June 2005, 18:11
ya, I was useing lagirtech before and I force it into yuv12. Which huffy didnt support :D. (without ffdshow) The file size became twice as small in yuv12 and it plays back nice on highend.

hpn
8th June 2005, 01:32
So what is your source video format? If converting to "only" 15000 bitrate is not an option for you I guess it's either DV (25Mbps) or some HDTV TS stream (1080i/p) or maybe even uncompressed. I remember recently I had problems playing a HD TS movie (1920x1080i) in realtime on my PC (Athlon XP 2600+) and no matter what I tried all my usual players (MPC/BSplayer etc) would only play about 18-20 frames/s (instead of 24) and CPU running at 100%. But when I tried Mplayer it played like charm using about 50% CPU. So you could also try it and if your clip plays fine, you may not need to compress it to lossless or any other format. Your link is here:
http://www.aziendeassociate.it/cd.asp?dir=/mplayer

LRDX
8th June 2005, 15:20
Any suggestions?

Try MSU's lossless codec (http://www.compression.ru/video/ls-codec/index_en.html).

Poutnik
8th June 2005, 16:18
Try MSU's lossless codec (http://www.compression.ru/video/ls-codec/index_en.html).

Is not it very slow ? Or only for encoding ?