Menu

#291 Sylia Error Running Batch Job

open
nobody
None
question
2020-01-15
2020-01-14
Anonymous
No

Sylia Error (copied from VirtualDub.jobs script)

// $error "Error during script execution at line 25, column 47: error in internal sylia linkages\x0a\x0a
Virtualdub.video.filters.instance[].config(0)<!>;\x0a\x0avirtualdub.video.filters.EndUpdate();\x0a\x0aVirtualD"

Filters from the .jobs script.

VirtualDub.video.filters.BeginUpdate();
VirtualDub.video.filters.Clear();
VirtualDub.video.filters.Add("Box Blur");
VirtualDub.video.filters.instance[0].Config(1, 2);
VirtualDub.video.filters.Add(gamma correct");
VirtualDub.video.filters.instance[1].Config(0);
VirtualDub.video.filters.EndUpdate();
VirtualDub.video.filters.Clear();

Discussion

  • Anton Shekhovtsov

    Please attach entire .jobs file so I can test it (and find line 25 in it).

     
  • Anonymous

    Anonymous - 2020-01-15

    // VirtualDub job list (Sylia script format)
    // This is a program generated file -- edit at your own risk.
    //
    // $signature 0 1
    // $numjobs 1
    //

    // $job "Job 1"
    // $data ""
    // $input "F:\title.mkv"
    // $output "D:\title.avi"
    // $state 5
    // $id 29ecd6f20042d2c0
    // $runner_id 29ecd23a000004c8
    // $runner_name "av"
    // $start_time 01d5cab8 75d354f8
    // $end_time 01d5cab8 75e667c8
    // $error "Error during script execution at line 25, column 47: error in external Sylia linkages\x0a\x0a VirtualDub.video.filters.instance[1].Config(0)<!>;\x0d\x0aVirtualDub.video.filters.EndUpdate();\x0d\x0aVirtualD"
    // $script

    // $script

    VirtualDub.Open("F:\title.mkv","",0);
    VirtualDub.audio.SetSource(1);
    VirtualDub.audio.SetMode(0);
    VirtualDub.audio.SetInterleave(1,500,1,0,0);
    VirtualDub.audio.SetClipMode(1,1);
    VirtualDub.audio.SetEditMode(1);
    VirtualDub.audio.SetConversion(0,0,0,0,0);
    VirtualDub.audio.SetVolume();
    VirtualDub.audio.SetCompression();
    VirtualDub.audio.EnableFilterGraph(0);
    VirtualDub.video.SetInputFormat(0);
    VirtualDub.video.SetOutputFormat(0);
    VirtualDub.video.SetMode(3);
    VirtualDub.video.SetSmartRendering(0);
    VirtualDub.video.SetPreserveEmptyFrames(0);
    VirtualDub.video.SetFrameRate2(0,0,1);
    VirtualDub.video.SetIVTC(0, 0, 0, 0);
    VirtualDub.video.SetCompression(0x34363278,0,10000,0);
    //VirtualDub.video.SetCompData(9336,
    VirtualDub.video.filters.BeginUpdate();
    VirtualDub.video.filters.Clear();
    VirtualDub.video.filters.Add("box blur");
    VirtualDub.video.filters.instance[0].Config(1, 2);
    VirtualDub.video.filters.Add("gamma correct");
    VirtualDub.video.filters.instance[1].Config(0);
    VirtualDub.video.filters.EndUpdate();
    VirtualDub.audio.filters.Clear();
    VirtualDub.subset.Clear();
    VirtualDub.subset.AddRange(0,144192);
    VirtualDub.video.SetRange();
    VirtualDub.project.ClearTextInfo();
    // -- $reloadstop --
    VirtualDub.SaveAVI("D:\title.avi");
    VirtualDub.audio.SetSource(1);
    VirtualDub.Close();

    // $endjob
    //
    //--------------------------------------------------
    // $done

     

    Last edit: Anton Shekhovtsov 2020-01-15
  • Anton Shekhovtsov

    looks like you use distributed batch and your server has older VirtualDub, you need to update it

     
  • Anonymous

    Anonymous - 2020-01-15

    The above didn't produce a nice video but did get rid of the bad interlace (box blur). Output became a washy video and blocky (too much gamma).
    (We cannot always improve ..it we just add to ..it which makes ..it worse).
    This was an exercise to rid the interlace which it did do with to much blur. To do again would need sharpening or similar and color restoring. Though would look for a better way, not worth it with the poor bitrate of the source leading to blockiness.

    Just a test but gained an error. I wonder if one of those filters if one was one of those older filters. Use 'Force Single Frame Buffer' this I never thought of until writing this now.

     
  • Anonymous

    Anonymous - 2020-01-15

    HAve update Virtualdub2 earlier today hope all will be ok and not encounter similar error with others videos. This error was a first.

     
    • Anton Shekhovtsov

      I'm not sure that you understood my message.
      Do you have another VirtualDub2 folder (maybe on another pc) which connects to batch jobs?
      You need to have all of them same version.

      Before certain fix "gamma correct" had error in its parameters definition.

       
  • Anonymous

    Anonymous - 2020-01-15

    Will go and test with latest Virtualdub2 (new script to be sure). Didn't think the scripts would change the above script was made in Virtualdub 1.10.5 prerelease and copied to Virtualdub2 when it failed and so did Virtualdub2.

     
  • Anonymous

    Anonymous - 2020-01-15

    Test Passed which goes to show we should not used .jobs files from older Virualdub.

    Is this a you have made in Virtualdub2 that fixes script problems with the older Virtualdub builds. I have used working older Virtualdub scripts but not ones that failed with Virtualdub2.

    Again the above filters and video actualy encodes with Virtualdub2 but not with the older Virtualdub 1.10.5.

     
  • Anton Shekhovtsov

    Older scripts should always load into newer builds but not always in opposite direction.
    It's still unclear what actually failed here. Maybe the script already had error from Virtualdub 1.10

     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB