通过FFmpeg打开自己笔记本摄像头(HP Wide Vision HD Camera)操作时遇到如下错误:

[mjpeg @ 0000029be7cbd000] unable to decode APP fields: Invalid data found when processing input

 

读取视频流信息时遇到这个错误:

int avformat_find_stream_info(AVFormatContext *ic, AVDictionary **options);

 

使用如下函数解码时也会输出同样的错误:

int avcodec_send_packet(AVCodecContext *avctx, const AVPacket *avpkt);

 

虽然有错误输出,但是不影响运行结果,搜索了半天也没有看到合适的解答,

只有如下链接也有人遇到过,换了个摄像头就好了,但是也没有找到原因:

https://stackoverflow.com/questions/55439184/getting-unable-to-decode-app-fields-while-playing-usb-webcam-stream-through-ff

 

还有在Python代码中遇到类似问题的,但是不确定是不是一个问题:

https://github.com/mikeboers/PyAV/issues/107

 

先记下来,若有人能解答请评论里留言,不胜感激!

 

相关文章:

  • 2021-11-25
  • 2022-12-23
  • 2021-12-01
  • 2021-07-20
  • 2021-09-29
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-02-02
  • 2022-01-01
  • 2021-11-12
  • 2021-06-10
  • 2022-12-23
  • 2021-09-29
  • 2021-05-20
相关资源
相似解决方案