CESNET / UltraGrid

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

Deinterlace Capture Filter #384

Closed sogorman closed 4 months ago

sogorman commented 4 months ago

Not sure if I am using the wrong syntax or this is indeed an issue. Trying to use the deinterlace capture filter on the sender side of UG. Working with decklink and 1080i 59.94 SDI

Deinterlace looks to be an available capture filter:

knct@knct-srv-70:~$ /home/knct/UltraGrid/UltraGrid-continuous-x86_64.AppImage --capture-filter help
UltraGrid binary older than 30 days, consider checking updates:

/home/knct/UltraGrid/UltraGrid-continuous-x86_64.AppImage -u
    - updates AppImage
/home/knct/UltraGrid/UltraGrid-continuous-x86_64.AppImage -u -j; [ $? -eq 1 ] && echo Update available || echo No update available
    - check for update without actually updating
/home/knct/UltraGrid/UltraGrid-continuous-x86_64.AppImage -u -h
    - prints update options

Hint: you can set environment variable ULTRAGRID_AUTOUPDATE to 1 for daily automatic update or -1 to suppress the above message.

UltraGrid 1.9+ (master rev 0557730 built Mar  8 2024 15:19:34)

Usage:
    --capture-filter <filter1>[:opts][,<filter2>[:opts][,<filter3>[:<opts>]]] -t <capture>

Available capture filters:
    blank
    change_pixfmt
    color
    crop
    deinterlace
    every
    flip
    gamma
    grayscale
    logo
    matrix
    mirror
    override_prop
    ratelimit
    resize
    split
    text
(use "fullhelp" to show hidden filters)
Exit

However when calling the filter I recieve [deinterlace_blend] Unknown option:

knct@knct-srv-70:~$ /home/knct/UltraGrid/UltraGrid-continuous-x86_64.AppImage  -s embedded --capture-filter deinterlace -t decklink:device=2
UltraGrid binary older than 30 days, consider checking updates:

/home/knct/UltraGrid/UltraGrid-continuous-x86_64.AppImage -u
    - updates AppImage
/home/knct/UltraGrid/UltraGrid-continuous-x86_64.AppImage -u -j; [ $? -eq 1 ] && echo Update available || echo No update available
    - check for update without actually updating
/home/knct/UltraGrid/UltraGrid-continuous-x86_64.AppImage -u -h
    - prints update options

Hint: you can set environment variable ULTRAGRID_AUTOUPDATE to 1 for daily automatic update or -1 to suppress the above message.

UltraGrid 1.9+ (master rev 0557730 built Mar  8 2024 15:19:34)

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

[DeckLink capture] Using codec: UYVY
[DeckLink capture] Using device DeckLink 8K Pro Mini (3)
[DeckLink capture] Unable to set key bmdDeckLinkConfigCapturePassThroughMode to bmdDeckLinkCapturePassthroughModeDisabled: Not implemented (0x80000001)
The desired display mode is supported: 625i50 PAL
[DeckLink capture] Enable video input: 625i50 PAL
[DeckLink capture] Trying to autodetect format.
[DeckLink capture] Audio input set to: embedded
[deinterlace_blend] Unknown option: 
Exit
MartinPulec commented 4 months ago

Thanks for reporting, this is a regression added by the :force option. I believe that the above referenced commit fixed that.