DivX to VCD sound problems.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • golden_eagle
    Junior Member
    Junior Member
    • Jan 2003
    • 7

    DivX to VCD sound problems.

    Arrrrrgh!!!
    Please help me.....
    I have been having serious trouble with converting a DivX file! (I know, theres a lot of it about!)

    I have tried near on everything (except asking for advice, Doh!) to try to sort this problem.
    Although I have not got great experience in using these programs - In the past 3 months, I must have spent at least a week (in hours!) on each program trying to come up with a cure.

    They are:-
    Nandub v1.0rc2 (build 1853/release) By Nando
    VirtualDub 1.4.13 (build 14328/release) By Avery Lee
    TheWEFs Gordian Knoy 0.27 release (from www.doom9.org)
    AVI Info

    Also tried these too:




    A guide written by "Legs" and "tCi" which details some of the things you need to convert your DivX movie to VCD




    The PROBLEM.

    I have been trying to sort this out since B4 Xmas!

    Begin

    After receiving a DivX from a friend of mine in 2 parts I decided to convert this DivX into MPG in preparation for playing on my DVD player via VCD format. The first part was (after some sodding about) relatively easy.

    But the second part has been a complete nightmare.

    Playing the original DivX the audio and video are perfect!
    Then when trying to TMPGEnc it to MPG VCD format - sync problems.

    When opened in VirtualDub, I receive this error message -

    VirtualDub has detected an improper VBR audio encoding in the source AVI file and will rewrite the audio header with standard CBR values during processing for better compatibilty. This may introdue up to 72569 ms of skew from the video stream. If this is unacceptable, decompress the *entire* audio stream to an uncompressed WAV file and recompress with a constant bitrate encoder. (bitrate: 144.2 ± 31.6 kbps)

    Can someone perhaps explain this error in (MORE) detail?

    Now, when I done this (extracted the audio) the file size was around 88mb. When I played the WAV to check it, the length of the WAV file was longer.

    Original Video length 1h 22min 15 secs
    New Wav file from VirtualDub 1h 26min 40 secs

    I then thought to use Full Processing Mode. Which gave a large 'uncompressed' version at about 940mb. Then I checked it, it was still longer than the movie.

    I realise this is to do with bitrates and samples or something. But this is absolutely no good to me at all, as when I mux it, the audio sync is out badly! I have tried using the tool which makes the lengths the same in VirtualDub, but the result is - the beginning of the movie is IN sync and so is the END!?. The middle however, is totally out!

    I have read guides, articled and advice posted on numerous forums/websites and people seem to be getting it solved relatively easy. I have tried all that I have found but they did'nt work!

    The easiest way I can think of that this could be solved is if it is possible to just play the movie in Media Player and have another program open that records the sound in real time to any bitrate/sample/codec you wish to use. ie something that locks in to the player - and the very second the movie starts playing the program records - and ends as soon as it stops!

    Would I need 2 sound cards to play and record like this through line in/line out?

    I have downloaded loads of different things to try to remedy this like,
    codecs
    hacked codecs
    MP3 to WAV progs
    Wav to MP3 progs
    DivFix v1.09!

    I tried to get Nero to convert it 4 me tooo - sync probs!

    Can anyone please help me in any way shape or form - as the desperation is setting in now.
    I be back on 2morrow to see if any ideas have cropped up.
  • setarip
    Retired
    • Dec 2001
    • 24955

    #2
    "After receiving a DivX from a friend of mine in 2 parts I decided to convert this DivX into MPG in preparation for playing on my DVD player via VCD format. The first part was (after some sodding about) relatively easy.

    But the second part has been a complete nightmare.

    Playing the original DivX the audio and video are perfect!
    Then when trying to TMPGEnc it to MPG VCD format - sync problems."


    Your references to "2 parts", "first part", "second part" are unclear. Are you saying that you had "no problem" with the first of the two DivX-compressed .AVIs that you were given and the second DivX-compressed .AVI is problematic, or that you had "no problem" with the "first part" - meaning playing both DivX-compressed .AVIs was "perfect" - and BOTH DivX-compressed .AVIs are problematic regarding audio/video synchronization for use with TMPGEnc?

    Comment

    • golden_eagle
      Junior Member
      Junior Member
      • Jan 2003
      • 7

      #3
      I have a movie in 2 parts.

      Part 1 is complete and the MPG is on VCD perfectly.

      The second part I have, has the problem of video/audio synchro.

      When trying to convert the audio to WAV the length of the audio changes by a few minutes in the new WAV file because the audio in the AVI has a VBR of 144.2±31.2Kbps.

      This is the bit I dont get (144.2±31.2Kbps)

      I understand that the average bitrate is 144.2 and changes either up or down by a max of 31.2Kbps.

      How could I convert the audio (from part 2 of the movie) into a CBR stream that keeps the same length as the video and also keeps the file in 'sync' with the video?

      Comment

      • setarip
        Retired
        • Dec 2001
        • 24955

        #4
        Try the following experiment with the "problem file":

        Load the file into NanDub
        Set BOTH "Video" and "Audio" to 'Direct Stream Copy"
        From under the "Video" dropdown menu, select "Framerate"
        Select "Change so video and audio durations match"
        Save with a new filename
        Close NanDub

        Simply use VirtualDub to save the audio stream as an Uncompressed PCM (WAV) file as follows:
        Load your framerate-changed .AVI into VirtualDub
        From the "File" dropdown menu, select "Save WAV" (Enter a new filename with a ".WAV" extender).Click on "OK"
        Then set "Video" to "Direct Stream Copying"
        Then save the .AVI as a silent .AVI (set "Audio" to "No audio" after you've saved the WAV file).

        First load the silent .AVI into TMPGEnc, then load the .WAV file

        Let us know of your success ;>}

        Comment

        • techno
          Digital Video Master
          Digital Video Master
          • Nov 2001
          • 1309

          #5
          Also, make sure the audio sample rate is 41000Hz and NOT 48000Hz, if so, downsample it using WaveLab or something similar

          Check on my site

          Techno

          Comment

          • setarip
            Retired
            • Dec 2001
            • 24955

            #6
            To tech-NO

            "Also, make sure the audio sample rate is 41000Hz and NOT 48000Hz, if so, downsample it using WaveLab or something similar"


            1) It's 44,100Hz NOT 41,000Hz

            2) It's FREQUENCY NOT sampling rate

            3) This can be done DIRECTLY in TMPGEnc as part of the conversion process - Absolutely NO NEED to use any additional software or waste any additional time!

            Comment

            • techno
              Digital Video Master
              Digital Video Master
              • Nov 2001
              • 1309

              #7
              Setarip - Sorry, it was a typing error! and u do know that urself ok, so don't start any flame wars.

              2) It can be called either

              3) I am only talking from my experience, and I noticed sometimes I fine a/v synch problems or it just does not produce ANY audio what so ever, so please, don't just say that u r the "know it all guy" I don't know anything much either, but at least I try!

              Comment

              • setarip
                Retired
                • Dec 2001
                • 24955

                #8
                To Tech - NO

                "2) It can be called either"

                No, it can't. The sampling rate would be rates such as 228Kbps

                "so please, don't just say that u r the 'know it all guy'I don't know anything much either, but at least I try!"


                I didn't say I am a "know it all guy - I said this can be done DIRECTLY in TMPGEnc as part of the conversion process - Absolutely NO NEED to use any additional software or waste any additional time!


                You are not HELPING anybody, you're simply adding confusion...

                Comment

                • techno
                  Digital Video Master
                  Digital Video Master
                  • Nov 2001
                  • 1309

                  #9
                  Sometimes it is best to use "dedicated" software to convert one thing to another, as u may find SOMETIMES it can produce some problems, as u r aware off and no, I don't think I am making confusion.

                  I have now unsubscribed to this thread because of ur "smart" comments Setarip, other people and CERTAINLY myself used to look up to u as a "hero" but now, since your attitude has changed, we defently don't now.

                  This is what happens when you "play hard" with another person, and I am only just giving suggestions, I am not asking for a fight or anything like that.

                  Comment

                  • golden_eagle
                    Junior Member
                    Junior Member
                    • Jan 2003
                    • 7

                    #10
                    LOL!

                    Oooohh! A tantrum! I love it!

                    Any way.......

                    I tried what you said in your first piece of advice - Changing Framerate to match. But in the original DivX Rip they already are the same length and no differences were made!

                    Basically, all I need to know how to do is

                    A) Convert a VBR MP3 into a CBR MP3.

                    B) Ensuring that the files length stays the same.

                    BTW....

                    VCD creating is the easy part. I can do that.

                    Syncronising the video and audio is the problem.

                    The Original DivX AVI is perfect. Using the VBR MP3.
                    But converting it to a CBR (needed for VCD format) it keeps on ending up longer than the video file by a couple of minutes.

                    Even if a program existed that 'RECORDS' the MP3 in real time in CBR as it's playing may work.

                    Any other ideas?

                    And PLEASE PLEASE PLEASE do not fight! It's a forum where people help each other out of sticky situations and all suggestions from EVERYONE in order to get a result are always welcome!

                    Peace...........

                    Comment

                    • setarip
                      Retired
                      • Dec 2001
                      • 24955

                      #11
                      Sounds like you didn't perform the second part of the procedure I detailed (after using NanDub to change the video framerate to match), to wit:

                      Simply use VirtualDub to save the audio stream as an Uncompressed PCM (WAV) file as follows:
                      Load your framerate-changed .AVI into VirtualDub
                      From the "File" dropdown menu, select "Save WAV" (Enter a new filename with a ".WAV" extender).Click on "OK"
                      Then set "Video" to "Direct Stream Copying"
                      Then save the .AVI as a silent .AVI (set "Audio" to "No audio" after you've saved the WAV file).

                      First load the silent .AVI into TMPGEnc, then load the .WAV file

                      Comment

                      • golden_eagle
                        Junior Member
                        Junior Member
                        • Jan 2003
                        • 7

                        #12
                        I did try as you said. But in Nandub - converting the framerate has excactly the same rate in the convert to part!

                        23.976 rate is original

                        23.976 is the change to rate!

                        The Wav file in the AVI is a 144Kb VBR and I have since noticed that the second half has error frames. I tried using DivFix to no avail (the output file is totally wrong!).

                        This is beginning to prove more hassle than its worth!

                        HELP HELP HELP PLEASE!

                        Comment

                        • setarip
                          Retired
                          • Dec 2001
                          • 24955

                          #13
                          "converting the framerate has excactly the same rate in the convert to part!

                          23.976 rate is original

                          23.976 is the change to rate!"


                          You used the wrong option. The THIRD option in that category states "Change so video and audio durations match" - and DOES NOT indicate a numeric framerate. This is the option to use...

                          Comment

                          • YoDa2
                            Junior Member
                            Junior Member
                            • Feb 2003
                            • 10

                            #14
                            Originally posted by setarip
                            " used the wrong option. The THIRD option in that category states "Change so video and audio durations match" - and DOES NOT indicate a numeric framerate. This is the option to use...
                            And what if i can't check that option? It is grey in my VirtualDub. I am using 1.5.1.

                            Comment

                            Working...