VideoHelp Forum




+ Reply to Thread
Results 1 to 7 of 7
  1. I have 25p footage from a Canon 70D DSLR. I am trying to put it through the frame interpolation script discussed below but it keeps reporting 'out of memory'. I converted the footage to DNxHD format and tried to put that through the script but that keeps failing as well (it cannot open that file).

    https://forum.videohelp.com/threads/350929-Progressive-to-Interlaced-covertion-adding-c...=1#post2200764
    Quote Quote  
  2. Try using SetMemoryMax(1024) or less at the start of the script.
    Quote Quote  
  3. No, that has not made any difference. Virtual dub opens the script ok and shows the first frame.But if you try to play, save as avi or preview it comes up with error 'Out of memory'.
    Quote Quote  
  4. If you're using a multithreaded build of AviSynth try using SetMtMode(5,1). If that works, work your way up from there.

    If you're not using a multithreaded build you may have a version conflict with all the filters.
    Quote Quote  
  5. No, that did not work either. I am beginning to think this is a filter issue. I know that the Canon compression is a bit of a bitch and heavy on resources. Here is the info on clip:

    General
    Complete name : K:\Sk\70D\Card-1\MVI_2649.MOV
    Format : MPEG-4
    Format profile : QuickTime
    Codec ID : qt
    File size : 77.4 MiB
    Duration : 20s 600ms
    Overall bit rate : 31.5 Mbps
    Encoded date : UTC 2014-08-12 11:40:40
    Tagged date : UTC 2014-08-12 11:40:40
    com.apple.quicktime.make : Canon
    com.apple.quicktime.model : Canon EOS 70D

    Video
    ID : 1
    Format : AVC
    Format/Info : Advanced Video Codec
    Format profile : High@L4.1
    Format settings, CABAC : No
    Format settings, ReFrames : 2 frames
    Format settings, GOP : M=3, N=10
    Codec ID : avc1
    Codec ID/Info : Advanced Video Coding
    Duration : 20s 600ms
    Bit rate : 29.9 Mbps
    Width : 1 920 pixels
    Height : 1 080 pixels
    Display aspect ratio : 16:9
    Frame rate mode : Constant
    Frame rate : 25.000 fps
    Color space : YUV
    Chroma subsampling : 4:2:0
    Bit depth : 8 bits
    Scan type : Progressive
    Bits/(Pixel*Frame) : 0.578
    Stream size : 73.5 MiB (95%)
    Language : English
    Encoded date : UTC 2014-08-12 11:40:40
    Tagged date : UTC 2014-08-12 11:40:40
    Color primaries : BT.709-5, BT.1361, IEC 61966-2-4, SMPTE RP177
    Transfer characteristics : BT.709-5, BT.1361
    Matrix coefficients : BT.709-5, BT.1361, IEC 61966-2-4 709, SMPTE RP177

    Audio
    ID : 2
    Format : PCM
    Format settings, Endianness : Little
    Format settings, Sign : Signed
    Codec ID : sowt
    Duration : 20s 600ms
    Bit rate mode : Constant
    Bit rate : 1 536 Kbps
    Channel(s) : 2 channels
    Channel positions : Front: L R
    Sampling rate : 48.0 KHz
    Bit depth : 16 bits
    Stream size : 3.77 MiB (5%)
    Language : English
    Encoded date : UTC 2014-08-12 11:40:40
    Tagged date : UTC 2014-08-12 11:40:40

    Menu
    ID : 3
    Language : English
    Encoded date : UTC 2014-08-12 11:40:40
    Tagged date : UTC 2014-08-12 11:40:40
    Bit rate mode : CBR
    Quote Quote  
  6. Did you try SetMemoryMax with lower values? That setting is somewhat counter intuitive. it limits how much memory AviSynth and its internal filters use. It does not limit the memory usage of 3rd party filters or the program opening the script. So the solution to running out of memory is to reduce the amount AviSynth is using. So try SetMemoryMax(200) or something like that. 32 bit programs are limited to 2.5 to 3.5 GB of memory usage under both 32 and 64 bit Windows.

    As an experiment, try reducing the frame size before calling DoubleFPS2:

    Code:
    WhateverSource()
    BilinearResize(720,400)
    DoublsFPS2()
    If DoubleFPS2() is running out of memory that may eliminate the problem.

    If you are using other memory hungry filters try removing them.

    I don't think decoding of your source is a problem. But try using a different source filter. ffVideoSource(), DirectShowSource(), AVCSource(), etc.

    If you try all that and still have problem you'll need to look at software versions. I'm using AviSynth 2.6 (a beta build) and MvTools 2.
    Last edited by jagabo; 22nd Sep 2014 at 11:47.
    Quote Quote  
  7. I ran out of time and did not get to the bottom of this. However, I managed to frameserv the clip from AP to VDub running the script. Only problem now is that I cannot directly output to my preferred DNxHD format (VDub does not seem to pick up the codec). I have to put out to Lagraith lossles and then convert to DNxHD afterwards.
    Quote Quote  
Visit our sponsor! Try DVDFab and backup Blu-rays!