Custom ratio on xvid, TMPenc doesn't get it, and doesn't get audio.

Discussion in 'MPEG-1 and MPEG-2 encoding (AVI to DVD)' started by Deadl0ck, Jun 13, 2006.

  1. Deadl0ck

    Deadl0ck Member

    Joined:
    Jun 13, 2006
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    11
    Hi, I am very new to this (This is my first try in fact)

    I want to convert some XviD's I have into DVD compatible things. I've tried using TMPenc to this end, and while it does do something, it doesn't do it right.

    The XVID's seem to have a custom ratio of 1.739 : 1 (40:23) (640 x 368) according to Gspot.

    The closest thing the TMPenc wizard gives me is 2.11 : 1 but that makes them look like they have stretched heads, and stuff, when I look at the m2v file.

    Also, the resulting wav file, is completely empty. there is no sound there, and when I try to load the same file in the audio thing, it says it's a not supported format. According to Gspot it is the following codec: 0x0055(MP3, ISO) MPEG-1 Layer 3


    Also, TMPenc wants to know if the xvid is interlaced or not... I have no idea, how can I find this out?


    Thank you all for helping me, in advance :)
     
  2. Deadl0ck

    Deadl0ck Member

    Joined:
    Jun 13, 2006
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    11
    Ok, I know now what the audio problem is, it's encoded in VBR, so I will have to get that out with virtualdub, I read somewhere.


    There is still the problem of the nonstandard ratio. Maybe there is some other tool I could use for it, instead of TMPGenc? Something where you can put in a custom ratio for the source file?

    And the interlaced thing.

    I know there are all in one programs out there, but I really would like to get just an audio file, and a m2v file, so I can use them with a decent menu making thing.
     
  3. mistycat

    mistycat Active member

    Joined:
    Nov 3, 2003
    Messages:
    3,054
    Likes Received:
    0
    Trophy Points:
    66
    Here is a guide for TMPGEnc and AfterDawn also has an excellent guide for it:http://dvd-hq.info/Compression.html and there are tutorials for it here:http://www.dvdhelp.us/ For your Aspect Ratio, select 4.3 or 16.9 depending on your video or tv and on the third page, select other settings>advanced>video arrange method-full screen (keep Aspect Ratio). Here is a guide for converting the audio to wav to enter in TMPGEnc using VirtualDub:http://www.videohelp.com/virtualdubaudio.htm Also, on the main page>options>environmental settings>VFAPI plugin, raise the priority of DirectShoe Multimedia File Reader to 2 by right clicking on it. TMPGEnc is terrible at audio. As far as interlacing, video almost always is.
     
  4. aldaco12

    aldaco12 Active member

    Joined:
    Nov 6, 2002
    Messages:
    2,544
    Likes Received:
    0
    Trophy Points:
    66
    It's strange the WAV is empty. Problem the WAV is VBR comoressed of with other stranhe things and TMPGenc cannot make its 'oversampling' (44100 Hz [AVI default] --> 48000 Hz).

    TMPGenc's main problem for the aspect ratio is that, by default, in the Setting__Advanced window, [bold] Video arrange Method [/bold] is autmatically set at 'full screen' instead of 'full screen (keep aspect ratio]'

    You should make this (my new 'religion'): [bold] MAKE A DVD USING ELEMENTARY STREAMS [/bold] .
    1) load the XVID with VirtualDub. Set audio___Full processing, do File___Save WAV.
    2) compress WAV --> AC3, 192 kbps, 48000 Hz, 2 chiannels with FFMPEG GUI, and put it apart. FFMPEG GUI is very reliable, and creates a new audio file even when HeadAC3he (and, maybe, TMPGenc) fails.
    3) Do TMPGenc's wizard (choising your system's DVD), but at the last step uncheck 'start encoding immediately'.
    4) Press [settings] and make these chenges:
    - [bold] IMPORTANT[/bold] Video: [bold] Motion search precision [/bold] ---> 'very high quality (very slow)'
    - [bold] rate control mode [/bold] ---> leave CBR (VBR is better but is useless, when you encode a fe hundred MBs AVI) and, under [bold] Bitrate [/bold] ---> XYWZ kbps
    Where XYWZ is the output ok DVToold 0.53 (free!) when you insert it the movie's length, and, as audio type '192 (MP3 optimal)'. The audio is AC3 instead of MP3 (DVD dion't support MP3, ony AVI do that, but he bitrate = 192 kbps is the one you just decided).
    If you want to be on the 'safe side' you can also put, in DVTool, 224 kb (MPEG-1, videoCD).
    Run the encoding. TMPGenc will create a M2V and a WAV you can forget.

    Then author a DVD with M2V, AC3 as I explained under http://forums.afterdawn.com/thread_view.cfm/351013 [bold] Making DVD from AVIs/MPEGs using elementary streams [/bold].

    I repeat; for a 2h movie VBR will need about 12-14 hrs on a Pentium II PC (more or less), CBR will just need 6-8 hrs. MPEG-2 VBR is much better than CBR, but it depends on the input video's quality you wand to save, if it worths it (if it is born from a 700 kbps AVI, using 4000 kbps CBR or 4000 kbps VBR [average = 4000; min = 2500 max = 8000 , for instance] of video bitrate won't change much).

    [bold]Garbege in = garbage out, never forget it![/bold]
    Bye!
    - Advanced: [bold] Video arrange Method [/bold] ---> 'full screen (keep aspect ratio]'
     
    Last edited: Jun 13, 2006
  5. Deadl0ck

    Deadl0ck Member

    Joined:
    Jun 13, 2006
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    11
    Thanks!

    I'll try it again now :)
     

Share This Page