Author Topic: uncompressed 14-bit RAW video recording  (Read 1075564 times)

squig

  • Hero Member
  • *****
  • Posts: 518
  • Crash test dummy MK3
Re: uncompressed YUV422 video recording
« Reply #50 on: April 30, 2013, 12:18:41 PM »
What's that the Lexar 1000x on the MK3?

a1ex

  • Administrator
  • Hero Member
  • *****
  • Posts: 12564
Re: uncompressed YUV422 video recording
« Reply #51 on: April 30, 2013, 12:38:11 PM »
Yes. Just added card/camera info to the screenshots, but not tested, no camera with me right now.

Audionut

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3657
  • Blunt and to the point
Re: uncompressed YUV422 video recording
« Reply #52 on: April 30, 2013, 01:07:30 PM »
Sandisk 60MB/s 16GB CF - 5D3


a1ex

  • Administrator
  • Hero Member
  • *****
  • Posts: 12564
Re: uncompressed YUV422 video recording
« Reply #53 on: April 30, 2013, 01:40:35 PM »
If my math is not broken, you should be able to 576 lines of raw data with a 2MB buffer, at 24/25p.

2*1024*1024 / (2080*14/8) => 576
2*1024*1024 * 24 => 50331648 < 51.2 * 1024 * 1024

Pelican

  • Contributor
  • Senior
  • *****
  • Posts: 408
Re: uncompressed YUV422 video recording
« Reply #54 on: April 30, 2013, 02:28:42 PM »
Yes. Just added card/camera info to the screenshots, but not tested, no camera with me right now.
Thanks!
EOS 7D Mark II, EOS 7D, EOS 5, EOS 100 + lenses (10mm to 300mm), 600EX, 550EX, YN600EX x 3
EOScard, EOS DSLR firmwares, ARMu, NiControl, etc.: http://pel.hu/down

RenatoPhoto

  • Moderators
  • Hero Member
  • *****
  • Posts: 1509
  • 5DM3 / 7D
Re: uncompressed YUV422 video recording
« Reply #55 on: April 30, 2013, 03:25:37 PM »
Results with 1000x

Lexar Professional 1000X 32GB with 5D3

2048K 85.3
2048K 128
1953K 85.3
1953K 128
3072K 93
3072K 128
4096K 113.7
4096K 146.2
3906K 93
3906K 146.2
16384K 113.7
malloc allocation error
15625K 113.7
malloc allocation error
128K 33
128K 37.9


http://www.pululahuahostal.com  |  EF 300 f/4, EF 100-400 L, EF 180 L, EF-S 10-22, Samyang 14mm, Sigma 28mm EX DG, Sigma 8mm 1:3.5 EX DG, EF 50mm 1:1.8 II, EF 1.4X II, Kenko C-AF 2X

a1ex

  • Administrator
  • Hero Member
  • *****
  • Posts: 12564
Re: uncompressed YUV422 video recording
« Reply #56 on: April 30, 2013, 03:28:51 PM »
Can you post the screenshot? it's on the card.

Greg

  • Contributor
  • Hero Member
  • *****
  • Posts: 607
Re: uncompressed YUV422 video recording
« Reply #57 on: April 30, 2013, 05:18:26 PM »
500D + Sandisk Extreme 45MB/s 16GB


1%

  • Developer
  • Hero Member
  • *****
  • Posts: 5936
  • 600D/6D/50D/EOSM/7D
Re: uncompressed YUV422 and 14-bit RAW video recording
« Reply #58 on: April 30, 2013, 06:44:13 PM »
Patriot EP card GD OFF:



Looks like on SD you want to use the sizes the card performs best at. CF doesn't have this problem? Like I'm better off writing 4 frames at once? I did another test with GD on 1080P and seemed way slower on the smaller buffers (lost from auto-power off). Should it be turning GD off before taking the pics or is freezing LV enough?






a1ex

  • Administrator
  • Hero Member
  • *****
  • Posts: 12564
Re: uncompressed YUV422 and 14-bit RAW video recording
« Reply #59 on: April 30, 2013, 06:57:38 PM »
To write 4 frames at once, you need to put them in a contiguous block. That's hard, because you also want to crop them, and right now the EDMAC writes full frames only.

Memcpy is way too slow. You would have to configure the cropping directly in the EDMAC (no idea how).

1%

  • Developer
  • Hero Member
  • *****
  • Posts: 5936
  • 600D/6D/50D/EOSM/7D
Re: uncompressed YUV422 and 14-bit RAW video recording
« Reply #60 on: April 30, 2013, 07:08:12 PM »
Why isn't it using DMA memcpy? That fixed audio for me.

a1ex

  • Administrator
  • Hero Member
  • *****
  • Posts: 12564
Re: uncompressed YUV422 and 14-bit RAW video recording
« Reply #61 on: April 30, 2013, 07:22:09 PM »
Try it, but you would have one copy from edmac and another from dma_memcpy (which may slow down the write speed, compared to just copying from edmac). Plus non-trivial task synchronization.

1%

  • Developer
  • Hero Member
  • *****
  • Posts: 5936
  • 600D/6D/50D/EOSM/7D
Re: uncompressed YUV422 and 14-bit RAW video recording
« Reply #62 on: April 30, 2013, 07:28:54 PM »
I only see memcpy for the header and then I see edmac redirected to write to the buffer and then buffer written with fio write file?

*So can speed up header writing for sure but dunno how slow that is.

Sped up the header writing.. maybe slightly faster to save the files once the buffer is full.

a1ex

  • Administrator
  • Hero Member
  • *****
  • Posts: 12564
Re: uncompressed YUV422 and 14-bit RAW video recording
« Reply #63 on: April 30, 2013, 07:36:50 PM »
I don't see any memcpy in lv_rec, and save_dng was never intended for real-time recording.

For real-time, all you have to do is to dump the image data without any processing (and that's what lv_rec does).

1%

  • Developer
  • Hero Member
  • *****
  • Posts: 5936
  • 600D/6D/50D/EOSM/7D
Re: uncompressed YUV422 and 14-bit RAW video recording
« Reply #64 on: April 30, 2013, 07:41:19 PM »
I'm getting better sync from your dng writer.. the video looks more fluid so i was messing with that. I have to try the rewrite g3ggo did to lv_rec... it writes with the DMA directly I think, no way to speed that up.

Ok, tested the module with raw... into a single file getting pretty much double rate. I have to look at the files. Almost 60 frames of "hd". Also turning off GD seems to help a bit.

g3gg0

  • Developer
  • Hero Member
  • *****
  • Posts: 3184
Re: uncompressed YUV422 and 14-bit RAW video recording
« Reply #65 on: April 30, 2013, 09:04:45 PM »
you can skip frames (half or third frame rate) to have continuous video recording.
Help us with datasheets - Help us with register dumps
magic lantern: 1Magic9991E1eWbGvrsx186GovYCXFbppY, server expenses: paypal@g3gg0.de
ONLY donate for things we have done, not for things you expect!

1%

  • Developer
  • Hero Member
  • *****
  • Posts: 5936
  • 600D/6D/50D/EOSM/7D
Re: uncompressed YUV422 and 14-bit RAW video recording
« Reply #66 on: April 30, 2013, 10:25:03 PM »
I dunno how frame skips will play out in terms of motion quality. I guess I'll see.

duncanidaho25

  • New to the forum
  • *
  • Posts: 42
Re: uncompressed YUV422 and 14-bit RAW video recording
« Reply #67 on: May 01, 2013, 03:43:32 AM »
Is this helpful?  If not, what kind of test can I run to help out?

5D2 |  VAF-5d2b | Komputerbay 64GB 1000x  | 14, 24, 35, 85 Samyang Lens Set  | 50, 180 Nikon | Marshall V-LCD51 | DigiFinder | 528s LED Amaran lights

ozcancelik

  • Freshman
  • **
  • Posts: 90
Re: uncompressed YUV422 and 14-bit RAW video recording
« Reply #68 on: May 01, 2013, 01:07:07 PM »
Kingston Ultimate 600x CF Card



Product specs say "90 Mb/s write and read speed" But seems like it's not
http://www.bhphotovideo.com/c/product/738080-REG/Kingston_CF_32GB_U3_32GB_Ultimate_CompactFlash_600x.html


RenatoPhoto

  • Moderators
  • Hero Member
  • *****
  • Posts: 1509
  • 5DM3 / 7D
Re: uncompressed YUV422 and 14-bit RAW video recording
« Reply #69 on: May 01, 2013, 03:41:50 PM »
Lexar 1000x  32 gig with 5D3




http://www.pululahuahostal.com  |  EF 300 f/4, EF 100-400 L, EF 180 L, EF-S 10-22, Samyang 14mm, Sigma 28mm EX DG, Sigma 8mm 1:3.5 EX DG, EF 50mm 1:1.8 II, EF 1.4X II, Kenko C-AF 2X

kfprod

  • New to the forum
  • *
  • Posts: 39
  • 5d Mk3 1.2.3
Re: uncompressed YUV422 and 14-bit RAW video recording
« Reply #70 on: May 01, 2013, 04:17:32 PM »
I'm new to all this but couldn't you use the second card slot of the camera and write every second frame to that, sort of as a RAID config?

1%

  • Developer
  • Hero Member
  • *****
  • Posts: 5936
  • 600D/6D/50D/EOSM/7D
Re: uncompressed YUV422 and 14-bit RAW video recording
« Reply #71 on: May 01, 2013, 04:19:15 PM »
How do I open the .raw files from lvrec? They have no headers. Photoshop wants a size but when I put in the dimensions and 16bit 3 channels it says file too large.


RenatoPhoto

  • Moderators
  • Hero Member
  • *****
  • Posts: 1509
  • 5DM3 / 7D
Re: uncompressed YUV422 and 14-bit RAW video recording
« Reply #72 on: May 01, 2013, 04:48:37 PM »
It seems that digital crop video would be one step closer with the new zoom+silent pictures?
http://www.pululahuahostal.com  |  EF 300 f/4, EF 100-400 L, EF 180 L, EF-S 10-22, Samyang 14mm, Sigma 28mm EX DG, Sigma 8mm 1:3.5 EX DG, EF 50mm 1:1.8 II, EF 1.4X II, Kenko C-AF 2X

Mati

  • New to the forum
  • *
  • Posts: 9
Re: uncompressed YUV422 and 14-bit RAW video recording
« Reply #73 on: May 01, 2013, 05:59:17 PM »
I'm new here, hello everyone :).
My test conducted on the SanDisk Extreme 60MB/s UDMA 16GB, Canon 5D Mark II.
I do not know how umieściś same picture so here 's the link to the test : http://www.sendspace.com/file/q5i5yl

HugoFilipe

  • New to the forum
  • *
  • Posts: 32
Re: uncompressed YUV422 and 14-bit RAW video recording
« Reply #74 on: May 01, 2013, 08:33:51 PM »
This will sound completly noob, i know, i am one.
I've put the 29th April firmware on my 5D3 but i only manage to get a couple of frames (below 50) with 720p and fps overwrite to 24.
I'm using a Sandisk Extreme Pro 90MB/s 32GB.

What i'm doing wrong? 400 frames would do it fine por me!

Thank you in advance!