@a1ex
Don't know if you have time to cast your eyes over this Err 70 problem I keep getting.
Here is the crash report:
QuoteASSERT: FALSE
at RscMgr.c:904, MovieRecorder:ff0ef42c
lv:1 mode:3
MovieRecorder stack: 1716f0 [171850-16f850]
0xUNKNOWN @ de48:171848
0xUNKNOWN @ 17bbc:171820
0x000178B4 @ ff0ebdf8:171808
0xUNKNOWN @ 178e4:1717f8
0xUNKNOWN @ 1796c:1717d8
0xFF1F06E4 @ ff1dafe0:171770
0xFF13C2D4 @ ff1f0730:171760
0x00001900 @ ff0ef428:171728
0x00069878 @ 69c1c:1716f0
Magic Lantern version : crop_rec_4k.2018Jul22.5D3123
Mercurial changeset : c1e44b8e0183 (crop_rec_4k_mlv_snd) tip
Built on 2018-07-22 13:10:52 UTC by jenkins@nightly.
Free Memory : 215K + 2491K
Here is the test code snippet:
for j = 1, clips do
msleep(1000)
movie.start()
for i = 0, 5, 1 do task.yield(1000) end
movie.stop()
task.yield(1000)
end
That is, I record for 5 sec and repeat until clips is achieved
Instead of movie.start() and movie.stop() maybe test key.press(KEY.REC). I find it more reliable, at least from early lua scripts I worked on.
Is task.yield(1000) same as msleep? Or is it pausing the loop until reaching 5, then continues? Anyway, msleep never failed on my end.
/my two pennies...
@Danne
Tried various combinations but continued to get the error and crash.
Have got round it by 'putting a man in the loop'.
Will up issue the script soon.
BTW the reason for the up issue is to get round the 128 frame TIFF average limit, ie take sets of clips of 120 frames each.
Cheers
Garry
I have ffmpeg for mac working with tmix filter and 1000 files instead of 128. Are you able to compile for windows?
@Danne
No, I'm afraid I'm still not a compiler, 'just' a scripter ;)
I assume from what you say, tweaking ffmpeg to work beyond 128 was straightforward?
Yes. Change number 128 to 1000. Not too hard ;).
Compiling static build spanning from mac os 10.9 and onwards is harder.
Maybe some kind person will pick up on this and make that change next time MLV App is updated.
Thanks for all your help, as usual.
Cheers
Garry
Been testing with masc. Not sure what is better though. Exporting multiple tiffs rather than one big fat averaged image. I tested a sequence of 269 files. Worked but not a fast workflow.
My 'use case' is to process as many images as there are in a single MLV, ie to an averaged TIFF.
If you and @masc could ensure the above is covered, as well as the other use cases, I will be a happy man ;)
Ensuring maybe not. Locally no problem to build and modify Mlv App. A more general solution might be hard. Right now only official ffmpeg builds are used so it means every machine needs some heavy ffmpeg compiling. See if anyone is interested in helping out.
@Danne
Understood.
As I say, hopefully those developing the MLV App for 'general use' will recognise the value of tweaking the tmix filter, eg to, say, 1000 ;-)
I'm part of the general use party. I suppose ;)
;) ;) :D