|
MPEG1System TargetFormat should be all you need. This format should be defined if you installed the latest setup. Please download the latest binaries and try again. If you still do not have the MPEG1System TargetFormat, please contact TechSupport and tell them where you downloaded this outdated setup.
If you set the MPEG1System Target format, the toolkit will automatically select the MPEG-2 Encoder and set it to generate MPEG-1 video.
If you want to insert MPEG-1 data in other formats (AVI, Ogg, etc), or you want something other than MPEG-1 (like VCD), then you need to use the MPEG2 encoder interface. This interface exposes all the settings you need including the TYPE (MPEG1, MPEG2, VCD, DVD, etc.).
Here is how you can get the encoder interface and change some settings:
First choose the target format: What target format you want to use for your compressed stream? MPEG1 can fit into AVI, OGG, MPEG1 System, etc.
Second, select the encoder; the MPEG2 encoder (compressor).
Then get the compressor interface and change the settings:
ILMMPEG2Encoder* pIMPEG2Encoder;
IUnknown *pMPEG2Encoder;
pConvert->GetSubObject(ltmmConvert_Object_VideoCompressor, &pMPEG2Encoder);
pMPEG2Encoder->QueryInterface(IID_ILMMPEG2Encoder, (void**)&pIMPEG2Encoder);
pMPEG2Encoder->Release();
// change settings:
pIMPEG2Encoder->put_MpegVideoType(MPEG2Type_MPEG1);
// ...
// done
pIMPEG2Encoder->Release();
|