Encoding Video With HC 0.15

Discussion in 'Video to DVD' started by steve7777, Jun 26, 2005.

  1. steve7777

    steve7777 Member

    Joined:
    Mar 11, 2005
    Messages:
    43
    Likes Received:
    0
    Trophy Points:
    16
    Hello,

    I have asked many questions on this forum in search of answers and am happy to say that everybody has been very helpful. I have a video capture card that I use to record music videos. The codec I use is Huffyuv as it preserves the best video quality.

    Now here are my problems:
    1-Video is interlaced. I refered myself to 100fps.com for advice and have found a very good way to deinterlace (as outlined in "What to do next", 4b). This is REALLY time consuming. In order to apply filters I have to go into full processing mode and the resulting avi's are huge.

    2-After the process, I want to encode MPEG2 files for eventual backup to DVD. I undersand that HC 0.15 is the best freeware encoder available, but am having difficulty using it. I created a basic avs file in notepad:

    AviSource("MusicVidTest.avi")

    and open with HCGUI_015.exe. It always crashes.

    I'm not so worried about problem 1, but problem 2 is causing me problems. The other choice I have is not to encode to MPEG2, but rather some form of MPEG4 (DivX, Xvid, WMV etc.) but then when I author a DVD (with NeroVision) it will necessairly decompress and recompress to MPEG2 (right? I'm not entirely sure here)

    I'm basically looking for a step by step guide as what to do with my captured avi file. If possible, I'd rather use freeware tools.

    Thanks very much for your advice,

    Regards,

    steve7777
     
  2. rebootjim

    rebootjim Active member

    Joined:
    May 13, 2004
    Messages:
    2,630
    Likes Received:
    0
    Trophy Points:
    66
    First, if you are going to burn these to DVD, then don't bother deinterlacing.
    Interlaced video only appears bad on a computer monitor. A TV can play interlaced material with no problems.

    If you use Nerovision in this way, it WILL re-encode your file. Another waste of time.

    Try some of these.
    Quenc: http://nic.dnsalias.com/
    AutoQmatic: http://forum.doom9.org/showthread.php?t=96073
    bbenc: http://www.videohelp.com/tools?tool=bbMPEG
    THE last free version of tmpgenc. Old, but still very useful: http://members.shaw.ca/videojunk/Temp/tmpgenc.rar
     
  3. steve7777

    steve7777 Member

    Joined:
    Mar 11, 2005
    Messages:
    43
    Likes Received:
    0
    Trophy Points:
    16
    Actually, I own a copy of TMPG Plus. What do I do with it though? Just recode the captured AVI to MPEG2? Then what? I'm guessing there is guides available here at afterdawn or at doom9.org, so really I just need a bit of guidance as to what to do.

    I looked up the programs that you recommended, but do I just copy the MPEG2 files do a DVD (data DVD) and that's it? I don't think so, but maybe sombody could enlighten me.

    Regards,

    steve7777
     
  4. steve7777

    steve7777 Member

    Joined:
    Mar 11, 2005
    Messages:
    43
    Likes Received:
    0
    Trophy Points:
    16
    Ok, so I did a 30 minute capture yesterday using Huffyuv. I then created the following AviSynth Script:

    avisource("uvs050628-001.AVI")
    converttoyv12()
    Lanczos4Resize(720,480)

    Please note that HC 0.15 required me to add the converttoyv12() paramater.

    So the encoding went great with HC 0.15, it did the 2 passes and completed sucessfully. Here is the log file:


    ---------------------------------------
    | HC - MPEG2 encoder - rel. 0.15 beta |
    ---------------------------------------

    input: C:\Documents and Settings\Christopher Gillam\My Documents\Ulead VideoStudio\7.0\hello.avs
    output: C:\Documents and Settings\Christopher Gillam\My Documents\Ulead VideoStudio\7.0\hello.m2v
    log file: C:\Documents and Settings\Christopher Gillam\My Documents\Ulead VideoStudio\7.0\hello.log

    --------------------
    | encoder settings |
    --------------------

    profile: BEST
    frames: 1 61723
    framerate: 29.93
    aspect ratio: 4:3
    bitrate Kb/s: 7500
    max. bitrate Kb/s: 9500
    restart: no
    closed gops: no
    VBV check: yes
    scene change det.: yes
    interlaced: no
    goplen,B-pic: AUTO
    dc_precision: 9
    scan method: ZIGZAG
    bias: 0
    time code: 0 0 0 0
    CPU: AUTO
    matrix: MPEG

    --------------------
    | source stats |
    --------------------

    nr. of frames in source: 61723
    width*height: 720*480
    fps: 29.93
    nr. of frames to encode: 61723
    frames to encode: 1 - 61723

    ---------------------
    | encoding - pass 1 |
    ---------------------

    pass 1 encoding time: 0:50:30 (3030 s)
    average fps: 20.4

    --------------------------------
    | encoding - intermediate pass |
    --------------------------------

    bitrate set to: 7500000 b/s
    est. outfile length: 1887743 kB
    intermediate encoding time: 0.9 s

    ---------------------
    | encoding - pass 2 |
    ---------------------

    pass 2 encoding time: 0:45:17 (2717 s)
    average fps: 22.7

    ------------------
    | encoding stats |
    ------------------

    total encoding time: 1:35:48 (5748 s)

    intra matrix used
    8 16 19 22 26 27 29 34
    16 16 22 24 27 29 34 37
    19 22 26 27 29 34 34 38
    22 22 26 27 29 34 37 40
    22 26 27 29 32 35 40 48
    26 27 29 32 35 40 48 58
    26 27 29 34 38 46 56 69
    27 29 35 38 46 56 69 83

    non-intra matrix used
    16 17 18 19 20 21 22 23
    17 18 19 20 21 22 23 24
    18 19 20 21 22 23 24 25
    19 20 21 22 23 24 26 27
    20 21 22 23 25 26 27 28
    21 22 23 24 26 27 28 30
    22 23 24 26 27 28 30 31
    23 24 25 27 28 30 31 33

    nr. of gops: 4849
    nr. of frames: 61723
    nr. of I-frames: 4849
    nr. of P-frames: 19179
    nr. of B-frames: 37695
    average quant (non linear): 4.557
    VBV underflows detected: 12
    VBV underflows fixed: 12
    minimum bitrate: 675
    maximum bitrate: 9499
    average bitrate: 7500


    [bold]This is the problem: the resulting m2v file doesn't play in Windows Media Player, VLC player, Nero Showtime and Jetaudio. It doesn't play at all! In fact, the minute I try to load the file it crashes my PC. Seeing as HC 0.15 is supposed to be the very best in encoding MPEG2 files, I really want to figure out this problem.[/bold]

    Regards,

    steve7777
     

Share This Page