Tmpgenc Glitches

Discussion in 'MPEG-1 and MPEG-2 encoding (AVI to DVD)' started by Sandhaven, Nov 6, 2003.

  1. Sandhaven

    Sandhaven Member

    Joined:
    Nov 6, 2003
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    11
    Can anyone please help? I have divx movies which I'd prefer to have in VCD format. Tmpgenc is a necessity as a few are in 2.21:1 resolution and any attempt to use AVI2VCD (in order to [bold]ensure[/bold] a/v sync) causes a vertical stretch. Mind you, Tmpgenc has also been playing ball lately and there has appeared to be no sync problems. However ever since I have been very occasionally converting divx to VCD for the last few years using this method, there have always been several glitches now and again in each of the films which involve the video speeding up for a couple of seconds while the audio remains constant throughout and eventually slowing down and coming in sync again. Is this just a cross I must bear with converting using Tmpgenc or is there a way that I can get my perfect movie?

    I am currently decompressing the audio using AVIdecompress and converting the video to divx from xvid using virtualdub before converting. The only reason I persist with Tmpgenc is because I really need to keep the aspect ratio of my film. Is there a faster process or a program to allow me to change XVid or DivX to VCD while keeping the aspect ratio of the film.
     
    Last edited: Nov 6, 2003
  2. Minion

    Minion Senior member

    Joined:
    Sep 28, 2003
    Messages:
    5,623
    Likes Received:
    0
    Trophy Points:
    116
    Sory Double Post...
     
    Last edited: Nov 6, 2003
  3. Minion

    Minion Senior member

    Joined:
    Sep 28, 2003
    Messages:
    5,623
    Likes Received:
    0
    Trophy Points:
    116
    Well Firstly Why are you converting the XviD to Divx before encodeing with Tmpgenc??? This Greatly reduces the Quality...If you are Doing it to Change the aspect Ratio or doing it because Tmpgenc will not load the XviD file then you should be Useing Virtual-Dub to "FrameServe" the File to Tmpgenc, This way you do not loose any quality because you are Not going from XviD to DivX to VCD/Mpeg1, Just XviD to VCD Via Virtual dubs Frameserver ..And you can Use Tmpgenc and Keep the Aspect Ratio of the Film But the Problem is that VCD"s MUST be 4:3 aspect Ratio, so what you have to do is Play with the "Video Arrange Method" and the "Clip Frame" settings..With these Settings you can add Borders to the Picture as to keep the Original Proportions while the Whole Frame is in 4:3...If you don"t Know anything about Frameserveing Let me Know and I"ll explain how to do it with Virtual-Dub ,And if you are Haveing Problems setting Up Tmpgenc to keep the Right Proportions while Keeping the 4:3 Aspect Ratio Needed for VCD then message me with the Resolution of your AVI file and I"ll tell you the correct Video arrange settings....Cheers

    PS: is the Sync Problem you are Talking about happen when watching on your DVD Player/TV Set?? If so then it sounds Like the Notorius Bitrate spike Problem that Tmpgenc is Famous for...Tmpgenc has a Very Bad Habbit of Ignoreing the Bitrate that you set and it will Quite Often Spike Much Higher than the Bitrate is allowed to and when this Happens the VCD disk has to Suddenly spin Faster so the Lazer can read the Data in Real Time ,But sometimes the Bitrate spikes so Hige and So suddenly that your DVD Player Just can not Spin the Disk Fast enough to Read it in Real Time so you get the Video Slowing down and then speeding Back up and catching up with the Audio again ..I find this Problem Really annoying especially for VCD and SVCD because they have constrained Bitrate perameters to follow which Tmpgenc seems to Just ignore...The way you can Cut down on this Effect is to Not use a VBR encodeing Mode, and if you do then make sure there isn"t too much space between the Max and Minimum Bitrate...Or do what I did and Just stopped Useing Tmpgenc for Encodeing and get a DVD Burner and Make DVD"s.....Cheers
     
  4. Sandhaven

    Sandhaven Member

    Joined:
    Nov 6, 2003
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    11
    It would be absolutely fantastic if you could explain frameserving to me. This is a whole new concept. I attempted to read up about it and do it. The following happened:

    I used VirtualDub 1.5.3 to open my file, the audio of which has been decompressed otherwise it doesn't work (says no audio decompressor could be found) and I go into frameserver mode. I click on start and call my video "video" (original eh?). It opens the small box. I then open Tmpegenc 2.521 and attempt to open my vdr (video.vdr.avi)file and it says it is unsupported. My directshow filter is at the highest priority and i've ran the auxsetup and installed handler. I've downloaded the msvcr70.dll file into the system32/drivers folder and I've downloaded and ran the readavs? application. Still, no joy.

    Minion, could you please explain it to me or point me towards an article before I rip my hair out.
     
  5. Minion

    Minion Senior member

    Joined:
    Sep 28, 2003
    Messages:
    5,623
    Likes Received:
    0
    Trophy Points:
    116
    Well You have Basicly got it down..Yes you Need to Install the Handler first..To get rid of the "Can not open Or Unsupported" error you have to Disable the "Direct Show File reader" and Raise the "VFW File reader" to "1"..You have to do this because Virtual Dub works in Video For Windows Mode(VFW) not in Direct Show Mode...Post back if you have any other Problems ...Cheers
     
  6. Sandhaven

    Sandhaven Member

    Joined:
    Nov 6, 2003
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    11
    I've tried what you've said and I can't get anything out of it. It still says that it's unsupported. The AVI/VFW compatability reader is highest priority and ticked while the direct show multimedia file reader is at -1 and unchecked, leaving the rest at zero and checked.

    I have been using both Virtualdub with the original xvid/PCM file and VirtualDubMod with the original xvid/AC3 file but nothing. Could you give me any final tips or any other methods before I give up and just go buy a dvd writer.
     
  7. Minion

    Minion Senior member

    Joined:
    Sep 28, 2003
    Messages:
    5,623
    Likes Received:
    0
    Trophy Points:
    116
    Well I don"t Know what the Problem could be, as the Frameserver has allways worked flawlessly for me..I know that V-Dub will not be able to Frame serve th e AC3 audio because it doesn"t support it Unless you install the AC3 ACM Decoder, which actually lets Tmpgenc decode AC3 also...Well the Only other Thing I would sugest that will Work but you will need to have Qute a Bit of Disk Space Like at least 30gb is to load your XviD file into V-Dub and convert it to AVI useing the "HuffyUV" codec..This will Decompress your XviD file to HuffYUV Format which Tmpgenc will Happilly accept and you will not loose any Quality from going from XviD to HuffyUV because HuffYUV uses 99.9% Lossless compression..and you will need to Install the AC3 ACM Decompressor so V-Dub can read the AC3 audio......
    This is Why I hate XviD as I allways have some sort of Problem encodeing Files compressed with it...well good luck
     
  8. Sandhaven

    Sandhaven Member

    Joined:
    Nov 6, 2003
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    11
    I think this is something I'm going to have to keep on experimenting with until I get my results.

    May I take this opportunity Minion, to offer my most sincere thanks for your help in this matter and wish you well for the future.
     

Share This Page