On 30/03/2012 21:15, Aleš Keprt wrote: > I think the audio track needs to be compressed to MP3 in an external program.
MP3 would have been good, though I don't know if finding a legal free codec for the encoding might be a problem? The demo AVI I posted a few years ago was run through VirtualDub to convert the audio to MP3, so it was a reasonable size for my website. My original plan was to record to a lossless file, and let the user transcode to their preferred video+audio format. In practice, I can't imagine many people will bother with that, so cutting the original video size is better. Finding the right balance between size and quality is the tricky part. Another issue I had was sticking to simple formats for speed, and so I could implement them directly in SimCoupe, to reduce dependencies on different platforms. Decent audio encoders certainly weren't trivial! > MRLE is an big unknown to me. Unfortunately VirtualDub cannot write MRLE > files so I did't do any tests with it. I think Microsoft dropped the MRLE encoder in newer versions of Windows, maybe after XP. I think VirtualDub is completely dependent on local codecs for output too. You could probably use ffmpeg to output MRLE under Windows, if you wanted to compare. > A friend sent me his test video in MRLE he recorded in another ZXS emulator > and it is quite small, but it is really > new thing for me. I remembered finding that RealSpectrum videos were small, and I found it was using MRLE for lossless video. I researched that and found it was surprisingly simple. > When we compared MRLE to SCLS, the MRLE file was 6x bigger. I hadn't heard of SCLS before, but it does sound like it works better than MRLE. Perhaps some of the size difference is that I force keyframes every second, to improve seeking resolution? Audio still takes up the bulk of the video size, so there's probably more to be gained on that side. FLAC would have been nice :) Si