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

Fixed Mp4Writer frame buffer modify issue #307

Merged
merged 1 commit into from
Sep 13, 2023
Merged

Conversation

mohammedzakikochargi
Copy link
Collaborator

IMPORTANT: All PRs must be linked to an issue (except for extremely trivial and straightforward changes).

Fixes #302

Description
Fixed the frame_sp buffer modify issue. Earlier the input frame_sp->data() (Nalu seperators) used to get updated to support the video playback capability across all the players. To avoid modifying the frame buffer added a new method in libmp4 to take two buffers, i.e. modified nalu seprators buffer and the incremented frame buffer pointer.

Alternative(s) considered

Have you considered any alternatives? And if so, why have you chosen the approach in this PR?

Type

Type Choose one: (Bug fix)

Screenshots (if applicable)

Checklist

  • I have read the Contribution Guidelines
  • I have written Unit Tests
  • I have discussed my proposed solution with code owners in the linked issue(s) and we have agreed upon the general approach

@github-actions
Copy link

Test Results Linux-CudaT

    1 files  ±0      1 suites  ±0   10m 25s ⏱️ -1s
404 tests ±0  237 ✔️ ±0  167 💤 ±0  0 ±0 
237 runs  ±0    70 ✔️ ±0  167 💤 ±0  0 ±0 

Results for commit 38bbb25. ± Comparison against base commit 2be555c.

@github-actions
Copy link

Test Results Linux

    1 files  ±0      1 suites  ±0   10m 22s ⏱️ ±0s
303 tests ±0  230 ✔️ ±0  73 💤 ±0  0 ±0 
230 runs  ±0  157 ✔️ ±0  73 💤 ±0  0 ±0 

Results for commit 38bbb25. ± Comparison against base commit 2be555c.

@github-actions
Copy link

Test Results Win-nocuda

    1 files  ±0      1 suites  ±0   10m 44s ⏱️ -2s
299 tests ±0  230 ✔️ ±0  69 💤 ±0  0 ±0 
230 runs  ±0  161 ✔️ ±0  69 💤 ±0  0 ±0 

Results for commit 38bbb25. ± Comparison against base commit 2be555c.

@github-actions
Copy link

Test Results Windows-cuda

    1 files  ±0      1 suites  ±0   12m 43s ⏱️ ±0s
400 tests ±0  293 ✔️ ±0  107 💤 ±0  0 ±0 
293 runs  ±0  186 ✔️ ±0  107 💤 ±0  0 ±0 

Results for commit 38bbb25. ± Comparison against base commit 2be555c.

@github-actions
Copy link

Test Results Linux_ARM64

    1 files  ±0      1 suites  ±0   10m 52s ⏱️ -2s
426 tests ±0  262 ✔️ ±0  164 💤 ±0  0 ±0 
262 runs  ±0    98 ✔️ ±0  164 💤 ±0  0 ±0 

Results for commit 38bbb25. ± Comparison against base commit 2be555c.

Copy link
Collaborator

@mraduldubey mraduldubey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

make minor changes

base/src/Mp4WriterSink.cpp Show resolved Hide resolved
base/src/Mp4WriterSink.cpp Show resolved Hide resolved
@mraduldubey mraduldubey merged commit 2991073 into main Sep 13, 2023
17 of 19 checks passed
@mraduldubey mraduldubey deleted the Mp4WriterBufferIssueFix branch September 13, 2023 11:48
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

Successfully merging this pull request may close these issues.

Mp4Writer frame data update issue.
2 participants