wang-bin / QtAV

A cross-platform multimedia framework based on Qt and FFmpeg. 基于Qt和FFmpeg的跨平台高性能音视频播放框架. Recommand to use new sdk https://github.com/wang-bin/mdk-sdk
http://qtav.org
3.93k stars 1.5k forks source link

Issue of play mjpeg stream from ip camera #787

Open khanhlv1407 opened 7 years ago

khanhlv1407 commented 7 years ago

Dear wang-bin, We got the following issue, could you check and give your suggestion.

When we play h264 stream from ip camera, it is OK
When we play mjpeg stream from ip camera, it only can show several frames, after that it always in buffering status (buffering --> buffered --> buffering --> buffered) --> ???
Could you suggest the solution to solve mjpeg stream?

Note: - we use qtav v1.11, ffmpeg (decoder)

Thanks for your support!

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/40124844-issue-of-play-mjpeg-stream-from-ip-camera?utm_campaign=plugin&utm_content=tracker%2F307703&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F307703&utm_medium=issues&utm_source=github).
luyenvanthao commented 6 years ago

Hi, khanhlv1407. Can you tell me how to use QtAV to live stream from camera? I'm a newbie. I'm trying to learn C++ and Qt.

Thanks P/s: Anh la nguoi Viet a?