- Note: If any links are broken or you know of any more useful guides, please contact me with any suggestions.
- Last Updated: 2020Sep28
- Markdown and white version available here, alternative, click on "Raw".
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#from vapoursynth import core # | |
import vapoursynth as vs | |
core = vs.get_core() | |
#import mvsfunc as mvf #only import mvsfunc if using BM3D | |
#load video | |
vidPath=r"C:\Users\User\video.mkv" #absolute path is required | |
vidPath=r"myscript.avs" | |
#ffms2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#load video | |
vid="c:\myvideo.mkv" | |
aud=vid | |
#load normal video, | |
#FFM2 does not handle yuv422p or yuv444p video well, regardless of codec, or 10-12 bit-depth. | |
FFVideoSource(vid) | |
FFIndex(vid) AudioDub(FFVideoSource(vid), FFAudioSource(aud)) | |
FFIndex(vid) AudioDub(FFVideoSource(vid,fpsnum=24000,fpsden=1001,colorspace="yv12"), FFAudioSource(aud,track=0)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#To create: | |
ffmpeg -i myvideo.avs -vf "fps=24000/1001" out\image-%06d.png | |
ffmpeg -i "myvideo.avs" -vf "fps=24000/1001" -pix_fmt rgb24 "out\video-%06d.png" | |
ffmpeg -i input.avi -vf "fps=24000/1001" -pix_fmt rgba out\image-%06d.tiff | |
ffmpeg -i input.avi -vf "fps=24000/1001" -pix_fmt rgb24 -compression_algo raw out\image-%06d.tiff | |
-pix_fmt rgb24, rgba, yuv420p, yuv422p, yuv444p | |
-output: png, jpg, bmp, tif, tiff | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# https://github.com/qbittorrent/qBittorrent/wiki/Setting-up-qBittorrent-on-Ubuntu-server-as-daemon-with-Web-interface-(15.04-and-newer) | |
# https://github.com/qbittorrent/qBittorrent/wiki/Compiling-qBittorrent-on-Debian-and-Ubuntu | |
# https://github.com/qbittorrent/qBittorrent/wiki/Compiling-qBittorrent-on-Raspbian-for-LeMaker-Banana-Pro | |
sudo su - | |
cd /home/pi/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#/bin/bash | |
#exit script if an error occurs | |
set -e | |
if [ -z "$1" ] || [ "$1" = "--help" ] || [ "$1" = "-h" ] ; then \ | |
echo Syntax: $0 inputFile.ldf cavOrClv ntscOrPal combFilter digitalOrAnalogAudio length startAt white ntscj | |
echo Examples: | |
echo $0 /home/user/Downloads/myFile.lds clv ntsc | |
echo $0 myFile.lds cav ntsc ntsc3d digital 1000 500 true true | |
echo $0 myFile.ldf clv pal pal2d none 0 500 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'zlib' | |
# Some data structures that are common to both VX and VX Ace. | |
class Rect | |
def initialize(x, y, width, height) | |
@x = x | |
@y = y | |
@width = width | |
@height = height |