[FFmpeg-user] DeckLink@ cannot enable video input

Marton Balint cus at passwd.hu
Fri Apr 28 00:03:13 EEST 2017


On Thu, 27 Apr 2017, Tung Tran wrote:

> Dear All
>
> I am running into an issue if ffmpeg cannout enable video input on decklink
> card,
>
> Here is the console output
>
> [root at localhost ffmpeg]# ffmpeg -f decklink -i 'DeckLink SDI' -vf
> scale=1280:720 -vcodec libx264 -pix_fmt yuv420p -tune zerolatency -preset
> ultrafast -f mpegts udp://236.0.0.1:2000

You seem to be missing the -format_code option to select the input format.

Check the examples in the docs:

https://www.ffmpeg.org/ffmpeg-devices.html#Examples-1

> [decklink @ 0x46fd3c0] Supported formats for 'DeckLink SDI':
>        format_code     description
>        ntsc            720x486 at 30000/1001 fps (interlaced, lower field
> first)
>        nt23            720x486 at 24000/1001 fps
>        pal             720x576 at 25000/1000 fps (interlaced, upper field
> first)
>        23ps            1920x1080 at 24000/1001 fps
>        24ps            1920x1080 at 24000/1000 fps
>        Hp25            1920x1080 at 25000/1000 fps
>        Hp29            1920x1080 at 30000/1001 fps
>        Hp30            1920x1080 at 30000/1000 fps
>        Hi50            1920x1080 at 25000/1000 fps (interlaced, upper
> field first)
>        Hi59            1920x1080 at 30000/1001 fps (interlaced, upper
> field first)
>        Hi60            1920x1080 at 30000/1000 fps (interlaced, upper
> field first)
>        hp50            1280x720 at 50000/1000 fps
>        hp59            1280x720 at 60000/1001 fps
>        hp60            1280x720 at 60000/1000 fps
> DeckLink SDI: Immediate exit requested

Format codes are right there.

Regards,
Marton


More information about the ffmpeg-user mailing list