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


 

通过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

 

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

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM