Another VBR Audio problem

Discussion in 'MPEG-1 and MPEG-2 encoding (AVI to DVD)' started by TyMan4325, Oct 25, 2005.

  1. TyMan4325

    TyMan4325 Member

    Joined:
    May 27, 2005
    Messages:
    62
    Likes Received:
    0
    Trophy Points:
    16
    Hey guys I need some help again with a source with VBR audio. Ok I used the decompress tool to start and transcoded my video and audio and it was out of sync. So then I tried doing it in goldwave and on both the newly decpressed source and the old one. Still out of sync. Then I tried Avisynth with the ensureVBRMP3sync filter and that's where I am at. Does anyone have any other suggestions? I am getting really frustrated with this thing.
     
  2. TyMan4325

    TyMan4325 Member

    Joined:
    May 27, 2005
    Messages:
    62
    Likes Received:
    0
    Trophy Points:
    16
    forgot to add that I made sure both were in sync (the decompressed one and the other one) before I tried this stuff.
     
  3. aldaco12

    aldaco12 Active member

    Joined:
    Nov 6, 2002
    Messages:
    2,544
    Likes Received:
    0
    Trophy Points:
    66
    I don't think the cause id the VBR MP3 thing. Did you change the framerate of the movie?
    I'm asking this because AviSynth is somewhat obscure, when you change the audio.
    What happens is that you change the fps of the source and have a movie whose length is different.

    A possible solution is to use BeSweet and check the OTA (Overall Track Adjustement) box. For example, you can use the presets (NTSC <--> PAL) or insert a framerate change (e.g. 20 --> 23.976) if you start with an 'exotic' movie.

    Since I don't like a PAL movie to have a length different from its NTSC version, I do this:

    1) change ONLY THE RESOLUTION of the movie with AviSynth (e.g. I start with a NTSC MPEG (480x480), I add borders to it:
    AddBorders(0,48,0,48)
    The result is a 480x576 @23.976 'exotic' movie.

    2) I change the fps of the movie using DGPulldown [ http://neuron2.net/dgpulldown/dgpulldown.html ]. For instanhe, I want my movie fully PAL compatible, therefore I load the 'exotic' 480x576 23.976 fps movie and I check 'custom' pulling down the framerate of the movie, from 23.976 to 25 fps.

    The DGPulldown-ed movie, now, is copletely PAL compatible and A/V in-sync.

    The process is extremaly easy, and , unless you want to transform the fps too much (FPSin/FPSout > 3/2 - or 2/3) visually good.

    I think this is a soluion, If it is not, post here the AVS Script and the movie's charateristics.
     
    Last edited: Oct 26, 2005
  4. TyMan4325

    TyMan4325 Member

    Joined:
    May 27, 2005
    Messages:
    62
    Likes Received:
    0
    Trophy Points:
    16
    OK here my script:

    Avisource("c:\Episode21.avi")
    EnsureVBRMP3Sync()
    Lanczos4Resize(720,480)
    ConvertToYUY2()
    Undot()
    Convolution3D(preset="movieLQ")

    Now the source was (from virtualdub):
    FrameSize: 624x352, 23.976fps(41708 some weird caharacter.s. per frame)
    Length: 60638 frames(42:09.11)
    Decompressor: Xvid Mpeg4
    Number of keyframes: 755
    Data Rate: 1023 Kbps (0.45% Overhead)

    Audio was:
    Sampling rate: 48000Hz
    Channels: 2 stereo
    Sample Precision: N/A
    Compression: Franhofer IIS Mpeg 3
    Layout: 77chunks (1.60s preload)
    Length: 36348192 samples (1.60s preload)
    Min/avg/Max/Total FrameSize: 288/791/23040 (60k)
    Data Rate: 115kbps (2.94% overhead)

    Now when I have been transcoding I have been using CCE and applying a 3:2 pulldown. Thanks a lot for the help.
     
  5. shiroh

    shiroh Guest

    try mux it together last.
    i mean encode the video and audio seperately
     
  6. TyMan4325

    TyMan4325 Member

    Joined:
    May 27, 2005
    Messages:
    62
    Likes Received:
    0
    Trophy Points:
    16
    I think that is what I am doing. I am using Encore DVD to author and it only accepts seperate streams. I will do my audio in goldwave and do the video in CCE. I usually never use CCE to handle the audio (I heard it doesn't do a good job). I only tried the avisynth plugin because I couldn't think of anything else. If this isn't what you mean please clarify. Thanks again.
     
  7. aldaco12

    aldaco12 Active member

    Joined:
    Nov 6, 2002
    Messages:
    2,544
    Likes Received:
    0
    Trophy Points:
    66
    But why using a MP3 VBR audio?

    Use VirtualDub. Set Audio__Full processing mode and do File__Save WAV. You'll extract a 48 kHz WAV file, very large (of a size about 10.1 MB x movie__length, in minutes)

    You can use that WAV file to either make a CBR MP2 audio or an AC3 stream and author (better to stick with MP2, since garbage in = garbage out, but if you want to try to have surround sound..) the DVD with it. After all, you're making a mpeg and there's no meaning to use MP3 audio. MPEGs have MP2 streams or are multiplexed to an AC3 stream to make a VOB...

    MP3 audio is used only in AVIs.
     
    Last edited: Oct 27, 2005
  8. TyMan4325

    TyMan4325 Member

    Joined:
    May 27, 2005
    Messages:
    62
    Likes Received:
    0
    Trophy Points:
    16
    I don't care what the audio type is. My problem is that my source has MP3 audio. Now I am trying to get it into sync any way I can. I saved it as a .wav from goldwave but I am still running into the sync issue. Then I used the decompress tool and still the same problem. I am beating my head against a wall right now. All the other files I have in this series seem to have the same audio and I haven't had any problems. I have been able to decompress them and keep everything in sync. Thanks for the help.
     

Share This Page