VideoHelp Forum




+ Reply to Thread
Results 1 to 2 of 2
  1. Member
    Join Date
    Aug 2016
    Location
    United States
    Search Comp PM
    Hi, this is my first post and I do apologize if this post does not belong here. I was hoping to get assistance on an issue I am having. I am capturing videos using Virtual Dub that go into a folder Captured Videos. I wrote a .cmd script that processes the conversion and placed it in the folder with the captured videos. Here is the script:

    @echo off
    for %%a in ("*.avi") do "C:\Program Files\WinFF\ffmpeg" -y -i "%%a" -itsoffset 0.765 -i "%%a" -map 1:0 -map 0:1 -crf 20.0 -vcodec libx264 -filter:v scale=1280:720 -preset slow -acodec libvo_aacenc -ar 48000 -b:a 128k -coder 1 -flags +loop -cmp chroma -partitions +parti4x4+partp8x8+partb8x8 -me_method hex -subq 6 -me_range 16 -g 250 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -b_strategy 1 -threads 0 "D:\Aaron Cirlin\Videos\Movies\%%~na.mp4" & del "%%a"
    pause

    This script functions perfectly when double clicking the file, but when I schedule a task in task scheduler (Windows 10), and attempt to run it, I get an error:

    "Not enough storage space to process this command"

    In the task scheduler actions, in the actions my configuration is as follows:

    under the command/script section I placed: cmd

    under the add arguments section I placed: /c start "" "D:\Aaron Cirln\Videos\Captured Movies\conversions.cmd"

    So, is there something I need to place in the script or am I doing something wrong in the task scheduler.

    Any help would be greatly appreciated.
    Quote Quote  
  2. Member
    Join Date
    Aug 2016
    Location
    United States
    Search Comp PM
    I actually figured this out and is now functioning properly but thought I would post the resolution for anyone else having this issue. I wound up running regedit and establishing a value for IRPStackSize and I needed to edit the script file slightly to put the full path to the videos I am converting and then I moved the file into the windows/system 32 folder on my C drive.
    Quote Quote  



Similar Threads

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