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

Use different stream base for different videos. #1592

Merged

Conversation

a-sansanwal
Copy link
Contributor

Signed-off-by: Abhishek Sansanwal asansanwal@nvidia.com

Why we need this PR?

  • It fixes a bug bug description
    We were using the time_base from the first video for all the videos.
    If a dataset contained videos with different frame rates, we would fail to decode as mentioned in The pixels generated from DALI are all 0 #1583

TODO: add testcases.

What happened in this PR?

Fill relevant points, put NA otherwise. Replace anything inside []

  • What solution was applied:
    [ Explain solution of the problem, a new feature added here. ]
  • Affected modules and functionalities:
    [ Describe here what was changed, added, removed. ]
  • Key points relevant for the review:
    [ Describe here what is the most important part that reviewers should focus on. ]
  • Validation and testing:
    [ Describe here if and how this PR is tested. ]
  • Documentation (including examples):
    [ Describe here if documentation and examples were updated. ]

JIRA TASK: [Use DALI-XXXX or NA]

@JanuszL
Copy link
Contributor

JanuszL commented Dec 19, 2019

Can you add some test for it as well?

a-sansanwal added a commit to a-sansanwal/DALI_extra that referenced this pull request Dec 22, 2019
Description: Used for testing NVIDIA/DALI#1592

Signed-off-by: Abhishek Sansanwal <asansanwal@nvidia.com>
Signed-off-by: Abhishek Sansanwal <asansanwal@nvidia.com>
@a-sansanwal a-sansanwal force-pushed the videoreader_multiple_stream_base_fix branch from 8e716e4 to 865f81c Compare December 22, 2019 15:23
@a-sansanwal a-sansanwal changed the title [WIP] Use different stream base for different videos. Use different stream base for different videos. Dec 22, 2019
@dali-automaton
Copy link
Collaborator

CI MESSAGE: [1044086]: BUILD STARTED

@dali-automaton
Copy link
Collaborator

CI MESSAGE: [1044086]: BUILD FAILED

@a-sansanwal a-sansanwal force-pushed the videoreader_multiple_stream_base_fix branch from 865f81c to d6c7b98 Compare December 22, 2019 17:17
@dali-automaton
Copy link
Collaborator

CI MESSAGE: [1044125]: BUILD STARTED

@dali-automaton
Copy link
Collaborator

CI MESSAGE: [1044125]: BUILD FAILED

@a-sansanwal a-sansanwal force-pushed the videoreader_multiple_stream_base_fix branch from d6c7b98 to dc0372c Compare December 23, 2019 03:24
@dali-automaton
Copy link
Collaborator

CI MESSAGE: [1044338]: BUILD STARTED

@dali-automaton
Copy link
Collaborator

CI MESSAGE: [1044338]: BUILD PASSED

a-sansanwal added a commit to a-sansanwal/DALI_extra that referenced this pull request Dec 26, 2019
Description: Used for testing NVIDIA/DALI#1592

Signed-off-by: Abhishek Sansanwal <asansanwal@nvidia.com>
jantonguirao pushed a commit to NVIDIA/DALI_extra that referenced this pull request Dec 30, 2019
Description: Used for testing NVIDIA/DALI#1592

Signed-off-by: Abhishek Sansanwal <asansanwal@nvidia.com>
Copy link
Contributor

@jantonguirao jantonguirao left a comment

Choose a reason for hiding this comment

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

LGTM. Just need to update DALI_EXTRA_VERSION

qa/setup_dali_extra.sh Outdated Show resolved Hide resolved
DALI_EXTRA_VERSION Outdated Show resolved Hide resolved
Signed-off-by: Abhishek Sansanwal <asansanwal@nvidia.com>
@a-sansanwal a-sansanwal force-pushed the videoreader_multiple_stream_base_fix branch from dc0372c to a29058e Compare December 30, 2019 09:35
@jantonguirao
Copy link
Contributor

!build

@dali-automaton
Copy link
Collaborator

CI MESSAGE: [1051621]: BUILD STARTED

@dali-automaton
Copy link
Collaborator

CI MESSAGE: [1051621]: BUILD PASSED

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.

4 participants