This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Tuesday, August 10, 2010 6:11:24 AM(UTC)
Groups: Registered
Posts: 2
If I have downloaded and installed an alternative Codec to LeadTools, how can I tell my ltmmConvert object that I want to use my special codec to split a video file and not use the codec that came with the LeadTools Multimedia SDK install? I have provided my current basic code below.
Thank you!
Phil
---
ltmmConvert splitter = new ltmmConvert();
splitter.sourcefile = "input.m4v";
splitter.TargetFile = "output_segment.m4v";
splitter.AudioCompressors.Selection = -1;
splitter.VideoCompressors.Selection = -1;
splitter.TargetFormat = 20;
splitter.SelectionStart = 100;
splitter.SelectionEnd = 200;
splitter.StartConvert()
#2
Posted
:
Wednesday, August 11, 2010 2:33:15 AM(UTC)
Groups: Guests
Posts: 3,022
Was thanked: 2 time(s) in 2 post(s)
Which LEADTOOLS version (14, 15, 16, etc.) are you using?
You will need to register the video processor by its class id as an external filter using pVideoProcessors->RegisterExternalProcessor
Please see this help topic in our MM help file "How to use ltmmProcessors object to register a 3rd-party DirectShow filter as a video processor"
After that you can select it using splitter.VideoCompressors.Selection.
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.