Started 2 yr 1 mo ago
Took 6 min 24 sec

Success Build #77 (Jun 27, 2018 1:36:48 AM)

Build Artifacts
mlv_dump.exe960.41 KB view
mlv_dump.linux733.88 KB view
mlv_dump.osx228.33 KB view
magiclantern-crop_rec_4k.2018Jun27.100D101.zip1.84 MB view
magiclantern-crop_rec_4k.2018Jun27.5D3113.zip1.88 MB view
magiclantern-crop_rec_4k.2018Jun27.5D3123.zip1.88 MB view
magiclantern-crop_rec_4k.2018Jun27.650D104.zip1.87 MB view
magiclantern-crop_rec_4k.2018Jun27.6D116.zip1.88 MB view
magiclantern-crop_rec_4k.2018Jun27.700D115.zip1.84 MB view
magiclantern-crop_rec_4k.2018Jun27.EOSM202.zip1.86 MB view
Changes
  1. mlv_snd: experiment: remove vsync dependency, just sync through the mlv_lite CBR and start audio there (detail / bitbucket)
  2. mlv_snd: fix adding to mlv_rec/mlv_lite submenu if the raw video option is turned off
    (properly check if either menu is present) (detail / bitbucket)
  3. mlv_snd: moved the menu inside the mlv_rec/mlv_lite submenu;
    fine-tuned the submenu (formatting) (detail / bitbucket)
  4. mlv_snd: enabled by default, www.magiclantern.fm/forum/index.php?topic=12793 (detail / bitbucket)
  5. mlv_rec: reordered callbacks (detail / bitbucket)
  6. mlv_snd: fine tuned audio delay (detail / bitbucket)
  7. mlv_lite: removed old callbacks raw_rec_cbr_* (detail / bitbucket)
  8. mlv_rec: remove old interface raw_rec_cbr_starting() (detail / bitbucket)
  9. mlv_lite: add MLV_REC_EVENT_PREPARING to be called before recording is going to start (detail / bitbucket)
  10. mlv_rec: add MLV_REC_EVENT_PREPARING to be called before recording is going to start (detail / bitbucket)
  11. mlv_snd: changed menu name for audio sync. feature might get removed when it is not needed at all. (detail / bitbucket)
  12. mlv_snd: inverse delay logic so it can be interpreted as in the timeline. also set to 1 lets see if this is correct for all setups (detail / bitbucket)
  13. mlv_snd: cleaned up merge artifacts (detail / bitbucket)
  14. mlv_snd: made mlv_rec_queue_block optional
    - reduces the execution time of raw_rec_cbr_started in the vsync hook
    - fixes memory leak (mlv_snd expects mlv_rec to free queued blocks) (detail / bitbucket)
  15. mlv_snd: reworked to achieve better sync with mlv_lite:
    - sound buffer allocation is done in raw_rec_cbr_starting (which must now be called after video memory allocation)
    - raw_rec_cbr_started may optionally be called from the vsync hook (which runs from a task with very high priority)

    mlv_lite: call raw_rec_cbr_started from the vsync hook, on first frame
    - result: first audio frame is started ~ 2ms after the first video frame is fully captured

    mlv_rec: moved raw_rec_cbr_starting after memory allocation
    - required for mlv_snd to complete the audio memory allocation (detail / bitbucket)
  16. mlv_snd: rather than trying to queue a WAVI block into the MLV recorder, provide a mlv_fill_wavi
    this way, the MLV recording module can place this block wherever it wants (not necessarily in the queue)
    previous method still kept for compatibility with mlv_rec

    mlv_lite: refactored with mlv_fill_wavi and moved raw_rec_cbr_started right before the recording loop (where it should be)
    this should fix audio sync issues when recording starts; not tested (detail / bitbucket)
  17. mlv_lite: moved started cbr into process_frame like in 7fcd177 to help with audio sync (detail / bitbucket)
  18. mlv_snd: take care of AUDF count writing. there are still cases where the number of frames per chunk is incorrect. the sum is correct. (detail / bitbucket)
  19. mlv_lite: call callbacks earlier to be able to hook into MLVI writing (detail / bitbucket)
  20. mlv_lite: cast file_hdr to prevent warnings (detail / bitbucket)
  21. mlv_lite: call registered modules on header updates (detail / bitbucket)
  22. mlv_lite: only count VIDF blocks in chunk headers, do not count meta data (detail / bitbucket)

Started by user g3gg0

Revision: 9572fdf36c95c8d67b70525eff7fc18e9fcc61ec