H264 or X264 with TMPEGEnc Authoring

Discussion in 'MPEG-1 and MPEG-2 encoding (AVI to DVD)' started by Jinkazuya, Mar 24, 2010.

  1. Jinkazuya

    Jinkazuya Regular member

    Joined:
    Mar 26, 2006
    Messages:
    380
    Likes Received:
    0
    Trophy Points:
    26
    Well...I know how to work with the MKVextractGUI or MKVtoolNix and I already have the K-Lite Code Pack Full version installed. However, after the extraction, I used TMPEGEnc to import the H264 file, which was just extracted from the MKV, it worked but it took quite a bit of time(10 minutes or more) to import successfully. Assuming this is normal, but I doubt it. Here comes the problem.

    1) Since my CPU is i7 extreme 965, which was overclocked to about 3.8ghz and my graphic card was radeon 5870. I doubt that it would be fast if not real fast...But it shouldn't take more than 10 minutes or more to import the H264 file, which is about 1.1GB.

    2) After importing, for you guys who are familar with the GUI and layout, there is a button for editing/cutting. If you click on it, you should be able to select the portion of the movie and frame. Usually you will see the movie if you play it. However, the whole screen just turned black and the process took quite a long. After the conversion was done half way through, I just aborted it just to see what the result was but the outcome was the movie had no sound, and then it played just like snail(everything seemed to be in slow motion). Just wonder if H264 is indeed supported by TMPEGEnc authoring 4? Or there is something missing which I don't really know about?
     
  2. davexnet

    davexnet Active member

    Joined:
    Jul 7, 2003
    Messages:
    1,856
    Likes Received:
    0
    Trophy Points:
    66
    Why extract? Open the MKV file directly In Tmpgenc.
    Make sure the directshow plugin is enabled in the settings.
     
  3. Jinkazuya

    Jinkazuya Regular member

    Joined:
    Mar 26, 2006
    Messages:
    380
    Likes Received:
    0
    Trophy Points:
    26
    Already have directshow plugin enabled in the reference setting, but it didn't work...Could yu really show me how to get it work?

    My MKV contains a bunch of subs and bunch of audios.

    General
    Complete name : Body Guard And Assassins.mkv
    Format : Matroska
    File size : 917 MiB
    Duration : 2h 18mn
    Overall bit rate : 926 Kbps
    Encoded date : UTC 2009-01-15 22:34:22
    Writing application : mkvmerge v3.0.0 ('Hang up your Hang-Ups') built on Dec 12 2009 15:20:35
    Writing library : libebml v0.7.9 + libmatroska v0.8.1

    Video
    ID : 1
    Format : AVC
    Format/Info : Advanced Video Codec
    Format profile : High@L3.1
    Format settings, CABAC : Yes
    Format settings, ReFrames : 10 frames
    Muxing mode : Container profile=Unknown@3.1
    Codec ID : V_MPEG4/ISO/AVC
    Duration : 2h 18mn
    Nominal bit rate : 800 Kbps
    Width : 1 024 pixels
    Height : 432 pixels
    Display aspect ratio : 2.35:1
    Frame rate : 24.000 fps
    Resolution : 8 bits
    Colorimetry : 4:2:0
    Scan type : Progressive
    Bits/(Pixel*Frame) : 0.075
    Title : Body Guard And Assassins
    Writing library : x264 core 60 r951 445d87e
    Encoding settings : cabac=1 / ref=10 / deblock=1:-2:-1 / analyse=0x3:0x113 / me=umh / subme=7 / brdo=1 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / chroma_qp_offset=0 / threads=3 / nr=0 / decimate=0 / mbaff=0 / bframes=3 / b_pyramid=1 / b_adapt=1 / b_bias=0 / direct=3 / wpredb=1 / bime=1 / keyint=250 / keyint_min=25 / scenecut=40(pre) / rc=2pass / bitrate=800 / ratetol=1.0 / rceq='blurCplx^(1-qComp)' / qcomp=1.00 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / pb_ratio=1.30 / aq=2:1.00
    Language : Chinese

    Audio #1
    ID : 2
    Format : AAC
    Format/Info : Advanced Audio Codec
    Format version : Version 4
    Format profile : LC
    Format settings, SBR : No
    Codec ID : A_AAC
    Duration : 2h 18mn
    Channel(s) : 2 channels
    Channel positions : L R
    Sampling rate : 48.0 KHz
    Title : Mandarin
    Language : Chinese

    Audio #2
    ID : 3
    Format : AAC
    Format/Info : Advanced Audio Codec
    Format version : Version 4
    Format profile : LC
    Format settings, SBR : No
    Codec ID : A_AAC
    Duration : 2h 18mn
    Channel(s) : 2 channels
    Channel positions : L R
    Sampling rate : 48.0 KHz
    Title : Cantonese

    Text #1
    ID : 4
    Format : ASS
    Codec ID : S_TEXT/ASS
    Codec ID/Info : Advanced Sub Station Alpha
    Title : Special English/Chinese Subs

    Text #2
    ID : 5
    Format : UTF-8
    Codec ID : S_TEXT/UTF8
    Codec ID/Info : UTF-8 Plain Text
    Title : Simplified Chinese
    Language : Chinese

    Text #3
    ID : 6
    Format : UTF-8
    Codec ID : S_TEXT/UTF8
    Codec ID/Info : UTF-8 Plain Text
    Title : Traditional Chinese

    Text #4
    ID : 7
    Format : UTF-8
    Codec ID : S_TEXT/UTF8
    Codec ID/Info : UTF-8 Plain Text
    Title : English
    Language : English

    Text #5
    ID : 8
    Format : UTF-8
    Codec ID : S_TEXT/UTF8
    Codec ID/Info : UTF-8 Plain Text
    Title : Simplified Chinese/English
     
    Last edited: Mar 25, 2010
  4. davexnet

    davexnet Active member

    Joined:
    Jul 7, 2003
    Messages:
    1,856
    Likes Received:
    0
    Trophy Points:
    66
    Use MKVMerge. Open it and deselect all the streams except the video.
    Save as a new MKV and open it in TmpgEnc.
     
  5. Jinkazuya

    Jinkazuya Regular member

    Joined:
    Mar 26, 2006
    Messages:
    380
    Likes Received:
    0
    Trophy Points:
    26
    It still doesn't work and I think you might have to guide me through the set up of the TmpgEnc authoring 4.
     
  6. davexnet

    davexnet Active member

    Joined:
    Jul 7, 2003
    Messages:
    1,856
    Likes Received:
    0
    Trophy Points:
    66
    You're trying to use Tmpgenc Author to encode and then author a DVD ?

    The usual method is that you input the video (your MKV), and as necessary,
    the audio and subtitles (separate files).

    You set the encode parameters and run it. Where is it failing?


    There are some guides on Afterdawn about the general use of this SW and you should review
    those.
    http://www.afterdawn.com/guides/archive/tmpgenc_dvd_author_guide.cfm
    http://www.afterdawn.com/guides/archive/advanced_tmpgenc_dvd_author_guide.cfm

    http://www.digital-digest.com/articles/TMPGEnc_DVD_Author_3_DVD_Authoring_Guide_page1.html
     
  7. Jinkazuya

    Jinkazuya Regular member

    Joined:
    Mar 26, 2006
    Messages:
    380
    Likes Received:
    0
    Trophy Points:
    26
    Well where it fails? As soon as I imported the MKV video, the plain mkv video, no sound and subtitles attached.
     
  8. davexnet

    davexnet Active member

    Joined:
    Jul 7, 2003
    Messages:
    1,856
    Likes Received:
    0
    Trophy Points:
    66
    I still don't understand - How is it failing ? What do you see, what error messages
    get produced?
     
  9. Jinkazuya

    Jinkazuya Regular member

    Joined:
    Mar 26, 2006
    Messages:
    380
    Likes Received:
    0
    Trophy Points:
    26
    [​IMG]

    This is the error I got.
     
  10. davexnet

    davexnet Active member

    Joined:
    Jul 7, 2003
    Messages:
    1,856
    Likes Received:
    0
    Trophy Points:
    66
    Try simplifying the path and the file name to see if it makes any difference.
    For example, c:\myfile.mkv

    Do you have this problem with any other source files, or just this one ?
     
  11. Jinkazuya

    Jinkazuya Regular member

    Joined:
    Mar 26, 2006
    Messages:
    380
    Likes Received:
    0
    Trophy Points:
    26
    I still have this problem with all mkv files and even I abbreviate the path or file name. Not sure why...It would be great if somebody could help.
     
  12. davexnet

    davexnet Active member

    Joined:
    Jul 7, 2003
    Messages:
    1,856
    Likes Received:
    0
    Trophy Points:
    66
  13. Jinkazuya

    Jinkazuya Regular member

    Joined:
    Mar 26, 2006
    Messages:
    380
    Likes Received:
    0
    Trophy Points:
    26
    awwww...They are unrelated....And not sure if that would help import the mkv file. Don't u mean that I should convert the mkv into avi first before doing the importing?
     
  14. davexnet

    davexnet Active member

    Joined:
    Jul 7, 2003
    Messages:
    1,856
    Likes Received:
    0
    Trophy Points:
    66
    Tmpgenc is perfectly capable of importing MKV directly; it uses the directshow
    plugin and usually works pretty well. Have you tried uninstalling/reinstalling the Haali
    splitter ?

    You may be able to remux the video and audio into an avi container.
    (except aac audio will not work as-is)
    I certainly wouldn't want to re-encode the video first and lose a generation of
    quality.
     
  15. Jinkazuya

    Jinkazuya Regular member

    Joined:
    Mar 26, 2006
    Messages:
    380
    Likes Received:
    0
    Trophy Points:
    26
    well...I use k-lite code pack for all sorts of my movies...Not sure if that would be the problem...As you said, I'd like to import MKV, which won't lose the quality and when converting into avi, quality will lose.
     
  16. startrek7

    startrek7 Member

    Joined:
    Feb 3, 2010
    Messages:
    30
    Likes Received:
    1
    Trophy Points:
    18
    I upload mkv files to convertxtodvd and it works, and I use the Vista Codec Pack. Don't know if there is a difference with the codecs and authoring programs though.
     
    Last edited: Apr 6, 2010
  17. davexnet

    davexnet Active member

    Joined:
    Jul 7, 2003
    Messages:
    1,856
    Likes Received:
    0
    Trophy Points:
    66
    This thread is going around in circles.
    I would advise you uninstall all codec packs,
    and anything else left behind (xvid, divx , haali, ffdshow, coreavc,
    what ever else you find in the add/remove programs)

    Then install a fresh version of ffdshow and haali splitter.
    When FFDshow is installed, open the video decoder config and select "codecs"
    on the left. On the right, make sure H264/AVC is set to Libavcodec.
    Retry the MKV in Tmpgenc.

    If it still doesn't work, install avisynth and use directshowsource to import
    the media file.
     
    Last edited: Apr 6, 2010
  18. startrek7

    startrek7 Member

    Joined:
    Feb 3, 2010
    Messages:
    30
    Likes Received:
    1
    Trophy Points:
    18
    I apologize if I went off topic at all, just mentioned how it could be a codec pack issue. I agree to uninstall all codec packs, and start over. I don't think you need to fool around with ffdshow. I believe that for example, ffdshow is in the vista codec pack (good for xp and windows 7 too). Good luck!
     

Share This Page