jldean1
asked on
DirectShow Editing Service timeline and MPEG-2
Can a DirectShow Editing Services timeline be built using MPEG-2s? I've been trying for a while now without success. Any ideas or, better yet, sample code? None of the DirectX SDK samples use MPEG-2 files. Only Avi and MPEG-1s. (Also, by using GraphEdit, I know that the MPEG-2 Splitter filter is the one used by default if I call RenderFile).
I'm developing for a Win2k system and, yes, I have MPEG-2 decoders loaded. Playing single MPEG-2s are no problem using DirectShow. But I need to play several consecutive files and be able to seek through them as if they were joined. DES seems the best bet to do that without joining the MPEGs ahead of time. Any help is GREATLY appreciated!
Thanks,
James
I'm developing for a Win2k system and, yes, I have MPEG-2 decoders loaded. Playing single MPEG-2s are no problem using DirectShow. But I need to play several consecutive files and be able to seek through them as if they were joined. DES seems the best bet to do that without joining the MPEGs ahead of time. Any help is GREATLY appreciated!
Thanks,
James
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
You can NOT use MPEG-2s with DES timelines as far as I can tell. The IAMTimelineGroup::SetMedia
So... If you're trying to use DES timelines with MPEG-2 files, just stop. Stop now and back away from the machine and no one will get hurt.
Cheers,
James