It is currently 19 Apr 2024, 18:50




 Page 3 of 31 [ 606 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6 ... 31  Next
Author Message
 Post subject: Re: (WIP) Laserdisc software image decoder from raw signal
PostPosted: 01 Oct 2013, 23:36 
Shows curiousity
Shows curiousity
User avatar

Joined: 23 Jan 2013, 19:16
Posts: 29
Location: Sweden
Has thanked: 0 time
Been thanked: 0 time
I just wanted to say this is very exciting. When I fall asleep tonight I'll be dreaming of ways to scan the pits on a laserdisc. Seriously, this is great and I hope you continue to pursue this. I'll be watching this thread very closely :D
Offline
 Profile  
 
 Post subject: Re: (WIP) Laserdisc software image decoder from raw signal
PostPosted: 13 Oct 2013, 07:47 
User avatar
Best of luck on this. Hope good progress and improvements are made.
  
 
 Post subject: Re: (WIP) Laserdisc software image decoder from raw signal
PostPosted: 02 Nov 2013, 06:22 
Absolute fan
Absolute fan
User avatar

Joined: 18 Apr 2012, 18:02
Posts: 1614
Location: United States
Has thanked: 71 times
Been thanked: 88 times
Just got analog audio decoding working (no CX, yet, but that can be done as a separate program) and posted the rough code to github.

I'm starting to look at the AC3 encoding - I think i can probably figure out QPSK, but it doesn't look like the patent (edit: on Laserdisc AC3 mastering, not codec) has enough information on how to handle the error correction coding etc needed to get an actual AC3 bitstream. And I don't have a decoder that I can use to get reference data.


Last edited by happycube on 03 Nov 2013, 19:01, edited 1 time in total. _________________
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: 02 Nov 2013, 18:20 
Hardcore fan
Hardcore fan
User avatar

Joined: 23 Sep 2003, 18:14
Posts: 1391
Location: United States
Has thanked: 39 times
Been thanked: 21 times
happycube wrote:
I'm starting to look at the AC3 encoding - I think i can probably figure out QPSK, but it doesn't look like the patent has enough information on how to handle the error correction coding etc needed to get an actual AC3 bitstream. And I don't have a decoder that I can use to get reference data.

The ATSC A53 document has much more complete reference information on AC3 than the patents.
_________________
MUSE decoder information and user guides
LD player connexion guide
Offline
 Profile  
 
 Post subject: Re: (WIP) Laserdisc software image decoder from raw signal
PostPosted: 03 Nov 2013, 03:01 
Absolute fan
Absolute fan
User avatar

Joined: 18 Apr 2012, 18:02
Posts: 1614
Location: United States
Has thanked: 71 times
Been thanked: 88 times
I'm pretty sure I can use libav code to decode the AC3, I just need to figure out how to get the AC3 bitstream out of the QPSK.

EDIT: For now I'm going back to the TBC/NTSC handling, and starting a hopefully better and much more understandable rewrite! Thanks again Disclord for suggesting Isailovic's books - "Videodisc Systems" is very nice.

(I've basically got a couple of weeks to get as far as I can before the local Startup Weekend, where I'm going to pitch something completely different...)
_________________
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: 18 Nov 2013, 12:08 
User avatar
You may or may not already know and be doing this... But laserdisc has TOC (table of contents), frame number, closed captions, and other info stored on un-visible NTSC lines. NTSC has 525 lines all together and I'm hoping that's what you're trying to process.

Here's a quote from MAME author Aaron Giles:
Quote:
I discovered that there was something missing in all existing laserdisc captures. If you know anything about the NTSC broadcast standard, you know that a video signal consists of 525 scanlines spread across a 30Hz (actually 29.97Hz) interval. Of those 525 scanlines, 480 are considered to be "visible" scanlines, while the remaining 45 constitute the vertical blanking interval (VBI).


He basically states there's information on the video signal that's visible, provided you capture all 525 lines of resolution. When playing back the video you can do whatever is required with the extra picture (looks like noise but it can be converted to digital binary form); all that's needed is capturing all 525 lines of NTSC reolution. Most of this data is probably more useful for CAV laserdiscs and videogame laserdiscs, but I think it's still worth doing even for the most basic CLV laserdiscs (even if it seems redundant).

Another quote (Aaron Giles):
Quote:
Below is a picture of the VBI region for a CAV laserdisc. The top few rows are an ugly green because those lines of VBI data were not provided by the capture card. The remaining lines show what the white flag and Manchester-encoded Philips codes look like:

Image

Here's links with more info in case you haven't already read it and want to understand more of it (hopefully!):
http://aarongiles.com/?m=200807
http://aarongiles.com/?m=200808

Think the biggest problem with Laserdisc players is the composite encoding quality. Quality differs greatly from player to player and colors can be completely wrong; this is probably mostly on 80's to early 90's players. Composite quality on a modern VHS deck (2000 or newer) will jump big time vs an early 90's to 80's model for example, and I think you can get RGB like quality with dscaler or v4lctl with newer composite devices. It's a shame RGB wasn't used in the states like in Europe (marketing over quality takes the lead in the states it seems).

Here's an example of what I mean (composite Laserdisc left; DVD right; courtesy of evildragon)
REMOVED due to bad example
[url][/url]):

A software image decoder for laserdisc could alleviate these hardware problems.


Last edited by Guest on 20 Mar 2014, 19:40, edited 2 times in total.
  
 
 Post subject: Re: (WIP) Laserdisc software image decoder from raw signal
PostPosted: 28 Nov 2013, 20:25 
Absolute fan
Absolute fan
User avatar

Joined: 18 Apr 2012, 18:02
Posts: 1614
Location: United States
Has thanked: 71 times
Been thanked: 88 times
I've already handled the white flag... and I think the Lion King did have blue in it, a lot of Disney DVD's are known to have altered color.

It took me a long time to realize the capture setup I have glitches. I thought it was a player glitch until I realized that each one was exactly 2K long, and pulls in data from earlier. There's some sort of sync issue with the data capture itself... I want to figure out a cheap way to capture the analog data over USB anyway so it's easier to reproduce, but I haven't figured out how yet. Ideally there'd be an affordable USB3 ~100mhz ADC, but there isn't yet. :(

I'm thinking something involving a Beaglebone Black might get up to 8fsc/28mhz, but I haven't tried anything yet.

In any case, once I have the glitches fixed, I should be capturing and decoding pretty nice video.

(edit 11/29/13: Fixed the capture glitches. Also, while trying to work out on what I thought was dropout compensation, I figured how to correct for some of the pre-emphasis stuff. New captures and hopefully video coming soon(tm) )
_________________
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: 07 Dec 2013, 18:53 
Absolute fan
Absolute fan
User avatar

Joined: 18 Apr 2012, 18:02
Posts: 1614
Location: United States
Has thanked: 71 times
Been thanked: 88 times
Pre-emphasis is a birch. It's very hard to compensate for correctly...

... and almost every LD player fails to do it quite right. Maybe the X0 does. ;) (and possibly the player Laserdiscmodder re-capped etc - at least he claimed/showed it...) Perhaps when new the PR-7820 did as well, but if it used electrolytics they probably drifted by now.

Basically a sharp brightness change is exaggerated/pre-emphasized, and the player needs to de-emphasize it in return. When done properly, this reduces noise since the shifts are reduced. When not done properly, you see ringing once the signal returns to the proper level, and that shift gets de-emphasized as well, even though it shouldn't.

This is why you see ringing/ghosting on test patterns.
_________________
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: 09 Dec 2013, 19:12 
Absolute fan
Absolute fan
User avatar

Joined: 18 Apr 2012, 18:02
Posts: 1614
Location: United States
Has thanked: 71 times
Been thanked: 88 times
Checked in new versions last night (except for the capture glitch itself) - anyone got good examples on how to set up a de-emphasis filter? The one I have now is not quite right, but it does improve SN quite a bit.
_________________
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: 10 Dec 2013, 03:23 
Advanced fan
Advanced fan
User avatar

Joined: 02 Oct 2008, 04:35
Posts: 565
Location: Minnesota, United States
Has thanked: 0 time
Been thanked: 2 times
You got me thinking about recapping a player now. Shame on you. That's a project I love to hate. Hello digikey.
_________________
Laserdisc Player
CLD-3080 w/ AC-3
Offline
 Profile  
 
 Post subject: Re: (WIP) Laserdisc software image decoder from raw signal
PostPosted: 10 Dec 2013, 04:52 
Jedi Master
Jedi Master
User avatar

Joined: 03 May 2004, 19:05
Posts: 8105
Location: Dullaware
Has thanked: 1219 times
Been thanked: 844 times
ok. what the %&^* am i missing here.
what are new caps going to do that old ones don't??
and are you people even watching LDs or just talking about changing out caps for ones that have been sitting on a shelf at some electronic
supply store shelf for 10+ years, or even using OIP caps since they are better or what????????????????

this topic is SOOOOOOOOOOOOOOOOO BORING that i think it's worse than james mariokarts worth the risk :yawn:
________________________________
the rein-o official signature:
:yawn: :yawn: :yawn: :yawn: :yawn: :yawn: :yawn: :yawn: :yawn: :yawn:
Offline
 Profile  
 
 Post subject: Re: (WIP) Laserdisc software image decoder from raw signal
PostPosted: 10 Dec 2013, 05:26 
Advanced fan
Advanced fan
User avatar

Joined: 02 Oct 2008, 04:35
Posts: 565
Location: Minnesota, United States
Has thanked: 0 time
Been thanked: 2 times
It's something to do if you have the spare time. It really can't hurt to change out 25 year old electrolytics.

As for watching LDs I just finished the CAV box set of Alien tonight and thoroughly enjoyed it.
_________________
Laserdisc Player
CLD-3080 w/ AC-3
Offline
 Profile  
 
 Post subject: Re: (WIP) Laserdisc software image decoder from raw signal
PostPosted: 10 Dec 2013, 05:32 
Jedi Master
Jedi Master
User avatar

Joined: 03 May 2004, 19:05
Posts: 8105
Location: Dullaware
Has thanked: 1219 times
Been thanked: 844 times
good :thumbup:
i just watched an LD tonight also :mrgreen:

someone told me about a saying that someone says, it's PFM :lol:
so if it makes you happy change the caps :thumbup: i'll only do it when the player won't turn on.
no other reason to :silent:
________________________________
the rein-o official signature:
:yawn: :yawn: :yawn: :yawn: :yawn: :yawn: :yawn: :yawn: :yawn: :yawn:
Offline
 Profile  
 
 Post subject: Re: (WIP) Laserdisc software image decoder from raw signal
PostPosted: 15 Dec 2013, 20:47 
Absolute fan
Absolute fan
User avatar

Joined: 18 Apr 2012, 18:02
Posts: 1614
Location: United States
Has thanked: 71 times
Been thanked: 88 times
Just posted a test video from an obscure 1981 Pioneer disk, "Rock Adventure" - unfortunately the disk is a bit dirty/rotted, but I wanted to post something that wouldn't set off MPAA lap dogs :)

http://www.youtube.com/watch?v=FYru56W57jA
_________________
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: 15 Dec 2013, 22:02 
Serious fan
Serious fan
User avatar

Joined: 05 Mar 2012, 03:43
Posts: 177
Location: Italy
Has thanked: 16 times
Been thanked: 10 times
Happy to see that your project has reached a so advanced status!

I can't wait to see a state-of-the-art software decoder, and a way to do it using cheap finished hardware...
_________________
FanRes - restoring wrong movies, one title at the time!
blog.spoRv.com - a blog about video restoration…
Offline
 Profile  
 
 Post subject: Re: (WIP) Laserdisc software image decoder from raw signal
PostPosted: 15 Dec 2013, 23:03 
Serious fan
Serious fan
User avatar

Joined: 15 Jan 2013, 22:44
Posts: 136
Location: Canada
Has thanked: 5 times
Been thanked: 1 time
Vroom vroom!
Offline
 Profile  
 
 Post subject: Re: (WIP) Laserdisc software image decoder from raw signal
PostPosted: 03 Jan 2014, 10:04 
User avatar
happycube wrote:
Just posted a test video from an obscure 1981 Pioneer disk, "Rock Adventure" - unfortunately the disk is a bit dirty/rotted, but I wanted to post something that wouldn't set off MPAA lap dogs :)

http://www.youtube.com/watch?v=FYru56W57jA


Wow - looking awesome ! I've unfortunately been very busy in real life the past few months, so haven't made much progress on comb filter decoding, but from the look of things you are almost done !
  
 
 Post subject: Re: (WIP) Laserdisc software image decoder from raw signal
PostPosted: 04 Jan 2014, 05:53 
Absolute fan
Absolute fan
User avatar

Joined: 18 Apr 2012, 18:02
Posts: 1614
Location: United States
Has thanked: 71 times
Been thanked: 88 times
Thanks :) I'm uploading a version made with my current code now (I re-did the TBC and put the comb filter in the same program)

My comb filter is good for less sharp footage - it breaks down on something like the Star Wars JSC which is very sharp. It uses heterodyning to get the color information, runs it through a low-pass filter, then adds the out-of-phase bit of that into the combined picture. So it's basically a fancy notch/bypass filter. I don't know when I'll have the time to make a *good* comb filter, but when I recap VE I can send you some unprocessed NTSC output if that'd help you...
_________________
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: 19 Jan 2014, 01:51 
True fan
True fan
User avatar

Joined: 11 May 2009, 11:12
Posts: 270
Location: Norway
Has thanked: 0 time
Been thanked: 0 time
LOVE THIS PROJECT!!! :D
_________________
Pioneer KURO KRP-500M, Crystalio 2 VPS3300, Lumagen 2144, HLD-X9
Offline
 Profile  
 
 Post subject: Re: (WIP) Laserdisc software image decoder from raw signal
PostPosted: 26 Jan 2014, 19:31 
True fan
True fan
User avatar

Joined: 11 May 2009, 11:12
Posts: 270
Location: Norway
Has thanked: 0 time
Been thanked: 0 time
any updates? :)
_________________
Pioneer KURO KRP-500M, Crystalio 2 VPS3300, Lumagen 2144, HLD-X9
Offline
 Profile  
 
Display posts from previous:  Sort by  
 Page 3 of 31 [ 606 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6 ... 31  Next


Who is online

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