VideoHelp Forum




+ Reply to Thread
Results 1 to 8 of 8
  1. Member brassplyer's Avatar
    Join Date
    Apr 2008
    Location
    United States
    Search Comp PM
    Deinterlacing and going from DV to HuffYuv with this script

    SetMemoryMax(768)
    SetMTMode(3, 4)
    FFMpegSource2("sourcevideo.avi", atrack=-1)
    ConverttoYv12(interlaced=true)
    SetMtMode(2)
    QTGMC (Preset="fast")
    RemoveGrain (mode=17)
    crop (8,0,-8,-8)

    Seems to result in backwards fields - i.e. when you view frame by frame with Virtualdub you get the forward/back motion.

    Any suggestions?

    Thanks.
    Quote Quote  
  2. Stick in an 'AssumeTFF()' or 'AssumeBFF()' after the FFMPEGSource2 line, whichever fixes it.
    Quote Quote  
  3. Banned
    Join Date
    Oct 2004
    Location
    New York, US
    Search Comp PM
    Originally Posted by brassplyer View Post
    Deinterlacing and going from DV to HuffYuv with this script

    SetMemoryMax(768)
    SetMTMode(3, 4)
    FFMpegSource2("sourcevideo.avi", atrack=-1)
    ConverttoYv12(interlaced=true)
    SetMtMode(2)
    QTGMC (Preset="fast")
    RemoveGrain (mode=17)
    crop (8,0,-8,-8)

    Seems to result in backwards fields - i.e. when you view frame by frame with Virtualdub you get the forward/back motion.

    Any suggestions?

    Thanks.
    Isn't DV already YV12?

    DV is usually BFF.
    Last edited by sanlyn; 25th Mar 2014 at 13:03.
    Quote Quote  
  4. Member brassplyer's Avatar
    Join Date
    Apr 2008
    Location
    United States
    Search Comp PM
    Originally Posted by manono View Post
    Stick in an 'AssumeTFF()' or 'AssumeBFF()' after the FFMPEGSource2 line, whichever fixes it.
    Thanks, AssumeTFF does the trick.

    I thought it's standard for the fields to be bottom field first?
    Quote Quote  
  5. Member brassplyer's Avatar
    Join Date
    Apr 2008
    Location
    United States
    Search Comp PM
    Originally Posted by sanlyn View Post
    Originally Posted by brassplyer View Post
    Deinterlacing and going from DV to HuffYuv with this script

    SetMemoryMax(768)
    SetMTMode(3, 4)
    FFMpegSource2("sourcevideo.avi", atrack=-1)
    ConverttoYv12(interlaced=true)
    SetMtMode(2)
    QTGMC (Preset="fast")
    RemoveGrain (mode=17)
    crop (8,0,-8,-8)

    Seems to result in backwards fields - i.e. when you view frame by frame with Virtualdub you get the forward/back motion.

    Any suggestions?

    Thanks.
    Isn't DV already YV12?
    I think it's the remove grain that requires the conversion to YV12. Without it you get a message about masktools only working with planar color spaces.

    DV is usually BFF.
    That's what i thought but the AssumeTFF works here...??
    Quote Quote  
  6. Banned
    Join Date
    Oct 2004
    Location
    New York, US
    Search Comp PM
    Th "DV" format is BFF, YV12. I see you are opening an "AVI". What encoder was used on the video inside the "AVI"? Is it DivX? XVid? Apparently you refer to an "AVI" with a losslessly compressed RGB or YUY2 video file inside of it, because those are the only two colorspaces that can be used with huffyuv compression. So there's no way you could go from "DV" to "huffyuv". Your original source might have been an AVI container, but it sure didn't have "DV" inside of it.
    Last edited by sanlyn; 25th Mar 2014 at 13:03.
    Quote Quote  
  7. Originally Posted by sanlyn View Post
    Isn't DV already YV12?
    NTSC DV is internally YUV 4:1:1. What comes of the decoder depends on what the decoder and editor negotiate. In most cases it will be YUY2. Some decoders only output RGB (Panasonic DV Codec <-- never use this codec). PAL DV is internally YUV 4:2:0 and usually comes out as interlaced YV12.
    Quote Quote  
  8. Banned
    Join Date
    Oct 2004
    Location
    New York, US
    Search Comp PM
    Ah .The matter is clarified.
    Quote Quote  



Similar Threads

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