You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: wiki-default/How-to-guides/Creating-video-from-NTSC-decodes.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
# Overview
1
+
# NTSC decode guide
2
2
3
3
4
4
The following is a series of notes about how to use FFmpeg to convert the output from ld-decode (and ld-chroma-decoder) into usable video that can be watched using any compatible video player such as [VLC](https://www.videolan.org/) or [MPC](https://mpc-hc.org/).
Copy file name to clipboardExpand all lines: wiki-default/How-to-guides/Creating-video-from-PAL-decodes.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
# Overview
1
+
# PAL decode guide
2
2
3
3
4
4
The following is a series of notes about how to use FFmpeg to convert the output from ld-decode (and ld-chroma-decoder) into usable video that can be watched using any compatible video player such as [VLC](https://www.videolan.org/) or [MPC](https://mpc-hc.org/).
Copy file name to clipboardExpand all lines: wiki-default/How-to-guides/Disc-images-to-download.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,5 @@
1
+
# LaserDisc images to download
2
+
1
3
Disc images that have been captured with the DomesdayDuplicator (suitable for decoding with ld-decode) can be uploaded to the Internet Archive for preservation and storage. Links to such disc images are included on this page.
2
4
3
5
When downloading from the IA site please ensure that you use either the FLAC or torrent option as IA may interpret (and transcode) the file as audio into mp3 or similar (lossy compression is not recommended for RF captures).
Copy file name to clipboardExpand all lines: wiki-default/How-to-guides/Working-with-multiple-discs.md
+14-1Lines changed: 14 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,13 @@
1
-
# Overview
1
+
# Working with multiple disc sources
2
+
2
3
Working with multiple disc sources allows the use of some specific ld-decode features that can greatly enhance the final video produced from LaserDisc sources. This wiki page aims to explain the available tools and how to use them.
3
4
4
5
Working with multiple sources is a relatively complicated task. You will need a basic understanding of the structure of NTSC and PAL LaserDiscs with regards to VBI data, field/frame structure as well as 2:3 pulldown and what it's used for. The multiple disc source tools are largely new and experimental and may not work for all types and formats of discs (especially NTSC CAV sources).
5
6
6
7
It is important that all disc sources are made from the same 'master plate' i.e. they have to be identical. Some discs have multiple revisions and it can be hard to spot. Typically mint-marks on the disc will show if physical discs really came from the same source.
7
8
8
9
# Preparing disc images
10
+
9
11
All required sources must first be decoded using ld-decode. It's recommended that you clearly label source .tbc files to make it clear which disc is which. In this example we will use 4 copies of the Dragon's Lair (NTSC CAV with pulldown) discs named as follows:
10
12
11
13
dragonslair_ds1.tbc
@@ -14,6 +16,7 @@ All required sources must first be decoded using ld-decode. It's recommended th
14
16
dragonslair_ds4.tbc
15
17
16
18
# Process the VBI
19
+
17
20
It is very important that the VBI metadata is as good as possible for any discs used with multi-source tools. Ensure that ld-process-vbi is used with all source .tbc files:
18
21
19
22
ld-process-vbi dragonslair_ds1.tbc
@@ -24,7 +27,9 @@ It is very important that the VBI metadata is as good as possible for any discs
24
27
Note that ld-process-vbi is more accurate and comprehensive that the on-the-fly VBI processing in ld-decode; so this extra step is required for the best possible results.
25
28
26
29
# Disc mapping
30
+
27
31
## Overview
32
+
28
33
Disc mapping is the process of mapping out a source disc to ensure that the VBI frame numbering is correct and there are no missing or repeating frames in the .tbc. Basically all source copies must be 'aligned' so the tool chain knows which frames are identical across all source copies.
29
34
30
35
As there can be many capture issues (especially with damaged/rotten discs) combined with complexities such as pulldown frames (which are not numbered in the VBI) - disc mapping is not a fool-proof task. The ld-discmap tool is designed to warn you if things don't look right, but it can't spot every possible issue.
@@ -41,19 +46,23 @@ All sources must be successfully disc mapped before any other multi-source tool
41
46
As disc-mapping is **highly automated guess-work**; it is important to check and verify each mapped copy using ld-analyse to ensure that the resulting TBC looks correct before continuing with the process - especially if ld-discmap reports a suspected problem with a disc.
42
47
43
48
## Troublesome discs
49
+
44
50
### Odd pulldown sequences
51
+
45
52
If you are unlucky you will find a disc source that doesn't follow the normal 1-in-5 pulldown sequence. The disc mapper hunts for pulldown frames by examining the phase of the NTSC field and ensuring that, for frames with no VBI frame number, the phases from the last and next frame fields match the unnumbered frame (this helps to distinguish between a pulldown frame with no VBI frame number and a out-of-sequence frame with a missing or corrupt VBI frame number caused by a skip or jump during capture).
46
53
47
54
Once a likely pulldown frame is identified, the disc mapper looks 5 frames back and 5 frames forward for another pulldown. If either is present the current frame is also marked as a pulldown. This second 'double-check' can fail for discs that do not follow the 1-in-5 pattern causing pulldown frames to be marked incorrectly as normal frames (and therefore the disc mapper does not correctly map the disc).
48
55
49
56
For sources where this occurs it may be possible to use the --nostrict option which disables the double-check. If the source is poor (and has multiple skips/jumps) this can have the opposite effect of marking non-pulldown frames as pulldown... If you use the --nostrict option be sure to manually check the disc map results in ld-analyse for errors.
50
57
51
58
### Un-mappable frames
59
+
52
60
In certain cases it may not be possible for the disc mapper to map certain frames; for example, if the player gets stuck on a pulldown frame the resulting .tbc will contain repeating frames with no VBI frame number, so the mapper cannot tell where the frames belong.
53
61
54
62
The normal action when there are un-mappable frames is to abort the disc mapping process and report the error. It is possible to override this with the --delete-unmappable-frames which will tell the disc mapper to simply delete any frames that can't be successfully mapped. If you use the --delete-unmappable-frames option be sure to manually check the disc map results in ld-analyse for errors.
55
63
56
64
# Stacking multiple discs
65
+
57
66
The ld-disc-stacker application performs 'stacking' of multiple versions of the same disc (ideally different copies of discs containing the same mastered contents). Disc stacking requires a minimum of two input sources in order to work (although 3 or more are strongly recommended).
58
67
59
68
Stacking is performed by taking all available input sources and, pixel by pixel, determining the number of available sources for the pixel (by removing outliers marked as dropouts in the source files). If more than 3 sources are available for the pixel the tool will use the median value of the available sources as the output (when there are an even number available of pixel sources, the two centre values of the median are averaged to the output). If only two sources are available an average is used. If only one source is available it is passed directly as the output.
@@ -69,9 +78,11 @@ Stacking of the example files in this wiki would be performed with a command suc
69
78
dragonslair_stacked.tbc
70
79
71
80
## Dropout pass-through
81
+
72
82
If the --passthrough option is specified the tool will, when all pixel sources are marked as a dropout, mark the resulting output pixel as a dropout (regardless of the diffDOD result). The --passthrough is useful in non-preservation cases where it is desirable for master plate errors (which cause dropouts in the same place on all resulting LaserDisc copies) to be marked for dropout concealment (where-as diffDOD would correctly identify the plate error as present on all discs (and therefore not an error)).
73
83
74
84
## Differential Dropout Detection in ld-disc-stacker
85
+
75
86
Differential dropout detection (diffDOD) works by looking at the difference between multiple copies of the same disc. Each matching field in the source .tbc files is compared to all other matching fields to produce a difference map. The differences between the fields is caused only by errors - and these errors are marked as dropouts in the metadata.
76
87
77
88
The process becomes more accurate as the number of sources increase. With only 3 sources, 2 frames should match with 1 in error, with 4 sources 3 should match with 1 in error. If multiple sources have dropouts in the same place (or dropouts that overlap in the same place) this will produce false-positives.
@@ -81,13 +92,15 @@ Since all disc sources must be compared against all other disc sources for the d
81
92
If you do not require diffDOD use the --no-diffdod option to turn it off.
82
93
83
94
# Analysing the resulting SNR (Signal to Noise Ratio) of the stacked TBC
95
+
84
96
The tool ld-process-vits is provided to update the white and black SNR metadata of a TBC file. Each single-source TBC is provided (by the initial ld-decode processing) with the SNR values from the decoding process. Once multiple TBCs are combined the SNR metadata will be incorrect. Running ld-process-vits against a stacked TBC will update the SNR metadata and allow analysis of the stacking result in ld-analyse.
85
97
86
98
A sample command for ld-process-vits is as follows:
87
99
88
100
ld-process-vits dragonslair_stacked.tbc
89
101
90
102
# Multi-Source Dropout Correction
103
+
91
104
Note: Dropout correction is generally not required when stacking discs unless the --passthrough option was used. Dropouts will be corrected by the Stacker by substituting data from another source which does not have the dropout. If, for some reason, you do not wish to use the disc stacker, then multi-source dropout correction is an alternative which only corrects missing pixels (rather than stacking them for greater accuracy).
92
105
93
106
The ld-dropout-correct tool supports both single source concealment and multi-source correction. The advantage of multi-source correction is that dropouts can be corrected by copying in good data from another source so, unlike single disc concealment, the data is actually corrected (rather than being substituted using a similar field line).
Copy file name to clipboardExpand all lines: wiki-default/How-to-guides/Working-with-subtitles.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,15 +1,19 @@
1
+
# Working with subtitles
2
+
1
3
The NTSC LaserDisc format fully supported standards-based Closed Caption data that allowed various consumer equipment to super-impose subtitles over video.
2
4
3
5
It should be noted that only NTSC format discs can support Closed Caption.
4
6
5
7
## Generating the Closed Caption data
8
+
6
9
The ld-decode tool does not generate the Closed Caption data as the data is encoded into the visible frame area of the picture. Due to this it is necessary to run ld-process-vbi on the resulting TBC file in order to generate the NTSC CC fields in the JSON metadata.
7
10
8
11
Simply use a command line such as:
9
12
10
13
ld-process-vbi my_ntsc_source.tbc
11
14
12
15
## Generating a SCC file
16
+
13
17
SCC is the Scenarist Closed Caption format V1.0 and uses .scc as the file extension. SCC is the only supported output from ld-decode tools as the format keeps the closed caption data intact (i.e. no commands or other special data is lost in the convertion).
14
18
15
19
To generate an SCC file use a command line such as:
@@ -19,6 +23,7 @@ To generate an SCC file use a command line such as:
19
23
This will create the required SCC file (this file is readable in any text editor if you'd like to view the contents).
20
24
21
25
## Converting the SCC file to SRT
26
+
22
27
SRT is a format commonly used in tools such as the VLC media player and allows the player to overlay subtitles during video playback:
Copy file name to clipboardExpand all lines: wiki-default/Misc/TBC-median-stacking-guide.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
# Overview
1
+
# Vapoursynth median stacking guide
2
2
3
3
Important: If you are looking for information on how to perform disc stacking using the ld-decode tool-chain (recommended unless you know what you are doing) please use the following link rather than this article:
Donations to the Domesday86 project are always gratefully received. If you'd like to help us out financially, head over to the [Domesday86 project website](https://www.domesday86.com/) and use the PayPal donations button on the top-right of the page.
0 commit comments