Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7688355
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T19:54:04+00:00 2026-05-31T19:54:04+00:00

How Can I cut video or audio using Expression Encoder SDK with .net? Ed

  • 0

How Can I cut video or audio using Expression Encoder SDK with .net?

Ed

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T19:54:05+00:00Added an answer on May 31, 2026 at 7:54 pm

    Here is something that might be helpful to you:

    // Create a media item and get a pointer to the inital source.
    MediaItem item = new MediaItem(@"c:\users\Public\Videos\Sample Videos\Wildlife.wmv");
    Source source = item.Sources[0];
    
    // Change the first clip so that instead of spanning the entire file
    // I'm just going to encode the bit from 5 to 10 seconds.
    source.Clips[0].StartTime = new TimeSpan(0, 0, 5);
    source.Clips[0].EndTime = new TimeSpan(0, 0, 10);
    
    // Also add the bit from 20 to 30 seconds from the original file.
    TimeSpan secondClipStart = new TimeSpan(0,0,20);
    TimeSpan secondClipEnd = new TimeSpan(0,0,30);
    source.Clips.Add(new Clip(secondClipStart, secondClipEnd));
    

    Other than that, I think you are using the wrong tool.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using a ffmpeg command to cut a video with exec function in
Does anyone know how can I cut a string and then assign into an
Can anyone tell me why this bash script works if I cut and paste
Can someone tell me how to create a short cut to the sketchboard from
As you can see the upper dark X's are cut even though there is
Below is a cut down example of some c# code I can't get to
The following is a cut from my registration page. How can i make all
How to write a function that can cut a string with HTML tags to
I was just watching a video on MSDN Channel 9 which can be found
I know I can cut 5 characters in vim by typing 5x , and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.