Log in

View Full Version : How to do MPEG-2 Stills from YUV Source?


Steve56
3rd June 2004, 00:33
I have studied many sources on the net, especially SVCD related and know of tools like VCDEasy and console tools like mpeg2enc which can encode MPEG stills.

Problem is, I want highest quality Stills and they should be 720x576 pixels in size and not 704x576 (which also falls in DVD standard, I know), also they should be encoded from a YUV source (I'm using this for making a SMPTE Color Test Pattern)

Right now I did it this way: encode the still in CCE via AviSynth script, which gives me some nice YUV SMPTE Color Bars. I did encode just one I-Frame at a 9000 kbps bitrate.

Later I exchanged this with a still image from a authored VIDEO_TS folder via IfoEdit. Everything works fine now; only thing is, if this is 100% standard conform, coz the embedded MPEG Still is known as a Video Stream instead of a Still Frame?

Does anyone know how to patch it, like in TSCV it was said to patch Stream-ID from 0xE0 to 0xE1, or is this even recommended at all?!

Thanks!

Steve56

BTW: I'm right happy now with the results (standard conform, or not), I will test the Color Bars soon on a CRT screen to verify if the "pluge" also shows up as it should!

RB
4th June 2004, 09:57
I'd say just go with VCDEasy. I doubt CCE will be visibly better at encoding a still frame than Mpeg2Enc (which VCDEasy uses). Maybe VCDEasy alowes you to import encoded stills too, I don't know.

About the IFOEdit tricks I'm not sure. I'd rather use a real DVD authoring package, DVD-Lab for instance.