| | |
| | | //å¼å
¥ffmpeg头æä»¶ |
| | | extern "C" |
| | | { |
| | | #include <libavcodec/avcodec.h> |
| | | #include <libavformat/avformat.h> |
| | | #include <libavcodec/avcodec.h> //å®ç°é³è§é¢çç¼è§£ç åè½ |
| | | #include <libavformat/avformat.h> //å®ç°é³è§é¢æä»¶ç读åååå
¥åè½ï¼æ¯æå¤ç§é³è§é¢æ ¼å¼ |
| | | #include <libavfilter/avfilter.h> |
| | | #include <libswscale/swscale.h> |
| | | #include <libavutil/frame.h> |
| | | #include <libavutil/imgutils.h> |
| | | } |
| | | |
| | | // å¼å
¥SDL2头æä»¶ |
| | | //extern "C" |
| | | //{ |
| | | // #include "SDL.h" |
| | | //} |
| | | |
| | | #include <QObject> |
| | | #include <QMutex> |
| | |
| | | int videoStreamIndex; |
| | | int index; |
| | | |
| | | // SDLç¸å
³ |
| | | // SDL_Window *sdlWindow; |
| | | // SDL_Renderer *sdlRenderer; |
| | | // SDL_Texture *sdlTexture; |
| | | |
| | | signals: |
| | | void GetImage(const QImage &image,int x); // åéè§£ç åçå¾åä¿¡å· |
| | | |
| | | public slots: |
| | | |
| | | }; |
| | | |