Author Topic: [DONE] Mod 16 resolutions/aspect ratios  (Read 7945 times)

Audionut

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3657
  • Blunt and to the point
[DONE] Mod 16 resolutions/aspect ratios
« on: May 29, 2013, 06:26:42 AM »
I'm not sure what factors determine what resolutions are available for RAW video, but can I request that if possible, they become mod 16 resolutions.

http://mewiki.project357.com/wiki/Computer_movie_files/Video/Mod16

http://doom10.org/index.php?topic=2160.0

a1ex

  • Administrator
  • Hero Member
  • *****
  • Posts: 12564
Re: Mod 16 resolutions/aspect ratios
« Reply #1 on: May 29, 2013, 07:44:35 AM »
Internal constraints: mod 8 horizontally and mod 2 vertically. Any combination possible.

a1ex

  • Administrator
  • Hero Member
  • *****
  • Posts: 12564
Re: Mod 16 resolutions/aspect ratios
« Reply #2 on: May 29, 2013, 06:45:37 PM »
FYI: 1920x1080 is not mod 16.

Audionut

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3657
  • Blunt and to the point
Re: Mod 16 resolutions/aspect ratios
« Reply #3 on: May 30, 2013, 01:01:16 AM »
FYI: 1920x1080 is not mod 16.

Indeed.  And Canon's h.264 is 1088 high with 8 lines cropped on playback.  Blu-ray also.

I've had a look at raw_rec.c. but I'm no where near being able to implement something like this myself yet.

a1ex

  • Administrator
  • Hero Member
  • *****
  • Posts: 12564
Re: Mod 16 resolutions/aspect ratios
« Reply #4 on: May 30, 2013, 01:43:02 PM »
Noticed that frame sizes multiple of 512 are a little faster to write (credits: CHDK and confirmed with my benchmark; also DMA block size is 512, so it makes sense). So, I've rounded things to 64x32 or 128x16, to make sure frame size is multiple of 512.

And indeed, according to my benchmark, 1920x1088 is a little faster to save than 1920x1080.

Now it's your job to calm down the guys who will flood the forum asking where did 1920x1080 disappear ;)

togg

  • Senior
  • ****
  • Posts: 444
Re: [DONE] Mod 16 resolutions/aspect ratios
« Reply #5 on: June 05, 2013, 02:37:05 AM »
So... What will be the best theoretical resolution for the 5D Mark II? :)

a1ex

  • Administrator
  • Hero Member
  • *****
  • Posts: 12564
Re: [DONE] Mod 16 resolutions/aspect ratios
« Reply #6 on: June 05, 2013, 10:15:12 AM »
All of them are "best" regarding write speed (you can no longer choose "bad" ones from menu).

Bioskop.Inc

  • Member
  • ***
  • Posts: 109
Re: [DONE] Mod 16 resolutions/aspect ratios
« Reply #7 on: June 05, 2013, 06:56:35 PM »
Any chance we could get another crop size (or 2) put to the list - something starting with or above 1024 (which i believe is the next step up from 960).
On my 60D, I'm getting minutes of (sometimes continuous) recording at the 960x..., but as soon as i jump up to 1280x... i slump straight back down to a few hundred frames.

Thanks & great work!

togg

  • Senior
  • ****
  • Posts: 444
Re: [DONE] Mod 16 resolutions/aspect ratios
« Reply #8 on: June 05, 2013, 07:36:11 PM »
All of them are "best" regarding write speed (you can no longer choose "bad" ones from menu).
Great, thanks :)