[mjpeg @ ...] unable to decode APP fields: Invalid data found when processing input
阿新 • • 發佈:2019-05-10
question option found vco usb play form color decode
通過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, constAVPacket *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