VideoHelp Forum




+ Reply to Thread
Results 1 to 3 of 3
  1. Please help me in saving/grabing frames from m2tsi movie file.

    input : m2ts video file
    out put : ALL frames saved as bmp files.

    I used following script, and could see m2tsi movie on the screen, but all saved bmp files are corrupted. My similar/simple code worked OK with avi video file. What is wrong with my script ?
    What I need is ALL frames of m2tsi video file converted in bmp files. (For test purpose, I have trimmed frames.) Without yadif.dll, my bmp files are corrupted as well.

    Thanks in advance for your help.

    DirectShowSource("C:\ux7.m2ts")
    load_stdcall_plugin("C:\AviSynth\yadif17\yadif.dll")
    yadif(mode=1)
    Trim (0, 5)
    ImageWriter(file = "C:\im\Remo%03d.bmp")
    ===
    At my other post, thanks for poisondeathray, poisondeathray suggested to use following. Now bmp file is OK, but image quality is bad. 1 or 2 pixels seem shifted away etc. Any cure to fix the problem? Thanks for all.

    DirectShowSource("video.m2ts")
    ConvertToRGB(matrix="rec709")
    Last edited by jhpark; 15th Oct 2012 at 05:46.
    Quote Quote  
  2. I found solution using virtualDub. Thanks to poisondeathray.
    Quote Quote  
  3. and manono

    you should reference where you detailed the problem and solution
    https://forum.videohelp.com/threads/350045-%5BQ%5D-video-frame-grabbing-software

    In your script above, you are single rate deinterlacing (half the fields are thrown away)

    If you wanted to use yadif with double rate deinteralcing

    Yadif(mode=1, order=1)

    You need to specify order =1 for top field first (all HD content is usually top field first)


    Another option is to use slower, higher quality deinterlacers like QTGMC
    Quote Quote  



Similar Threads

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