Skip to content

Windows Build

Harry Munday edited this page Oct 16, 2023 · 28 revisions

Windows Native Builds

VHS-Decode-Windows-2023

Downloads

The RF Decoders, Tools Suite & Export Tool are bundled into one easy to use release.

Download Here

Dependencies

Microsoft Visual C++ 2022 Redistributable to be installed (Often already installed by other apps)

&

GNU Radio Companion

Install FFmpeg/SoX/FLAC inside windows

These commands will install these in PATH so the tools are available system-wide.

Open a PowerShell Terminal as administrator.

Install Choco (chocolatey package manager)

Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))

Then you can install the following system-wide without any hassle.

Install FFmpeg

choco install ffmpeg

Install FLAC

choco install flac

Install SoX

choco install sox.portable

Quality of Life Improvements

Giving ld-analyse.exe an Icon

Setting .tbc files to always open with ld-analyse via right click --> open with then at the bottom look for anouther app on this PC then after browsing to ld-analyse.exe in your decode or ld-tools folder always use this app to open .tbc files and your done!

Giving .tbc files an Icon, this can be done system wide via

Usage

Windows terminal is the quickest way, to have it always open as CMD go into settings --> default profile --> command prompt. then right click and open in terminal inside the decode directory.

You can also use CMD Command Prompt / Powershell directly and just cd to the directory.

Once your inside decode folder and run decode.exe followed by a space with the vhs / ld / cvbs for the respective decoders.

Options are vhs, ld, cvbs

Example:

decode.exe vhs -f 16 -p family-cut-16msps-8bit.vhs Windows-Test-Decode-2023

NOTE

Commands are all the same as Linux all normal docs apply for usage and handling.

Exporting Video

ld-decode / cvbs-decode - Native Export via ld-chroma-decoder.exe

vhs-decode - Native export.

tbc-video-export.exe Now handles all of this and is part of the Standard Export Guide

WSL2 Legacy Export

This command for example takes the TBC files and passes it though to WSL2 and combines the files and then encodes the final video stream to a video file to the same directory, you will have to change the path based on your setup.

python3 tbc-video-export.py --ffll 2 --lfll 308 --ffrl 2 --lfrl 620 /mnt/c/decode/video-file-name.tbc

Compressing FM RF Data

NOTE - WSL2 has a 250GB disk limit unless manually expanded.

There is two ld-compress scripts ld-compress.bat & ld-compress-nvidia-gpu

These 2 take DomesDayDuplicator 10-bit packed 40msps captures to 16-bit FLAC compressed files from 2.8GB to 625MB per min +- a few MB.

There is also CXADC Compression Scripts

Compressing via WSL2

ld-compress /mnt/j/RF-Data/EXAMPLE-CAPTURE_VHS_PAL_DdD_Gain_8.5_2023-03-01_15-29-18.lds

/mnt/j/ is your drive path based on the windows side drive letter.

Issues & Level of Support

Windows builds are fully working to decode video, extract VBI data with ld-process-vbi inspect with ld-analyse and even playback the TBC files with the FL2K USB 3.0 adapters. HiFi-Decode is however will require depedencys or to use WLS2, RTLSDR decode is universsally supported however.

ld-decode (LaserDiscs)

  • Capture (Via DdD)
  • Decoding
  • Video Export

NOTE RF capture is standardised around the DomesDayDuplicator (DdD) and its windows app all core tools required is fully working.

NOTE Some users might have slight RF drop issues on some builds of windows with the DdD.

cvbs-decode (Composite Video)

  • Capture (CXADC - Linux USB Live Install)
  • Decoding
  • Video Export

Same as ld-decode in terms of one signal to one TBC file, however capture is only standardised with the CX Cards so SDR/ADC units with 28msps+ need to be vetted for windows side capture, but capture can be done today via Linux Live install.

Note! DomesDayDuplicator (Rev 3) does not work for CVBS capture.

vhs-decode (Tape Media)

  • Capture (Via DdD)
  • Decoding
  • Video Export

ld-chroma-decoder.exe / FFmpeg Command can export B/W Luma full-frame or active area directly.

Composite formats like SMPTE 1" Type C are 1 TBC file however.

hifi-decode

  • Capture (DdD/RTL-SDR)
  • Decoding to Audio (GNURadio/WSL2)

Full HiFi-Decode is not yet ported to the windows builds currently, however decoding and capture can be done with GNU Radio and hifi-decode can be used in WSL2, or you can install dependencys manually.

Clone this wiki locally