X264 Error message when capturing video

后端 未结 1 1624
长情又很酷
长情又很酷 2021-01-24 10:21

I\'m writing a program to save some webcam video to a file. I\'m using the x264 codec found here x264

When I try writing frames to a file I get this error message popin

相关标签:
1条回答
  • 2021-01-24 10:30

    I know is's a bit late but I figured this out. The solution(on windows) is to set -1 instead of codec's fourcc. This pops up a dialog where you can choose a codec and if you choose x264wfv, there's a configure button which lets you configure those options(zero latency works for me). Next time codec will use exact same settings, so you can run your program with fourcc code.

    0 讨论(0)
提交回复
热议问题