|
It is currently 17 Apr 2024, 13:03
|
View unsolved topics | View unanswered posts
|
|
|
|
Author |
Message |
happycube
|
Post subject: Re: (WIP) Laserdisc software image decoder from raw signal Posted: 16 Feb 2019, 05:36 |
Absolute fan |
|
|
Joined: 18 Apr 2012, 18:02 Posts: 1614 Location: United States Has thanked: 71 times Been thanked: 88 times
|
Yup, I didn't say it was easy...
_________________ Happycube Labs: Where the past is being re-made, today. [meep!]
|
|
|
|
|
titan91
|
Post subject: Re: (WIP) Laserdisc software image decoder from raw signal Posted: 14 Jul 2019, 02:58 |
Honest fan |
|
|
Joined: 14 Jul 2019, 02:53 Posts: 81 Location: United States Has thanked: 10 times Been thanked: 4 times
|
I've done a lot of reading and research on this project and am quite fascinated with these tools! I'm trying to decode nemesis's Sonic 2 sample for use with ld-analyse. I'm trying to compile the Qt project using the tutorial on the tools GitHub wiki page but am getting an error: In file included from ../ld-comb-ntsc/comb.h:37:0, from mainwindow.h:51, from main.cpp:25: ../ld-comb-ntsc/opticalflow.h:34:10: fatal error: opencv2/core/core.hpp: No such file or directory #include <opencv2/core/core.hpp> ^~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. Makefile:635: recipe for target 'main.o' failed make[1]: *** [main.o] Error 1 make[1]: Leaving directory '/home/andrew/Downloads/ld-decode-master/tools/ld-analyse' Makefile:155: recipe for target 'sub-ld-analyse-all' failed make: *** [sub-ld-analyse-all] Error 2
Can someone tell me how to fix this or provide a pre-built download for ld-analyse?
|
|
|
|
|
atsampson
|
Post subject: Re: (WIP) Laserdisc software image decoder from raw signal Posted: 15 Jul 2019, 09:50 |
Genuinely interested |
|
|
Joined: 08 Feb 2007, 17:24 Posts: 35 Location: Scotland Has thanked: 8 times Been thanked: 5 times
|
titan91 wrote: In file included from ../ld-comb-ntsc/comb.h:37:0, from mainwindow.h:51, from main.cpp:25: ../ld-comb-ntsc/opticalflow.h:34:10: fatal error: opencv2/core/core.hpp: No such file or directory #include <opencv2/core/core.hpp> ^~~~~~~~~~~~~~~~~~~~~~~ compilation terminated.
Do you have the OpenCV development headers installed? On Debian/Ubuntu, install libopencv-dev. If you've already done this, your distribution might be installing the headers in a directory that ld-decode's build system doesn't know about (e.g. I build against a later OpenCV that puts the headers in /usr/include/opencv4/opencv2). You can either edit the .pro file, or make a symlink from the current directory to where they actually are since . is in the search path, e.g. ln -s /usr/include/opencv4/opencv2 opencv2
|
|
|
|
|
titan91
|
Post subject: Re: (WIP) Laserdisc software image decoder from raw signal Posted: 20 Jul 2019, 20:01 |
Honest fan |
|
|
Joined: 14 Jul 2019, 02:53 Posts: 81 Location: United States Has thanked: 10 times Been thanked: 4 times
|
I encountered another issue, ld-decode does not detect any sync pulses. I tried both the Fantasia RF sample and the Chicago Blues sample, renaming the .bin files to .lds files. Using the command in the basic usage article on GitHub: ld-decode-master$ python3 ld-decode.py input.lds output -s 1 -l 25 /usr/lib/python3/dist-packages/numpy/core/fromnumeric.py:2909: RuntimeWarning: Mean of empty slice. out=out, **kwargs) /usr/lib/python3/dist-packages/numpy/core/_methods.py:80: RuntimeWarning: invalid value encountered in double_scalars ret = ret.dtype.type(ret / rcount) Unable to find any sync pulses Unable to find any sync pulses Unable to find any sync pulses Unable to find any sync pulses Unable to find any sync pulses Unable to find any sync pulses saving JSON and exiting Info: Processing complete
|
|
|
|
|
titan91
|
Post subject: Re: (WIP) Laserdisc software image decoder from raw signal Posted: 20 Jul 2019, 23:17 |
Honest fan |
|
|
Joined: 14 Jul 2019, 02:53 Posts: 81 Location: United States Has thanked: 10 times Been thanked: 4 times
|
Thank you. Still learning the different formats, and appreciate the input. I will use ld-lds-converter from the Rev6 branch to generate the proper .lds file. I got the samples from these two posts. Evidently the duplicator .lds format used by ld-decode has changed from signed 16-bit to packed 10-bit since then and I did not realize it. I saw an interview conducted by RetroRGB which mentioned only 10 bits per sample needed. nemesis wrote: happycube wrote: @nemesis - can you send me an RF sample of that so I can tweak my (old) TBC... and to have another 28mhz DD sample Thanks! Here you go: https://mega.nz/#!AANmHQzA!zuN-9-bm1tuK ... Qz8kw9BPh8That's in the original 16-bit signed format from the Domesday Duplicator software. Quote: Also that cable looks great, but I can't find any US stock of it. Ah well. My crimp game's getting a bit better at least. It looks like they're out of stock at RS (AKA Allied Electronics), but I found some US stock here: https://www.altechproducts.com/accessories/933844001/Also, from what I understand the accepted sample rate for use with ld-decode is now 40MSPS. Here is where my second sample came from. nemesis wrote: To help out anyone else who might be interested in experimenting with the software who isn't able to generate their own captures right now, I've uploaded the raw RF capture I used to generate the above Fantasia clip at the following location: https://mega.nz/#!EQtwVJxC!Mlx5rzTZ-aGg_-kYmWXZSEqq3XdYMhtUQDsEkIJQMgMThis is a 10-bit 32MSPS capture of an NTSC CAV disk.
|
|
|
|
|
titan91
|
Post subject: Re: (WIP) Laserdisc software image decoder from raw signal Posted: 21 Jul 2019, 01:21 |
Honest fan |
|
|
Joined: 14 Jul 2019, 02:53 Posts: 81 Location: United States Has thanked: 10 times Been thanked: 4 times
|
Ok, I was able to convert Nemesis's Chicago Blues 28MSPS 16-bit signed RF sample to 10-bit packed format. ld-decode does not recognize it when trying to decode a 25 frame sample, I am guessing due to the sample rate. I also know these captures are pretty old and may not be compatible with Rev6. ~/Downloads/ld-decode-rev6/tools/ld-lds-converter$ ./ld-lds-converter --input 16bitsigned.raw --output output.lds --pack ~/Downloads/ld-decode-rev6$ python3 ld-decode.py output.lds output -s 1 -l 25 ERROR:root:Unable to find any sync pulses, jumping one second ERROR:root:Unable to find any sync pulses, jumping one second ERROR:root:Unable to find any sync pulses, jumping one second ERROR:root:Unable to find any sync pulses, jumping one second saving JSON and exiting Info: Processing complete
|
|
|
|
|
simoni
|
Post subject: Re: (WIP) Laserdisc software image decoder from raw signal Posted: 21 Jul 2019, 05:02 |
Honest fan |
|
|
Joined: 11 Sep 2017, 14:24 Posts: 88 Location: Sweden Has thanked: 2 times Been thanked: 36 times
|
Those samples are probably very old I suggest that you get on the project's IRC channel #domesday86 on freenode. There will be people with Domesday Duplicator boards available there that can make you a test sample.
|
|
|
|
|
kuncendorfs
|
Post subject: Re: (WIP) Laserdisc software image decoder from raw signal Posted: 26 Nov 2019, 09:16 |
Knows how to post |
|
|
Joined: 10 Nov 2018, 18:28 Posts: 10 Location: Latvia Has thanked: 0 time Been thanked: 2 times
|
simoni wrote: As a side note, even if you capture from an EFM output - you will still need to perform all of the EFM processing to get any meaningful data - ld-process-efm in the ld-decode-tools is designed for that task. That's what his thing does. DA-1 decodes digital audio. DA-V1000 adds processing for CD-ROM layer (XOR with constant, basically)
|
|
|
|
|
9954tony
|
Post subject: Re: (WIP) Laserdisc software image decoder from raw signal Posted: 24 Jul 2020, 17:54 |
Serious fan |
|
|
Joined: 12 Sep 2015, 05:57 Posts: 210 Location: United States Has thanked: 5 times Been thanked: 54 times
|
FWIW, i have accomplished a "proof of concept" by successfully decoding "something" using an RF capture i made with a LimeSDR (USB version). This process required nothing too complicated. Following internet instructions for installing LimeSDR on ubuntu, then ld-decode on ubuntu, and using "pothos flow" (a visual SDR block flow tool) to capture an rf file. Happycube added the compatibility for the file type (float32, thanks). I only have "broad strokes" knowledge of all the concepts, so it could only improve from here. This setup can be obtained with zero soldering. EDIT: [I did have to remove one component from the limesdr board to improve HF performance, this can be done with a screwdriver]. I bought everything, hooked it up, and fiddled with the GUI settings of Pothos Flow for the SDR until i saw something in the ~7Mhz range. While i realize for an actual archive capture, you would want to use the domesday duplicator board, for doing comparisons and tests, or to get your feet wet, this setup might provide a means to do that. the "domesday duplicator" is better and will provide the most fidelity, but this is an "off the shelf" solution that is available to anyone hesitant to put together the board. I believe that the LimeSDR *may* be overkill at this point, because there are now cheap off the shelf frequency multipliers (shifter?) available ( https://airspy.com/spyverter-r2/). Using such a device, you could use a cheaper SDR, and then just divide the signal in pothos flow. DISCLAIMER: I can not confirm yet that this is a "full working solution". The "Ruckus" disc is in horrible shape, nothing in the setup has been optimized. I think that the capture the picture above is taken from, doesn't have a strong enough signal in the EFM, and possibly the analog audio. Anyone reading this that has SDR knowledge, let me know. I literally just fiddled around with things until i got something ld-decode would accept. When i raised the gain past ~43 for the SDR, the signal actually disappeared! Tony
Last edited by 9954tony on 24 Jul 2020, 23:31, edited 1 time in total.
|
|
|
|
|
titan91
|
Post subject: Re: (WIP) Laserdisc software image decoder from raw signal Posted: 24 Jul 2020, 21:35 |
Honest fan |
|
|
Joined: 14 Jul 2019, 02:53 Posts: 81 Location: United States Has thanked: 10 times Been thanked: 4 times
|
I'm looking at a 1994 Pioneer CLD-V2600 commercial/educational grade player. It turns on intermittently and has a tray issue but I want to try fixing it. If I can get it going would this be a good model for signal to noise ratio as it's not technically consumer grade? Edit: Found this thread and I'm convinced. I took the plunge on this one and will report back if I can fix and mod it! It was definitely cheap enough. https://www.hometheaterforum.com/commun ... ying.8312/I have one or two old Radio Shack demo discs I want to capture.
|
|
|
|
|
|
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|