The following is a small guide on decoding RF laserdisc captures (.lds/.ldf) with ld-decode.
- The following information needs to be known.
- PAL or NTSC?
- If NTSC, is it NTSCJ?
- CAV or CLV?
- Analog or Digital Audio?
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 |
#/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 |
#!/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/ |
#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 | |
#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)) |
#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 |