DV Info Net

DV Info Net (https://www.dvinfo.net/forum/)
-   Alternative Imaging Methods (https://www.dvinfo.net/forum/alternative-imaging-methods/)
-   -   4:4:4 12-bit Uncompressed DVX100 (https://www.dvinfo.net/forum/alternative-imaging-methods/20332-4-4-4-12-bit-uncompressed-dvx100.html)

Juan P. Pertierra September 21st, 2004 03:11 PM

Well, i still have a but of confusion as to what the difficulty in synching the video to the audio is...i've done it several times and it works pretty much as it does with film, but easier, because the audio is linked to the DV video.

I've shot both DV and RAW at the same time, the only thing needed is some reference to synch up two frames. Remember that you get 24fps in both RAW and DV, so once they are both aligned, you are done. The DV video has the audio also, so as long as you remember to move the entire DV footage(with audio) in your software, you'll be fine.

I've been using something pretty dumb, a stopwatch. I just start it up, and move it across the screen. This allows for a large margin of error and it makes it extremely easy to find two corresponding frames.

Another thing I should note, is that I have actually edited RAW uncompressed video using just the TIFF frames in FCP on my 1.33Ghz powerbook, and it works fine. The sequence was only over a minute long, but it worked just fine. I wouldn't be surprised if on a fast system such as a dual G5, you could get away with not even using DV footage at all.

For color correction you can use anything...in fact, i'm no photoshop genius but I bet that once you figure out the corrections for one section of frames, you could use some batch/script in photoshop to process the rest of the files.

On the pixel shift:
~~~~~~~~~~~
I'm still trying to figure out how to take advantage of this. I have confirmed that the green CCD is indeed shifted slightly along the Z axis such that it captures detail which lies in between pixels on the R and B channels.

The problem is that since only the green channel is shifted, the result is not a complete mosaic, but rather a pattern in which R and B coincide, there is solo G information for other pixels, and then there are locations where there is no actual information.

Now, i'm sure there's a way of de-mosaicing this somehow, i just haven't figured it out...shifting the green CCD seems to be common practice, anyone have any ideas?

Juan

Guest September 21st, 2004 06:03 PM

regarding green pixel shift... juan i have some ideas that might be a possible solution to the green shift, though it'll be a lot easier to spend five minutes trying it, instead of fifteen minutes trying to type out specific instructions. it also uses some software and plugins that you may not already own. can you post a recent frame?

Juan M. M. Fiebelkorn September 21st, 2004 06:38 PM

Well, in fact that Green CCD pixel shift has a clear explanation:
That is because every color column of a 4:2:2 image is placed between two columns of green.
So instead or doing (R1+R2)/2 and a (B1+B2)/2 you just shift the green CCD half pixel and you are ready.
So take note that it won't be exactly the same situation as a Bayer mosaic.
Anyway that doesn't avoid we can use it to increase resolution a little....


If you want, send me a couple of images (TIF or RAW format if more than 8 bit 16 bit per pixel) and a clear description of relative spatial position of pixels and/or the mosaic pattern it gives and I'll see what I can do....I guess I have an idea and a working demosaic that could just needs to be tweaked for that special case...

morsa a t morsa d o t net d o t ar

Juan P. Pertierra September 21st, 2004 06:48 PM

The whole thing(including my DVX ;) ) is torn apart right now so I am going to re-run some of the raw files I have and upload a PSD file without any resizing.

BTW, i'm also looking for a second DVX100 so we can install the device on it and lend it for demo. If anyone has an old standard DVX100 lying around and want to sell it, let me know. It doesn't matter how banged up it is. :)

Juan

Anders Holck Petersen September 22nd, 2004 04:35 PM

<<<-- Originally posted by Juan P. Pertierra : Well, i still have a but of confusion as to what the difficulty in synching the video to the audio is...i've done it several times and it works pretty much as it does with film, but easier, because the audio is linked to the DV video.>>>

Would it be possible to grab the DV timecode from the Firewire connector and embed it into the current filename? Don't know if the DVX outputs timecode when in cameramode but some cameras do. Should be a walk in the park to de-embed it from the DV stream right :)

Juan P. Pertierra September 22nd, 2004 04:44 PM

It's not hard to do, IF you have DV connected over firewire. however, what i've been doing is recording RAW to the computer and DV at the same time to regular tape. In this case, the timecode is on the tape itself, so the computer cannot really synch the RAW to the DV timecode. Maybe the computer could handle the DV stream on firewire and the RAW stream on USB2.0, but i think that's pushing it.

Since the DV tape is transfered later, the computer has no reference to synch the RAW with the DV footage, unless the use steps in and does it.

Another option would be to have a piece of software somehow compare the first RAW frame to the DV footage, and figure out which two frames are equal. Statistically this can be done but it might take a while, doing it in an efficient manner might be trickier. Synching the RAW footage to the DV footage is not hard at all and takes about 10 seconds at the most, i don't think it's a big deal.

Juan

Anders Holck Petersen September 22nd, 2004 05:12 PM

Ok, that's right you would have to process the entire DV stream in order to obtain the timecode information.

Too bad the DVX does not have a TC Lcd as the PD100 had, could be easy to intercept the driver bus.

BTW. How do you start/stop the recording? Have you thought about using the tally light as a start stop for the computer RAW capture?

Juan P. Pertierra September 22nd, 2004 06:05 PM

For those of you asking for an un-resized raw image for the shift de-mosaiqing: I ran an old file through the software again...i think this was shot with the anamorphic adapter at 10-bit RGB.

It is a PSD file with three layers, R,G,B and there is no color correction whatsoever, the only thing I did was flip the blue channel horizontally and nudge the layers so they are more or less aligned.

Please note like I said before, that the Red and Blue layers seem to line up perfectly while the green channel is one pixel wider and taller, and seems to capture detail in between R/B pixel elements.

http://expert.cc.purdue.edu/~pertierr/shift_work.psd

Guest September 24th, 2004 01:25 PM

Juan,

Quick question, off topic a bit. Is it possible to adjust the minimal gain on the DVX's chips? Some say that the gain is to high on the DVX's even at 0db, would it be possible to change that 0db to like a -3db or -6db? Would the camera then be able to acheive less noisy images even though an increase in light would be necessary during shooting? Thanks.

Brett Erskine September 29th, 2004 12:26 PM

Juan will your system ALSO have some of the great features found in traditional HDR like:

10 sec prerecorded RAM video for antishock and so you never miss a shot?

Firewire option for situation when you want to use it like a traditional HDR and just hook it up to any DV camera thru firewire and record the standard compressed DV stream?

If so your product will serve double duty and open yourself up to a much wider market.

Mark Grgurev October 2nd, 2004 10:08 PM

I did a little test in Photoshop for the fun of it and I realized that the XL2 chip can produce a High Definition signal. Pixel shift supposedly increases resolution by 150%. well I took a 853x480(NTSC widescreen) frame grab from the XL2 and increased its size by 150 % and i got a perfect 1280x720!!! With a Pal Xl2, it would be 1536x864, thats only 25% less resolution than 1080p!!!! Of course if you really want to get crazy and put an anamorphic adapter on it for Cinemascope, you get 2016x864. Besides the fact that there is a Pal and NTSC version of the chip, this leads me to believe the XL2 was designed to be HD.

Wayne Morellini October 3rd, 2004 06:33 AM

Mark, I don't know what process feature your using to get 150%, but to take advantage of the pixel shift you will need to get the raw frames (seperate with each pixel) for red green and blue and play with those mathematically to see what you can get. If Juan has posted colour seperated frames people you could test it for the 100 first.

I had a thread a while ago about getting HD on a XL2 by pixel shift. The XL2 has a software developers kit. If it allows you to program raw frames out (if it was really good it would) then you could do that.

I think it is all very good idea, as these cameras are going to be cheap come the time the true HD one come doiwn in price, and if you can do it the quality (4:2:0) shouldn't be too far off the HD ones (pluss the firewire hard drive to record it).

Mark Grgurev October 3rd, 2004 11:22 AM

I wasn't taking advantage of pixel shift, I just heard that pixel shift boosts resolution by 150%. Since the raw images from the Xl2 will at least be the size of a regular DV image , I just bicubicly uprezzed the footage to see what size NTSC Widescreen footage should be with 150% more resolution.

Thomas Smet October 3rd, 2004 07:56 PM

The problem with dv tape I think is that even with the XL2 having chips of that size isn't the rez lowered to 720 x 480 to fit on tape? Then once in the computer the anamorphic 720 frame is pulled back up to 853? Or does the XL2 record a different type of dv frame?

That means even though the XL2 shoots a really nice sharp 16x9 the pixel count is still a 720 x 480 anamorphic frame once captured.

The best way to get HD from the XL2 would be to use an anamorphic adapter at a 1.5 to 1 scale and second to figure out a way to activate the full 720 V pixels of the chips.

This would then give you 1440 x 720 non-square raw pixels. You could then turn those into square pixels to get 1280 x 720.

The interesting thing about this is that even though the chips are only 960 pixels wide and you have to blow up to get 1280 the new SONY HDV camera does the same thing. The SONY HDV camera uses chips that are 960 x 1080. That means the chips are blown up by 2X to get 1920 pixels. Well they are first blown up to 1440 but that is anamorphic. The SONY HDV starts with high H pixel count but blown up V pixels. The XL2 could be made to do basically the same thing but only to get 1280 x 720.

Of course the odds of getting a 1.5 anamorphic lens and figuring out if those "non-fired" pixels can be used are very slim so I wouldn't hold my breath for it to happen.

Juan P. Pertierra October 3rd, 2004 08:23 PM

To Brett:

My device does not have an internal hard disk, it's an interface to a PC or a external hard disk, so you couldn't interface it to DV like you say. However, the device does have user-set options which allow the recording of a stream which is approximately the same size as a DV stream...it is NOT the DV stream created by the camera though.

Juan

Mark Grgurev October 3rd, 2004 09:27 PM

To Thomas:

If your method did work than the pixel shift with give you a full 1920x1080. The pal version would get you 2048x1152. It wouldn't be as good as the F950 but I won't complain.

Juan P. Pertierra October 3rd, 2004 09:31 PM

Remember that I have actually posted a 3 layer photoshop file in which the green layer is pixel shifted. You can try your methods with that file and see if it really works.

http://expert.cc.purdue.edu/~pertierr/shift_work.psd

Chris Rubin October 3rd, 2004 10:25 PM

Good to hear from you, Juan. I already thought that the Men in Black from Canon or Sony had kidnapped you.

Thomas Smet October 5th, 2004 10:28 PM

I thought this might be helpful to us for deciding which codec to use for our raw video.

This guy compared a lot of the top video codecs including 4:1:1, 4:2:2, and 4:4:4.

He compared and tested both the Bitjazz Sheervideo codec and the microcosm codec. While Microcosm gives an insane amount of lossless compression it is slow. Sheervideo doesn't save as much space but is faster than realtime so may even work to encode directly from camera.

This site is also a good place to check out other types of codecs and see how bad DV really is compared to other formats.

The only bad thing is that only Mac codecs are tested and none for the PC yet.

http://www.onerivermedia.com/codecs/index.htm

Brad Abrahams October 6th, 2004 06:06 AM

Sheervideo works fine for the PC, I am a beta tester. Microcosm also works on the PC as well

Unfortunately, Sheervideo and Microcosm are not free, so I do not think this option is for everybody.

Juan, it may be a good idea to contact the Cineform guys (www.cineform.com) who make Aspect and Connect HD. They've developed an extremely efficient and fast codec that encodes 10-bit avi files with HD resolution. It encodes and playback faster than realtime without any fancy hardware. You may be able to work out some sort of bundle deal, including the codec with the hardware modification.

Thomas Smet October 6th, 2004 10:47 AM

This would be great if we plan on getting HD out of our dvx100 but what about SD?

Even though Sheervideo and Microcosm have a cost I did not think it was to high for people who actually want this type of footage. The only real purpose to this adapter is for high end film or visual effects work. Clearly it wouldn't be used to shoot cousin Billy's Bar Mitzvah.

At the same time people do not have to use these codecs. They could use Tiffs or any other image format they want to for free. Buying one of these codecs is to help deal with the footage better and have better storage. They are just to help and are an option.

People could always use other codecs as well such as animation with slight image loss but that is the tradeoff.

Guest October 6th, 2004 01:59 PM

i think the whole point of juan's mod is to give us the highest quality output possible from the camera -- which means RAW frames. compression to a codec would just make juan's job more complicated, not mention more expensive.

once we get the raw frames on our hard drives, what codec we use to work with the footage is our problem, and we have scores of options to choose from based on our workstations and workflows. and in terms of user design, juan's mod being only raw output is actually the best approach, because if he were to settle on a particular codec, then i'm sure he'd be alienating some users who prefer a different codec. besides, there is just no getting around the fact that, currently, any good non-lossy codec requires either lots of computation power and/or significant render time.

seriously, we couldn't ask for anything better than a camera that outputs raw pristine frames while SIMULTAMEOUSLY outputting to tape a standardized, low bandwidth format (dv25) for hassle-free offline editing, all in one relatively small package with just one simple firewire tether to a hard drive. there are plenty of other options out there if you want a low or moderately compressed format (dv50, dv100, sonyhd, etc.) that your computer can handle in realtime, and the rental costs for those packages aren't that bad anymore.

Wayne Morellini October 7th, 2004 12:05 AM

Over at the digital cinema camera threads (see list at start of technical thread) there has been people eager about doing FPGA based compression solutions, in times past (there was even a short lived FPGA thread). I believe some people, are working on them or do intend too. One company has offered to incorporate such a FPGA design in their cameras for us, if we design it. So as there is some mutal overlap here (single chip bayer is only our present option), you might get some mutal help by combining efforts with them. The Russian company Elphel (??, see home made camera thread) has supplied ccompression FPGA to sourceforge for their own network cameras too (but I think it was a high loss codec, though I don't know exactly what their future plans are). So such a thing could be mounted to a PCI card.

Apart from that there is ways to program onboard DSP's and AGP GPU circuits (only 266MB/s back channel to main/CPU memory. This hasn't been researched yet, but maybe a cheaper way.

We have been looking at low end CPU for aquistion and the data rates for aquistion of bayer 720p and DVX100 4:4:4 is similiar, except for the extra debayering step in the preview. So you should be able to get a good idea of just how low in CPU power you can go from these projects (programming is not yet finished so cpu power requirments will still be dropping). But we hope to eventually have 12cm aquare nano-itxs PC's aquiring the image through PCI capture cards, firewire or Gigabit ethernet.

Cineform is probably the best (costs a nice penny too). There is (among others) Avid's DNxHD codec that goes upto 220Mb/s, but it is limited to 10 bit. Anyway such datarates are very good for video work and some film work (we go upto raw over at the Cinenema threads for highest cinema quality, and certain editing/special effects processing) but on many productions that won't be needed.

Note on interfaces, if you go the route of an external SDI capture board (sorry I haven't read all the thread yet to know your plans) then I hear Heroinewarrior has free Linux 12bit Capture and NLE app, Cinelerra, for SDI input.

Thanks

Wayne.

Jason Rodriguez October 8th, 2004 05:57 AM

Quote:

Juan, it may be a good idea to contact the Cineform guys (www.cineform.com) who make Aspect and Connect HD. They've developed an extremely efficient and fast codec that encodes 10-bit avi files with HD resolution.
That sounds like a great idea.

Now I think David Newman is a great guy and very helpful, and his codec is very nice, but why do we have to alienate all the Mac users on this forum (and possible Linux users too)? Especially when I'm sure there's a lot of us who use FCP for editing, especially with the DVX100. I've talked to David many times about Mac support for Cineform, and it's not coming for quite some time due to dependancies for certain libraries, etc. on Windows and it's programming environment.

So again, I have to agree with Jaan, keep it RAW!

Mark Grgurev October 11th, 2004 11:09 AM

u done with the website yet, juan?

Stephen Birdsong October 11th, 2004 12:31 PM

I'm sure he would tell us if he was.
Juan, could you give us a time frame though, I'm sure we are all very eager.

stephen birdsong

Mark Grgurev October 18th, 2004 08:03 PM

Anybody figure out how to do the pixel shift, yet?

Michal Spimr October 23rd, 2004 12:55 PM

GREAT THREAD...JUST FOUND IT. and have a lot to catch up. Anyone knows what stage is the project in?? Is Juan already getting video out etc.??

Sorry for getting here so late. I just saw the uncompressed psd he posted and it looks great. Awesome job Juan.

Michal

Luis Caffesse October 26th, 2004 10:30 PM

Hmmm
It's been over 3 weeks since Juan's last post.


Juan, if you have any sort of update, let us know when you get a chance. Thanks, and keep up the good work.

-Luis

Hayden Rivers October 28th, 2004 08:36 PM

Is this project really over 9 months old? It seems like a really awesome idea. I just wish we had some more details.

Stephen Birdsong October 29th, 2004 12:16 PM

looks like "they" finally got him.

R.I.P.
Juan

stephen

Mark Grgurev October 31st, 2004 09:43 AM

where are you, Juan?!!!!!!!

Juan P. Pertierra October 31st, 2004 06:47 PM

I'm here i'm here :)

So, the website is still pretty plain but we have added a Forum for beta testers and questions in general. I'm finishing up the FAQ, and it the website will be posted this week, finished or not.

I figured this thread has gotten large enough as is, so a message board might be a good idea.

We're pretty much done with all the formalities that we had to take care of, the only thing we are missing is that we still need a DVX! So if any of you are looking to sell your DVX(not A is fine), let me know. I can't seem to find anything on ebay besides the retailers. Banged up is fine, as long as the electronics work.

We figured the best way to start was to have a couple of Beta testers to try the device out in the real world and let us know your suggestions or if anything doesn't work quite right. There is no software on the device per-se, so it doesn't crash, etc, but proffessionals might want some features implemented differently.

Juan

Carlos Dias Vega November 2nd, 2004 02:11 AM

Can't wait to see the website Juan!! I'm really excited :D

Mark Grgurev November 2nd, 2004 10:22 AM

Juan, did you figure out the pixel shift thing yet?

Obin Olson November 3rd, 2004 05:56 PM

Juan what is the site address?

also I would be a very happy beta tester..I am a professional

Sean Apple November 4th, 2004 01:13 AM

I'm a new kid on the block around here but, Juan (and fellow posters), what an awesome thing you've got brewing here!

I'm a visual effects artist and independent filmmaker in Burbank, California. Juan (et al), I'd love to try this modification of the DVX100 with respect to shooting greenscreen actors and elements.

Also, I'm shooting a short film using this camera right now (we'll actually be shooting some scenes in Indianapolis) and would like to see if this technology might be able to be implemented in a feature I'm currently writing and hoping to go into production summer 2005.

I've seen a spectacular 35mm blow-up from a few tests done with this camera by a Los Angeles-based post-house using their own "special sauce" proprietary scaling algorithm. I think they might be interested in seeing some tests with this modification. I would be happy to look into this possibility.

(www.imdb.com)

Juan P. Pertierra November 6th, 2004 02:23 PM

Website is up
 
An initial version of the website has been posted with basic information. We will be adding the rest of the content and correcting any errors over the next week or so. Please feel free to email with any questions or mistakes you find.

We figured it would be best to get input from everyone as we add the rest of the content, such as the FAQ's. I know there are tons of questions i've heard over and over again, so be sure to point out anything you want covered.

There is also a forum, which is intended to (hopefully) take some of the weight off this thread which has been going on for quite some time now, and is hard to navigate.

http://www.reel-stream.com

Cheers,
Juan

Joel Corkin November 6th, 2004 06:07 PM

Hi Juan,

The site looks good. The pricing and whatever wait time is involved is going to make or break this project, so hopefully you will figure that out soon and let everyone know.

Good luck!

Joel

Brad Abrahams November 6th, 2004 11:11 PM

Looking great Juan. As soon as I get my DVX I'll be looking into your service.


All times are GMT -6. The time now is 09:30 PM.

DV Info Net -- Real Names, Real People, Real Info!
1998-2025 The Digital Video Information Network