Magic Lantern Forum

Developing Magic Lantern => Feature Requests => Topic started by: gerk.raisen on June 24, 2013, 02:17:05 PM

Title: RAW Video "Movie Restart" and "Start again before buffer to SD reversal is ended
Post by: gerk.raisen on June 24, 2013, 02:17:05 PM
It's possible to have the "Movie Restart" working also for RAW videos?
I tried enabling it but it seems doesn't work for RAW.
Yesterday for example I was recording a fireworks show in RAW and after every time that RAW filled the buffers (and the record stopped) I had to wait and continue check for the moment when the buffers to SD write is complete to start it again.
I think it can be very useful.
+Another interesting feature can be the ability of start again a new recording before the completion of buffers to SD/CF reversal write (it can became like a pause button),
(You can miss a lot of action waiting for completion)
Title: Re: RAW Video "Movie Restart" and "Start again before buffer to SD reversal is ended
Post by: gerk.raisen on July 04, 2013, 01:26:36 PM
Yesterday I shoot again in RAW and especially the "Movie Restart" not working in RAW is very annoying.
You have to be concentrated on the display waiting just to know when push record button again :(
I was thinking it's not too difficult to add it, isn't it?
Title: Re: RAW Video "Movie Restart" and "Start again before buffer to SD reversal is ended
Post by: Andy600 on July 04, 2013, 02:19:17 PM
Turn on Frame skipping in the raw module  ::)
Title: Re: RAW Video "Movie Restart" and "Start again before buffer to SD reversal is ended
Post by: gerk.raisen on July 04, 2013, 03:12:34 PM
Thank you Andy600 but I already tried with frame skipping but the result are totally different than wanted

Example  1280x720@30p

NOW:
press record
150/200 frames (about 5-7.5 sec) @ 30p
wait for buffer to SD write complete
press record again
150/200 frames (about 5-7.5 sec) @ 30p
.........................


with FRAME SKIPPING on:
press record
150/200 frames (about 5-7.5 sec) @ 30p
[frame skipping became active]
indefinitely frames @ less than 15fps
stop record
[starting buffer to SD write]

So, with the frame skipping option enabled after the buffers gets full, I only obtain an infinity-long low-fps in-utilizable videos.
Instead I want that  (with Movie Restart option = on),  after the buffers gets full, ML writes it to SD as usual but immediately after that automatically start a new record. (like in H264 videos,)
Title: Re: RAW Video "Movie Restart" and "Start again before buffer to SD reversal is ended
Post by: kgv5 on July 04, 2013, 05:15:00 PM
I would like such a feature too. Would be useful especially when recording short clips due to technical limitations.
Title: Re: RAW Video "Movie Restart" and "Start again before buffer to SD reversal is ended
Post by: a1ex on July 04, 2013, 05:28:27 PM
If you use the 5D2 method, it might work.

Actually, one has to combine both methods for a portable implementation. On new cameras, ML waits for Canon's error dialog. On older ones, that dialog doesn't appear, so it looks at button presses. Of course, raw video doesn't open a dialog box, and since it uses the same key, the old method should work. Should be straigtforward to implement.
Title: Re: RAW Video "Movie Restart" and "Start again before buffer to SD reversal is ended
Post by: gerk.raisen on July 04, 2013, 11:29:54 PM
Thank you A1ex,

Maybe I don't understood completely your answer but I was thinking if is not more simple an maybe reliable to just insert something like a trigger than when enabled at the end of buffers to SD/CF reversal write, instead of ending, it start video again?
Title: Re: RAW Video "Movie Restart" and "Start again before buffer to SD reversal is ended
Post by: a1ex on July 04, 2013, 11:33:11 PM
This means adding a new option under the raw video submenu, instead of using the existing movie restart.
Title: Re: RAW Video "Movie Restart" and "Start again before buffer to SD reversal is ended
Post by: gerk.raisen on July 05, 2013, 11:58:31 AM
Maybe :)

It can be under a new entry in the Frame skipping menu named something like "Until buffer reversal completation".
ML will skip frames "Until buffer reversal completation".
In this case the logic seems that the recording continue in same file.


Another possibility is that when the option "Movie restart = on" ,
ML check and if also "is in RAW recording", instead of use the H264 procedure,
it enable a trigger to start video again at the end of buffers to SD/CF reversal write
(In this case instead maybe seems more logic to create a new file)