It is currently 21 Jan 2020, 13:19




 Page 23 of 23 [ 456 posts ]  Go to page Previous  1 ... 19, 20, 21, 22, 23
Author Message
 Post subject: Re: (WIP) Laserdisc software image decoder from raw signal
PostPosted: 16 Feb 2019, 05:36 
Absolute fan
Absolute fan
User avatar

Joined: 18 Apr 2012, 18:02
Posts: 1539
Location: United States
Has thanked: 36 times
Been thanked: 39 times
Yup, I didn't say it was easy... ;)
_________________
Happycube Labs: Where the past is being re-made, today. [meep!]
Offline
 Profile  
 
 Post subject: Re: (WIP) Laserdisc software image decoder from raw signal
PostPosted: 16 Apr 2019, 16:43 
Honest fan
Honest fan
User avatar

Joined: 20 Sep 2012, 16:19
Posts: 114
Location: Australia
Has thanked: 0 time
Been thanked: 8 times
I was REALLY impressed with LD Encode v4 demo on youtube. It really is hard to believe some of those pictures are from LDs. The dropout removal is a feature I eoukd sure as hell like to use in my LD captures.

Will this be a good way to go for people wanting to "rip" their LDs and encode for AVI, DVD, BD etc? I am really excitted by the results and would love to try it out. I have a second R7G I could use or a D99. Are the boards themselves being sold by you guys or is it a "DIY" thing?

Thanks!
Offline
 Profile  
 
 Post subject: Re: (WIP) Laserdisc software image decoder from raw signal
PostPosted: 14 Jul 2019, 02:58 
Knows how to post
Knows how to post
User avatar

Joined: 14 Jul 2019, 02:53
Posts: 9
Location: United States
Has thanked: 0 time
Been thanked: 0 time
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?
Offline
 Profile  
 
 Post subject: Re: (WIP) Laserdisc software image decoder from raw signal
PostPosted: 15 Jul 2019, 09:50 
Shows curiousity
Shows curiousity
User avatar

Joined: 08 Feb 2007, 17:24
Posts: 25
Location: Scotland
Has thanked: 6 times
Been thanked: 1 time
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
Offline
 Profile  
 
 Post subject: Re: (WIP) Laserdisc software image decoder from raw signal
PostPosted: 15 Jul 2019, 09:52 
Honest fan
Honest fan
User avatar

Joined: 11 Sep 2017, 14:24
Posts: 86
Location: Sweden
Has thanked: 1 time
Been thanked: 34 times
Quote:
Can someone tell me how to fix this or provide a pre-built download for ld-analyse?


Follow the installation instructions on the wiki and you will get the correct dependencies for compilation:

https://github.com/happycube/ld-decode/wiki/Installation
Offline
 Profile  
 
 Post subject: Re: (WIP) Laserdisc software image decoder from raw signal
PostPosted: 20 Jul 2019, 13:51 
Knows how to post
Knows how to post
User avatar

Joined: 14 Jul 2019, 02:53
Posts: 9
Location: United States
Has thanked: 0 time
Been thanked: 0 time
Thank you both, I installed the prerequisites and the tools are working now. I missed the initial "installation" article.
Offline
 Profile  
 
 Post subject: Re: (WIP) Laserdisc software image decoder from raw signal
PostPosted: 20 Jul 2019, 20:01 
Knows how to post
Knows how to post
User avatar

Joined: 14 Jul 2019, 02:53
Posts: 9
Location: United States
Has thanked: 0 time
Been thanked: 0 time
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
Offline
 Profile  
 
 Post subject: Re: (WIP) Laserdisc software image decoder from raw signal
PostPosted: 20 Jul 2019, 21:54 
Honest fan
Honest fan
User avatar

Joined: 11 Sep 2017, 14:24
Posts: 86
Location: Sweden
Has thanked: 1 time
Been thanked: 34 times
Hi

.lds is a specific format generated by the Domesday Duplicator (packed 10-bit samples) - if your source samples aren't in .lds format, you can't just rename them. The output from ld-decode is typical of an invalid input sample.

Where did those samples come from?

Edit: if those samples are 16-bit signed samples you can use ld-lds-converter (available in tools/ in the rev6 repo) to convert 16-bit .raw to 10-bit packed .lds)
Offline
 Profile  
 
 Post subject: Re: (WIP) Laserdisc software image decoder from raw signal
PostPosted: 20 Jul 2019, 23:17 
Knows how to post
Knows how to post
User avatar

Joined: 14 Jul 2019, 02:53
Posts: 9
Location: United States
Has thanked: 0 time
Been thanked: 0 time
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 ... Qz8kw9BPh8
That'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_-kYmWXZSEqq3XdYMhtUQDsEkIJQMgM
This is a 10-bit 32MSPS capture of an NTSC CAV disk.
Offline
 Profile  
 
 Post subject: Re: (WIP) Laserdisc software image decoder from raw signal
PostPosted: 21 Jul 2019, 01:21 
Knows how to post
Knows how to post
User avatar

Joined: 14 Jul 2019, 02:53
Posts: 9
Location: United States
Has thanked: 0 time
Been thanked: 0 time
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
Offline
 Profile  
 
 Post subject: Re: (WIP) Laserdisc software image decoder from raw signal
PostPosted: 21 Jul 2019, 05:02 
Honest fan
Honest fan
User avatar

Joined: 11 Sep 2017, 14:24
Posts: 86
Location: Sweden
Has thanked: 1 time
Been thanked: 34 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.
Offline
 Profile  
 
 Post subject: Re: (WIP) Laserdisc software image decoder from raw signal
PostPosted: 24 Jul 2019, 02:19 
Knows how to post
Knows how to post
User avatar

Joined: 14 Jul 2019, 02:53
Posts: 9
Location: United States
Has thanked: 0 time
Been thanked: 0 time
Thanks for the suggestion.
Offline
 Profile  
 
 Post subject: Re: (WIP) Laserdisc software image decoder from raw signal
PostPosted: 25 Nov 2019, 21:15 
First post
First post
User avatar

Joined: 02 Oct 2017, 04:24
Posts: 1
Location: United States
Has thanked: 0 time
Been thanked: 0 time
I've recently acquired a seemingly unused Pioneer DA-V1000 LD-ROM adapter. Once I track down a LD-V8000 I can use the EFM port to grab data from the disc, I have a copy of the Albegas/Cybernaut prototype I can test dump. Is the general consensus that these adapters will be useful as well for Mega-LD/LD-ROM^2 discs? If so I'll be glad to offer any help I can in the effort to dump and preserve these games!
Offline
 Profile  
 
 Post subject: Re: (WIP) Laserdisc software image decoder from raw signal
PostPosted: 26 Nov 2019, 08:25 
Knows how to post
Knows how to post
User avatar

Joined: 10 Nov 2018, 18:28
Posts: 10
Location: Latvia
Has thanked: 0 time
Been thanked: 1 time
Its basically what turns CD player into CD-ROM reader. I would guess its DA-1 with an extra chip. It will read digital audio and decode CD-ROM layer from it. Regular arcade games doesn't have those, LD-ROMs do. So you should be able to read Laseractive game data encoded as CD-ROM on audio track. Won't help with video data. You can do same thing through SPDIF or by hooking Arduino to DAC chip.
edit:
So Domesday thing works on lower level - you pull whole signal out together as it comes from laser and do all decoding in software.
With this signal goes through player and is processed and separated and you pull out just digital audio part. Analogue audio and video are unaddressed. You can still capture those as usual.
Offline
 Profile  
 
 Post subject: Re: (WIP) Laserdisc software image decoder from raw signal
PostPosted: 26 Nov 2019, 08:52 
Honest fan
Honest fan
User avatar

Joined: 11 Sep 2017, 14:24
Posts: 86
Location: Sweden
Has thanked: 1 time
Been thanked: 34 times
ld-decode has a functioning EFM processing stage these days; so it can extract both digital audio and data direct from the RF copies of the disc. Since all processing is from the laser RF, it can do this with any player that is tapped for RF capture - no additional LD-ROM hardware is required. The extraction also works for any EFM track; so, no matter the info on the source disc, you can get it back without a specialist LD player.

The EFM processing also works for CDs too (although this is lightly tested at the moment).

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.
Offline
 Profile  
 
 Post subject: Re: (WIP) Laserdisc software image decoder from raw signal
PostPosted: 26 Nov 2019, 09:16 
Knows how to post
Knows how to post
User avatar

Joined: 10 Nov 2018, 18:28
Posts: 10
Location: Latvia
Has thanked: 0 time
Been thanked: 1 time
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)
Offline
 Profile  
 
Display posts from previous:  Sort by  
 Page 23 of 23 [ 456 posts ]  Go to page Previous  1 ... 19, 20, 21, 22, 23


Who is online

Users browsing this forum: No registered users and 0 guests


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

Search for:
Jump to: