CESNET / UltraGrid

UltraGrid low-latency audio and video network transmission system
http://www.ultragrid.cz
Other
485 stars 55 forks source link

problems with hd-rum-transcode #339

Closed alatteri closed 9 months ago

alatteri commented 9 months ago

Hi UG team,

I'm finally getting some free time to test the changes in UG that have happened over the past several months. First off, hd-rum-transcode is doesn't seem to be working properly at least the way it used too. I can't seem to figure out the new context. I basically need to receive UG on a specified port and re-transmit on another specified port.

Previous working syntax would be hd-rum-transcode 20M 5004 -P 5104 127.0.0.1

This results in:

hd-rum-transcode 20M 5004 -P 5104 127.0.0.1
UltraGrid 1.8+ (tags/continuous rev e006cb4 built Sep 18 2023 18:30:12)

using UDP send and receive buffer size of 20971520 bytes
initializing packet queue for 2621 items
listening on *:5004
WARNING: Selected 'pipe' display card was not found.
hd-rum-transcode: src/hd-rum-translator/hd-rum-decompress.cpp:195: void* hd_rum_decompress_init(module*, hd_rum_output_conf, const char*, state_recompress*): Assertion `ret == 0 && "Unable to initialize auxiliary display"' failed.
Backtrace:
hd-rum-transcode(crash_signal_handler+0xa6)[0x55d3993f6d36]
/lib/x86_64-linux-gnu/libc.so.6(+0x42520)[0x7f6708642520]
/lib/x86_64-linux-gnu/libc.so.6(pthread_kill+0x12c)[0x7f6708696a7c]
/lib/x86_64-linux-gnu/libc.so.6(raise+0x16)[0x7f6708642476]
/lib/x86_64-linux-gnu/libc.so.6(abort+0xd3)[0x7f67086287f3]
/lib/x86_64-linux-gnu/libc.so.6(+0x2871b)[0x7f670862871b]
/lib/x86_64-linux-gnu/libc.so.6(+0x39e96)[0x7f6708639e96]
hd-rum-transcode(hd_rum_decompress_init+0xb26)[0x55d3994823c6]
hd-rum-transcode(main+0xc81)[0x55d3993eaa61]
/lib/x86_64-linux-gnu/libc.so.6(+0x29d90)[0x7f6708629d90]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x80)[0x7f6708629e40]
hd-rum-transcode(_start+0x25)[0x55d3993eb635]

UltraGrid has crashed (Aborted).

Please send a bug report to address ultragrid-dev@cesnet.cz.
You may find some tips how to report bugs in file doc/REPORTING_BUGS.md distributed with UltraGrid
(or available online at https://github.com/CESNET/UltraGrid/blob/master/doc/REPORTING-BUGS.md).
Aborted (core dumped)

If I omit the buffer option:

hd-rum-transcode 5004 -P 5104 127.0.0.1
UltraGrid 1.8+ (tags/continuous rev e006cb4 built Sep 18 2023 18:30:12)

using UDP send and receive buffer size of 5004 bytes
invalid port: 0

and here using the -P [:] option

hd-rum-transcode -P 5004:5104 127.0.0.1
UltraGrid 1.8+ (tags/continuous rev e006cb4 built Sep 18 2023 18:30:12)

[hd-rum-trans] Unknown global parameter: -P
alatteri commented 9 months ago

and to clarify, I'm not trying to do any transcode, but use as a straight packet reflector.

alatteri commented 9 months ago
 ./stacktrace_addr2line.sh < ~/trace 
- decoding /lib/x86_64-linux-gnu/libc.so.6(+0x42520)[0x7fd1b7a42520]:
__sigaction at ??:?
- decoding /lib/x86_64-linux-gnu/libc.so.6(pthread_kill+0x12c)[0x7fd1b7a96a7c]:
?? ??:0
- decoding /lib/x86_64-linux-gnu/libc.so.6(raise+0x16)[0x7fd1b7a42476]:
?? ??:0
- decoding /lib/x86_64-linux-gnu/libc.so.6(abort+0xd3)[0x7fd1b7a287f3]:
?? ??:0
- decoding /lib/x86_64-linux-gnu/libc.so.6(+0x2871b)[0x7fd1b7a2871b]:
?? ??:0
- decoding /lib/x86_64-linux-gnu/libc.so.6(+0x39e96)[0x7fd1b7a39e96]:
__assert_fail at ??:?
- decoding hd-rum-transcode(hd_rum_decompress_init+0xb26)[0x563962d613c6]:
hd_rum_decompress_init at /home/administrator/colorconnect/common/install_modules/UltraGrid/src/hd-rum-translator/hd-rum-decompress.cpp:241
- decoding hd-rum-transcode(main+0xc81)[0x563962cc9a61]:
main at /home/administrator/colorconnect/common/install_modules/UltraGrid/src/hd-rum-translator/hd-rum-translator.cpp:999
- decoding /lib/x86_64-linux-gnu/libc.so.6(+0x29d90)[0x7fd1b7a29d90]:
__libc_init_first at ??:?
- decoding /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x80)[0x7fd1b7a29e40]:
?? ??:0
- decoding hd-rum-transcode(_start+0x25)[0x563962cca635]:
_start at ??:?