Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Merging Multiple Videos with DirectShow
12-02-2012, 06:29 AM
Post: #5
RE: Merging Multiple Videos with DirectShow
So, I've got a collection of clips that I want concatenated one after the other in a single video file.

I've started writing the following code...

Code:
this.videoMixer.Channels.Clear();
            foreach (Clip clip in this.reel.Clips) {
                DSVideoPlayer dsVideoPlayer = new DSVideoPlayer();
                dsVideoPlayer.FileName = clip.FullFileName;

                VideoMixerChannelItem channelItem = new VideoMixerChannelItem();
                // Not sure how to connect the dsVideoPlayer to the VideoMixerChannelItem
                dsVideoPlayer.OutputPin = channelItem;  
                this.videoMixer.Channels.Add(channelItem);
            }

I'm assuming I need a DSVideoPlayer instance for each clip and it should be wired to a VideoMixerChannelItem but I'm not seeing how to connect the two. Guidance?
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Merging Multiple Videos with DirectShow - Dave - 12-01-2012, 08:24 AM
RE: Merging Multiple Videos with DirectShow - Dave - 12-01-2012, 08:59 PM
RE: Merging Multiple Videos with DirectShow - firesharkstudios - 12-02-2012 06:29 AM
RE: Merging Multiple Videos with DirectShow - Dave - 12-02-2012, 08:56 AM
RE: Merging Multiple Videos with DirectShow - Dave - 12-02-2012, 10:43 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)