Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. Domains: forum.doom9.org / forum.doom9.net / forum.doom9.se |
|
|
#1 | Link | |||
|
Broadcast Encoder
Join Date: Nov 2013
Location: Royal Borough of Kensington & Chelsea, UK
Posts: 3,381
|
Adding MaxCLL / MaxFall metadata in mov container
Hi there,
I'm trying to remux some Apple ProRes HQ BT2020 HDR PQ files in a mov container to add the MaxCLL / MaxFall information. I generally have no problem adding those in the H.265 HEVC stream via x265 as it's as easy as it's as simple as using Quote:
I tried remuxing with Quote:
The encode is nothing particular, it's just a simple Quote:
(yes, Ben, I'm doing this "for you" as you guys mandate Apple ProRes HQ in a mov container eheheheheh) Last edited by FranceBB; 10th September 2025 at 19:27. |
|||
|
|
|
|
|
#3 | Link |
|
Broadcast Encoder
Join Date: Nov 2013
Location: Royal Borough of Kensington & Chelsea, UK
Posts: 3,381
|
I've only used MP4Box to mux / remux mp4 containers, I didn't know it could mux mov containers as well or perhaps you mean remuxing to mp4, add the info in the container and then remux again back to mov? In which case, that would be a bit more convoluted.
EDIT: Actually no, we can't mux an Apple ProRes with PCM audio in an mp4 container anyway... |
|
|
|
|
|
#4 | Link |
|
Registered User
Join Date: Nov 2022
Location: Aix en Provence, France
Posts: 163
|
but did you actually try it ? coz it's quite the same...
Code:
mp4box.exe -info "E:\Backup\ProRes_RAW_HQ .mov"
[iso file] Unknown box type aprh in parent stsd
[iso file] Box "tmcd" (start 652893419) has 6 extra bytes
# Movie Info - 3 tracks - TimeScale 24000
Duration 00:00:05.797
Fragmented: no
Major Brand qt - version 0 - compatible brands: qt
Created: GMT Wed Nov 3 14:21:05 2021
- Modified: GMT Wed Nov 3 14:21:07 2021
# Movie Meta type: "mdta" - 0 resource item(s)
# Track 1 Info - ID 1 - TimeScale 48000
Media Duration 00:00:05.797
Track has 1 edits: track duration is 00:00:05.797
Track flags: Enabled In Movie In Preview Size is AspectRatio
Media Language: English (eng)
Media Samples: 278259 - CFR 48000/sec
Media Type: soun:lpcm
PCM Audio - Sample Rate 48000.000000 channels 4 24-bits int little-endian
RFC6381 Codec Parameters: lpcm
All samples are sync
Max sample duration: 1 / 48000
# Track 2 Info - ID 2 - TimeScale 24000
Media Duration 00:00:05.839
Track has 1 edits: track duration is 00:00:05.797
Track flags: Enabled In Movie In Preview Size is AspectRatio
Media Language: English (eng)
Media Samples: 140 - CFR 23.976025/sec
Visual Track layout: x=0 y=0 width=4264 height=2408
Media Type: vide:aprh
Visual Sample Entry Info: width=4264 height=2408 (depth=24 bits)
Visual - Compressor "Apple ProRes RAW HQ" - Resolution 4264 x 2408
Vendor code "appl" - Version 0 - revision 0
RFC6381 Codec Parameters: aprh
All samples are sync
Max sample duration: 1001 / 24000
# Track 3 Info - ID 3 - TimeScale 24000
Media Duration 00:00:28.737
Track has 1 edits: track duration is 00:00:05.797
Track flags: Enabled In Movie In Preview Size is AspectRatio
Media Language: English (eng)
Media Samples: 1 - CFR 0.034798/sec
Media Type: tmcd:tmcd
Time Code stream
First timecode: 00:00:10:00
RFC6381 Codec Parameters: tmcd
All samples are sync
Max sample duration: 689689 / 24000
Code:
mp4box.exe -add "E:\Backup\ProRes_RAW_HQ .mov" -new "E:\Backup\t3.mov" [iso file] Unknown box type aprh in parent stsd [iso file] Box "tmcd" (start 652893419) has 6 extra bytes IsoMedia import ProRes_RAW_HQ .mov - track ID 1 - Audio (SR 1 - 3 channels) [iso file] Unknown box type aprh in parent stsd IsoMedia import ProRes_RAW_HQ .mov - track ID 2 - Video (size 4264 x 2408) IsoMedia import ProRes_RAW_HQ .mov - track ID 3 - media type "tmcd:tmcd" [QTFF/ProRes] Adjusting QTFF compliancy [ProRes] No color info present in visual track, defaulting to BT709 Saving E:\Backup\t3.mov: 0.500 secs Interleaving Code:
mp4box.exe -info "E:\Backup\t3.mov"
[iso file] Unknown box type aprh in parent stsd
# Movie Info - 3 tracks - TimeScale 24000
Duration 00:00:05.797
Fragmented: no
Progressive (moov before mdat)
Major Brand qt - version 512 - compatible brands: qt
Created: GMT Sat Sep 13 05:41:14 2025
# Track 1 Info - ID 1 - TimeScale 48000
Media Duration 00:00:05.797
Track has 1 edits: track duration is 00:00:05.797
Track flags: Enabled In Movie In Preview Size is AspectRatio
Media Language: English (eng)
Media Samples: 278259 - CFR 48000/sec
Media Type: soun:lpcm
PCM Audio - Sample Rate 48000.000000 channels 4 24-bits int little-endian
RFC6381 Codec Parameters: lpcm
All samples are sync
Max sample duration: 1 / 48000
# Track 2 Info - ID 2 - TimeScale 24000
Media Duration 00:00:05.839
Track has 1 edits: track duration is 00:00:05.797
Track flags: Enabled In Movie In Preview Size is AspectRatio
Media Language: English (eng)
Media Samples: 140 - CFR 23.976025/sec
Visual Track layout: x=0 y=0 width=4264 height=2408
Media Type: vide:aprh
Visual Sample Entry Info: width=4264 height=2408 (depth=24 bits)
Visual - Compressor "Apple ProRes RAW HQ" - Resolution 4264 x 2408
Vendor code "appl" - Version 0 - revision 0
RFC6381 Codec Parameters: aprh
All samples are sync
Max sample duration: 1001 / 24000
# Track 3 Info - ID 3 - TimeScale 24000
Media Duration 00:00:28.737
Track has 1 edits: track duration is 00:00:05.797
Track flags: Enabled In Movie In Preview Size is AspectRatio
Media Language: English (eng)
Media Samples: 1 - CFR 0.034798/sec
Media Type: tmcd:tmcd
Time Code stream
First timecode: 00:00:10:00
RFC6381 Codec Parameters: tmcd
All samples are sync
Max sample duration: 689689 / 24000
|
|
|
|
|
|
#5 | Link |
|
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 11,411
|
I know nuttin bout such things, but I do notice something that seems not quite right with previous post output.
"Media Samples: 140 - CFR 23.976025/sec" The 5 digit should be '4', 24000 / 1001 = 23.97602398 (last digit 7x rounded to 8 on my calculator), but should be recurring digits 23.9760 239760 239760 239760 etc So for digit string 397xxx should round up to lead digit 4, not 5. So result should be 23.976024 (with the final digit rounded up) Maybe nobody cares.
__________________
I sometimes post sober. StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace "Some infinities are bigger than other infinities", but how many of them are infinitely bigger ??? Last edited by StainlessS; 13th September 2025 at 09:32. |
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|