VideoHelp Forum

Our website is made possible by displaying online advertisements to our visitors. Consider supporting us by disable your adblocker or Try ConvertXtoDVD and convert all your movies to DVD. Free trial ! :)
+ Reply to Thread
Page 1 of 2
1 2 LastLast
Results 1 to 30 of 32
Thread
  1. Guest
    Hi all,

    I captured a NTSC MPEG-2 file from VHS, at 720 X 480.

    When I try to demux it, TMPGEnc Plus says "can not open, or unsupported".

    Weirdly, some hours ago it opened the same file...I reinstaled it.....

    Thanks,

    Andre
    Quote Quote  
  2. Try installing an mpeg2 codec from the tools section.
    Quote Quote  
  3. Guest
    Originally Posted by Craig Tucker
    Try installing an mpeg2 codec from the tools section.
    Thanks Craig, but doesn't TMPGEnc come with its own MPEG-2 codecs ?

    What is weird is that it has stopped working after I installed AVISynth, maybe AVISynth has override TMPGEnc own codec ?
    It was working perfectly before;

    I have already reinstaled TMPGEnc Plus twice, and it keeps saying that my NTSC MPEG-2 files aren't supported;

    Thanks,

    Andre
    Quote Quote  
  4. Guest
    Craig,

    Actually, I've been trying a PAL-M (Brazilian system) to NTSC conversion, using the PAL to NTSC guide listed here at this web site.

    It requires the instalation of AVISynth, and both the MPEG2DEC.dll and SmoothDeinterlacer.dll;

    When I instaled just AVISynth, it seems that it has overwritten TMPGEnc codecs and TMPGEnc said that whatever MPEG-2 file wasn't supported.....

    I instaled the MPEG2DEC.dll into the system32 folder and TMPGEnc came back to work again, now it recognizes again the MPEG-2 files. I think that, actually, I should uninstall everything in order to have TMPGEnc to use again its own codecs (?);

    Now it's working and at this moment I've loaded 6 PAL-M MPEG-2 files into TMPGEnc and (I hope....) TMPGEnc will convert them properly to NTSC format.

    On another note :

    I have some European PAL DVD's and I am willing to transfer them to NTSC, I've tried this guide :

    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    VI. PAL (Video) DVD (25i Fps) -> NTSC DVD (29.97i Fps)

    1. Run DVD2AVI and load the decrypted VOBs using the "Open" item in the "File" menu (you need to choose only the first one of a sequence).
    2. Check the "None" item in the "Field Operation" sub-menu of the "Video" menu.
    3. Choose the desired audio track number (usually "Track 1") in the "Track Number" sub-menu of the "Audio" menu.
    4. Check the "Demux" item in the "Dolby Digital" sub-menu of the "Audio" menu.
    5. Check the "Auto Select" item in the "Channel Format" sub-menu of the "Audio" menu.
    6. Check the "Off" item in the "48 -> 44.1 KHz" sub-menu of the "Audio" menu.
    7. Select the "Save Project" item in the "File" menu.
    8. Choose a location and filename for the DVD2AVI project name. A small text file with the D2V extension will be created, and the audio track specified above will be extracted from the VOB into an AC3 file in the same location.
    9. Create and open a new text file with an AVS extension (to be used with AVISynth), using your favorite text editor (like Notepad).
    10. Add the following lines, filling in the location and filename of the file you created above:

    LoadPlugin("MPEG2DEC.dll")
    LoadPlugin("SmoothDeinterlacer.dll")
    MPEG2Source("DRIVE:\PATH\VTS_xx_x.d2v")
    SmoothDeinterlace(doublerate=true)
    LanczosResize(720,480)
    ChangeFPS(59.94) # or ConvertFPS(59.94)
    SeparateFields()
    SelectEvery(4,1,2)
    Weave()
    ConvertToRGB()

    11. Save the AVS file.
    12. Ensure that MPEG2DEC.dll is installed. (If this file is placed in the \WINNT\System32 or \Windows\System directory, the full path is not needed, as illustrated in the above script. Otherwise, add the full path to the LoadPlugin() command.)
    13. Ensure that SmoothDeinterlacer.dll is installed. (If this file is placed in the \WINNT\System32 or \Windows\System directory, the full path is not needed, as illustrated in the above script. Otherwise, add the full path to the LoadPlugin() command.)
    14. Load the AVS file into TMPGEnc as the "Video Source."
    NOTE: Cancel the Wizard dialog box which appears when you run TMPGEnc.
    15. Load the "DVD (NTSC)" template into TMPGEnc.
    16. Load the "unlock" template (located in the "Extra" directory).
    17. Select "Video only" in the "Stream type" region.
    18. Specify the location and name of the "Output file name" with an M2V extension.
    19. In the "Rate control mode:" field, choose the type of encoding you want. Multi-pass variable bit rate (VBR) settings produce better quality, but take longer to encode. Choose your bit rate based on quality desired, length of video, size of AC3 above, size of other files that will be on the destinaion disc, and the size of destination medium. Do not exceed 9800 kbit/sec.
    20. Choose "Motion estimate search (fast)" or "Highest quality (very slow)" in the "Motion search precision:" field on the "Video" tab of the "Setting" dialog.
    21. Press "Start" to convert, and encode the video.

    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    Anyway, I've been having an AVISynth return error message saying that the "MPEG2SOURCE" command isn't recognizable. I also tried the "DirectShowSource" command and it seems it's also unrecognizable....

    Any guess ? Do I have a new version of AVISynth that doesn't accept anymore these comands ?

    Any help will be very apreciated;

    I think I'd rather also post this message at the advanced Forum;

    Thanks,

    Andre
    Quote Quote  
  5. Video Restorer lordsmurf's Avatar
    Join Date
    Jun 2003
    Location
    dFAQ.us/lordsmurf
    Search Comp PM
    Originally Posted by andresalles
    Thanks Craig, but doesn't TMPGEnc come with its own MPEG-2 codecs ?
    Only TMPGENC 2.5.20.x or newer
    Quote Quote  
  6. TMPGEnc comes with its own encoder, but not a decoder. So you do need a third party mpeg2 codec to open mpeg2 files with tmpgenc. So for example you could encode a file to mpeg2 with tmpgenc, then try to open it with tmpgenc, but it would not open without an mpeg2 codec installed.
    Quote Quote  
  7. Member FulciLives's Avatar
    Join Date
    May 2003
    Location
    Pittsburgh, PA in the USA
    Search Comp PM
    Originally Posted by andresalles
    I have some European PAL DVD's and I am willing to transfer them to NTSC, I've tried this guide :

    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    VI. PAL (Video) DVD (25i Fps) -> NTSC DVD (29.97i Fps)

    1. Run DVD2AVI and load the decrypted VOBs using the "Open" item in the "File" menu (you need to choose only the first one of a sequence).
    2. Check the "None" item in the "Field Operation" sub-menu of the "Video" menu.
    3. Choose the desired audio track number (usually "Track 1") in the "Track Number" sub-menu of the "Audio" menu.
    4. Check the "Demux" item in the "Dolby Digital" sub-menu of the "Audio" menu.
    5. Check the "Auto Select" item in the "Channel Format" sub-menu of the "Audio" menu.
    6. Check the "Off" item in the "48 -> 44.1 KHz" sub-menu of the "Audio" menu.
    7. Select the "Save Project" item in the "File" menu.
    8. Choose a location and filename for the DVD2AVI project name. A small text file with the D2V extension will be created, and the audio track specified above will be extracted from the VOB into an AC3 file in the same location.
    9. Create and open a new text file with an AVS extension (to be used with AVISynth), using your favorite text editor (like Notepad).
    10. Add the following lines, filling in the location and filename of the file you created above:

    LoadPlugin("MPEG2DEC.dll")
    LoadPlugin("SmoothDeinterlacer.dll")
    MPEG2Source("DRIVE:\PATH\VTS_xx_x.d2v")
    SmoothDeinterlace(doublerate=true)
    LanczosResize(720,480)
    ChangeFPS(59.94) # or ConvertFPS(59.94)
    SeparateFields()
    SelectEvery(4,1,2)
    Weave()
    ConvertToRGB()

    11. Save the AVS file.
    12. Ensure that MPEG2DEC.dll is installed. (If this file is placed in the \WINNT\System32 or \Windows\System directory, the full path is not needed, as illustrated in the above script. Otherwise, add the full path to the LoadPlugin() command.)
    13. Ensure that SmoothDeinterlacer.dll is installed. (If this file is placed in the \WINNT\System32 or \Windows\System directory, the full path is not needed, as illustrated in the above script. Otherwise, add the full path to the LoadPlugin() command.)
    14. Load the AVS file into TMPGEnc as the "Video Source."
    NOTE: Cancel the Wizard dialog box which appears when you run TMPGEnc.
    15. Load the "DVD (NTSC)" template into TMPGEnc.
    16. Load the "unlock" template (located in the "Extra" directory).
    17. Select "Video only" in the "Stream type" region.
    18. Specify the location and name of the "Output file name" with an M2V extension.
    19. In the "Rate control mode:" field, choose the type of encoding you want. Multi-pass variable bit rate (VBR) settings produce better quality, but take longer to encode. Choose your bit rate based on quality desired, length of video, size of AC3 above, size of other files that will be on the destinaion disc, and the size of destination medium. Do not exceed 9800 kbit/sec.
    20. Choose "Motion estimate search (fast)" or "Highest quality (very slow)" in the "Motion search precision:" field on the "Video" tab of the "Setting" dialog.
    21. Press "Start" to convert, and encode the video.

    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    Anyway, I've been having an AVISynth return error message saying that the "MPEG2SOURCE" command isn't recognizable. I also tried the "DirectShowSource" command and it seems it's also unrecognizable....

    Any guess ? Do I have a new version of AVISynth that doesn't accept anymore these comands ?
    You need to be using AviSynth Version 2.08 which can be found in the DOWNLOADS section of the doom9 website

    I often switch between AviSynth 2.08 and the newer AviSynth 2.5x by simply installing the one I need without un-installing the other and back and forth I go and it works A-OK for me that way. Please note that I don't install one over the other but each has it's own DIR and only the one that I just installed will work until I "re-install" the other version.

    - John "FulciLives" Coleman
    "The eyes are the first thing that you have to destroy ... because they have seen too many bad things" - Lucio Fulci
    EXPLORE THE FILMS OF LUCIO FULCI - THE MAESTRO OF GORE
    Quote Quote  
  8. Guest
    Yes, I have version 2.08.....

    So, why doesn't it accept both the "MPEG2SOURCE" and the "DIRECTSHOWSOURCE" commands ?

    May I install the newer version ?

    Could you please be more specific when you say you run the 2 versions at their own folder ?
    Don't all the versions install to system32 folder ?

    Thanks,

    Andre
    Quote Quote  
  9. Guest
    OK, I've found a bunch of DLL's at one of AVI sites, all of them are for the 2.5 version.
    I think I have to install them in order to make the sw to recognize the "MPEG2SOURCE" command, for example, OK ?

    But how do I install DLL's ?

    Should I just copy/paste them to system32 folder ?

    Won't it override other DLL's ?

    Once I have the 2.5 version, why should I care about older 2.08 ?
    Can't I have all the stuff done by v 2.5 - new ?

    Thaks, this has come to a new level of knowledge for me;

    Andre
    Quote Quote  
  10. Member FulciLives's Avatar
    Join Date
    May 2003
    Location
    Pittsburgh, PA in the USA
    Search Comp PM
    Originally Posted by andresalles
    OK, I've found a bunch of DLL's at one of AVI sites, all of them are for the 2.5 version.
    I think I have to install them in order to make the sw to recognize the "MPEG2SOURCE" command, for example, OK ?

    But how do I install DLL's ?

    Should I just copy/paste them to system32 folder ?

    Won't it override other DLL's ?

    Once I have the 2.5 version, why should I care about older 2.08 ?
    Can't I have all the stuff done by v 2.5 - new ?

    Thaks, this has come to a new level of knowledge for me;

    Andre
    I don't know what to tell you because I've been lucky enough never to have the problems that you are having with AviSynth.

    As for version 2.08 I use it because I never could get SmoothDeinterlacer to work in Version 2.5x but I often switch back and forth between 2.08 and 2.5x because I only use SmoothDeinterlacer AviSynth 2.08 for PAL to NTSC conversion but for the other things I do (such as converting analog captures) I use AviSynth 2.5x because I use the version of Convolution3D (an AviSynth video "noise" filter) that only works with AviSynth 2.5x

    I have INSTALL "packages" for AviSyth 2.08 and AviSynth 2.5x and when I install them they automatically install to two different places. I think both of these came from the DOWNLOADS sectioin of the aforemetioned doom9 website

    I just install the one I need to use without un-installing the other. Only one version works at any one time and it is always the version you last installed.

    - John "FulciLives" Coleman
    "The eyes are the first thing that you have to destroy ... because they have seen too many bad things" - Lucio Fulci
    EXPLORE THE FILMS OF LUCIO FULCI - THE MAESTRO OF GORE
    Quote Quote  
  11. Member
    Join Date
    Mar 2003
    Location
    Uranus
    Search Comp PM
    I think TMPGenc Cut & Merge tools may not use any
    external codecs . I say this because I've had it where
    the normal encoding function would not open MPEG2
    but I could stil cut&merge. Makes sense except for
    the question of how does the preview display work while
    trimming. That requires a decode.
    Quote Quote  
  12. Guest
    Originally Posted by FulciLives
    As for version 2.08 I use it because I never could get SmoothDeinterlacer to work in Version 2.5x but I often switch back and forth between 2.08 and 2.5x because I only use SmoothDeinterlacer AviSynth 2.08 for PAL to NTSC conversion but for the other things I do (such as converting analog captures) I use AviSynth 2.5x because I use the version of Convolution3D (an AviSynth video "noise" filter) that only works with AviSynth 2.5x

    I have INSTALL "packages" for AviSyth 2.08 and AviSynth 2.5x and when I install them they automatically install to two different places. I think both of these came from the DOWNLOADS sectioin of the aforemetioned doom9 website

    I just install the one I need to use without un-installing the other. Only one version works at any one time and it is always the version you last installed.

    - John "FulciLives" Coleman
    Dear Fulcilives,

    Thanks, let's go on :

    I have dw both 208.exe and 252.exe files, I mean these are what you call "install packages" ?
    I instaled the 208 yesterday night and it instaled itself as any Windows program, so I do guess these are what you call install packages (?);

    I'll install 252 as soon as the Video PC stops encoding a file, so I guess I'll have, as you, two diferent instalations;

    Still, let me continue with the DLL questions :

    a) Doesn't SmoothDeinterlacer work for you at 2.52 cause you haven't installed the proper DLL ?

    b) I figured out that 2.08 doesn't recognize some commands it should, like "MPEG2SOURCE", 'DIRECTSHOWSOURCE".

    Shouldn't I add to the AVS script lines like :

    LoadPlugin (C:\MPEG2DEC.dll")

    supposing of course the DLL is at the C root ?

    or

    LoadPlugin (C:\SmoothDeinterlacer.dll") ?


    Maybe your 2.52 instalation miss the Smoothdeinterlacer plug-in, and it exists one for each version - you probably only have the plug-in for 2.08 ?

    Thanks,

    Andre
    Quote Quote  
  13. Member FulciLives's Avatar
    Join Date
    May 2003
    Location
    Pittsburgh, PA in the USA
    Search Comp PM
    Originally Posted by andresalles
    Dear Fulcilives,

    Thanks, let's go on :

    I have dw both 208.exe and 252.exe files, I mean these are what you call "install packages" ?
    I instaled the 208 yesterday night and it instaled itself as any Windows program, so I do guess these are what you call install packages (?)
    Yes that is what I meant by "install packages"

    Originally Posted by andresalles
    I'll install 252 as soon as the Video PC stops encoding a file, so I guess I'll have, as you, two diferent instalations;

    Still, let me continue with the DLL questions :

    a) Doesn't SmoothDeinterlacer work for you at 2.52 cause you haven't installed the proper DLL ?
    There is a SmoothDeinterlacer.dll for AviSynth Version 2.5x but I couldn't get it to work. Don't know why.

    Originally Posted by andresalles
    b) I figured out that 2.08 doesn't recognize some commands it should, like "MPEG2SOURCE", 'DIRECTSHOWSOURCE".
    Don't know about the DIRECTSHOWSOURCE because I've never used that but MPEG2SOURCE should definately work. It should look something like this:

    LoadPlugin("mpeg2dec.dll")
    mpeg2source("C:\MOVIE\VIDEO_TS\movie.d2v")

    Originally Posted by andresalles
    Shouldn't I add to the AVS script lines like :

    LoadPlugin (C:\MPEG2DEC.dll")

    supposing of course the DLL is at the C root ?

    or

    LoadPlugin (C:\SmoothDeinterlacer.dll") ?
    It should look like this:
    LoadPlugin("C:\mpeg2dec.dll")
    LoadPlugin("C:\SmoothDeintrelacer.dll")
    That is if both are located in the root DIR of the C drive.

    Originally Posted by andresalles
    Maybe your 2.52 instalation miss the Smoothdeinterlacer plug-in, and it exists one for each version - you probably only have the plug-in for 2.08 ?
    As I said I tried the so-called 2.5x version of SmoothDeinterlacer.dll but couldn't get it to work so I just use AviSynth 2.08 with the version of SmoothDeinterlacer that you can download from Xesdeeni's website.

    - John "FulciLives" Coleman
    "The eyes are the first thing that you have to destroy ... because they have seen too many bad things" - Lucio Fulci
    EXPLORE THE FILMS OF LUCIO FULCI - THE MAESTRO OF GORE
    Quote Quote  
  14. Guest
    Dear Fulcilives,

    Thanks for your help, in order to try to have everything back to its previous step, and reinstall properly again, I uninstalled AVISynth 2.08, TMPGEnc Plus, and deleted both MPEG2DEC and Smoothdeinterlacer DLL's from the system 32 folder.

    So, I am supposed to have my system back to its previous stage.

    Then, I installed AVISynth 2.52 and TMPGEnc, but DID NOT copy/paste the DLL's again to the system 32 folder, instead, I prefered to put them in another folder, not related to Windows, and point the LOADPLUGIN command to them at the AVS file.

    It was something like "LoadPlugin(C:\Andre\MPEG2DEC.dll")

    As you can see, I put the DLL in a folder I myself created.

    I runned TMPGEnc and loaded the AVS file in it, and still had an error message saying that the MPEG2SOURCE comand isn't recognizable. I made it exactly like yours.

    Then, I tried to return to my previous job of converting PAL-M MPEG files into NTSC ones, I mean, this task has nothing to do with the AVS stuff.

    Now it came the problem : TMPGEnc KEEPS LOOKING TO THE AVS FILE, EVEN IF WHAT I WANNA DO HAS NOTHING TO DO WITH IT !!!

    It refused to load my MPEG2 files saying the format isn't supported.

    As a test, I copied again the MPEG2DEC dll to the system 32 folder, and runed TMPGEnc. It still refused my files.

    Then, I changed, at the AVS file (!!!) the comand from

    LoadPlugin(C:\Andre\MPEG2DEC.dll")

    to

    LoadPlugin("MPEG2DEC.dll")

    and TMPGEnc RETURNED TO ACCEPT MY MPEG FILES !!!!!

    I wonder, WHY DOES TMPGEnc keeps looking to my AVS file even if I wanna make a task that has nothing to do with AVISynth ????

    Where has gone TMPGEnc's native functionality ?? It has always worked when I didn't have AVISynth instaled.......

    and the older problem persists : why doesn't AVISynth accpets the MPEG2Source comand ?

    It says that there's an unrecognizavle comand at line 3 of :

    LoadPlugin("mpeg2dec.dll")
    LoadPlugin("SmoothDeintrelacer.dll")
    MPEG2source (D:\.........)


    Thanks so much, I am really annoyed on why the hell TMPGEnc keeps looking at the AVS file if I wanna do a task that has nothing to do with it !!??

    Andre
    Quote Quote  
  15. Member FulciLives's Avatar
    Join Date
    May 2003
    Location
    Pittsburgh, PA in the USA
    Search Comp PM
    Originally Posted by andresalles
    Dear Fulcilives,

    Thanks for your help, in order to try to have everything back to its previous step, and reinstall properly again, I uninstalled AVISynth 2.08, TMPGEnc Plus, and deleted both MPEG2DEC and Smoothdeinterlacer DLL's from the system 32 folder.

    So, I am supposed to have my system back to its previous stage.

    Then, I installed AVISynth 2.52 and TMPGEnc, but DID NOT copy/paste the DLL's again to the system 32 folder, instead, I prefered to put them in another folder, not related to Windows, and point the LOADPLUGIN command to them at the AVS file.

    It was something like "LoadPlugin(C:\Andre\MPEG2DEC.dll")

    As you can see, I put the DLL in a folder I myself created.

    I runned TMPGEnc and loaded the AVS file in it, and still had an error message saying that the MPEG2SOURCE comand isn't recognizable. I made it exactly like yours.

    Then, I tried to return to my previous job of converting PAL-M MPEG files into NTSC ones, I mean, this task has nothing to do with the AVS stuff.

    Now it came the problem : TMPGEnc KEEPS LOOKING TO THE AVS FILE, EVEN IF WHAT I WANNA DO HAS NOTHING TO DO WITH IT !!!

    It refused to load my MPEG2 files saying the format isn't supported.

    As a test, I copied again the MPEG2DEC dll to the system 32 folder, and runed TMPGEnc. It still refused my files.

    Then, I changed, at the AVS file (!!!) the comand from

    LoadPlugin(C:\Andre\MPEG2DEC.dll")

    to

    LoadPlugin("MPEG2DEC.dll")

    and TMPGEnc RETURNED TO ACCEPT MY MPEG FILES !!!!!

    I wonder, WHY DOES TMPGEnc keeps looking to my AVS file even if I wanna make a task that has nothing to do with AVISynth ????

    Where has gone TMPGEnc's native functionality ?? It has always worked when I didn't have AVISynth instaled.......

    and the older problem persists : why doesn't AVISynth accpets the MPEG2Source comand ?

    It says that there's an unrecognizavle comand at line 3 of :

    LoadPlugin("mpeg2dec.dll")
    LoadPlugin("SmoothDeintrelacer.dll")
    MPEG2source (D:\.........)


    Thanks so much, I am really annoyed on why the hell TMPGEnc keeps looking at the AVS file if I wanna do a task that has nothing to do with it !!??

    Andre
    You do know that MPEG2DEC.DLL is for AviSynth 2.08 whereas MPEG2DEC3.DLL is for AviSynth 2.5x

    You say (see quote) that you un-installed AviSynth 2.08 but then installed AviSynth 2.5x

    So if AviSynth 2.5x is the last of the two that you installed then your computer is using AviSynth 2.5x whereas you are trying to use an AviSynth AVS script that is for AviSynth 2.08

    At least that is what it seems like from what you wrote

    - John "FulciLives" Coleman

    P.S.
    You wrote:
    LoadPlugin(C:\Andre\MPEG2DEC.dll")

    For AviSynth 2.08 it should be:
    LoadPlugin("C:\Andre\MPEG2DEC.dll")

    For AviSynth 2.5x it should be"
    LoadPlugin("C:\Andre\MPEG2DEC3.dll")

    Notice that you missed the first " before the letter C
    This also assums you have both of the different dll files in the same C:\Andre DIR
    "The eyes are the first thing that you have to destroy ... because they have seen too many bad things" - Lucio Fulci
    EXPLORE THE FILMS OF LUCIO FULCI - THE MAESTRO OF GORE
    Quote Quote  
  16. Guest
    Thanks for clarifying, now I have loaded the CORRECT MPEG dll....

    But now I have another error : "SmoothDeinterlace only works on RGB32 and YUY2 formats".

    It's pointing, through a d2v file, to an already burned VIDEO_TS folder on my HD, in which the VOB files are in Brazilain PAL-M format......haven't tried with European PAL yet;, maybe it's the problem, as the guide refers to European PAL and not Brazilian PAL-M ?

    On another note, how can I fix the problem of TMPGEnc keeps looking for the AVS file, even if the task I wanna do has nothing to do with AVISynth ???

    I have already moved the file to another folder in order to try to force TMPGEnc to look at its native MPEG-2 codecs - it has its codecs, otherwise it would never worked !!!

    Worst is that even if I uninstall AVISynth and delete te MPEG2DEC dll from system32, it still doesn't work

    Thanks so much,

    Andre
    Quote Quote  
  17. Guest
    OK, as the script is for 2.08, I reinstaled it again and re-pasted all correct DLL's.

    I am now ripping a truly European PAL DVD to test the functionality of the conversion, I'll update my comments in an hour or so;

    On the other note.....

    I am figuring I'll have to format my machine in order to force this crap TMPGEnc to do again what it used to do before instaling AVISynth !!

    I think I'll post it separately, annoying

    Andre
    Quote Quote  
  18. Guest
    I have decrypted a real European PAL DVD to my HD and runned DVD2AVI as suggested, after that I wrote this script (copied/pasted exacty as is) :

    LoadPlugin("C:\Programas\MPEG2DEC.dll")
    LoadPlugin("C:\Programas\SmoothDeinterlacer.dll")
    MPEG2Source("D:\teste.d2v")
    SmoothDeinterlace(doublerate=true)
    LanczosResize(720,480)
    ChangeFPS(59.94) # or ConvertFPS(59.94)
    SeparateFields()
    SelectEvery(4,1,2)
    Weave()
    ConvertToRGB()

    Where, of course, the DLL's are located at these folders and "teste" is the name of my d2v file at root D.

    Still, TMPGEnc windows says that "unrecognized exception" on line 3;

    Worst of all, now TMPGEnc refuses definitely to accept my MPEG files when I try other tasks - annoying

    Thnaks,

    Andre
    Quote Quote  
  19. Member FulciLives's Avatar
    Join Date
    May 2003
    Location
    Pittsburgh, PA in the USA
    Search Comp PM
    Well my guess is that your problem has something to do with the ENVIRONMENTAL SETTINGS in TMPGEnc.

    Unfortunately I cannot offer much help on this BUT I can give you this:



    This is what MY VFAPI Environmental Settings look like. I am able to load D2V files directly as well as through AviSynth AVS scripts.

    Try setting yours to something similiar perhaps.

    - John "FulciLives" Coleman
    "The eyes are the first thing that you have to destroy ... because they have seen too many bad things" - Lucio Fulci
    EXPLORE THE FILMS OF LUCIO FULCI - THE MAESTRO OF GORE
    Quote Quote  
  20. Guest
    Originally Posted by FulciLives
    Well my guess is that your problem has something to do with the ENVIRONMENTAL SETTINGS in TMPGEnc.

    Unfortunately I cannot offer much help on this BUT I can give you this:



    This is what MY VFAPI Environmental Settings look like. I am able to load D2V files directly as well as through AviSynth AVS scripts.

    Try setting yours to something similiar perhaps.

    - John "FulciLives" Coleman
    Again, thank you.

    Well, I don't have 3 plug-ins you have :

    a) AVISynth/Virtual Dub script - maybe it's because I don'tt use Virtual Dub ?

    b) The SONY MPEG-2 decoder

    c) Quick Time Movie Reader.

    and now an important note :

    What is your version of TMPGEnc Plus ? Is it version 2.59 ??
    I am confused, cause I've checked Pegasys site and they say that he newer version is 2.521, yours seem to be an even newer version (??!!);

    Another question :

    What is DVD2AVI really intended for ? It wrote an AC3 file to my HD, OK, but what is the deal with the d2v file ?

    WHAT IS THE DIFERENCE OF LOADING IT DIRECTLY IN TMPGEnc OR RUNNING THROUGH AN AVISYNTH SCRIPT ?

    IF I RUN IT DIRECTLY IN TMPGENc, setting it to NTSC, wouldn't it work direct in the d2v file and convert it to NTSC without caring about AVISynth ?

    I have also discovered that AVISynth only loads the DLL's plug-ins if they are actually placed at system32 folder, the trick of placing them anywhere else and pointing there doesn't work at my computer - hence TMPGEnc's message of not recognizing the MPEG2SOURCE command.

    So, if I place it at system32, it loads both DLL's, identify the d2v source, but says that "Smoothdeinterlacer can only read RGB32 AND YUY2 files", it's weird, cause I have followed the exactly instructions to convert from PAL to NTSC....(?);

    On another note, on a more straight forward aproach, isn't it possible that TMPGEnc converts directly a PAL VOB to a NTSC VOB ?

    THANKS SO MUCH,

    Andre
    Quote Quote  
  21. Guest
    Well, some conclusions :

    If I set the Cyberlink Decoder for higher priority, TMPGEnc returns to its normal functionality of recognizing my MPEG-2 files - OK;

    AVISynth 2.52 instaled a decoder that prevented Ulead Video studio to work anymore, I uninstaled it and UVS returned to work - so, first decision : v2.52 won't be instaled anymore;

    Regarding 2.08, it's clear that copying the DLL's to the system32 folder affects TMPGEnc functionality, but on the other hand, it's clear that placing them somewhere else and pointing there doesn't work. So, what to do ?

    Well, as it has been interfering with TMPGEnc's functionality, I'll insist on having it placed/working somewhere else, but not on folder system32 anymore; since it works for you, it has to work for me !

    So, here I return to the point :

    1) Why doesn't AVISynth recognizes the DLL's placed somewhere else but only system32 folder ?

    2) Supposing that I find a solution to the problem above, why does AVISynth says that "Smoothdeinterlacer only works with RGB32 and YUY2 files", since I have followed the guide exactly ?

    Any help will be very apreciated;

    Thanks,

    Andre
    Quote Quote  
  22. Member FulciLives's Avatar
    Join Date
    May 2003
    Location
    Pittsburgh, PA in the USA
    Search Comp PM
    Originally Posted by andresalles
    What is your version of TMPGEnc Plus ? Is it version 2.59 ??
    I am confused, cause I've checked Pegasys site and they say that he newer version is 2.521, yours seem to be an even newer version (??!!)
    My version is not very old but it is not exactly the newest version either. I've had other versions and was happy with the version I now have so you know what they say ... if it ain't broken don't fix it.

    Mine is TMPGEnc Plus 2.5
    Version 2.59.47.155
    Core version 1.92.142

    You can get that same information on your version of TMPGEnc by clicking on HELP and then ABOUT

    Originally Posted by andresalles
    What is DVD2AVI really intended for ? It wrote an AC3 file to my HD, OK, but what is the deal with the d2v file ?

    WHAT IS THE DIFERENCE OF LOADING IT DIRECTLY IN TMPGEnc OR RUNNING THROUGH AN AVISYNTH SCRIPT ?

    IF I RUN IT DIRECTLY IN TMPGENc, setting it to NTSC, wouldn't it work direct in the d2v file and convert it to NTSC without caring about AVISynth ?
    Well it's not that simple. You could load the D2V directly into TMPGEnc but the only way to do the conversion then is to slow down the frame rate from 25fps to 23.976fps and encode it as a progressive NTSC video but this requires (for proper results) that the PAL DVD be PROGRESSIVE (it doesn't really work correctly if the PAL DVD is INTERLACED) and also you must then convert the audio length to fit the length of the NEW NTSC MPEG-2 file you are creating and that can be a rather tricky process as well.

    The other method, the method that Xesdeeni came up with MUST use an AviSynth AVS script because you have to use SmoothDeinterlacer and you can't use SmoothDeinterlacer without using AviSynth. The benefit to Xesdeeni's method is that it works with any PAL DVD source be it PROGESSIVE or INTERLACED and it does not require the original audio to be changed other than MAYBE having to run AC3Delay Fix on it to reduce the delay value to ZERO (and if that needs to be done it is rather simple).

    So Xesdeeni's method is kind of "fool proof" (no disrespect meant towards you).

    AviSynth is generally NOT this difficult to get working ... I don't know why you are having so many problems with it ... it has always worked with my setup without any need for tweaking etc.

    Originally Posted by andresalles
    I have also discovered that AVISynth only loads the DLL's plug-ins if they are actually placed at system32 folder, the trick of placing them anywhere else and pointing there doesn't work at my computer - hence TMPGEnc's message of not recognizing the MPEG2SOURCE command.

    So, if I place it at system32, it loads both DLL's, identify the d2v source, but says that "Smoothdeinterlacer can only read RGB32 AND YUY2 files", it's weird, cause I have followed the exactly instructions to convert from PAL to NTSC....(?)
    Well however you get it to work then fine who cares where the files are just so it works.

    I'm not sure why you are getting that error with SmoothDeinterlaer. Are you sure you are using the version from Xesdeeni's website which is the version that is made to work with AviSynth 2.08

    You will notice in DVD2AVI that there is a setting where you can pick either RGB 24-bit or YUV 4:2:2 (which I think is the same as saying YUY2) and I've found that the Avisynth AVS script works either way when using it with TMPGEnc. I think it is more correct though to use YUV rather than RGB in DVD2AVI so maybe delete your AUDIO FILES and D2V file and run the original VOB files through DVD2AVI again. Also I should point out that it is well known that the last working version of DVD2AVI is Version 1.76 but there is at least one newer version yet it doesn't work correctly. So make sure you are using DVD2AVI Version 1.76

    Originally Posted by andresalles
    On another note, on a more straight forward aproach, isn't it possible that TMPGEnc converts directly a PAL VOB to a NTSC VOB ?
    You don't want to do that. I don't even know if it is possible unless you load the VOB files into VirtualDub (the MPEG-2/AC-3 mod) and then frameserve from that to TMPGEnc then that MIGHT work but again we leave the SmoothDeinterlacer out of the picture and we need it.

    - John "FulciLives" Coleman
    "The eyes are the first thing that you have to destroy ... because they have seen too many bad things" - Lucio Fulci
    EXPLORE THE FILMS OF LUCIO FULCI - THE MAESTRO OF GORE
    Quote Quote  
  23. Member FulciLives's Avatar
    Join Date
    May 2003
    Location
    Pittsburgh, PA in the USA
    Search Comp PM
    Originally Posted by andresalles
    Well, some conclusions :

    If I set the Cyberlink Decoder for higher priority, TMPGEnc returns to its normal functionality of recognizing my MPEG-2 files - OK;

    AVISynth 2.52 instaled a decoder that prevented Ulead Video studio to work anymore, I uninstaled it and UVS returned to work - so, first decision : v2.52 won't be instaled anymore;

    Regarding 2.08, it's clear that copying the DLL's to the system32 folder affects TMPGEnc functionality, but on the other hand, it's clear that placing them somewhere else and pointing there doesn't work. So, what to do ?

    Well, as it has been interfering with TMPGEnc's functionality, I'll insist on having it placed/working somewhere else, but not on folder system32 anymore; since it works for you, it has to work for me !

    So, here I return to the point :

    1) Why doesn't AVISynth recognizes the DLL's placed somewhere else but only system32 folder ?

    2) Supposing that I find a solution to the problem above, why does AVISynth says that "Smoothdeinterlacer only works with RGB32 and YUY2 files", since I have followed the guide exactly ?

    Any help will be very apreciated;

    Thanks,

    Andre
    1.) What version of Windows are you using?
    2.) Please COPY AND PASTE the AviSynth AVS script you are using. I want a COPY AND PASTE here so I can see EXACTLY what you are using. Don't try to re-type it etc.

    My guess is your AVS script has incorrect syntax.

    Also I don't know if this makes a difference or not but my MPEG2DEC.DLL and my SMOOTHDEINTERLACER.DLL files are in my SYSTEM DIR under WINDOWS not my SYSTEM32 DIR. I am using WinXP Pro.

    Also my TMPGEnc can not import MPEG files. It doesn't recognize them. I must use DVD2AVI to get a project file (D2V file). It will import a D2V file direct ... it does import anything through AviSynth ... I can frameserve from VirtualDubMod etc.

    So maybe having the Cyberlink Decoder on such a high priority (so that you can read MPEG files directly) is screwing up the other stuff? I really don't know. It's a thought.

    - John "FulciLives" Coleman
    "The eyes are the first thing that you have to destroy ... because they have seen too many bad things" - Lucio Fulci
    EXPLORE THE FILMS OF LUCIO FULCI - THE MAESTRO OF GORE
    Quote Quote  
  24. Guest
    Hi again Fulcilives,

    Thanks for your help always.

    I run Win XP Pro SP1;

    I dw v 1.77 of DVD2AVI, the older version isn't available for dw anymore,, do you know where I can get it ?

    I will make a try copying the DLL's to system instead of system32, and let you know imediately, thanks;

    My script is like that (copied/pasted) :

    LoadPlugin("C:\Programas\MPEG2DEC.dll")
    LoadPlugin("C:\Programas\SmoothDeinterlacer.dll")
    MPEG2Source("D:\teste.d2v")
    SmoothDeinterlace(doublerate=true)
    LanczosResize(720,480)
    ChangeFPS(59.94) # or ConvertFPS(59.94)
    SeparateFields()
    SelectEvery(4,1,2)
    Weave()
    ConvertToRGB()

    I'l change the plug-ins path upon copying the DLL's to system folder.

    As soon as I get older version of DVD2AVI, and copy/paste the DLL's at system folder, I'll make a new test and tell you,

    THANKS !!!!

    Andre
    Quote Quote  
  25. Member FulciLives's Avatar
    Join Date
    May 2003
    Location
    Pittsburgh, PA in the USA
    Search Comp PM
    Originally Posted by andresalles
    Hi again Fulcilives,

    Thanks for your help always.

    I run Win XP Pro SP1;

    I dw v 1.77 of DVD2AVI, the older version isn't available for dw anymore,, do you know where I can get it ?

    I will make a try copying the DLL's to system instead of system32, and let you know imediately, thanks;

    My script is like that (copied/pasted) :

    LoadPlugin("C:\Programas\MPEG2DEC.dll")
    LoadPlugin("C:\Programas\SmoothDeinterlacer.dll")
    MPEG2Source("D:\teste.d2v")
    SmoothDeinterlace(doublerate=true)
    LanczosResize(720,480)
    ChangeFPS(59.94) # or ConvertFPS(59.94)
    SeparateFields()
    SelectEvery(4,1,2)
    Weave()
    ConvertToRGB()

    I'l change the plug-ins path upon copying the DLL's to system folder.

    As soon as I get older version of DVD2AVI, and copy/paste the DLL's at system folder, I'll make a new test and tell you,

    THANKS !!!!

    Andre
    Well your script looks correct but you can change the line that reads:

    ChangeFPS(59.94) # or ConvertFPS(59.94)

    To simply:

    ChangeFPS(59.94)

    Also please realize that you should ONLY use the ConvertToRGB() if you used YUV in DVD2AVI ... if you use RGB instead of YUV in DVD2AVI then you don't need this line. Also this is only really needed for when you use the script with TMPGEnc. If you ever use CCE then you should not use this line and use the YUV mode in DVD2AVI instead of the RGB option.

    Hope that isn't too confusing

    As for DVD2AVI Version 1.76 here is a link:

    http://www.doom9.org/Soft21/Decoders/DVD2AVI_176.zip

    This is a DIRECT link to the doom9 website and it should work but if it doesn't then go to the home page of the doom9 website and on the LEFT hand side CLICK on DOWNLOAD which takes you to the DOWNLOADS section. Then scroll down about half way or so down the page and you will see a section called DECODERS and the first one in the list is DVD2AVI 1.76

    So since you are using TMPGEnc I would go ahead and pick YUV 4:2:2 in DVD2AVI 1.76 and keep the ConvertToRGB() part in your Avisynth AVS script.

    Try it and let us know (I have my fingers crossed for you)

    - John "FulciLives" Coleman
    "The eyes are the first thing that you have to destroy ... because they have seen too many bad things" - Lucio Fulci
    EXPLORE THE FILMS OF LUCIO FULCI - THE MAESTRO OF GORE
    Quote Quote  
  26. Guest
    Dear Fulcilives.......

    IT WORKED !!!!!

    AGAIN : IT W-O-R-K-E-D !!!!!!!!!!

    Oh, let me clarify, it started working....... TMPGEnc finally accepted the AVS script and the "remaining time" now indicates over 10 hours to finish, I'll go to sleep (it's 3 am now in Brazil, I spent the entire day trying to make it to work !) and leave the PC working, tomorrow morning I expect to have the m2v file ready;

    So, I'll have to do is import both the M2V and AC3 files into DVditPE and author, OK ?
    Will the original chapters keep maintained ? And the DVD menu ?

    You're correct : it seems that error in "line 3" wasn't for not recognizing the MPEG2DEC dll and hence the MPEG2SOURCE command, but for broken d2v file created by buggy DVD2AVI 1.77 !!!!!

    Well, thanks again, I have no words to express my thankfulness !

    Tomorrow morning I'll return to it and expect to do not have so hard problems then...

    THAKS AGAIN Fulcilives !

    Andre
    Quote Quote  
  27. Member FulciLives's Avatar
    Join Date
    May 2003
    Location
    Pittsburgh, PA in the USA
    Search Comp PM
    Originally Posted by andresalles
    Dear Fulcilives.......

    IT WORKED !!!!!

    AGAIN : IT W-O-R-K-E-D !!!!!!!!!!

    Oh, let me clarify, it started working....... TMPGEnc finally accepted the AVS script and the "remaining time" now indicates over 10 hours to finish, I'll go to sleep (it's 3 am now in Brazil, I spent the entire day trying to make it to work !) and leave the PC working, tomorrow morning I expect to have the m2v file ready;

    So, I'll have to do is import both the M2V and AC3 files into DVditPE and author, OK ?
    Will the original chapters keep maintained ? And the DVD menu ?

    You're correct : it seems that error in "line 3" wasn't for not recognizing the MPEG2DEC dll and hence the MPEG2SOURCE command, but for broken d2v file created by buggy DVD2AVI 1.77 !!!!!

    Well, thanks again, I have no words to express my thankfulness !

    Tomorrow morning I'll return to it and expect to do not have so hard problems then...

    THAKS AGAIN Fulcilives !

    Andre
    See Andre that wasn't so hard afterall

    I'm glad you finally got it working. As for the audio you can use the original AC-3 audio from the PAL DVD. Now you will notice that the audio file has a delay value. This can be 0 (ZERO) or a negative vaule (at least it is usally a negative value if it isn't ZERO).

    If the original AC-3 has a ZERO delay value then you are A-OK. Simply import your new M2V file and the AC-3 audio file into any DVD authoring software that accepts that type of inputs (any good DVD authoring program should although I have never used DVditPE and don't know much about it but it should work).

    Now if the original AC-3 has a delay value otherthan ZERO then you should use a FREEWARE program called AC3 Delay Corrector which can be downloaded from the following website:

    http://home.t-online.de/home/520072193568-0001/

    You need to download 2 ZIP files. They are:

    1.) AC3 DELAY CORRECTOR V2.0
    2.) LIBRARY GFA WIN23.OCX

    You can't miss these when you are on the website link provided.

    Simply download and unzip both of them into a DIR which you can call whatever you like (I called mine AC3DELAY) and then you are ready to go.

    It is very simple to use. You input the original AC-3 and enter the delay value (which I think as I recall it does automatically) and then enter the name for the new AC-3 file it creates. The new AC-3 is an exact copy of the original except now the DELAY value should be 0 (ZERO)

    Now you are ready to import your M2V and AC-3 into your DVD authoring program of choice.

    You will have to create a new menu of your own design so no original menu unfortunately and the chapter information is lost so you will have to do your own chapters.

    One final word of advice and I hope it isn't too late but I hope you picked a VIDEO BITRATE in TMPGEnc that will produce a final M2V that when combined with the original AC-3 file will fit on a single DVD-R disc.

    Nothing worse than encoding a video for hours and hours only to find out that the video file + the audio file is more than what can fit on a DVD-R disc.

    Anyways let us know here how it all turns out when you are done

    - John "FulciLives" Coleman
    "The eyes are the first thing that you have to destroy ... because they have seen too many bad things" - Lucio Fulci
    EXPLORE THE FILMS OF LUCIO FULCI - THE MAESTRO OF GORE
    Quote Quote  
  28. Guest
    Hi Fulcilives,

    Thanks again, everything seems to be OK, after 10 hours of encoding on a 2.4 processor - a hard job;

    Comments :

    a) The audio delay, written on the name of the file itself, is zero - anyway, of course I have downloaded the software you indicated and will keep it carefully
    Good news is that there's indeed a new beta version that accepts DTS, but I'll stick to the version you indicated, thanks;
    And if there were only a PCM file ? Is there any sw that would fix its delay as well ?

    b) DVDitPE accepts audio AC3 and m2v streams, but I'll use DVD Maestro - reasons below.

    c) Regarding the Chapters : I have "Chapter X-tractor", it reads the IFO file of the original PAL disc and extracts it to a ".CHP" file, that can be later imported in Maestro - I don't think DVDitPE accepts it.
    I have already used it and I have all the chapters of the original PAL disc - OK.
    But.......shouldn't I make some correction in it, cause it refers to a PAL 25 fps disc, while I'll build a 29.97 one...well, I'l have to check it carefully;

    d) after having done the question, I realized how stupid I was when I made the menu question, of course the m2v file doesn't bring menu information

    e) Regarding the lenght of the new file and bitrate : I chose CBR 5000Kbps, which created a 4.8 GB file. Anyway....no big problem, as I'll burn the disc on my HD and have DVD Shrink to get it to the exact DVD-R size

    Again, Fulcilives, thank you, I'll continue working and let you know

    Andre
    Quote Quote  
  29. Member FulciLives's Avatar
    Join Date
    May 2003
    Location
    Pittsburgh, PA in the USA
    Search Comp PM
    Originally Posted by andresalles
    Hi Fulcilives,

    Thanks again, everything seems to be OK, after 10 hours of encoding on a 2.4 processor - a hard job;

    Comments :

    a) The audio delay, written on the name of the file itself, is zero - anyway, of course I have downloaded the software you indicated and will keep it carefully
    Good news is that there's indeed a new beta version that accepts DTS, but I'll stick to the version you indicated, thanks;
    And if there were only a PCM file ? Is there any sw that would fix its delay as well ?
    I've never run across a commercial DVD with LPCM audio so I don't know exactly how to handle that. Every DVD I ever ran through DVD2AVI had AC-3 except one that only had MP2 but that turned out to be a crappy bootleg DVD (didn't know when I bought it as an "import")

    Originally Posted by andresalles
    b) DVDitPE accepts audio AC3 and m2v streams, but I'll use DVD Maestro - reasons below.
    You can use any authoring program that accepts M2V and AC-3

    Originally Posted by andresalles
    c) Regarding the Chapters : I have "Chapter X-tractor", it reads the IFO file of the original PAL disc and extracts it to a ".CHP" file, that can be later imported in Maestro - I don't think DVDitPE accepts it.
    I have already used it and I have all the chapters of the original PAL disc - OK.
    But.......shouldn't I make some correction in it, cause it refers to a PAL 25 fps disc, while I'll build a 29.97 one...well, I'l have to check it carefully
    Well believe it or not but this method of PAL to NTSC results in a NTSC that is the same running length of the original PAL DVD so the chapters should match up. This is why the original sound also matches.

    Originally Posted by andresalles
    d) after having done the question, I realized how stupid I was when I made the menu question, of course the m2v file doesn't bring menu information
    hehehe it's ok :P

    Originally Posted by andresalles
    e) Regarding the lenght of the new file and bitrate : I chose CBR 5000Kbps, which created a 4.8 GB file. Anyway....no big problem, as I'll burn the disc on my HD and have DVD Shrink to get it to the exact DVD-R size
    Nothing wrong with that BUT in the future try to use the correct BITRATE to begin with as you will get better quality if you nail it with the original encode and NOT use DVDShrink. Here is a link to an excellent bitrate calculator:

    https://www.videohelp.com/calc

    Originally Posted by andresalles
    Again, Fulcilives, thank you, I'll continue working and let you know

    Andre
    Well I'm glad you finally got it to work for you

    - John "FulciLives" Coleman
    "The eyes are the first thing that you have to destroy ... because they have seen too many bad things" - Lucio Fulci
    EXPLORE THE FILMS OF LUCIO FULCI - THE MAESTRO OF GORE
    Quote Quote  
  30. Guest
    Hi Fulcilives,

    Thanks for the tip on the bit calculator, anyway, I miss the field in which the user should specify whether the audio is PCM, DD, MPEG or even DTS.

    For example, if I say I use 128 kbps audio, it makes a diference on the room left for video if I use DD or MPEG;

    If I use DD rather than MPEG, more room will be left for video stream, and the calculator should take that in consideration (?)....

    Thanks again for all your help, I'll probably author the DVD tomorrow with the chapters loaded automatically and tel you how it goes

    Andre
    Quote Quote  



Similar Threads