Search code examples
c++qtvideo-streamingrtsplive555

C++ - RTSP Client with Qt GUI using live555 lib what else do i need?


i like to be able to watch video streaming with my application im doing in Qt first i checked vlc , but its GPL , and also i don't need all its option then i saw it is using live555 that is LGPL for streaming , my Question can i use this library in mt Qt application ? and how


Solution

  • First of all, what platform are you running on?

    You can use Live555 only for RTSP/RTP purposes. Live555 however does not contain any decoders, etc.

    VLC uses Live555 internally for RTSP AFAIK, but also contains a bunch of other plug-ins, decoders, demultiplexers, etc.

    You still need a media framework to handle the media format specific decoding, demultiplexing, rendering etc. On Windows this can be accomplished using DirectShow. In this scenario you can wrap the live555 in a DirectShow source filter and construct a media pipeline. To get the video to display in your Qt application, you would need to investigate how you would parent the DirectShow video renderer window onto your Qt application.

    Another cross-platform media framework I am not familiar with is gstreamer.

    Edit:

    Have you looked at Qt Phonon at all? It looks like they've begun integrating multimedia into the framework, though you'll have to investigate if they support RTSP, and if not, how to get the media data received via Live555 into the Qt media pipeline.