Deprecated since Sep 28, 2017. Signed-off-by: Marton Balint <cus@passwd.hu>tags/n4.3
| @@ -292,11 +292,6 @@ as @option{pal} (3 letters). | |||||
| Default behavior is autodetection of the input video format, if the hardware | Default behavior is autodetection of the input video format, if the hardware | ||||
| supports it. | supports it. | ||||
| @item bm_v210 | |||||
| This is a deprecated option, you can use @option{raw_format} instead. | |||||
| If set to @samp{1}, video is captured in 10 bit v210 instead | |||||
| of uyvy422. Not all Blackmagic devices support this option. | |||||
| @item raw_format | @item raw_format | ||||
| Set the pixel format of the captured video. | Set the pixel format of the captured video. | ||||
| Available values are: | Available values are: | ||||
| @@ -430,7 +425,7 @@ ffmpeg -format_code Hi50 -f decklink -i 'Intensity Pro' -c:a copy -c:v copy outp | |||||
| @item | @item | ||||
| Capture video clip at 1080i50 10 bit: | Capture video clip at 1080i50 10 bit: | ||||
| @example | @example | ||||
| ffmpeg -bm_v210 1 -format_code Hi50 -f decklink -i 'UltraStudio Mini Recorder' -c:a copy -c:v copy output.avi | |||||
| ffmpeg -raw_format yuv422p10 -format_code Hi50 -f decklink -i 'UltraStudio Mini Recorder' -c:a copy -c:v copy output.avi | |||||
| @end example | @end example | ||||
| @item | @item | ||||
| @@ -42,7 +42,6 @@ struct decklink_cctx { | |||||
| int list_formats; | int list_formats; | ||||
| int64_t teletext_lines; | int64_t teletext_lines; | ||||
| double preroll; | double preroll; | ||||
| int v210; | |||||
| int audio_channels; | int audio_channels; | ||||
| int audio_depth; | int audio_depth; | ||||
| int duplex_mode; | int duplex_mode; | ||||
| @@ -1054,11 +1054,6 @@ av_cold int ff_decklink_read_header(AVFormatContext *avctx) | |||||
| return AVERROR_EXIT; | return AVERROR_EXIT; | ||||
| } | } | ||||
| if (cctx->v210) { | |||||
| av_log(avctx, AV_LOG_WARNING, "The bm_v210 option is deprecated and will be removed. Please use the -raw_format yuv422p10.\n"); | |||||
| cctx->raw_format = MKBETAG('v','2','1','0'); | |||||
| } | |||||
| ret = ff_decklink_init_device(avctx, avctx->url); | ret = ff_decklink_init_device(avctx, avctx->url); | ||||
| if (ret < 0) | if (ret < 0) | ||||
| return ret; | return ret; | ||||
| @@ -33,7 +33,6 @@ static const AVOption options[] = { | |||||
| { "list_devices", "list available devices" , OFFSET(list_devices), AV_OPT_TYPE_INT , { .i64 = 0 }, 0, 1, DEC }, | { "list_devices", "list available devices" , OFFSET(list_devices), AV_OPT_TYPE_INT , { .i64 = 0 }, 0, 1, DEC }, | ||||
| { "list_formats", "list supported formats" , OFFSET(list_formats), AV_OPT_TYPE_INT , { .i64 = 0 }, 0, 1, DEC }, | { "list_formats", "list supported formats" , OFFSET(list_formats), AV_OPT_TYPE_INT , { .i64 = 0 }, 0, 1, DEC }, | ||||
| { "format_code", "set format by fourcc" , OFFSET(format_code), AV_OPT_TYPE_STRING, { .str = NULL}, 0, 0, DEC }, | { "format_code", "set format by fourcc" , OFFSET(format_code), AV_OPT_TYPE_STRING, { .str = NULL}, 0, 0, DEC }, | ||||
| { "bm_v210", "v210 10 bit per channel" , OFFSET(v210), AV_OPT_TYPE_INT , { .i64 = 0 }, 0, 1, DEC }, | |||||
| { "raw_format", "pixel format to be returned by the card when capturing" , OFFSET(raw_format), AV_OPT_TYPE_INT, { .i64 = MKBETAG('2','v','u','y')}, 0, UINT_MAX, DEC, "raw_format" }, | { "raw_format", "pixel format to be returned by the card when capturing" , OFFSET(raw_format), AV_OPT_TYPE_INT, { .i64 = MKBETAG('2','v','u','y')}, 0, UINT_MAX, DEC, "raw_format" }, | ||||
| { "uyvy422", NULL, 0, AV_OPT_TYPE_CONST, { .i64 = MKBETAG('2','v','u','y') }, 0, 0, DEC, "raw_format"}, | { "uyvy422", NULL, 0, AV_OPT_TYPE_CONST, { .i64 = MKBETAG('2','v','u','y') }, 0, 0, DEC, "raw_format"}, | ||||
| { "yuv422p10", NULL, 0, AV_OPT_TYPE_CONST, { .i64 = MKBETAG('v','2','1','0') }, 0, 0, DEC, "raw_format"}, | { "yuv422p10", NULL, 0, AV_OPT_TYPE_CONST, { .i64 = MKBETAG('v','2','1','0') }, 0, 0, DEC, "raw_format"}, | ||||