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 / C++ / MFC
  4. plz help me, how can read and write AVI files?

plz help me, how can read and write AVI files?

Scheduled Pinned Locked Moved C / C++ / MFC
helpquestion
10 Posts 5 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.
  • L Offline
    L Offline
    Le rner
    wrote on last edited by
    #1

    how can read a avi file and write in another file?

    _ H C 3 Replies Last reply
    0
    • L Le rner

      how can read a avi file and write in another file?

      _ Offline
      _ Offline
      _NielsB
      wrote on last edited by
      #2

      I think you are searching for DirectShow (DS). You should have a look at the Multimedia Chapter on Code-Project, here are some samples on how to use DS. DS is well documented here: http://msdn2.microsoft.com/en-us/library/ms783323(VS.85).aspx[^] ... have a look at the supported formats here: http://msdn2.microsoft.com/en-us/library/ms787745(VS.85).aspx[^] Regards!

      L 1 Reply Last reply
      0
      • _ _NielsB

        I think you are searching for DirectShow (DS). You should have a look at the Multimedia Chapter on Code-Project, here are some samples on how to use DS. DS is well documented here: http://msdn2.microsoft.com/en-us/library/ms783323(VS.85).aspx[^] ... have a look at the supported formats here: http://msdn2.microsoft.com/en-us/library/ms787745(VS.85).aspx[^] Regards!

        L Offline
        L Offline
        Le rner
        wrote on last edited by
        #3

        thanks!!!!!!!!

        1 Reply Last reply
        0
        • L Le rner

          how can read a avi file and write in another file?

          H Offline
          H Offline
          Hamid Taebi
          wrote on last edited by
          #4

          See Steganography IV - Reading and Writing AVI files[^].

          L 1 Reply Last reply
          0
          • L Le rner

            how can read a avi file and write in another file?

            C Offline
            C Offline
            Cedric Moonen
            wrote on last edited by
            #5

            v.j wrote:

            how can read a avi file and write in another file?

            From what I understood from your question, you would like to read the entire AVI file and copy its content in a new file. In fact, you just want to copy the file, am I right ? In that case, you don't need to make things very complicated: just copy the file and don't care about interpreting its contents. That's much more easier that using a specialized library that can read AVI files.

            Cédric Moonen Software developer
            Charting control [v1.2]

            L 1 Reply Last reply
            0
            • C Cedric Moonen

              v.j wrote:

              how can read a avi file and write in another file?

              From what I understood from your question, you would like to read the entire AVI file and copy its content in a new file. In fact, you just want to copy the file, am I right ? In that case, you don't need to make things very complicated: just copy the file and don't care about interpreting its contents. That's much more easier that using a specialized library that can read AVI files.

              Cédric Moonen Software developer
              Charting control [v1.2]

              L Offline
              L Offline
              Le rner
              wrote on last edited by
              #6

              no i dont want to copy whole avi file. i m select a part and copy this part to another file. so now tell me wat can i do?

              I _ 2 Replies Last reply
              0
              • H Hamid Taebi

                See Steganography IV - Reading and Writing AVI files[^].

                L Offline
                L Offline
                Le rner
                wrote on last edited by
                #7

                i m already see this but its is in c# language and i m working on VC++2005. thanks for help

                H 1 Reply Last reply
                0
                • L Le rner

                  i m already see this but its is in c# language and i m working on VC++2005. thanks for help

                  H Offline
                  H Offline
                  Hamid Taebi
                  wrote on last edited by
                  #8

                  v.j wrote:

                  i m already see this but its is in c#

                  Oh really(why you dont use of C# ;P) ok see Displaying, Reading and writing avi Files[^] and 100% c++. :-D

                  1 Reply Last reply
                  0
                  • L Le rner

                    no i dont want to copy whole avi file. i m select a part and copy this part to another file. so now tell me wat can i do?

                    I Offline
                    I Offline
                    Iain Clarke Warrior Programmer
                    wrote on last edited by
                    #9

                    v.j wrote:

                    So now tell me w_h_at can I do?

                    1/ Use Shift key to make some letters capitals. 2/ You can modify your original question by adding the new information at the bottom, in case someone can help you, but reads the incomplete question. Iain.

                    1 Reply Last reply
                    0
                    • L Le rner

                      no i dont want to copy whole avi file. i m select a part and copy this part to another file. so now tell me wat can i do?

                      _ Offline
                      _ Offline
                      _NielsB
                      wrote on last edited by
                      #10

                      Please try to give us more informations on your task. Do you want to save fragments of an source-avi to a new avi? Do you want to transcode the streams? DirectShow is also provided for C# ... have a look at: http://sourceforge.net/projects/directshownet/[^]

                      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