首页 > 移动平台 > 详细

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

时间:2019-05-10 00:38:55      阅读:1003      评论:0      收藏:0      [点我收藏+]

 

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

 

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

 

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

原文:https://www.cnblogs.com/zoneofmine/p/10841810.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!