Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tfhd #1

Closed
3052 opened this issue Dec 30, 2023 · 1 comment
Closed

tfhd #1

3052 opened this issue Dec 30, 2023 · 1 comment

Comments

@3052
Copy link
Owner

3052 commented Dec 30, 2023

[moof] size=173
  [mfhd] size=16 version=0 flags=000000
   - sequenceNumber: 1303
  [traf] size=149
    [tfhd] size=32 version=0 flags=02003a
     - trackID: 1
     - defaultBaseIsMoof: true
     - sampleDescriptionIndex: 1
     - defaultSampleDuration: 1001
     - defaultSampleSize: 1438
     - defaultSampleFlags: 00000000 (isLeading=0 dependsOn=0 isDependedOn=0 hasRedundancy=0 padding=0 isNonSync=false degradationPriority=0)
@3052
Copy link
Owner Author

3052 commented Dec 30, 2023

just gonna read the rest of the data for now:

sofia/MediaDataBox.go

Lines 26 to 31 in fe9904d

if size := t.Samples[i].Size; size >= 1 {
data = make([]byte, size)
_, err = io.ReadFull(r, data)
} else {
data, err = io.ReadAll(r)
}

can address later on if need be

@3052 3052 closed this as completed Dec 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant