-
Notifications
You must be signed in to change notification settings - Fork 49
Advanced Parameter Adjustment
This document contains advanced modify-able options inside of ld-decode, vhs-decode, hifi-decode.
These are called "advanced parameters" but are more accurately, just tinkering with core components of the decoders.
Note
Tweaks are on a per recording and per VCR basis and results can vary drastically from different recordings & formats.
--params_file <filename>
Changes the decoder settings to use an external .json
file with the correct formatting
Example:
Create a new text file, use this template and then save it as a custom-params.json
file.
Note these values vary by tape format & TV System.
{
"sys_params":{
"burst_abs_ref":5000
},
"rf_params":{
"video_lpf_freq":3000000
}
}
vhstune.py
is a filter adjustment tool used with tbc files that have been raw exported.
Use --export_raw_tbc
when decoding export a raw TBC without deemphasis applied for filter tuning.
This can be used to derive a custom-params
set of values to load into vhs-decode for a full decode.
Current State as of 12.10.2022 (DD.MM.YYYY)
Itewreed#2179's adjustments for Teletext with VHS-Teletext
Hardware Used for reference:
CX Card is a WinTV-Nova S, a 33µF electrolytic cap is between tap and the rg174 wire. From there it goes to the amp that originally is for digital CCTV with a bw of 8MHz and then into the CX card.
rfparams["deemph_mid"] = 210000
RFParams_PAL_VHS["video_bpf_low"] = 1400000
RFParams_PAL_VHS["video_hpf_extra"] = 1120000
RFParams_PAL_VHS["video_lpf_freq"] = 4500000
"It might be, that this is a good setting for my VCR I use for RF capture. So the settings could be different for other VCRs hardware and could give different results."
if self.options.double_lpf: # Double up the lpf to possibly closer emulate # lpf in vcr. May add to other formats too later or # make more configurable. self.Filters["FVideo"] *= filter_video_lpf
vhsdecode/addons/chromaAFC.py
stock luma filter settings, chromaafc.py settings: (self.fsc_mhz - .44) / self.out_frequency_half, (self.fsc_mhz + .34) / self.out_frequency_half,
and --nld
Modificaiton to addons/chromaAFC.py
Top is:
(self.fsc_mhz - .84) / self.out_frequency_half, (self.fsc_mhz + .74) / self.out_frequency_half,
Middle is (stock values):
(self.fsc_mhz - .64) / self.out_frequency_half, (self.fsc_mhz + .54) / self.out_frequency_half,
Bottom is:
(self.fsc_mhz - .44) / self.out_frequency_half, (self.fsc_mhz + .34) / self.out_frequency_half,
Titan91#1526's adjustments for NTSC video.
- Set RFParams_NTSC_VHS["video_bpf_low"] = 1500000 in vhs.py
- Set rfparams["deemph_gain"] = 12 in vhs.py
- Set rfparams["deemph_mid"] = 280000 in vhs.py (I have not confirmed this)
- Disable double band pass filtering to improve sharpness slightly by commenting out lines 1554 and 1558 of process.py
- FAQ - Frequently Asked Questions
- Diagram Breakdowns
- Visual-Comparisons
- VCR Reports / RF Tap Examples
- Download & Contribute Data
- Speed Testing
- Visual VBI Data Guide
- Closed Captioning
- Teletext
- WSS Wide - Screen Signalling
- VITC Timecode
- VITS Signals
- XDS Data (PBS)
- Video ID IEC 61880
- Vapoursynth TBC Median Stacking Guide
- Ruxpin-Decode & TV Teddy Tapes
- Tony's GNU Radio For Dummies Guide
- Tony's GNU Radio Scripts
- DomesDay Duplicator Utilities
- ld-decode Utilities