Repository navigation
Add research notes on Dolby Atmos, channel 14 sync and MXF handling - #2
Merged
Merged
Conversation
Summary report plus three raw research-agent notes covering: how the channel 14 / index 13 sync signal is standardized (ISDCF Doc 4) and implemented (libdcp FSK, SMPTE ST 430-14), how cinema processors switch between Atmos and PCM in real time, and how the local DCP-o-matic/libdcp code path handles Atmos (pass-through only, no decode/render) and channel routing in the player. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JuAmVXjNeS7T8ic4z8EvJY
Add research notes on Dolby Atmos, channel 14 sync and MXF handling
… referenced DCPs.
This includes: * tolerate badly-formed LoadFontNode IDs in SMPTE DCPs. * order reel markers by offset.
Add stereo_downmix_map() in audio_mapping.cc, used by the Player default mapping and by the stereo mixdown export, so both give the same result. - 5.1 to stereo: ETSI TS 102 366 6.8 LoRo, normalized (0.414 / 0.293). - 7.1 to stereo: same rule with Lrs/Rrs (0.320 / 0.227). - 2-channel films: identity. 4-channel films: unchanged. - LFE is not mapped in either path. - 7.1 to 5.1 monitor fold: Lrs/Rrs into Ls/Rs at 0 dB (Dolby Standard). - Default stereo mapping is regenerated per film and is not saved. Sources and open points: doc/design/downmix_7_1_to_5_1.md. Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XnCTLat7FCCFzGYH3sxLUu
Otherwise if partition 0 is mounted on C:, and partition 1 is not, the 0 mount points of partition 1 would overwrite the 1 mount point of partition 0. This would suggest that the disk is not mounted.
…ithout restarting).
* attempted improvements to unmounting/buffer flushing on Windows * lock/unlock volumes on Windows as a speculative improvement * better error handling
config.h used the macro without including its header, so any file that included config.h before constants.h failed to compile. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CLoFtWrAbgnUD4ni8dAUwq
Lrs and Rrs were added to Ls and Rs at 0 dB, which reaches 2.0 with full-level 7.1 content. Ls/Rs and Lrs/Rrs now each go in at 0.5 for films with 12 or more channels, so the sum stays within 1.0. 5.1 films are unchanged. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CLoFtWrAbgnUD4ni8dAUwq
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CLoFtWrAbgnUD4ni8dAUwq
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CLoFtWrAbgnUD4ni8dAUwq
…the monitor Side and rear get the Pro Logic IIx figures (-1.2 dB, -6.2 dB), same side only. Their squares add up to 1.0, so the amplitudes can exceed 1; limit_peaks() in Butler::audio (instant attack, 100 ms release, one gain for all channels) catches that. Not yet compiled or tested when committed: build and test/limiter_test are still to run. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CLoFtWrAbgnUD4ni8dAUwq
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CLoFtWrAbgnUD4ni8dAUwq
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CLoFtWrAbgnUD4ni8dAUwq
Ls = 0.707 Lss + 0.707 Lrs, as in ETSI TS 103 190-1 table 219, ETSI TS 102 366 dmixtyp 1 and the FDK-AAC default. The amplitudes add up to 1.41; the monitor's peak limiter handles that. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CLoFtWrAbgnUD4ni8dAUwq
L, R and C keep the 5.1 gains, so a 7.1 film is not louder than a 5.1 one in the front channels. Ls = 0.707 Lss + 0.707 Lrs first, then the ETSI 5.1 to stereo rule. The sum into each output is 1.12 at most. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CLoFtWrAbgnUD4ni8dAUwq
5.1 to stereo is the rule the export already had (0.369 / 0.261), so ffmpeg_encoder_h264_test5 passes again. 7.1 is folded to 5.1 first. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CLoFtWrAbgnUD4ni8dAUwq
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017CHMGrzt5n5oKGFSjhKnrp
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017CHMGrzt5n5oKGFSjhKnrp
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017CHMGrzt5n5oKGFSjhKnrp
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary report plus three raw research-agent notes covering: how the
channel 14 / index 13 sync signal is standardized (ISDCF Doc 4) and
implemented (libdcp FSK, SMPTE ST 430-14), how cinema processors
switch between Atmos and PCM in real time, and how the local
DCP-o-matic/libdcp code path handles Atmos (pass-through only, no
decode/render) and channel routing in the player.
Co-Authored-By: Claude Sonnet 5 noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_01JuAmVXjNeS7T8ic4z8EvJY