VideoHelp Forum

Our website is made possible by displaying online advertisements to our visitors. Consider supporting us by disable your adblocker or try DVDFab and copy, convert or make Blu-rays and DVDs! :)
+ Reply to Thread
Results 1 to 5 of 5
Thread
  1. Member brassplyer's Avatar
    Join Date
    Apr 2008
    Location
    United States
    Search Comp PM
    Saw this in a collection of scripts. Shouldn't the Selecteven() be after the QTGMC command?

    SetMTMode(3, 4)
    FFMpegSource2("Z:\sourcefile.avi")
    AssumeBFF()
    Selecteven()
    ConverttoYv12(interlaced=true)
    SetMtMode(2) # uses less memory than mode 3
    QTGMC (Preset="medium")
    crop (8,0,-8,-8)
    Quote Quote  
  2. It's probably wrong. But it depends on the source. For example, if someone created a 60 fps video by duplicating every frame of an interlaced 30 fps video SelectEven() before QTGMC() would be appropriate.
    Last edited by jagabo; 27th Apr 2014 at 00:04.
    Quote Quote  
  3. Member
    Join Date
    Sep 2012
    Location
    Australia
    Search Comp PM
    Code:
    ConverttoYv12(interlaced=true)
    May indicate the source file was progressive. Mayhaps an attempt to clean up a badly double-rate de-interlaced encode. Without seeing the file it was intended for and without understanding the abilities of the author we can only guess.

    But for your purposes, I'm guessing it's wrong.
    Quote Quote  
  4. ffmpeg source sometimes returns duplicate frames from interlaced sources -- each interlaced frame is returned twice in a row.
    Quote Quote  
  5. Member
    Join Date
    Sep 2012
    Location
    Australia
    Search Comp PM
    Known issues
    •Interlaced H.264 is decoded in an odd way; each field gets its own full-height frame and the fieldrate is reported as the framerate, and furthermore one of the fields (odd or even) may "jump around". To get the correct behavior, you can try setting fpsnum and fpsden so that the framerate is halved (may or may not work). This issue is caused by libavcodec.
    Quote Quote