Video Streaming With libavcodec?

Discussion in 'Computer Programming, Emulation, and Game Modding' started by gudenau, Jul 18, 2016.

  1. gudenau
    OP

    gudenau Largely ignored

    Member
    3,269
    1,237
    Jul 7, 2010
    United States
    /dev/random
    I am working on a project where I need to take the rendered output (preferably at 60hz) of an opengl frame that is 800x480. I would also like if it can stream an audio channel at the same time, but this is not mandatory by any stretch. Server and the client will create a wireless network using two 5GHz Wi-Fi cards, so hopefully there will be no substantial interference from network congestion. The computer with the opengl application will be a Windows box while the client that will be reading the stream will be a Linux box, specifically a Debian derivative. In the end I would like this to go over UDP and not TCP to keep the latency as low as I can.

    Any help?

    (I asked on a different site, got 3 views and 3 down-votes...)
     
    Last edited by gudenau, Jul 18, 2016
  2. gudenau
    OP

    gudenau Largely ignored

    Member
    3,269
    1,237
    Jul 7, 2010
    United States
    /dev/random
    From what I can tell, I need to use an RTSP demuxer, but I am not finding any info on how to do this with the libav apis. There are plenty of examples for command line usage, but that will not work for this project I am afraid.