Author Topic: Magic Lantern (RAW) Video format v2.0 (mlv_rec.mo)  (Read 1333914 times)

oddname

  • New to the forum
  • *
  • Posts: 45
Re: Magic Lantern (RAW) Video format v2.0
« Reply #600 on: October 06, 2013, 01:56:37 PM »
Any news regarding 5D2? =)

g3gg0

  • Developer
  • Hero Member
  • *****
  • Posts: 3183
Re: Magic Lantern (RAW) Video format v2.0
« Reply #601 on: October 06, 2013, 02:07:17 PM »
https://bitbucket.org/g3gg0/magic-lantern/ is my main working fork.
it contains more than just the mlv format, but also some other stuff.

https://bitbucket.org/g3gg0/magic-lantern-mlv is an excerpt of the mlv related changes,
intended for merging into main repository. there is an pull request for this fork.
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!

Rewind

  • Senior
  • ****
  • Posts: 356
Re: Magic Lantern (RAW) Video format v2.0
« Reply #602 on: October 06, 2013, 02:09:31 PM »
https://bitbucket.org/g3gg0/magic-lantern/ is my main working fork.
it contains more than just the mlv format, but also some other stuff.

Is it possible to compile mlv_rec from your source to cameras other than 5d3?
I've tried it for 650D but without success. Got error 1 at the end.

g3gg0

  • Developer
  • Hero Member
  • *****
  • Posts: 3183
Re: Magic Lantern (RAW) Video format v2.0
« Reply #603 on: October 06, 2013, 02:13:51 PM »
Before yesterday updating raw_rec_mlv.zip the App MLV converter for MAC OSX worked fine, now, as I convert the file it creates an empty folder.
In the camera as I use preview, it doesn't work and I see a black screen.
Does anyone have the same problem?

can you open these files with the MLV viewer?

what do you mean with preview and black screen?
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: 3183
Re: Magic Lantern (RAW) Video format v2.0
« Reply #604 on: October 06, 2013, 02:18:46 PM »
Any news regarding 5D2? =)
I can try again, can you point me to the latest build of the module that should work?
(I tried one before, and I was the one saying it froze, gave me speeds of 6-7MB/s instead of 60-70 when it works)

you wanted to try it again, you said a few weeks ago ;)

Is it possible to compile mlv_rec from your source to cameras other than 5d3?

the module is not camera-dependent, you can use it for any model.

it should work with any camera on which the original raw_rec works too.
but it may require some symbols in the ML/MODULES/<model>.SYM, so you may get an error.

which error do you get? which model?
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!

Rewind

  • Senior
  • ****
  • Posts: 356
Re: Magic Lantern (RAW) Video format v2.0
« Reply #605 on: October 06, 2013, 02:24:16 PM »
which error do you get? which model?

Just updated that message: 650D, Error 1.
.sym compiles fine, but when i try to make raw_rec, it gives me this:


If you have a couple of mins, would you mind to describe me, what i have to do exactly to try mlv on 650d?

g3gg0

  • Developer
  • Hero Member
  • *****
  • Posts: 3183
Re: Magic Lantern (RAW) Video format v2.0
« Reply #606 on: October 06, 2013, 02:35:15 PM »
can you run hg update and retry?
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!

Rewind

  • Senior
  • ****
  • Posts: 356
Re: Magic Lantern (RAW) Video format v2.0
« Reply #607 on: October 06, 2013, 02:38:20 PM »
can you run hg update and retry?

still the same

g3gg0

  • Developer
  • Hero Member
  • *****
  • Posts: 3183
Re: Magic Lantern (RAW) Video format v2.0
« Reply #608 on: October 06, 2013, 02:42:57 PM »
hg pull
hg update
make clean
make

:)
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!

RenatoPhoto

  • Moderators
  • Hero Member
  • *****
  • Posts: 1509
  • 5DM3 / 7D
Re: Magic Lantern (RAW) Video format v2.0
« Reply #609 on: October 06, 2013, 02:44:58 PM »
Just updated that message: 650D, Error 1.
.sym compiles fine, but when i try to make raw_rec, it gives me this:


I get this kind of error if I do not compile the autoexec.bin first.

So if I compile the make 5D3 and then then compile the modules, i do not get the dep error.
I tried to compile the 650D but got an error, so I compiled for 5D3 and then do the module.
Maybe that will fix it.
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

Rewind

  • Senior
  • ****
  • Posts: 356
Re: Magic Lantern (RAW) Video format v2.0
« Reply #610 on: October 06, 2013, 02:46:53 PM »
hg pull
hg update
make clean
make

I've just deleted all the folders, cloned the whole copy of this branch https://bitbucket.org/g3gg0/magic-lantern/
.sym make works, but raw_rec make gives this:

g3gg0

  • Developer
  • Hero Member
  • *****
  • Posts: 3183
Re: Magic Lantern (RAW) Video format v2.0
« Reply #611 on: October 06, 2013, 02:47:44 PM »
yeah right, you have to recompile the ml binary too, because of the stubs.
sorry, didnt tell you that that what i wrote was meant to be executed in the root directory of the clone :)

so now it works?
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!

Rewind

  • Senior
  • ****
  • Posts: 356
Re: Magic Lantern (RAW) Video format v2.0
« Reply #612 on: October 06, 2013, 02:51:25 PM »
yeah right, you have to recompile the ml binary too, because of the stubs.

Of course, first i went to the platform/650d.104 and make. It makes ok, and gives me autoexec and .sym
But then, when trying to make raw_rec module, the error still the same

Rewind

  • Senior
  • ****
  • Posts: 356
Re: Magic Lantern (RAW) Video format v2.0
« Reply #613 on: October 06, 2013, 02:55:47 PM »
wait, i think i've got it )
Thank you!

escho

  • Contributor
  • Hero Member
  • *****
  • Posts: 563
Re: Magic Lantern (RAW) Video format v2.0
« Reply #614 on: October 06, 2013, 03:52:39 PM »
please can you add this to stubs.S for 600D

Code: [Select]
NSTUB(0xFF1F5C80, msg_queue_count)
Edgar
https://sternenkarten.com/
600D, 6D, openSUSE Tumbleweed

g3gg0

  • Developer
  • Hero Member
  • *****
  • Posts: 3183
Re: Magic Lantern (RAW) Video format v2.0
« Reply #615 on: October 06, 2013, 03:59:59 PM »
done, thanks
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!

escho

  • Contributor
  • Hero Member
  • *****
  • Posts: 563
Re: Magic Lantern (RAW) Video format v2.0
« Reply #616 on: October 06, 2013, 04:04:57 PM »
I cannot compile mlv_dump

Code: [Select]
[ GCC      ]   mlv_dump
In file included from ../../src/raw.h:203:0,
                 from ../lv_rec/lv_rec.h:24,
                 from mlv_dump.c:39:
../../src/menu.h:170:22: warning: padding struct to align ‘help’ [-Wpadded]
../../src/menu.h:259:13: warning: padding struct to align ‘split_pos’ [-Wpadded]
../../src/menu.h:261:1: warning: padding struct size to alignment boundary [-Wpadded]
/usr/lib64/gcc/x86_64-suse-linux/4.7/../../../../x86_64-suse-linux/bin/ld: i386:x86-64 architecture of input file `lzma/lib7z.a(LzmaLib.host.o)' is incompatible with i386 output
/usr/lib64/gcc/x86_64-suse-linux/4.7/../../../../x86_64-suse-linux/bin/ld: i386:x86-64 architecture of input file `lzma/lib7z.a(Alloc.host.o)' is incompatible with i386 output
/usr/lib64/gcc/x86_64-suse-linux/4.7/../../../../x86_64-suse-linux/bin/ld: i386:x86-64 architecture of input file `lzma/lib7z.a(LzmaDec.host.o)' is incompatible with i386 output
/usr/lib64/gcc/x86_64-suse-linux/4.7/../../../../x86_64-suse-linux/bin/ld: i386:x86-64 architecture of input file `lzma/lib7z.a(LzmaEnc.host.o)' is incompatible with i386 output
/usr/lib64/gcc/x86_64-suse-linux/4.7/../../../../x86_64-suse-linux/bin/ld: i386:x86-64 architecture of input file `lzma/lib7z.a(LzFind.host.o)' is incompatible with i386 output
collect2: error: ld returned 1 exit status
make: *** [mlv_dump] Fehler 1

If I change the makefile like this, I can compile

Code: [Select]
# large file support
# get them with $(shell getconf LFS_CFLAGS)
LFS_FLAGS=-DLARGEFILES -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
# MLV_CFLAGS=-DMLV_USE_LZMA -Wpadded -mno-ms-bitfields -std=c99 -m32 -O2 -Wall $(LFS_FLAGS) -I$(SRC_DIR)
MLV_CFLAGS=-DMLV_USE_LZMA -Wpadded -mno-ms-bitfields -std=c99 -O2 -Wall $(LFS_FLAGS) -I$(SRC_DIR)

Where is my fault ( I´m running OpenSuse 64Bit)

Edgar

https://sternenkarten.com/
600D, 6D, openSUSE Tumbleweed

g3gg0

  • Developer
  • Hero Member
  • *****
  • Posts: 3183
Re: Magic Lantern (RAW) Video format v2.0
« Reply #617 on: October 06, 2013, 04:18:03 PM »
i guess it is not your fault, but mine :)
you can keep the -m32 removed maybe.

can you check if compression still works?
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!

escho

  • Contributor
  • Hero Member
  • *****
  • Posts: 563
Re: Magic Lantern (RAW) Video format v2.0
« Reply #618 on: October 06, 2013, 04:19:31 PM »
Sorry, but next problem with my 600D

If I record a mlv-file, all is fine. Now I stop the recording.
If I want to start a new record, the camera crashes.

assert.log
Code: [Select]
ML ASSERT:
(int)size == hSuite->size
at ../../src/exmem.c:122 (shoot_malloc_suite), task raw_rec_task
lv:1 mode:20


Magic Lantern version : v2.3.NEXT.2013Oct06.600D102
Mercurial changeset   : db0460be09c1+ (unified) tip
Built on 2013-10-06 08:47:30 UTC by edgar@linux-lyl7.site.
Free Memory  : 199K + 942K
crash.log
Code: [Select]
ASSERT: IsChunkSignature( hChunk )
at PackMemory\PackMem.c:264, task RscMgr
lv:0 mode:20


Magic Lantern version : v2.3.NEXT.2013Oct06.600D102
Mercurial changeset   : db0460be09c1+ (unified) tip
Built on 2013-10-06 08:47:30 UTC by edgar@linux-lyl7.site.
Free Memory  : 198K + 943K

Edgar
https://sternenkarten.com/
600D, 6D, openSUSE Tumbleweed

escho

  • Contributor
  • Hero Member
  • *****
  • Posts: 563
Re: Magic Lantern (RAW) Video format v2.0
« Reply #619 on: October 06, 2013, 04:26:04 PM »
i guess it is not your fault, but mine :)
you can keep the -m32 removed maybe.

can you check if compression still works?

Not at the moment, because I get an sigsegfault, using mlv_dump

Code: [Select]
edgar@linux-lyl7:~/test> ./mlv_dump -r -o out.raw 1.MLV

 MLV Dumper v1.0
-----------------

[i] Mode of operation:
   - Input MLV file: '1.MLV'
   - Convert to legacy RAW
   - Output into 'out.raw'
[i] File 1.MLV opened
[i] Processing...
[i] Unknown Block: NULL, skipping
Speicherzugriffsfehler

The recorded file can be seen in your player

Edgar
https://sternenkarten.com/
600D, 6D, openSUSE Tumbleweed

g3gg0

  • Developer
  • Hero Member
  • *****
  • Posts: 3183
Re: Magic Lantern (RAW) Video format v2.0
« Reply #620 on: October 06, 2013, 04:36:08 PM »
Sorry, but next problem with my 600D

If I record a mlv-file, all is fine. Now I stop the recording.
If I want to start a new record, the camera crashes.


can you hg pull/hg update and recompile the module?
please also use the trace.mo and enable tracing in raw rec menu.
then send me the raw_rec.txt content.
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: 3183
Re: Magic Lantern (RAW) Video format v2.0
« Reply #621 on: October 06, 2013, 04:38:06 PM »
Unknown Block: NULL, skipping
Speicherzugriffsfehler[/code]

can you open raw.h in src/ directory and replace the raw_info struct with this one?

Code: [Select]
/* raw image info (geometry, calibration levels, color, DR etc); parts of this were copied from CHDK */
struct raw_info {
    int32_t api_version;            // increase this when changing the structure
    uint32_t buffer;               // points to image data
   
    int32_t height, width, pitch;
    int32_t frame_size;
    int32_t bits_per_pixel;         // 14

    int32_t black_level;            // autodetected
    int32_t white_level;            // somewhere around 13000 - 16000, varies with camera, settings etc
                                // would be best to autodetect it, but we can't do this reliably yet
    union                       // DNG JPEG info
    {
        struct
        {
            int32_t x, y;           // DNG JPEG top left corner
            int32_t width, height;  // DNG JPEG size
        } jpeg;
        struct
        {
            int32_t origin[2];
            int32_t size[2];
        } crop;
    };
    union                       // DNG active sensor area (Y1, X1, Y2, X2)
    {
        struct
        {
            int32_t y1, x1, y2, x2;
        } active_area;
        int32_t dng_active_area[4];
    };
    int32_t exposure_bias[2];       // DNG Exposure Bias (idk what's that)
    int32_t cfa_pattern;            // stick to 0x02010100 (RGBG) if you can
    int32_t calibration_illuminant1;
    int32_t color_matrix1[18];      // DNG Color Matrix
   
    int32_t dynamic_range;          // EV x100, from analyzing black level and noise (very close to DxO)
};

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!

escho

  • Contributor
  • Hero Member
  • *****
  • Posts: 563
Re: Magic Lantern (RAW) Video format v2.0
« Reply #622 on: October 06, 2013, 04:56:25 PM »
First the raw_rec.txt

Code: [Select]
/* 00:00:35.948984  */ Resolution: 896x504 @ 25.000 FPS
/* 00:00:36.097453  */ frame size = 0xC0F00
/* 00:00:36.097725  */ slot   0: pre_align = 0x00000180, edmac_size_align =  3552, write_size_align =   256, data_start = 0x42185000, size = 0xC1E00
/* 00:00:36.097999  */ slot   1: pre_align = 0x00000000, edmac_size_align =  4064, write_size_align =   256, data_start = 0x42247000, size = 0xC2000
/* 00:00:36.098255  */ slot   2: pre_align = 0x00000000, edmac_size_align =  4064, write_size_align =   256, data_start = 0x42309000, size = 0xC2000
/* 00:00:36.098519  */ slot   3: pre_align = 0x00000000, edmac_size_align =  4064, write_size_align =   256, data_start = 0x423CB000, size = 0xC2000
/* 00:00:36.098778  */ slot   4: pre_align = 0x00000000, edmac_size_align =  4064, write_size_align =   256, data_start = 0x4248D000, size = 0xC2000
/* 00:00:36.099031  */ slot   5: pre_align = 0x00000000, edmac_size_align =  4064, write_size_align =   256, data_start = 0x4254F000, size = 0xC2000
/* 00:00:36.099285  */ slot   6: pre_align = 0x00000000, edmac_size_align =  4064, write_size_align =   256, data_start = 0x42611000, size = 0xC2000
/* 00:00:36.099549  */ slot   7: pre_align = 0x00000000, edmac_size_align =  4064, write_size_align =   256, data_start = 0x426D3000, size = 0xC2000
/* 00:00:36.099810  */ slot   8: pre_align = 0x00000000, edmac_size_align =  4064, write_size_align =   256, data_start = 0x42795000, size = 0xC2000
/* 00:00:36.100068  */ slot   9: pre_align = 0x00000000, edmac_size_align =  4064, write_size_align =   256, data_start = 0x42857000, size = 0xC2000
/* 00:00:36.100330  */ slot  10: pre_align = 0x00000000, edmac_size_align =  4064, write_size_align =   256, data_start = 0x42919000, size = 0xC2000
/* 00:00:36.100590  */ slot  11: pre_align = 0x00000000, edmac_size_align =  4064, write_size_align =   256, data_start = 0x429DB000, size = 0xC2000
/* 00:00:36.100856  */ slot  12: pre_align = 0x00000000, edmac_size_align =  4064, write_size_align =   256, data_start = 0x42A9D000, size = 0xC2000
/* 00:00:36.101115  */ slot  13: pre_align = 0x00000000, edmac_size_align =  4064, write_size_align =   256, data_start = 0x42B5F000, size = 0xC2000
/* 00:00:36.101379  */ slot  14: pre_align = 0x00000000, edmac_size_align =  4064, write_size_align =   256, data_start = 0x42C21000, size = 0xC2000
/* 00:00:36.101640  */ slot  15: pre_align = 0x00000000, edmac_size_align =  4064, write_size_align =   256, data_start = 0x42CE3000, size = 0xC2000
/* 00:00:36.101909  */ slot  16: pre_align = 0x00000000, edmac_size_align =  4064, write_size_align =   256, data_start = 0x42DA5000, size = 0xC2000
/* 00:00:36.102160  */ slot  17: pre_align = 0x00000000, edmac_size_align =  4064, write_size_align =   256, data_start = 0x42E67000, size = 0xC2000
/* 00:00:36.102421  */ slot  18: pre_align = 0x00000000, edmac_size_align =  4064, write_size_align =   256, data_start = 0x42F29000, size = 0xC2000
/* 00:00:36.102938  */ slot  19: pre_align = 0x00000000, edmac_size_align =  4064, write_size_align =   256, data_start = 0x42FEB000, size = 0xC2000
/* 00:00:36.103243  */ slot  20: pre_align = 0x00000000, edmac_size_align =  4064, write_size_align =   256, data_start = 0x430AD000, size = 0xC2000
/* 00:00:36.103507  */ slot  21: pre_align = 0x00000000, edmac_size_align =  4064, write_size_align =   256, data_start = 0x4316F000, size = 0xC2000
/* 00:00:36.103775  */ slot  22: pre_align = 0x00000000, edmac_size_align =  4064, write_size_align =   256, data_start = 0x43231000, size = 0xC2000
/* 00:00:36.104039  */ slot  23: pre_align = 0x00000000, edmac_size_align =  4064, write_size_align =   256, data_start = 0x432F3000, size = 0xC2000
/* 00:00:36.104304  */ slot  24: pre_align = 0x00000000, edmac_size_align =  4064, write_size_align =   256, data_start = 0x433B5000, size = 0xC2000
/* 00:00:36.104563  */ slot  25: pre_align = 0x00000000, edmac_size_align =  4064, write_size_align =   256, data_start = 0x43477000, size = 0xC2000
/* 00:00:36.104917  */ slot  26: pre_align = 0x00000000, edmac_size_align =  4064, write_size_align =   256, data_start = 0x43539000, size = 0xC2000
/* 00:00:36.105186  */ slot  27: pre_align = 0x00000000, edmac_size_align =  4064, write_size_align =   256, data_start = 0x435FB000, size = 0xC2000
/* 00:00:36.105471  */ slot  28: pre_align = 0x00000000, edmac_size_align =  4064, write_size_align =   256, data_start = 0x436BD000, size = 0xC2000
/* 00:00:36.105751  */ slot  29: pre_align = 0x00000000, edmac_size_align =  4064, write_size_align =   256, data_start = 0x4377F000, size = 0xC2000
/* 00:00:36.106049  */ slot  30: pre_align = 0x00000000, edmac_size_align =  4064, write_size_align =   256, data_start = 0x43841000, size = 0xC2000
/* 00:00:36.106342  */ slot  31: pre_align = 0x00000000, edmac_size_align =  4064, write_size_align =   256, data_start = 0x43903000, size = 0xC2000
/* 00:00:36.106630  */ slot  32: pre_align = 0x00000000, edmac_size_align =  4064, write_size_align =   256, data_start = 0x439C5000, size = 0xC2000
/* 00:00:36.106904  */ slot  33: pre_align = 0x00000000, edmac_size_align =  4064, write_size_align =   256, data_start = 0x43A87000, size = 0xC2000
/* 00:00:36.107194  */ slot  34: pre_align = 0x00000000, edmac_size_align =  4064, write_size_align =   256, data_start = 0x43B49000, size = 0xC2000
/* 00:00:36.107477  */ slot  35: pre_align = 0x00000000, edmac_size_align =  4064, write_size_align =   256, data_start = 0x43C0B000, size = 0xC2000
/* 00:00:36.107764  */ slot  36: pre_align = 0x00000000, edmac_size_align =  4064, write_size_align =   256, data_start = 0x43CCD000, size = 0xC2000
/* 00:00:36.108038  */ slot  37: pre_align = 0x00000000, edmac_size_align =  4064, write_size_align =   256, data_start = 0x43D8F000, size = 0xC2000
/* 00:00:36.108335  */ slot  38: pre_align = 0x00000000, edmac_size_align =  4064, write_size_align =   256, data_start = 0x43E51000, size = 0xC2000
/* 00:00:36.108621  */ slot  39: pre_align = 0x00000000, edmac_size_align =  4064, write_size_align =   256, data_start = 0x43F13000, size = 0xC2000
/* 00:00:36.108924  */ slot  40: pre_align = 0x00000190, edmac_size_align =  3552, write_size_align =   256, data_start = 0x4A001000, size = 0xC1E00
/* 00:00:36.109218  */ slot  41: pre_align = 0x00000000, edmac_size_align =  4064, write_size_align =   256, data_start = 0x4A0C3000, size = 0xC2000
/* 00:00:36.109515  */ slot  42: pre_align = 0x00000000, edmac_size_align =  4064, write_size_align =   256, data_start = 0x4A185000, size = 0xC2000
/* 00:00:36.109803  */ slot  43: pre_align = 0x00000000, edmac_size_align =  4064, write_size_align =   256, data_start = 0x4A247000, size = 0xC2000
/* 00:00:36.110085  */ slot  44: pre_align = 0x00000000, edmac_size_align =  4064, write_size_align =   256, data_start = 0x4A309000, size = 0xC2000
/* 00:00:36.110362  */ slot  45: pre_align = 0x00000000, edmac_size_align =  4064, write_size_align =   256, data_start = 0x4A3CB000, size = 0xC2000
/* 00:00:36.110643  */ slot  46: pre_align = 0x00000000, edmac_size_align =  4064, write_size_align =   256, data_start = 0x4A48D000, size = 0xC2000
/* 00:00:36.110927  */ slot  47: pre_align = 0x00000000, edmac_size_align =  4064, write_size_align =   256, data_start = 0x4A54F000, size = 0xC2000
/* 00:00:36.111207  */ slot  48: pre_align = 0x00000000, edmac_size_align =  4064, write_size_align =   256, data_start = 0x4A611000, size = 0xC2000
/* 00:00:36.111475  */ slot  49: pre_align = 0x00000000, edmac_size_align =  4064, write_size_align =   256, data_start = 0x4A6D3000, size = 0xC2000
/* 00:00:36.111762  */ slot  50: pre_align = 0x00000000, edmac_size_align =  4064, write_size_align =   256, data_start = 0x4A795000, size = 0xC2000
/* 00:00:36.112048  */ slot  51: pre_align = 0x00000000, edmac_size_align =  4064, write_size_align =   256, data_start = 0x4A857000, size = 0xC2000
/* 00:00:36.112338  */ slot  52: pre_align = 0x00000000, edmac_size_align =  4064, write_size_align =   256, data_start = 0x4A919000, size = 0xC2000
/* 00:00:36.112605  */ slot  53: pre_align = 0x00000000, edmac_size_align =  4064, write_size_align =   256, data_start = 0x4A9DB000, size = 0xC2000
/* 00:00:36.112896  */ slot  54: pre_align = 0x00000000, edmac_size_align =  4064, write_size_align =   256, data_start = 0x4AA9D000, size = 0xC2000
/* 00:00:36.113182  */ slot  55: pre_align = 0x00000000, edmac_size_align =  4064, write_size_align =   256, data_start = 0x4AB5F000, size = 0xC2000
/* 00:00:36.113465  */ slot  56: pre_align = 0x00000000, edmac_size_align =  4064, write_size_align =   256, data_start = 0x4AC21000, size = 0xC2000
/* 00:00:36.113736  */ slot  57: pre_align = 0x00000000, edmac_size_align =  4064, write_size_align =   256, data_start = 0x4ACE3000, size = 0xC2000
/* 00:00:36.114018  */ slot  58: pre_align = 0x00000000, edmac_size_align =  4064, write_size_align =   256, data_start = 0x4ADA5000, size = 0xC2000
/* 00:00:36.114305  */ slot  59: pre_align = 0x00000000, edmac_size_align =  4064, write_size_align =   256, data_start = 0x4AE67000, size = 0xC2000
/* 00:00:36.114651  */ slot  60: pre_align = 0x00000000, edmac_size_align =  4064, write_size_align =   256, data_start = 0x4AF29000, size = 0xC2000
/* 00:00:36.114958  */ slot  61: pre_align = 0x00000000, edmac_size_align =  4064, write_size_align =   256, data_start = 0x4AFEB000, size = 0xC2000
/* 00:00:36.115249  */ slot  62: pre_align = 0x00000000, edmac_size_align =  4064, write_size_align =   256, data_start = 0x4B0AD000, size = 0xC2000
/* 00:00:36.115535  */ slot  63: pre_align = 0x00000000, edmac_size_align =  4064, write_size_align =   256, data_start = 0x4B16F000, size = 0xC2000
/* 00:00:36.115823  */ slot  64: pre_align = 0x00000000, edmac_size_align =  4064, write_size_align =   256, data_start = 0x4B231000, size = 0xC2000
/* 00:00:36.116094  */ slot  65: pre_align = 0x00000000, edmac_size_align =  4064, write_size_align =   256, data_start = 0x4B2F3000, size = 0xC2000
/* 00:00:36.116381  */ slot  66: pre_align = 0x00000000, edmac_size_align =  4064, write_size_align =   256, data_start = 0x4B3B5000, size = 0xC2000
/* 00:00:36.116662  */ slot  67: pre_align = 0x00000000, edmac_size_align =  4064, write_size_align =   256, data_start = 0x4B477000, size = 0xC2000
/* 00:00:36.117006  */ slot  68: pre_align = 0x00000000, edmac_size_align =  4064, write_size_align =   256, data_start = 0x4B539000, size = 0xC2000
/* 00:00:36.117299  */ slot  69: pre_align = 0x00000000, edmac_size_align =  4064, write_size_align =   256, data_start = 0x4B5FB000, size = 0xC2000
/* 00:00:36.117589  */ slot  70: pre_align = 0x00000000, edmac_size_align =  4064, write_size_align =   256, data_start = 0x4B6BD000, size = 0xC2000
/* 00:00:36.117873  */ slot  71: pre_align = 0x00000000, edmac_size_align =  4064, write_size_align =   256, data_start = 0x4B77F000, size = 0xC2000
/* 00:00:36.118155  */ slot  72: pre_align = 0x00000000, edmac_size_align =  4064, write_size_align =   256, data_start = 0x4B841000, size = 0xC2000
/* 00:00:36.118427  */ slot  73: pre_align = 0x00000000, edmac_size_align =  4064, write_size_align =   256, data_start = 0x4B903000, size = 0xC2000
/* 00:00:36.118708  */ slot  74: pre_align = 0x00000000, edmac_size_align =  4064, write_size_align =   256, data_start = 0x4B9C5000, size = 0xC2000
/* 00:00:36.118997  */ slot  75: pre_align = 0x00000000, edmac_size_align =  4064, write_size_align =   256, data_start = 0x4BA87000, size = 0xC2000
/* 00:00:36.119282  */ slot  76: pre_align = 0x00000000, edmac_size_align =  4064, write_size_align =   256, data_start = 0x4BB49000, size = 0xC2000
/* 00:00:36.119563  */ slot  77: pre_align = 0x00000000, edmac_size_align =  4064, write_size_align =   256, data_start = 0x4BC0B000, size = 0xC2000
/* 00:00:36.120830  */ Building a group list...
/* 00:00:36.121105  */ group: 0 block_len: 40 block_start: 0
/* 00:00:36.121360  */ group: 1 block_len: 38 block_start: 40
/* 00:00:36.121589  */ Sorting group list...
/* 00:00:36.121811  */ group: 0 length: 40 slot: 0
/* 00:00:36.122031  */ group: 1 length: 38 slot: 40
/* 00:00:36.154540  */ WARNING: This model doesn't have 'PROPAD_GetPropertyData' defined. Reading properties not possible.
/* 00:00:36.154890  */ [IDNT] err: 1 model_data: 0x00000000 model_len: 0
/* 00:00:36.256603  */ <-- WRITER#0: write took:    61386 µs ( 12633 KiB/s),    794112 bytes,  1 blocks, slot  0, mgmt      0 µs
/* 00:00:36.317562  */ <-- WRITER#0: write took:    60839 µs ( 12754 KiB/s),    794624 bytes,  1 blocks, slot  1, mgmt     64 µs
/* 00:00:36.393092  */ <-- WRITER#0: write took:    75448 µs ( 10285 KiB/s),    794624 bytes,  1 blocks, slot  2, mgmt     70 µs
/* 00:00:36.450494  */ <-- WRITER#0: write took:    57301 µs ( 13533 KiB/s),    794112 bytes,  1 blocks, slot  0, mgmt     70 µs
/* 00:00:36.505611  */ <-- WRITER#0: write took:    54873 µs ( 14141 KiB/s),    794624 bytes,  1 blocks, slot  1, mgmt     73 µs
/* 00:00:36.715451  */ <-- WRITER#0: write took:   209972 µs ( 11087 KiB/s),   2383872 bytes,  3 blocks, slot  2, mgmt     72 µs
/* 00:00:36.849533  */ <-- WRITER#0: write took:   133968 µs (  5788 KiB/s),    794112 bytes,  1 blocks, slot  0, mgmt     62 µs
/* 00:00:37.174537  */ <-- WRITER#0: write took:   325014 µs (  9550 KiB/s),   3178496 bytes,  4 blocks, slot  5, mgmt     75 µs
/* 00:00:37.591594  */ <-- WRITER#0: write took:   416950 µs (  7444 KiB/s),   3178496 bytes,  4 blocks, slot  1, mgmt     62 µs
/* 00:00:38.241110  */ <-- WRITER#0: write took:   649460 µs (  9558 KiB/s),   6356992 bytes,  8 blocks, slot  9, mgmt     71 µs
/* 00:00:38.770845  */ <-- WRITER#0: write took:   529614 µs (  8791 KiB/s),   4767744 bytes,  6 blocks, slot 17, mgmt     69 µs
/* 00:00:39.715733  */ <-- WRITER#0: write took:   944816 µs (  9855 KiB/s),   9535488 bytes, 12 blocks, slot 23, mgmt    131 µs
/* 00:00:41.145812  */ <-- WRITER#0: write took:  1429778 µs (  9226 KiB/s),  13508096 bytes, 17 blocks, slot  0, mgmt     65 µs
/* 00:00:42.582296  */ <-- WRITER#0: write took:  1436464 µs (  9723 KiB/s),  14302720 bytes, 18 blocks, slot 40, mgmt     67 µs
/* 00:00:44.429078  */ <-- WRITER#0: write took:  1846656 µs (  9665 KiB/s),  18276352 bytes, 23 blocks, slot 17, mgmt     69 µs
/* 00:00:46.218938  */ <-- WRITER#0: write took:  1790003 µs (  8670 KiB/s),  15892480 bytes, 20 blocks, slot 58, mgmt     74 µs
/* 00:00:46.865935  */ <-- WRITER#0: write took:   647156 µs ( 20383 KiB/s),  13508096 bytes, 17 blocks, slot  0, mgmt     74 µs
/* 00:00:47.064886  */    --> WRITER#0: expected to terminate
/* 00:00:56.468994  */ Resolution: 896x504 @ 25.000 FPS
https://sternenkarten.com/
600D, 6D, openSUSE Tumbleweed

escho

  • Contributor
  • Hero Member
  • *****
  • Posts: 563
Re: Magic Lantern (RAW) Video format v2.0
« Reply #623 on: October 06, 2013, 05:29:29 PM »
can you open raw.h in src/ directory and replace the raw_info struct with this one?



Done, bur now raw2dng doesn´t compile anymore

Code: [Select]
[ GCC      ]   raw2dng
In file included from ../../src/chdk-dng.c:57:0:
../../src/raw.h:200:5: error: unknown type name ‘uint32_t’
../../src/chdk-dng.c: In function ‘write_dng’:
../../src/chdk-dng.c:628:20: warning: initialization makes pointer from integer without a cast [enabled by default]
make: *** [raw2dng] Fehler 1

Edgar
https://sternenkarten.com/
600D, 6D, openSUSE Tumbleweed

g3gg0

  • Developer
  • Hero Member
  • *****
  • Posts: 3183
Re: Magic Lantern (RAW) Video format v2.0
« Reply #624 on: October 06, 2013, 05:38:50 PM »
add a
#include <stdint.h>
to the c file as first line
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!