OpenVisualCloud / Media-Transport-Library

A real-time media transport(DPDK, AF_XDP, RDMA) stack for both raw and compressed video based on COTS hardware.
BSD 3-Clause "New" or "Revised" License
171 stars 55 forks source link

Add support for new ST2110-41 (Fast Metadata Framework, "fmd") standard. #951

Closed skolelis closed 2 months ago

skolelis commented 3 months ago

Add support for new ST2110-41 (Fast Metadata Framework) standard.

Add support for new ST2110-41 (Fast Metadata Framework, "fmd") standard. As abbreviation in the code "fmd".

Support for st41 in /include/ directory. Support for st41 in RxTxApp. with added options in JSON file in RxTxApp (for RX and TX): "fastmetadata": [ with options for TX: "fastmetadata_data_item_type": 3648364, "fastmetadata_k_bit": 1, "fastmetadata_url": "test_abc.txt", "fastmetadata_fps": "p59"

DawidWesierski4 commented 2 months ago

Any logs from RX TX app as proof of working ?

skolelis commented 2 months ago

Running test: =========================================== ./build/tests/KahawaiUfdTest --p_port 0000:31:01.0 --r_port 0000:31:01.1

Test passed in 17 seconds.

=========================================== Running test: =========================================== ./build/tests/KahawaiUfdTest --p_port 0000:31:01.0 --r_port 0000:31:01.1 --queue_mode shared

Test passed in 19 seconds.

=========================================== Running test: =========================================== ./build/tests/KahawaiUfdTest --p_port 0000:31:01.0 --r_port 0000:31:01.1 --queue_mode shared --udp_lcore

Test passed in 19 seconds.

=========================================== Running test: =========================================== ./build/tests/KahawaiUfdTest --p_port 0000:31:01.0 --r_port 0000:31:01.1 --rss_mode l3_l4

Test passed in 21 seconds.

=========================================== Running test: =========================================== ./build/tests/KahawaiTest --auto_start_stop --p_port 0000:31:01.0 --r_port 0000:31:01.1 --dma_dev 0000:00:01.0,0000:00:01.1 --gtestfilter=-St22?x.*

Test passed in 780 seconds.

=========================================== Running test: =========================================== ./build/tests/KahawaiTest --auto_start_stop --p_port 0000:31:01.0 --r_port 0000:31:01.1 --rss_mode l3_l4 --pacing_way tsc --iova_mode pa --multi_src_port --gtest_filter=Main.:St20p:-ext

Test passed in 82 seconds.

=========================================== Running test: =========================================== ./build/tests/KahawaiTest --p_port kernel:lo --r_port kernel:lo --auto_start_stop --gtest_filter=St20p*

Test passed in 139 seconds.

===========================================

skolelis commented 2 months ago

Any logs from RX TX app as proof of working ?

I checked manually the function: app_rx_fmd_read_thread() -> and rebuilt app_rx_fmd_handle_rtp() and I see the payload is arriving there (for both "frame" and "rtp" modes).

The function app_rx_fmd_handle_rtp() is to be extended with tests for RX as next step.

DawidWesierski4 commented 2 months ago

Please rebase to the newest branch to include CI fixes if you can