It is currently 20 Aug 2019, 20:47




 Page 23 of 23 [ 452 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 
Hardcore fan
Hardcore fan
User avatar

Joined: 18 Apr 2012, 18:02
Posts: 1506
Location: United States
Has thanked: 35 times
Been thanked: 28 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: 7 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 
Third post and above
Third post and above
User avatar

Joined: 14 Jul 2019, 02:53
Posts: 6
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: 23
Location: Scotland
Has thanked: 5 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: 85
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 
Third post and above
Third post and above
User avatar

Joined: 14 Jul 2019, 02:53
Posts: 6
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 
Third post and above
Third post and above
User avatar

Joined: 14 Jul 2019, 02:53
Posts: 6
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: 85
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 
Third post and above
Third post and above
User avatar

Joined: 14 Jul 2019, 02:53
Posts: 6
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 
Third post and above
Third post and above
User avatar

Joined: 14 Jul 2019, 02:53
Posts: 6
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: 85
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 
Third post and above
Third post and above
User avatar

Joined: 14 Jul 2019, 02:53
Posts: 6
Location: United States
Has thanked: 0 time
Been thanked: 0 time
Thanks for the suggestion.
Offline
 Profile  
 
Display posts from previous:  Sort by  
 Page 23 of 23 [ 452 posts ]  Go to page Previous  1 ... 19, 20, 21, 22, 23


Who is online

Users browsing this forum: No registered users and 4 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: