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

1%

  • Developer
  • Hero Member
  • *****
  • Posts: 5936
  • 600D/6D/50D/EOSM/7D
Re: uncompressed YUV422 video recording
« Reply #25 on: April 28, 2013, 07:49:24 PM »
Hehehe, well then don't record audio :)

I need to try recording zoom image too... bigger width, lower height.

N/A

  • Hero Member
  • *****
  • Posts: 576
  • Dreaming in 14 bit
Re: uncompressed YUV422 video recording
« Reply #26 on: April 28, 2013, 09:13:12 PM »
As in uncompressed video AND 3x zoom? Hmmmm....

Oh and once you record audio through Apogee/RME converters, nothing quite compares  ;)
7D. 600D. Rokinon 35 cine. Sigma 30 1.4
Audio and video recording/production, Random Photography
Want to help with the latest development but don't know how to compile?

1%

  • Developer
  • Hero Member
  • *****
  • Posts: 5936
  • 600D/6D/50D/EOSM/7D
Re: uncompressed YUV422 video recording
« Reply #27 on: April 28, 2013, 09:46:26 PM »
Yea, dunno what it will look like. I'm trying to get 6D under control.

wolf

  • Senior
  • ****
  • Posts: 263
Re: uncompressed YUV422 video recording
« Reply #28 on: April 28, 2013, 10:57:26 PM »
I wonder if Black and White could lower the amount of data?

1%

  • Developer
  • Hero Member
  • *****
  • Posts: 5936
  • 600D/6D/50D/EOSM/7D
Re: uncompressed YUV422 video recording
« Reply #29 on: April 28, 2013, 11:00:52 PM »
Like throw all the chroma away? I dunno what does it do to silent pics on the cameras where that digic register for B/W works.

N/A

  • Hero Member
  • *****
  • Posts: 576
  • Dreaming in 14 bit
Re: uncompressed YUV422 video recording
« Reply #30 on: April 28, 2013, 11:12:19 PM »
Still working on your bitrate hack version or has this taken priority? Or shall you be combining them, if possible?
7D. 600D. Rokinon 35 cine. Sigma 30 1.4
Audio and video recording/production, Random Photography
Want to help with the latest development but don't know how to compile?

1%

  • Developer
  • Hero Member
  • *****
  • Posts: 5936
  • 600D/6D/50D/EOSM/7D
Re: uncompressed YUV422 video recording
« Reply #31 on: April 29, 2013, 12:36:49 AM »
Still working on everything. Just takes a while... 3 cameras at once.

N/A

  • Hero Member
  • *****
  • Posts: 576
  • Dreaming in 14 bit
Re: uncompressed YUV422 video recording
« Reply #32 on: April 29, 2013, 01:04:54 AM »
No doubt, keep up the awesome work.
7D. 600D. Rokinon 35 cine. Sigma 30 1.4
Audio and video recording/production, Random Photography
Want to help with the latest development but don't know how to compile?

g3gg0

  • Developer
  • Hero Member
  • *****
  • Posts: 3184
Re: uncompressed YUV422 video recording
« Reply #33 on: April 29, 2013, 01:49:26 AM »
added code to save RAW files on 5D3 now ;)
you have to call("lv_save_raw", 1) before running my code. (place it in run_test for example)

you should save it into separate files, not one single file.
there are some problems that cause file corruption. (if someone finds it, please fix ;) )

how it works:
i am using two extra EDMAC channels that are not used.
one is set up to read data from lv_save_raw buffer and write to connection #6
and the other is set up to get data from that connection and write it to my ringbuffer.
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!

Rush

  • Member
  • ***
  • Posts: 159
  • 5D3, EOS M
Re: uncompressed YUV422 video recording
« Reply #34 on: April 29, 2013, 07:03:08 AM »
added code to save RAW files on 5D3 now ;)
Do you mean you had implemented "continuous" RAW recording?  ???
Greetings from Russia!

1%

  • Developer
  • Hero Member
  • *****
  • Posts: 5936
  • 600D/6D/50D/EOSM/7D
Re: uncompressed YUV422 video recording
« Reply #35 on: April 29, 2013, 07:14:16 AM »
The lv rec writes faster so it will be better I guess. I don't see code for it yet

g3gg0

  • Developer
  • Hero Member
  • *****
  • Posts: 3184
Re: uncompressed YUV422 video recording
« Reply #36 on: April 29, 2013, 04:25:56 PM »
oh, true. thought i committed it already.
will do later.
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!

g3gg0

  • Developer
  • Hero Member
  • *****
  • Posts: 3184
Re: uncompressed YUV422 video recording
« Reply #37 on: April 29, 2013, 07:10:50 PM »
Commited to repo
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!

nanomad

  • Administrator
  • Hero Member
  • *****
  • Posts: 2918
  • All your websites are belong to us
Re: uncompressed YUV422 video recording
« Reply #38 on: April 29, 2013, 08:49:54 PM »
Thanks :D

Gonna play with it tonight
EOS 1100D | EOS 650 (No, I didn't forget the D) | Ye Olde Canon EF Lenses ('87): 50 f/1.8 - 28 f/2.8 - 70-210 f/4 | EF-S 18-55 f/3.5-5.6 | Metz 36 AF-5

g3gg0

  • Developer
  • Hero Member
  • *****
  • Posts: 3184
Re: uncompressed YUV422 video recording
« Reply #39 on: April 29, 2013, 09:55:07 PM »
didnt implement crop profiles yet, you have to set it manually.
about 600 should result in 720p raw video.
as said, writing into a single file causes some data corruption. didnt investigate it yet.
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!

g3gg0

  • Developer
  • Hero Member
  • *****
  • Posts: 3184
Re: uncompressed YUV422 video recording
« Reply #40 on: April 30, 2013, 12:51:22 AM »
okay should work now :)

720p, 400 frames, raw @ 24fps should be no problem with a fresh formatted 1000x card.
maybe i can improve it a bit, but for now it is quite useable.
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 video recording
« Reply #41 on: April 30, 2013, 12:59:19 AM »
I have to find stubs and ifdef the sizes. I shot some today, looked good, most 720P takes 100fps+

Shot this with LVrec today:


Rush

  • Member
  • ***
  • Posts: 159
  • 5D3, EOS M
Re: uncompressed YUV422 video recording
« Reply #42 on: April 30, 2013, 08:51:06 AM »
720p, 400 frames, raw @ 24fps should be no problem with a fresh formatted 1000x card.
Great! g3gg0, you are genius!
Is it 1280x720 or 1920x720?
Greetings from Russia!

a1ex

  • Administrator
  • Hero Member
  • *****
  • Posts: 12564
Re: uncompressed YUV422 video recording
« Reply #43 on: April 30, 2013, 09:35:17 AM »
Since there's no 1280 raw in 5D3, it's 1920 (well, 2080).

I'd like to test a hypothesis that might speed up the writing speed a little bit, can you try these benchmarks?
https://bitbucket.org/hudson/magic-lantern/commits/2a8021e59953

It's important to run them in LiveView (photo mode) with GlobalDraw OFF, otherwise we'll probably compare apples with oranges.

squig

  • Hero Member
  • *****
  • Posts: 518
  • Crash test dummy MK3
Re: uncompressed YUV422 video recording
« Reply #44 on: April 30, 2013, 09:48:35 AM »
You've already tested the Lexar 1000x yeah?

I haven't done the benchmark tests but back when I was doing the VBR testing the Lexar beat the fastest Sandisk extremes.

I'm gonna get one of those new Toshiba 1066x cards as soon as I can find somewhere that sells them (there's some listed on ebay outta HK but it looks a bit dodgy).

From the footage I've seen the 720p blows the H.264 1080p away for resolution, and with anamorphic glass that 720p IS 1080p. I'm just not clear on which footage is YUV and which is RAW. Can everyone please specify when they post footage.

a1ex

  • Administrator
  • Hero Member
  • *****
  • Posts: 12564
Re: uncompressed YUV422 video recording
« Reply #45 on: April 30, 2013, 09:51:35 AM »
I've only tested the 266x card and got 20MB/s.

Quote
I'm just not clear on which footage is YUV and which is RAW

This means there isn't any noticeable difference, so why bother? ;)

squig

  • Hero Member
  • *****
  • Posts: 518
  • Crash test dummy MK3
Re: uncompressed YUV422 video recording
« Reply #46 on: April 30, 2013, 09:59:52 AM »
I've only tested the 266x card and got 20MB/s.

This means there isn't any noticeable difference, so why bother? ;)

Well I don't know that yet unless you're saying that's true. What I'm saying is I like to be Walter White with these things and if people don't specify what their recording settings are I can't analyse their tests, but they are nice to look at.

Pelican

  • Contributor
  • Senior
  • *****
  • Posts: 408
Re: uncompressed YUV422 video recording
« Reply #47 on: April 30, 2013, 10:03:22 AM »
I'd like to test a hypothesis that might speed up the writing speed a little bit, can you try these benchmarks?
https://bitbucket.org/hudson/magic-lantern/commits/2a8021e59953

Could you please write the camera model, card maker and card model on the screen so easier to identify which test result belongs to which camera and card?
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

a1ex

  • Administrator
  • Hero Member
  • *****
  • Posts: 12564
Re: uncompressed YUV422 video recording
« Reply #48 on: April 30, 2013, 10:06:20 AM »
Will do tonight.

a1ex

  • Administrator
  • Hero Member
  • *****
  • Posts: 12564
Re: uncompressed YUV422 video recording
« Reply #49 on: April 30, 2013, 12:12:51 PM »
Just as I thought - writing is a bit faster for round buffer sizes - by around 10MB/s. Not bad.

http://i.imgur.com/TBBxVJj.png