BMDCapture(bmdtools)用Ultrastudio Mini记录仪采集结果是颜色问题

BMDCapture (bmdtools) capture with Ultrastudio Mini recorder results is color problems

我正在尝试让 Blackmagic Ultrastudio Mini Recorder 通过 avconv 流式传输到 HLS。为了测试,它已连接到 AppleTV,这是我正在使用的命令:

./bmdcapture -m 14 -C 0 -F nut -f pipe:1 | avconv -vsync passthrough -y -i - -vcodec copy -pix_fmt yuyv422 -strict experimental -f hls -hls_list_size 999 +live -strict experimental out.m3u8

但是,颜色都乱了;提示颜色格式设置不正确。输入格式为 1280x720 @ 59.94 FPS(正确),我已将格式设置为 yuyv422(尽管我已将其设置为已修复错误)。

知道了!

Mini Recorder 以 10 位而不是 8 位拍摄(我假设考虑到 Adob​​e 的实时编码器说它是 8 位)。

固定代码如下:

./bmdcapture -m 14 -p yuv10 -C 0 -F nut -f pipe:1 | avconv -vsync passthrough -y -i - -vcodec copy -pix_fmt uyvy422 -strict experimental -f hls -hls_list_size 999 +live -strict experimental out.m3u8