CESNET / UltraGrid

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

Decklink conversion mode on receiver #215

Closed mfkenney closed 2 years ago

mfkenney commented 2 years ago

Hello,

I'm running the Linux build of Ultragrid 1.7.2 with a Decklink Studio 4K card and I am getting an "unable to set conversion mode" error on the receive side:

$ uv --tool uv -d decklink:device=0:conversion=none -m 8500 10.xx.xx.xx
stat: /tmp/.mount_uvL2Mygo/usr/lib/libselinux.so.1: no version information available (required by stat)UltraGrid 1.7.2 (tags/v1.7.2 rev a06d459a built Jan 18 2022 11:09:59)

Display device   : decklink
Capture device   : none
Audio capture    : none
Audio playback   : none
MTU              : 8500 B
Video compression: none
Audio codec      : PCM
Network protocol : UltraGrid RTP
Audio FEC        : none
Video FEC        : none

[NAT] Private outbound IPv4 address detected and binding as a receiver. Consider adding '-N' option for NAT traversal.
[Decklink display] Using low-latency mode. In case of problems, you can try '-d decklink:no-low-latency'.
[Decklink display] Using device DeckLink Studio 4K
Unable to set conversion mode
Unable to open display device: decklink
Exit

Perhaps this is related to Issue #77 ...

TheSashmo commented 2 years ago

Why are you setting conversion to none? If its none, then don't pass the arguement.

mfkenney commented 2 years ago

I've tried it both ways, conversion=none and leaving out the argument. It fails with the same error message every time.

--Mike

On Feb 23, 2022, at 16:45, TheSashmo @.***> wrote:

Why are you setting conversion to none? If its none, then don't pass the arguement.

— Reply to this email directly, view it on GitHub https://github.com/CESNET/UltraGrid/issues/215#issuecomment-1049369979, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFUU2SCN6UBAC23EPA7QS3U4V5S7ANCNFSM5PFDKHYA. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you authored the thread.

TheSashmo commented 2 years ago

Whats -tool?

The stat message tells you that something is not there. Are you sure you installed UV correctly?

uv -t decklink:connection=SDI:device=0 -c ibavcodec:codec=H.264:encoder=libx264::bitrate=5000k -s embedded --audio-codec=MP3:sample_rate=48000:bitrate=128k --audio-capture-format channels=8 -l unlimited -m 1316 -P 50000 127.0.0.1

This command should work just fine for you, if not, then you are doing something wrong on your box. Try starting from scratch.

Edit: I don't think it has anything to do with #77 But try the BlackmagicDesktopVideoSetup and make sure that your outputs are setup for 1 in out, 2 in out etc......

mfkenney commented 2 years ago

I've installed the AppImage and created a link to it named "uv".

Note that the program works just fine if I use the "dump" display. The problem seems to be in the Decklink interface.

--Mike

On Feb 23, 2022, at 16:56, TheSashmo @.***> wrote:

Whats -tool?

The stat message tells you that something is not there. Are you sure you installed UV correctly?

uv -t decklink:connection=SDI:device=0 -c ibavcodec:codec=H.264:encoder=libx264::bitrate=5000k -s embedded --audio-codec=MP3:sample_rate=48000:bitrate=128k --audio-capture-format channels=8 -l unlimited -m 1316 -P 50000 127.0.0.1

This command should work just fine for you, if not, then you are doing something wrong on your box. Try starting from scratch.

— Reply to this email directly, view it on GitHub https://github.com/CESNET/UltraGrid/issues/215#issuecomment-1049376239, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFUU2U777YBYL3NAXYQDR3U4V63FANCNFSM5PFDKHYA. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you authored the thread.

mfkenney commented 2 years ago

Problem solved. Apparently, I need to specify some conversion method when outputting to this board. The default of "none" triggers the error.

MartinPulec commented 2 years ago

Hi @mfkenney, thanks for reporting and update. And yes, it is a bug so I've fixed it anyways in current development builds, also it will later arrive to stable builds. Now, the conversion is never set unless user explicitly requests.

mfkenney commented 2 years ago

Hi @MartinPulec, thanks for the update. I will try the development build sometime next week.

mfkenney commented 2 years ago

Hi @MartinPulec, I tried the development build and it did indeed fix the problem. Thanks.