VideoHelp Forum




+ Reply to Thread
Results 1 to 23 of 23
  1. Member
    Join Date
    Dec 2010
    Location
    quebec
    Search Comp PM
    i used XMedia Recode with this script :

    LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\mt_masktools-25.dll")
    LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\RemoveGrainSSE2.dll")
    LoadPlugin("C:\Users\...\...\VIDEO\MeGUI_2507_x86\ tools\dgindex\DGDecode.dll")
    DGDecode_mpeg2source("C:\Users\...\...\...\29\Symp horien ByeBye 2014_31_12_2014.d2v", info=3)
    LoadPlugin("C:\Users\...\Desktop\VIDEO\MeGUI_2507_ x86\tools\avisynth_plugin\ColorMatrix.dll")
    ColorMatrix(hints=true, threads=0)
    Import("C:\Program Files\AviSynth 2.5\plugins\srestore.avs")
    QTGMC()
    Srestore(frate=29.97)
    crop(100, 62, -100, -58)

    result on YT http://youtu.be/HIZefGO0PKE

    What took so long ? and what could be better ?
    Image Attached Files
    Last edited by smartel; 3rd Jan 2015 at 02:29.
    Quote Quote  
  2. Member
    Join Date
    Dec 2010
    Location
    quebec
    Search Comp PM
    my vista was really busy so ... may be infected or loaded

    pentium dual 1.8Ghz X2
    Quote Quote  
  3. DECEASED
    Join Date
    Jun 2009
    Location
    Heaven
    Search Comp PM
    Suggestions:

    1) test the Avisynth script in AVSmeter

    2) open the Task manager (ctrl + shift + esc) and see which processes might be interfering with Xmedia Recode
    Quote Quote  
  4. Banned
    Join Date
    Oct 2004
    Location
    Freedonia
    Search Comp PM
    The fact that you are running Vista is not very useful for us to know. Knowing what your CPU is would be useful. I don't use QTGMC but I can tell you that it takes a lot of CPU resources to use it and for sure it's why your encodes are so slow. If you even have a CPU that supports multi-threading, you need to use a special version of QTGMC that supports multi-threading. That would speed up your encodes, but they may still take hours because QTGMC is always slow.
    Quote Quote  
  5. Try QTGMC(preset="fast"). Use Task Manager to see what process is hogging up CPU time.

    <edit>

    Downloaded your MPG file. The script you used was inappropriate. The clip is straight 3:2 pulldown (no need for QTGMC -- unless you want it's other filtering) and had no field blending (no need for SRestore). Use this instead:

    Code:
    DGDecode_mpeg2source("Symphorien ByeBye 2014_31_12_2014.d2v", info=3)
    TFM()
    TDecimate()
    crop(100, 62, -100, -58)
    That took my computer (Intel 2500K) about 15 seconds to encode with x264 at the medium preset (which appears to be what you used). Your original script took about 8 minutes and resulted in jerky video (though the jerks are hard to see since there's not a lot of motion).

    You should also correct for the aspect ratio or encode with SAR flags.
    Image Attached Files
    Last edited by jagabo; 3rd Jan 2015 at 10:04.
    Quote Quote  
  6. Member
    Join Date
    Dec 2010
    Location
    quebec
    Search Comp PM
    i always use task manager , everytime i boot up

    well when i downloaded QTGMC i'm pretty shure i installed avisynth MT version with the instruction
    but when done it didn't seam to show up , the 2 versions can co-exist ?

    i could have save some time cropping before sRestore , i suppose

    i really like the results that QTGMC and Srestore can do together

    and i had Opencl (not OpenGl) error this week (and still have) , after installing and uninstalling some soft

    that why i used XMediaR-portable 'cause it didn't complain ,
    Quote Quote  
  7. Originally Posted by smartel View Post
    i could have save some time cropping before sRestore , i suppose
    Be careful cropping interlaced video. You need to crop vertically by mod4 to keep the chroma from blurring.
    Quote Quote  
  8. Member
    Join Date
    Dec 2010
    Location
    quebec
    Search Comp PM
    my source is from my tv card (ati 650)

    does that mean that all my TV capture are straight 3:2 pulldown ??

    or it may depend on the material that is aired , how can i tell ?
    Quote Quote  
  9. Member
    Join Date
    Dec 2010
    Location
    quebec
    Search Comp PM
    i won't crop interlaces clips i would deinterlace first
    Quote Quote  
  10. Originally Posted by smartel View Post
    my source is from my tv card (ati 650)

    does that mean that all my TV capture are straight 3:2 pulldown ??
    A large portion of it will be. Most movies and TV shows. Live sports will be pure interlaced.

    Originally Posted by smartel View Post
    or it may depend on the material that is aired , how can i tell ?
    Apply a bob() filter (or QTGMC() or Yadif(mode=1) or SeparateFields()). If you see a pattern of two repeated frames and three repeated frames you have film with 3:2 pulldown. If every frame is unique you have interlaced video.
    Quote Quote  
  11. If you're using a multithreaded build of AviSynth you need to use SetMtMode() to optimize for speed.

    Code:
    SetMtMode(mode=5, threads=4) # threads = try 1x to 2x the number of cores your CPU has
    Mpeg2Source()
    SetMtMode(mode=2)
    OtherFilters()
    Sometimes you need to add Distributor() at the end.
    Last edited by jagabo; 3rd Jan 2015 at 11:11.
    Quote Quote  
  12. Banned
    Join Date
    Oct 2014
    Location
    Northern California
    Search PM
    It would help if you could tell:

    - What CPU is in the computer
    - How much memory is installed
    - A screenshot of the task manager (in administrator mode) while encoding.

    You wrote: "pentium dual 1.8Ghz X2" , don't know what that means but if that translates into "duo core 2 1.8Ghz" then your computer is 8-9x slower than present day computers.
    Quote Quote  
  13. On my computer this script:

    Code:
    SetMtMode(5,6) 
    Mpeg2Source("D:\Downloads\Symphorien ByeBye 2014_31_12_2014.d2v", Info=3) 
    SetMtMode(2)
    QTGMC()
    Srestore(frate=29.97)
    crop(100, 62, -100, -58)
    Took about 150 seconds to encode. This script:

    Code:
    SetMtMode(5,6) 
    Mpeg2Source("D:\Downloads\Symphorien ByeBye 2014_31_12_2014.d2v", Info=3) 
    SetMtMode(2)
    crop(100, 60, -100, -60)
    QTGMC()
    Srestore(frate=29.97)
    Took about 100 seconds. So cropping before QTGMC() and SRestore() is faster but you're more limited with the crop.

    And this script:

    Code:
    SetMtMode(5,6) 
    Mpeg2Source("D:\Downloads\Symphorien ByeBye 2014_31_12_2014.d2v", Info=3) 
    SetMtMode(2)
    crop(100, 60, -100, -60)
    TFM()
    TDecimate()
    Deen()
    Took about 14 seconds and had an image quality close to the QTGMC script. And of course didn't have the duplicate frames. I think it's a little over filtered and would tone Deen() down a bit.
    Last edited by jagabo; 3rd Jan 2015 at 11:39.
    Quote Quote  
  14. Member
    Join Date
    Dec 2010
    Location
    quebec
    Search Comp PM
    System Information Report

    Général
    Système d'exploitation Microsoft® Windows Vista™ Édition Familiale Premium
    Processeur central Intel(R) Pentium(R) Dual CPU E2160 @ 1.80GHz

    Graphiques
    Adaptateur vidéo Intel(R) 82945G Express Chipset Family
    Mémoire vidéo 256,00 MB
    Résolution d'écran 800 x 600
    Stockage
    Mémoire totale 1,99 GB
    Mémoire libre 491,19 MB
    Total disque dur 335,35 GB
    Disque dur libre 23,79 GB


    Système d'exploitation
    Nom de l'OS Microsoft® Windows Vista™ Édition Familiale Premium
    Version de l'OS 6.0.6002
    Service Pack 2..
    Heure Système 2015-01-01 16:19:03
    Version d'Internet Explorer 9.0.8112.16421
    Version de Microsoft DirectX DirectX 10
    Version OpenGL 6.0.6000.16386 (vista_rtm.061101-2205)
    Registre
    Taille maximale 682 MB
    Taille actuelle 33 MB
    Statut OK
    Processeur central
    Nom CPU Intel(R) Pentium(R) Dual CPU E2160 @ 1.80GHz
    Nom de code Modèle 15, niveau 13
    Fournisseur GenuineIntel
    Vitesse d'horloge actuelle 1800 Mhz
    Vitesse d'horloge maximale 1800 Mhz
    Voltage 1,3V
    Horloge externe 200 Mhz
    ID CPU x64 Family 6 Model 15 Stepping 13
    Désignation Socket CPU 1
    L1-Cache 64 KB
    L2-Cache 1024 KB
    Carte mère
    Modèle Lancaster8
    Fournisseur ASUSTeK Computer INC.
    Nom du BIOS BIOS Date: 11/20/07 20:30:00 Ver: 5.18
    Vendeur du BIOS American Megatrends Inc.
    Version SMBIOS 5.18
    Date du BIOS 2007-11-20
    Fonctions du BIOS
    ISA is supported Oui
    PCI is supported Oui
    Plug and Play is supported Oui
    BIOS is Upgradable (Flash) Oui
    BIOS shadowing is allowed Oui
    ESCD support is available Oui
    Boot from CD is supported Oui
    Selectable Boot is supported Oui
    BIOS ROM is socketed Oui
    EDD (Enhanced Disk Drive) Specification is supported Oui
    Int 13h - 5.25 /1.2MB Floppy Services are supported Oui
    Int 13h - 3.5 / 720 KB Floppy Services are supported Oui
    Int 13h - 3.5 / 2.88 MB Floppy Services are supported Oui
    Int 5h, Print Screen Service is supported Oui
    Int 9h, 8042 Keyboard services are supported Oui
    Int 14h, Serial Services are supported Oui
    Int 17h, printer services are supported Oui
    Int 10h, CGA/Mono Video Services are supported Oui
    ACPI supported Oui
    USB Legacy is supported Oui
    LS-120 boot is supported Oui
    ATAPI ZIP Drive boot is supported Oui
    Ressource mémoire
    Mémoire totale 1,99 GB
    Mémoire utilisée 1,51 GB
    Mémoire libre 494,21 MB
    Utilisation mémoire 75%
    Mémoire Physique
    Banque mémoire BANK0
    Description Physical Memory 0
    Localisation périphérique DIMM0
    Capacité 1,00 GB
    Vitesse 667 Mhz
    Fournisseur AD00000000000000
    Largeur de donnée 64 bit
    Type de mémoire
    Facteur de forme DIMM
    Mémoire Physique
    Banque mémoire BANK2
    Description Physical Memory 1
    Localisation périphérique DIMM2
    Capacité 1,00 GB
    Vitesse 667 Mhz
    Fournisseur AD00000000000000
    Largeur de donnée 64 bit
    Type de mémoire
    Facteur de forme DIMM
    lecteurs de disque
    Nom ST3360320AS ATA Device
    Type de média Fixed hard disk media
    Capacité 335,35 GB
    Type d'interface IDE
    Partitions 2
    Cylindres totaux 43777
    Têtes totales 255
    Secteurs totaux 703277505
    Pistes totales 11163135
    Pistes par cylindre 255
    Octets par secteur 512
    Secteurs par piste 63
    Support S.M.A.R.T Oui
    Température actuelle 0C (32F)
    Lecteur de CD-ROM
    Nom ELBY CLONEDRIVE SCSI CdRom Device
    Disque F:
    Taux de transfert -1
    Statut OK
    Contrôleur IDE
    Nom Contrôleurs de stockage Ultra ATA Intel(R) 82801G (famille ICH7)*-*27DF
    Fournisseur Intel
    Statut OK
    Contrôleur IDE
    Nom Canal IDE
    Fournisseur (Contrôleurs ATA/ATAPI IDE standard)
    Statut OK
    Contrôleur IDE
    Nom Canal IDE
    Fournisseur (Contrôleurs ATA/ATAPI IDE standard)
    Statut OK
    Contrôleur IDE
    Nom Contrôleur de stockage Serial ATA Intel(R) 82801GB/GR/GH (famille ICH7)*-*27C0
    Fournisseur Intel
    Statut OK
    Contrôleur IDE
    Nom Canal IDE
    Fournisseur (Contrôleurs ATA/ATAPI IDE standard)
    Statut OK
    Contrôleur IDE
    Nom Canal IDE
    Fournisseur (Contrôleurs ATA/ATAPI IDE standard)
    Statut OK
    Adaptateur vidéo
    Nom Intel(R) 82945G Express Chipset Family
    processeur vidéo Intel(R) 82945G Express Chipset Family
    Fournisseur Intel Corporation
    Architecture vidéo VGA
    Type DAC Internal
    Taille mémoire 256,00 MB
    Type mémoire Unknown
    Mode vidéo 800 x 600 x 4294967296 couleurs
    Actuel taux de rafraîchissement 60 Hz
    Version de pilote 7.14.10.1461
    Date de pilote 2008-03-25 20:44:24
    Quote Quote  
  15. Banned
    Join Date
    Oct 2014
    Location
    Northern California
    Search PM
    Originally Posted by smartel View Post
    What took so long ?
    Basically your computer is too slow, your CPU benchmarks as 7-8-x as slow as present day computers.

    That's why it took so long.
    Quote Quote  
  16. Originally Posted by newpball View Post
    Originally Posted by smartel View Post
    What took so long ?
    Basically your computer is too slow, your CPU benchmarks as 7-8-x as slow as present day computers.

    That's why it took so long.
    8 times longer than my computer's 2.5 minutes would be 20 minutes. Not 10 hours.
    Quote Quote  
  17. Member
    Join Date
    Dec 2010
    Location
    quebec
    Search Comp PM
    i used 2 scripts one feeding the other maybe that didn't help
    Image Attached Files
    Quote Quote  
  18. Banned
    Join Date
    Oct 2014
    Location
    Northern California
    Search PM
    Originally Posted by jagabo View Post
    Originally Posted by newpball View Post
    Originally Posted by smartel View Post
    What took so long ?
    Basically your computer is too slow, your CPU benchmarks as 7-8-x as slow as present day computers.

    That's why it took so long.
    8 times longer than my computer's 2.5 minutes would be 20 minutes. Not 10 hours.
    Well CPU power is obviously not the only factor.

    - Modern CPUs are better suited for video processing, your Pentium may lack some instructions.
    - You are using an IDE interface.
    - Also having less than 500 Mb left may trigger the OS to start paging some memory.
    - Also it seems your OS drive and work drive are the same.
    Last edited by newpball; 3rd Jan 2015 at 14:05.
    Quote Quote  
  19. Originally Posted by newpball View Post
    - Also having less than 500 Mb left may trigger the OS to start paging some memory.
    Of the things you listed that's about the only thing that could account for the 30x discrepancy. Try using SetMemoryMax(200) or so.
    Quote Quote  
  20. Member
    Join Date
    Jan 2014
    Location
    Kazakhstan
    Search Comp PM
    Hi,
    It seems that the problems of hard drive (overheating, driver, aging elements). Ancient machine.
    What will this test? > x264 HD Benchmark
    Quote Quote  
  21. Originally Posted by Gravitator View Post
    It seems that the problems of hard drive (overheating, driver, aging elements).
    Not likely. The source is only 50 MB and the output file only 11 MB. His computer would take a month to boot if the hard drive was that slow.
    Quote Quote  
  22. Another data point: An Athlon X2 255 (not too different from the OP's CPU) ran the original script in about 12 minutes with singled threaded AviSynth 2.6.
    Quote Quote  
  23. Member
    Join Date
    Dec 2010
    Location
    quebec
    Search Comp PM
    all my other encodes are going fine , i was thinking it was with the script

    i tried x264 HD Benchmark but was really too slow
    8 passes to do and after 30 minutes a was still at the 2nd pass
    Quote Quote  
Visit our sponsor! Try DVDFab and backup Blu-rays!