-
Notifications
You must be signed in to change notification settings - Fork 115
feat: Add Advanced Network Media operators and applications for SMPTE 2110 compliant streaming #970
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
Open
ronyrad
wants to merge
6
commits into
nvidia-holoscan:main
Choose a base branch
from
ronyrad:ano_rivermax_update_mar_25/adv_network_media_operators_dev_01
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
90225c1
feat(advanced_network_media) Add Advanced Network Media operators
ronyrad b31f5b4
feat(adv_networking_media_sender) Add Adv. Networking Media Sender
ronyrad 8cb8e25
feat(adv_networking_media_player) Add Adv. Networking Media Player
ronyrad b1ba964
feat(advanced_network) Implement adaptive burst pool management with β¦
ronyrad 8726cd7
feat(advanced_network) Lint fixes
ronyrad 8df7a2f
feat(advanced_network) Update Dockerfile
ronyrad File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| # SPDX-FileCopyrightText: Copyright (c) 2025, NVIDIA CORPORATION & AFFILIATES. All rights reserved. | ||
| # SPDX-License-Identifier: Apache-2.0 | ||
| # | ||
| # Licensed under the Apache License, Version 2.0 (the "License"); | ||
| # you may not use this file except in compliance with the License. | ||
| # You may obtain a copy of the License at | ||
| # | ||
| # http://www.apache.org/licenses/LICENSE-2.0 | ||
| # | ||
| # Unless required by applicable law or agreed to in writing, software | ||
| # distributed under the License is distributed on an "AS IS" BASIS, | ||
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| # See the License for the specific language governing permissions and | ||
| # limitations under the License. | ||
|
|
||
| # Add subdirectories | ||
| add_subdirectory(cpp) | ||
| if(HOLOHUB_BUILD_PYTHON) | ||
| add_subdirectory(python) | ||
| endif() |
Large diffs are not rendered by default.
Oops, something went wrong.
101 changes: 101 additions & 0 deletions
101
applications/adv_networking_media_player/adv_networking_media_player.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,101 @@ | ||
| %YAML 1.2 | ||
| # SPDX-FileCopyrightText: Copyright (c) 2025, NVIDIA CORPORATION & AFFILIATES. All rights reserved. | ||
| # SPDX-License-Identifier: Apache-2.0 | ||
| # | ||
| # Licensed under the Apache License, Version 2.0 (the "License"); | ||
| # you may not use this file except in compliance with the License. | ||
| # You may obtain a copy of the License at | ||
| # | ||
| # http://www.apache.org/licenses/LICENSE-2.0 | ||
| # | ||
| # Unless required by applicable law or agreed to in writing, software | ||
| # distributed under the License is distributed on an "AS IS" BASIS, | ||
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| # See the License for the specific language governing permissions and | ||
| # limitations under the License. | ||
| --- | ||
| scheduler: | ||
| check_recession_period_ms: 0 | ||
| worker_thread_number: 8 | ||
| stop_on_deadlock: true | ||
| stop_on_deadlock_timeout: 500 | ||
|
|
||
| advanced_network: | ||
| cfg: | ||
| version: 1 | ||
| manager: "rivermax" | ||
| master_core: 6 # Master CPU core | ||
| debug: 1 | ||
| log_level: "error" | ||
|
|
||
| memory_regions: | ||
| - name: "Data_RX_CPU" | ||
| kind: "host" | ||
| affinity: 0 | ||
| access: | ||
| - local | ||
| num_bufs: 432000 | ||
| buf_size: 20 | ||
| - name: "Data_RX_GPU" | ||
| kind: "device" | ||
| affinity: 0 | ||
| access: | ||
| - local | ||
| num_bufs: 432000 | ||
| buf_size: 1440 | ||
| interfaces: | ||
| - name: data1 | ||
| address: cc:00.1 | ||
| rx: | ||
| queues: | ||
| - name: "Data" | ||
| id: 0 | ||
| cpu_core: "12" | ||
| batch_size: 4320 | ||
| output_port: "bench_rx_out_1" | ||
| memory_regions: | ||
| - "Data_RX_CPU" | ||
| - "Data_RX_GPU" | ||
| rivermax_rx_settings: | ||
| settings_type: "ipo_receiver" | ||
| memory_registration: true | ||
| #allocator_type: "huge_page_2mb" | ||
| verbose: true | ||
| max_path_diff_us: 10000 | ||
| ext_seq_num: true | ||
| sleep_between_operations_us: 0 | ||
| local_ip_addresses: | ||
| - 2.1.0.12 | ||
| source_ip_addresses: | ||
| - 2.1.0.12 | ||
| destination_ip_addresses: | ||
| - 224.1.1.2 | ||
| destination_ports: | ||
| - 50001 | ||
| stats_report_interval_ms: 3000 | ||
| send_packet_ext_info: true | ||
|
|
||
| advanced_network_media_rx: | ||
| interface_name: cc:00.1 | ||
| queue_id: 0 | ||
| video_format: RGB888 | ||
| frame_width: 1920 | ||
| frame_height: 1080 | ||
| bit_depth: 8 | ||
| hds: true | ||
| output_format: tensor | ||
| memory_location: device | ||
|
|
||
| media_player_config: | ||
| write_to_file: false | ||
| visualize: true | ||
| input_format: "rgb888" | ||
|
|
||
| frames_writer: # applied only to cpp | ||
| num_of_frames_to_record: 1000 | ||
| file_path: "/tmp/output.bin" | ||
|
|
||
| holoviz: | ||
| width: 1280 | ||
| height: 720 | ||
|
|
||
44 changes: 44 additions & 0 deletions
44
applications/adv_networking_media_player/cpp/CMakeLists.txt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,44 @@ | ||
| # SPDX-FileCopyrightText: Copyright (c) 2025, NVIDIA CORPORATION & AFFILIATES. All rights reserved. | ||
| # SPDX-License-Identifier: Apache-2.0 | ||
| # | ||
| # Licensed under the Apache License, Version 2.0 (the "License"); | ||
| # you may not use this file except in compliance with the License. | ||
| # You may obtain a copy of the License at | ||
| # | ||
| # http://www.apache.org/licenses/LICENSE-2.0 | ||
| # | ||
| # Unless required by applicable law or agreed to in writing, software | ||
| # distributed under the License is distributed on an "AS IS" BASIS, | ||
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| # See the License for the specific language governing permissions and | ||
| # limitations under the License. | ||
|
|
||
| cmake_minimum_required(VERSION 3.20) | ||
| project(adv_networking_media_player CXX) | ||
|
|
||
| # Dependencies | ||
| find_package(holoscan 2.6 REQUIRED CONFIG | ||
| PATHS "/opt/nvidia/holoscan" "/workspace/holoscan-sdk/install") | ||
|
|
||
| # Global variables | ||
| set(CMAKE_CUDA_ARCHITECTURES "70;80;90") | ||
|
|
||
| # Create the executable | ||
| add_executable(${PROJECT_NAME} | ||
| adv_networking_media_player.cpp | ||
| ) | ||
|
|
||
| target_link_libraries(${PROJECT_NAME} | ||
| PRIVATE | ||
| holoscan::core | ||
| holoscan::advanced_network | ||
| holoscan::ops::advanced_network_media_rx | ||
| holoscan::ops::holoviz | ||
| ) | ||
|
|
||
| # Copy config file | ||
| add_custom_target(adv_networking_media_player_yaml | ||
| COMMAND ${CMAKE_COMMAND} -E copy "${CMAKE_CURRENT_SOURCE_DIR}/../adv_networking_media_player.yaml" ${CMAKE_CURRENT_BINARY_DIR} | ||
| DEPENDS "${CMAKE_CURRENT_SOURCE_DIR}/../adv_networking_media_player.yaml" | ||
| ) | ||
| add_dependencies(${PROJECT_NAME} adv_networking_media_player_yaml) |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.