VideoHelp Forum




+ Reply to Thread
Results 1 to 8 of 8
  1. Member
    Join Date
    Nov 2004
    Location
    australia
    Search Comp PM
    I normally convert Xvid/Divx to DVDs using this process.

    Use Gspot to check out the Avis specs...ie PAL or NTSC ...AC3 or Mp3 ...etc

    Strip ac3 by loading into VirtualdubMod and direct streaming it out...
    or load the Avi into Audition and output a Wav file(if original audio was Mp3)

    Then I load Avi into FitCD and make necessary adjustments and output an Avisynth file
    for use in CCE 267

    Then encode Video with CCE

    Author video,audio and if required subs in DVD Lab pro.

    I was hoping to do the same/similar with some H.264 mkv movies I have...

    Is this possible?

    I have setup mkvextract.

    Is there a way of extracting the video and audio and following the path
    I previously used for converting Xvids/Divxs???

    thanks
    aussiemac
    Quote Quote  
  2. Member
    Join Date
    Dec 2004
    Location
    Australia
    Search Comp PM
    You could use directshowsource() in AVISynth.
    Quote Quote  
  3. Member
    Join Date
    Nov 2004
    Location
    australia
    Search Comp PM
    I am not familiar with this one...
    but are you saying
    do the following....

    here is a typical script from Fitcd ready for Avisynth that I would normally use
    to feed CCE

    # -= AviSynth v2.5.6.0 script by FitCD v1.2.8 =-
    AVISource("D:\xxxx.avi")
    LanczosResize(704,448,8,0,624,272)
    AddBorders(8,64,8,64)
    #Trim(0,200842).FadeOut(150)
    ConvertToYUY2() # For VirtualDub or CCE

    instead use the following??

    # -= AviSynth v2.5.6.0 script by FitCD v1.2.8 =-
    directshowsource("D:\xxxx.mkv")
    LanczosResize(704,448,8,0,624,272)
    AddBorders(8,64,8,64)
    #Trim(0,200842).FadeOut(150)
    ConvertToYUY2() # For VirtualDub or CCE

    just (1)replacing the 'Avisource' command with 'directshowsource'

    ....and (2) replacing the .avi file with the .mkv file???

    or is there more to it ...especially with the replacing with the .mkv file??

    ie do i have to get the video part of the mkv out first??

    or are the avi and mkv similar in that they are both containers or wrappers
    which hold the video and audio part...so can both be used in a similar fashion
    ....and in this case use 'directshowsource'... because it can handle mkv type files/wrapper???

    sorry... I am just thinking aloud here!
    Quote Quote  
  4. Member
    Join Date
    Nov 2004
    Location
    australia
    Search Comp PM
    ..one other thing ...I thought that most H264 versions of sources
    would provide better quality material than typical avi...for conversion back to DVD???

    ie higher data rate ..and mostly... larger frame size.
    Quote Quote  
  5. Member
    Join Date
    Dec 2004
    Location
    Australia
    Search Comp PM
    AVC is generally more efficient. So better quality per the same filesize or same quality, but smaller. Isn't always the case though, like if you had a poor quality source.

    You may also need to specify the framerate since it can't always be detected. You would also need to use convertfps if the source was VFR. So "fps=119.88, convertfps=true".
    Quote Quote  
  6. Member
    Join Date
    Nov 2004
    Location
    australia
    Search Comp PM
    So to confirm two things ....just replace avisource with directshowsource
    and and the xxxx.avi with xxxx.mkv.....is this correct???

    Then the next thing ....is there any way of interrogating an mkv file
    similar to the way gspot does an avi file??

    I must admit i hadnt studied what frame rates the x/h264 video operated at...
    especially VFR. So how does one tell??

    So the last two items you mentioned....is the fps a standard figure(119.88)??

    and I assume you use convertfps=true...to change to a fixed framerate
    as against VFR?

    Where does this sit in the avisynth script ....after the directshowsource line or
    after the resizing/addborders lines???
    Quote Quote  
  7. Member
    Join Date
    Nov 2004
    Location
    australia
    Search Comp PM
    I have gone away and done some more reading

    I am using a small test sample of an mkv file to trial with.
    This is similar to the MKV files i wish to convert to DVD.
    I can play it with MPC 6.4.9.0
    It seems to indicate it is (357:152) in aspect ratio
    It is using ffdshow mpeg4 decoder and Haali's video renderer to decode the video.
    I do actually have CoreAVC codec...but its not using that.

    I have found MediaInfo 0.7.3.1 and loaded it so I can now interrogate the Mkv file.

    The video is MPEG-4 AVC 624 x 304(2.35:1) 25fps.
    The audio is AC3...so I can deal with that.

    this ratio seems equate to about 2.05:1 ...is it anamorphic??

    So I assume the 119.8 figure needs changing...cause this is for 23fps

    I tried avc2avi to convert the video file I got using MKVextract...but this
    produced an avi which wasnt obviously the same ratio as the original
    mkv file...it was about 2.05 to 1.

    I tried making an avisynth video.avs file in notepad with just the following

    DirectShowSource("D:\encode\xxxx.mkv")

    in it ...but when i open it with mpc6.4.9.0

    it show some stretched red lines.

    At this point i dont know to where to go....any help would be appreciated
    Quote Quote  
  8. Member
    Join Date
    Nov 2004
    Location
    australia
    Search Comp PM
    Looking at some other postings I tried ...

    DirectShowSource("D:\encode\xxxx.mkv",fps=25, convertfps=true)

    for a revised video.avs and it still doesnt play with MPC6.4.9.0

    just gets what looks like a red error message terribly slewed.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!