[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