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

Enhanced playback compatibility: Mp4Writer-generated videos now compatible with all media players #250

Merged
merged 14 commits into from
Jul 17, 2023

Conversation

mohammedzakikochargi
Copy link
Collaborator

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

Description
Bug fix : Now videos written using Mp4Writer can be played across all media players.

Precise description of the changes in this pull request
The fix was to prepend size of frames at the last two bytes of Nalu saprator and to add the size of sps and pps at last byte of each nalu saperator.

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 | Feature | Documentation | Testing | Other)

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

github-actions bot commented Jun 28, 2023

Test Results Win-nocuda

    1 files      1 suites   9m 36s ⏱️
191 tests 148 ✔️ 43 💤 0
148 runs  105 ✔️ 43 💤 0

Results for commit 12393a7.

♻️ This comment has been updated with latest results.

@github-actions
Copy link

github-actions bot commented Jun 28, 2023

Test Results Linux_ARM64

    1 files  ±0      1 suites  ±0   9m 59s ⏱️ - 2m 41s
304 tests +2  177 ✔️ +2  127 💤 ±0  0 ±0 
177 runs  +2    50 ✔️ +2  127 💤 ±0  0 ±0 

Results for commit 12393a7. ± Comparison against base commit 7c922f6.

♻️ This comment has been updated with latest results.

@github-actions
Copy link

github-actions bot commented Jun 28, 2023

Test Results Windows-cuda

    1 files      1 suites   11m 20s ⏱️
252 tests 200 ✔️ 52 💤 0
200 runs  148 ✔️ 52 💤 0

Results for commit 9705555.

♻️ This comment has been updated with latest results.

@github-actions
Copy link

github-actions bot commented Jun 28, 2023

Test Results Linux-CudaT

    1 files      1 suites   9m 24s ⏱️
286 tests 150 ✔️ 136 💤 0
150 runs    14 ✔️ 136 💤 0

Results for commit 12393a7.

♻️ This comment has been updated with latest results.

@github-actions
Copy link

github-actions bot commented Jun 28, 2023

Test Results Linux

    1 files      1 suites   9m 22s ⏱️
195 tests 148 ✔️ 47 💤 0
148 runs  101 ✔️ 47 💤 0

Results for commit 12393a7.

♻️ This comment has been updated with latest results.

@kumaakh kumaakh force-pushed the Mp4WriterVideoPlaybackFix branch from 24d35e4 to 9df9078 Compare July 9, 2023 00:59
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.

  1. Address all #Dec_24_Review comments.
  2. Add two new tests that verify at least basic size
  3. Address other review comments

base/src/Mp4WriterSink.cpp Outdated Show resolved Hide resolved
base/src/Mp4WriterSink.cpp Show resolved Hide resolved
base/src/Mp4WriterSink.cpp Outdated Show resolved Hide resolved
base/src/Mp4WriterSink.cpp Show resolved Hide resolved
base/src/Mp4WriterSink.cpp Outdated Show resolved Hide resolved
base/src/Mp4WriterSinkUtils.cpp Show resolved Hide resolved
base/test/mp4writersink_tests.cpp Show resolved Hide resolved
@kumaakh kumaakh enabled auto-merge (squash) July 12, 2023 12:57
base/src/Mp4WriterSink.cpp Outdated Show resolved Hide resolved
base/test/mp4writersink_tests.cpp Outdated Show resolved Hide resolved
base/test/mp4writersink_tests.cpp Outdated Show resolved Hide resolved
base/test/mp4writersink_tests.cpp Show resolved Hide resolved
base/src/Mp4WriterSink.cpp Outdated Show resolved Hide resolved
base/src/Mp4WriterSink.cpp Outdated Show resolved Hide resolved
mraduldubey
mraduldubey previously approved these changes Jul 17, 2023
@kumaakh kumaakh merged commit a6f37c1 into main Jul 17, 2023
17 of 18 checks passed
@kumaakh kumaakh deleted the Mp4WriterVideoPlaybackFix branch July 17, 2023 18:35
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.

3 participants