Joining 2 OGM files together?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • hacker_on_fire
    Digital Video Expert
    Digital Video Expert
    • Mar 2002
    • 517

    Joining 2 OGM files together?

    I know how to join 2 *.avi files together using VirtualDub. But how would you join 2 *.ogm files together?

    Thanks
    HoF
    MAY THE FORCE BE WITH YOU

    How 2 post questions correctly
    Look here before posting questions
  • UncasMS
    Super Moderator
    • Nov 2001
    • 9047

    #2
    did you try virtualdubMOD?

    Comment

    • t3ch
      H4x0r of Gibsons
      • Mar 2003
      • 113

      #3
      ^ what he said

      using VDM you just append the second ogm as you would with avi's in regular VD
      OGSTH! my webpage
      ----------------------------
      Knowledge is power. Power corrupts. Study hard, be evil.

      Comment

      • hacker_on_fire
        Digital Video Expert
        Digital Video Expert
        • Mar 2002
        • 517

        #4
        I did try VdubMod, but the 'Append AVI Segment' is not highlighted, so i cannot click on it.
        MAY THE FORCE BE WITH YOU

        How 2 post questions correctly
        Look here before posting questions

        Comment

        • UncasMS
          Super Moderator
          • Nov 2001
          • 9047

          #5
          did you actually OPEN the first file?

          only then will you be able to append

          alternatively you might use this command at ayour prompt:

          copy /b movie1.ogg + movie2.ogg finalfile.ogg
          Last edited by UncasMS; 23 Jul 2003, 08:34 PM.

          Comment

          • BoF
            Moderator
            • Nov 2001
            • 954

            #6
            concat(oggfile1, oggfile2) is a valid ogg file? no problems with headers..?
            [www.scandiumrecords.com][Logan dataspirit]

            Comment

            • hacker_on_fire
              Digital Video Expert
              Digital Video Expert
              • Mar 2002
              • 517

              #7
              Originally posted by UncasMS
              did you actually OPEN the first file?
              Yes, but to no avail.

              Originally posted by UncasMS
              alternatively you might use this command at ayour prompt:

              copy /b movie1.ogg + movie2.ogg finalfile.ogg
              When this is done, i get the final file. But when i try play it, only 'movie1.ogm' plays (so it doesn't carry on to 'movie2' like it should do). When i try scan through the finalfile it freezes. Also i tried open it in VirtualDubMod but get the error message 'invalid page' appears.

              concat(oggfile1, oggfile2) is a valid ogg file? no problems with headers..?
              Sorry BoF, i do not understand. Could you explain further.
              MAY THE FORCE BE WITH YOU

              How 2 post questions correctly
              Look here before posting questions

              Comment

              • BoF
                Moderator
                • Nov 2001
                • 954

                #8
                Originally posted by hacker_on_fire
                Sorry BoF, i do not understand. Could you explain further.
                It was about UncasMS's alternative prompt command.. and I made a mistake with a french word, here is the good one:

                append(ogm1, ogm2) is a valid ogm file?
                with ogm1 and ogm2 2 valid ogm files.
                [www.scandiumrecords.com][Logan dataspirit]

                Comment

                • UncasMS
                  Super Moderator
                  • Nov 2001
                  • 9047

                  #9
                  apparently it doesnt work *g*

                  if vdmod or oggmerge dont do the job i'm running out of suggestions

                  Comment

                  • hacker_on_fire
                    Digital Video Expert
                    Digital Video Expert
                    • Mar 2002
                    • 517

                    #10
                    i tried oggmerger, but it only joins streams into one file. e.g. audio and video, like oggmux. Instead i want to append/join two files together.

                    Any other suggestions please?

                    Thanks
                    MAY THE FORCE BE WITH YOU

                    How 2 post questions correctly
                    Look here before posting questions

                    Comment

                    • hacker_on_fire
                      Digital Video Expert
                      Digital Video Expert
                      • Mar 2002
                      • 517

                      #11
                      After consecutive attempts i have joined the two ogm files together using oggmerger.

                      What i did wrong before was i was trying to join two files where the video was encoded with the same codec but the audio was encoded using different (ogg and wav) codecs.
                      This resulted in a new file which was the same as the video with wav audio.

                      However i merged two files:
                      movie1: xvid, no audio (previously wav audio)
                      movie2: xvid, ogg

                      this ended in a new .ogm file with the video from both files merged, but with no audio. So using VDubMod i muxed the ogg audio(from movie 2) i wanted to keep again, but used a delay which was the length of movie1(roughly 3sec), so the audio was still in sync.

                      But as of course nothing goes according to plan. When i played my new merged file with audio, it would only start from the postion of the audio, which is 3 sec into the file, which means it doesn't play movie1 of the file, when i want it to play.

                      So does anybody have any suggestions?

                      P.S. sorry for such a long explaniation, its to help you understand everything.

                      Thanks
                      MAY THE FORCE BE WITH YOU

                      How 2 post questions correctly
                      Look here before posting questions

                      Comment

                      • BoF
                        Moderator
                        • Nov 2001
                        • 954

                        #12
                        1) demux audio from movie2

                        2) append video of movie1 with movie2 WITHOUT audio

                        3) mux your audio (movie2) with oggmux applying the right delay (movie1 length)

                        4.1) that's wonderful, it works!
                        4.2) post a long explanation on what goes wrong
                        [www.scandiumrecords.com][Logan dataspirit]

                        Comment

                        • hacker_on_fire
                          Digital Video Expert
                          Digital Video Expert
                          • Mar 2002
                          • 517

                          #13
                          Weird!

                          thanks for the quick reply.

                          But when i try to append movie1 and movie2 i get the following error message:

                          "Cannot append Segment: The Video streams have different sampling rates (23.97600 vs. 23.97600)"

                          Its weird, what should i do?

                          Thanks

                          p.s. i have attatched an image illustrating this.
                          Attached Files
                          MAY THE FORCE BE WITH YOU

                          How 2 post questions correctly
                          Look here before posting questions

                          Comment

                          • setarip
                            Retired
                            • Dec 2001
                            • 24955

                            #14
                            "Cannot append Segment: The Video streams have different sampling rates (23.97600 vs. 23.97600)"


                            Do the following:

                            1) Load the first video-only file into VirtualDubMod

                            2) Set "Video" to "Direct Stream Copy"

                            3) From the "Video" dropdown menu, select "Framerate" - and select "Change framerate to" and enter 23.976000 (An extra 0)

                            4) Save with a new filename

                            5) Load (DO NOT "APPEND") the second video-only file - and check to make sure all of the above settings have remained the same

                            6) Save with a new filename

                            7) Close and re-open VirtualDubMod (cautionary)

                            8) Load the first NEW file and append the second NEW file

                            Let us knwo of your success ;>}

                            Comment

                            • hacker_on_fire
                              Digital Video Expert
                              Digital Video Expert
                              • Mar 2002
                              • 517

                              #15
                              Originally posted by BoF
                              3) mux your audio (movie2) with oggmux applying the right delay (movie1 length)
                              when i try i get the following error message:

                              "Failed to initialize Vorbis library to encode."

                              So what should i do next?

                              BTW all help is really really appreciated

                              Sorry for the late reply, its been a long weekend.

                              thanks setarip, your method of merging worked
                              All i gotta do now is to mux
                              MAY THE FORCE BE WITH YOU

                              How 2 post questions correctly
                              Look here before posting questions

                              Comment

                              Working...