Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. How do I: Split an .AVI file?

How do I: Split an .AVI file?

Scheduled Pinned Locked Moved C#
questionhelpannouncement
6 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    Tony Archer
    wrote on last edited by
    #1

    The question isn't how do I split it into binary chunks which are unplayable but rather, "How do I split it into multiple playable .avi files?" What I'm actually trying to accomplish is to cut a section out of an avi and have a shortened version which is playable. I also need this process to be fast. The avi's are in RLE format and their audio is PCM (if that helps). I also do not need 3rd party applications to do this it must be done within my app (even if I have to kluge a commandline to do it for me). Also, importantly, I need to be able to tell it from what point to what point to cut out...though that seems obvious to me. Thanks in advance for your help, you all are excellent! --Tony Archer "I can build it good, fast and cheap. Pick any two."

    U H 2 Replies Last reply
    0
    • T Tony Archer

      The question isn't how do I split it into binary chunks which are unplayable but rather, "How do I split it into multiple playable .avi files?" What I'm actually trying to accomplish is to cut a section out of an avi and have a shortened version which is playable. I also need this process to be fast. The avi's are in RLE format and their audio is PCM (if that helps). I also do not need 3rd party applications to do this it must be done within my app (even if I have to kluge a commandline to do it for me). Also, importantly, I need to be able to tell it from what point to what point to cut out...though that seems obvious to me. Thanks in advance for your help, you all are excellent! --Tony Archer "I can build it good, fast and cheap. Pick any two."

      U Offline
      U Offline
      Uwe Keim
      wrote on last edited by
      #2

      What has this question to do with the "C# Forum"? I would look at DirectShow and probably the classes would help you doing this: http://msdn.microsoft.com/library/en-us/directx9_c/directx/htm/directshow.asp -- - Free Windows-based CMS: www.zeta-software.de/enu/producer/freeware/download.html - See me: www.magerquark.de - MSN Messenger: uwe_keim@hotmail.com

      1 Reply Last reply
      0
      • T Tony Archer

        The question isn't how do I split it into binary chunks which are unplayable but rather, "How do I split it into multiple playable .avi files?" What I'm actually trying to accomplish is to cut a section out of an avi and have a shortened version which is playable. I also need this process to be fast. The avi's are in RLE format and their audio is PCM (if that helps). I also do not need 3rd party applications to do this it must be done within my app (even if I have to kluge a commandline to do it for me). Also, importantly, I need to be able to tell it from what point to what point to cut out...though that seems obvious to me. Thanks in advance for your help, you all are excellent! --Tony Archer "I can build it good, fast and cheap. Pick any two."

        H Offline
        H Offline
        Heath Stewart
        wrote on last edited by
        #3

        A quick search for AVI on this site brings up a good article that explains this: http://www.codeproject.com/csharp/steganodotnet4.asp[^].

        Microsoft MVP, Visual C# My Articles

        T 2 Replies Last reply
        0
        • H Heath Stewart

          A quick search for AVI on this site brings up a good article that explains this: http://www.codeproject.com/csharp/steganodotnet4.asp[^].

          Microsoft MVP, Visual C# My Articles

          T Offline
          T Offline
          Tony Archer
          wrote on last edited by
          #4

          Hehe, I searched for everything BUT AVI. split avi cut avi edit avi just not avi. I figured I'd just get a bunch of "how to show an avi on your form" type results :)' Thanks! --Tony Archer "I can build it good, fast and cheap. Pick any two."

          1 Reply Last reply
          0
          • H Heath Stewart

            A quick search for AVI on this site brings up a good article that explains this: http://www.codeproject.com/csharp/steganodotnet4.asp[^].

            Microsoft MVP, Visual C# My Articles

            T Offline
            T Offline
            Tony Archer
            wrote on last edited by
            #5

            Hmm, not that helpful to me. Though admitedly I am a sad little C# newb :) HOWEVER, I used one of my valuable "Get the answer from a Microsoft dev" points and was given a C++ sample which does EVERYTHING and more that I need and quickly. The code (and much more) can be found on MS MSDN Here. You have to download about 130 or so meg of a huge file and then look search inside the file for "AVIedit." I hope this is helpful to some of you. I have the extracted source which zipped is only 36k so email me if you would rather not download the massive file. --Tony Archer "I can build it good, fast and cheap. Pick any two."

            H 1 Reply Last reply
            0
            • T Tony Archer

              Hmm, not that helpful to me. Though admitedly I am a sad little C# newb :) HOWEVER, I used one of my valuable "Get the answer from a Microsoft dev" points and was given a C++ sample which does EVERYTHING and more that I need and quickly. The code (and much more) can be found on MS MSDN Here. You have to download about 130 or so meg of a huge file and then look search inside the file for "AVIedit." I hope this is helpful to some of you. I have the extracted source which zipped is only 36k so email me if you would rather not download the massive file. --Tony Archer "I can build it good, fast and cheap. Pick any two."

              H Offline
              H Offline
              Heath Stewart
              wrote on last edited by
              #6

              You mean an article that tells you what APIs to P/Invoke in order to split an AVI into frames when you want to split an AVI into frames isn't helpful? Hmm, interesting.

              Microsoft MVP, Visual C# My Articles

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups