Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Displaying RTP video stream in QML using ffmpeg backend in Qt 6.5
QtWS25 Last Chance

Displaying RTP video stream in QML using ffmpeg backend in Qt 6.5

Scheduled Pinned Locked Moved Unsolved General and Desktop
ffmpegqtmultimediaqt6.5
1 Posts 1 Posters 633 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    aamann
    wrote on last edited by aamann
    #1

    I can't figure out how to display an RTP video stream in QML using the ffmpeg backend in Qt 6.5

    I can display the stream just fine using

    ffplay -protocol_whitelist file,udp,rtp Camera.sdp
    

    from the command line, using the following for Camera.sdp:

    c=IN IP4 239.255.132.75
    m=video 5098 RTP/AVP 96
    a=rtpmap:96 H264/90000
    

    I tried using either an embedded SDP file using qrc:/ or rtp://239.255.132.75:5098 for the source but neither seems to work (the latter is probably not surprising since ffplay rtp://239.255.132.75:5098 doesn't work either).

    How would I get this to work - we're currently still stuck on Qt 5.15 using the gstreamer backend on both Windows and Linux in order to be able to show the stream but we would really like to migrate to Qt 6…

    1 Reply Last reply
    1

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved