Headline news

An announcement regarding the forking of Magic Lantern, and the support that can be provided for these forks on this forum.

You can find our live webchat here: [email protected]

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

1%

  • Developer
  • Hero Member
  • *****
  • Posts: 5888
  • 600D/6D/50D/EOSM/7D
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

  • Senior
  • ****
  • Posts: 382
  • Dreaming in 14 bit
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.
Videography, photography, audio recording and production.

1%

  • Developer
  • Hero Member
  • *****
  • Posts: 5888
  • 600D/6D/50D/EOSM/7D
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

  • Contributor
  • Senior
  • *****
  • Posts: 257
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: 5888
  • 600D/6D/50D/EOSM/7D
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

  • Senior
  • ****
  • Posts: 382
  • Dreaming in 14 bit
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.
Videography, photography, audio recording and production.

1%

  • Developer
  • Hero Member
  • *****
  • Posts: 5888
  • 600D/6D/50D/EOSM/7D
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

  • Senior
  • ****
  • Posts: 382
  • Dreaming in 14 bit
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.
Videography, photography, audio recording and production.

g3gg0

  • Developer
  • Hero Member
  • *****
  • Posts: 2153
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.
« Last Edit: April 29, 2013, 01:51:17 AM by g3gg0 »

Rush

  • Contributor
  • Member
  • *****
  • Posts: 154
  • 5D3, EOS M
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: 5888
  • 600D/6D/50D/EOSM/7D
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: 2153
uncompressed YUV422 video recording
« Reply #36 on: April 29, 2013, 04:25:56 PM »
oh, true. thought i committed it already.
will do later.

g3gg0

  • Developer
  • Hero Member
  • *****
  • Posts: 2153
uncompressed YUV422 video recording
« Reply #37 on: April 29, 2013, 07:10:50 PM »
Commited to repo

nanomad

  • Administrator
  • Hero Member
  • *****
  • Posts: 2908
  • All your websites are belong to us
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: 2153
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.

g3gg0

  • Developer
  • Hero Member
  • *****
  • Posts: 2153
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.



1%

  • Developer
  • Hero Member
  • *****
  • Posts: 5888
  • 600D/6D/50D/EOSM/7D
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:

« Last Edit: April 30, 2013, 07:32:52 AM by 1% »

Rush

  • Contributor
  • Member
  • *****
  • Posts: 154
  • 5D3, EOS M
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: 6748
  • 5D Mark Free
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

  • Moderators
  • Senior
  • *****
  • Posts: 416
  • Crash test dummy MK3
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.
Reporter to Mahatma Gandhi: "Mr. Gandhi, what do you think of Western Civilisation?"   Gandhi: "I think it would be a good idea." https://vimeo.com/rollingshutter

a1ex

  • Administrator
  • Hero Member
  • *****
  • Posts: 6748
  • 5D Mark Free
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

  • Moderators
  • Senior
  • *****
  • Posts: 416
  • Crash test dummy MK3
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.
Reporter to Mahatma Gandhi: "Mr. Gandhi, what do you think of Western Civilisation?"   Gandhi: "I think it would be a good idea." https://vimeo.com/rollingshutter

Pelican

  • Contributor
  • Senior
  • *****
  • Posts: 335
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, EOS 5, EOS 100 + lenses (10mm to 300mm)
EOScard, ARMu, EOS DSLR firmwares, NiControl, etc.: http://pel.hu/eoscard

a1ex

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

a1ex

  • Administrator
  • Hero Member
  • *****
  • Posts: 6748
  • 5D Mark Free
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