Skip to content

msbmteam/botw-gameplay-only

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Breath of the Wild speedrun cutscene remover
by Msbmteam

This application takes in an input video file in the current directory and 
outputs into the current directory a video file that is a subset of the input.

To use, create a file in the current directory called "config.json".  An example
config.json is specified below.

When the detect flag is true, the application will automatically detect the 
location of the heart container and identify clips where the heart container
is onscreen.  The heart container detection relies on having at least 0.5 seconds
where the screen is completely white (makes use of the fact that each speedrun video
must include the file selection, which means the "Open your eyes" cutscene is always
included within the first part of the video.

When the detect flag is false, this detection step is skipped.

In addition to the automatically detected clips, clips contained within the 
include array are included, and clips contained within the exclude array are 
excluded.  The include and exclude arrays are notated as follows: if the array
is [t1, t2, t3, t4], then the array specifies the region of the video from
t1 to t2 and from t3 to t4.

config.json example:
 
{
  "inFile": "DJCarmichael BotW All Shrines.mp4",
  "outFile": "as_djc_cut.mp4",
  "timestamps": 
  {
    "detect": true,
    "include": [
      2772.805122, 2776.820983,
      4367.741252, 4370.584647,
      7042.116682, 7044.761532,
      7980.322617, 7984.126669,
      8375.781315, 8377.779821,
      10243.73629, 10246.935629,
      10829.268895, 10831.375955,
      11331.768927, 11334.166194,
      11467.479518, 11471.162022,
      13943.560415, 13947.127076,
      14917.456149, 14921.30493,
      15535.939625, 15538.42098,
      16209.100641, 16212.708446,
      17230.719567, 17234.668619,
      18776.94536, 18781.209755
    ],
    "exclude": [
      424.227838, 451.713903,
      451.713903, 665.681815,
      867.777341, 886.720504,
      1061.460746, 1084.396244,
      1378.527253, 1405.869827,
      1498.064754, 1518.064754,
      1595.74134, 1620.74134,
      1795.707841, 1820.707841,
      1914.058418, 1935.058418,
      2175.854482, 2210.991688,
      2279.297087, 2301.954531,
      2425.556926, 2447.066635,
      2603.853058, 2625.928108,
      2721.226813, 2748.498867,
      2833.549777, 2855.084516,
      2948.282026, 2968.282026,
      3032.099394, 3052.099394,
      3110.722981, 3132.394222,
      3179.262542, 3199.575745,
      3553.160565, 3575.160565,
      3655.525034, 3676.731492,
      3751.231602, 3778.231602,
      4053.71693, 4074.733643,
      4186.690187, 4208.690187,
      4491.449541, 4521.449541,
      4596.423293, 4618.056561,
      4862.051315, 4885.910836,
      4974.180281, 4995.180281,
      5092.897423, 5114.55718,
      5229.791077, 5246.619309,
      5398.812329, 5422.280279,
      5600.786534, 5618.753286,
      5678.687467, 5699.634483,
      5831.956849, 5937.205006,
      6121.080873, 6140.078033,
      6194.795173, 6214.260418,
      6351.296135, 6368.761788,
      6444.037908, 6465.677021,
      6539.559341, 6560.118994,
      6717.795191, 6737.234389,
      6886.047758, 6907.649658,
      7014.763926, 7033.242613,
      7179.143479, 7202.724224,
      7297.53512, 7319.040645,
      7460.569304, 7477.952284,
      7604.845579, 7631.175587,
      7745.956487, 7766.648194,
      7934.602595, 7958.083347,
      8048.915959, 8067.978677,
      8201.213722, 8221.725536,
      8349.180292, 8367.544287,
      8466.302774, 8483.445349,
      8571.330376, 8591.933689,
      8742.734531, 8763.260626,
      8858.773487, 8877.312614,
      9056.506242, 9078.355137,
      9178.133401, 9196.907813,
      9327.400061, 9346.364688,
      9500.551486, 9521.510708,
      9580.524656, 9598.746983,
      9780.801743, 9801.548149,
      9878.909483, 9896.554073,
      9984.693899, 10003.440968,
      10097.595321, 10116.183124,
      10218.896451, 10237.745028,
      10399.890032, 10418.577067,
      10591.669214, 10609.901612,
      10688.500059, 10707.46262,
      10802.774975, 10821.667549,
      10985.89331, 11008.902643,
      11079.90275, 11097.267933,
      11341.663097, 11360.883774,
      11442.329822, 11460.821377,
      11633.012851, 11648.302302,
      11648.302302, 11758.400322,
      11850.798006, 11869.756501,
      11989.675791, 12011.398609,
      12111.269369, 12126.773976,
      12426.038944, 12448.434934,
      12693.422564, 12714.544829,
      12841.430897, 12860.610105,
      12937.725579, 12955.390705,
      13082.1404, 13101.360945,
      13304.055792, 13321.867445,
      13408.151392, 13424.799499,
      13655.487334, 13677.516875,
      13748.453, 13766.535629,
      13913.742947, 13936.255894,
      14035.032621, 14053.867158,
      14220.194466, 14238.281708,
      14400.641704, 14417.531574,
      14540.678551, 14560.120999,
      14718.604756, 14736.729844,
      14888.407098, 14908.367203,
      15035.390685, 15053.74442,
      15125.67692, 15141.24715,
      15231.481408, 15249.528168,
      15339.342387, 15360.948102,
      15508.078582, 15527.83117,
      15658.189988, 15676.00431,
      15774.979957, 15794.68101,
      15931.283282, 15950.318488,
      16037.686947, 16056.192,
      16181.85937, 16201.524992,
      16302.425134, 16322.201839,
      16581.087688, 16598.924584,
      16742.608728, 16760.333498,
      16853.246376, 16869.094113,
      17203.413119, 17223.808519,
      17317.548482, 17335.186291,
      17557.352599, 17576.612794,
      17647.776408, 17661.545066,
      17736.391249, 17753.709954,
      17821.010093, 17837.673868,
      17905.474393, 17923.283301,
      17995.846738, 18013.811603,
      18120.903101, 18138.179571,
      18238.007034, 18259.487173,
      18359.061546, 18373.983704,
      18507.679391, 18523.942333,
      18591.254031, 18607.526976,
      18722.247601, 18773.346839
    ]
  }
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages