https://discord.cloudflare.com logo
Join Discord
Powered by
# stream
  • r

    Rachel

    04/11/2023, 12:46 AM
    What are your encoder parameters?
  • g

    Guto

    04/11/2023, 2:53 AM
    @RachelI'm receiving directly from OBS or VLC, I don't put any parameters. And none of them receives audio and freezes video with bitrate above 1MB/s. If I receive Playback by RTMPS, there is no problem. I'm sending everything over SRT, but it has the same problem if sent over RTMPS.
  • t

    tt2468

    04/11/2023, 3:37 AM
    I should say that I've never been able to get SRT working reliably on Cloudflare Stream
  • t

    tt2468

    04/11/2023, 3:38 AM
    Testing right now streaming AVC from OBS, I receive no AAC audio track, and I only receive enough video track packets to get past libavformat's probe stage. The timestamp is increasing in ffplay though, so some kind of data is still making it out
  • t

    tt2468

    04/11/2023, 3:39 AM
    RTMPS playback works correctly as guto described
  • g

    Guto

    04/11/2023, 3:39 AM
    So it's not just me.
  • t

    tt2468

    04/11/2023, 3:40 AM
    I remember it sort of working with x264 instead of NVENC, but I get similar behavior with x264 too.
  • g

    Guto

    04/11/2023, 3:41 AM
    Yes.
  • t

    tt2468

    04/11/2023, 3:42 AM
    Ah yeah x264 and nvenc work when I switch from vbitrate of 7500kbps to 4000kbps (still no aac track)
  • g

    Guto

    04/11/2023, 3:43 AM
    But this problem of receiving via SRT is a Cloudflare problem, right? I didn't find any solutions on the forums or discord, so I came to ask here if it was just me.
  • t

    tt2468

    04/11/2023, 3:44 AM
    I mean, we're definitely muxing the stream correctly in OBS
  • t

    tt2468

    04/11/2023, 3:45 AM
    So in my personal opinion it's a cloudflare issue yes
  • g

    Guto

    04/11/2023, 3:46 AM
    Yes, I also believe that I am doing it right. I used Amazon (with Callaba Cloud) service to perform the same function of receiving SRT and it works without this problem.
  • t

    tt2468

    04/11/2023, 3:46 AM
    I've never had any notable issues with RTMPS -> RTMPS usage though at least
  • g

    Guto

    04/11/2023, 3:48 AM
    Yes, I'm testing the 7 days SRT > RTMPS and I haven't had any problems. However, receiving SRT is better for me, as it uses less equipment resources.
  • r

    Rachel

    04/11/2023, 4:25 AM
    We are aware of SRT issues
  • r

    Rachel

    04/11/2023, 4:26 AM
    it may take a bit to fully fix it
  • r

    Rachel

    04/11/2023, 4:26 AM
    and trust me my colleague and I spent two weeks on it and it is still buggyg
  • g

    Guto

    04/11/2023, 4:32 AM
    ;/
  • g

    Gooyge

    04/11/2023, 9:15 AM
    We tried with a new input but we are getting same result. Happens all the time. Even if input is disconnected, POST request responded 201 and trying to connect RTCPeerConnection and get failed. Supposed to respond 409?
  • k

    karp

    04/11/2023, 10:28 AM
    video h264_nvenc (p5 preset), audio libmp3lame with default params
  • t

    tt2468

    04/11/2023, 10:34 AM
    I'm not sure cloudflare supports mp3 audio. Have you tried using aac?
  • k

    karp

    04/11/2023, 11:02 AM
    AAC is lossy, I need lossless audio for my task 😦
  • k

    karp

    04/11/2023, 11:02 AM
    And I haven't found any other that supports streaming yet
  • a

    alistans

    04/11/2023, 1:13 PM
    In the API docs it says /stream "lists up to 1000 videos from a single request. For a specific range, refer to the optional parameters." but I can't find those optional parameters in the documentation, does anyone know them?
  • m

    MRS

    04/12/2023, 5:39 PM
    Anyone have experience running a Cloudflare Stream via Restream.io?
  • m

    MRS

    04/12/2023, 5:40 PM
    Doing some testing now, using Restream to broadcast to YouTube + Cloudflare simultaneously, but the Cloudflare output is quite poor (bitrate dropping, stream stalling) while the YouTube stream is working as expected.
  • t

    Takoda

    04/12/2023, 6:58 PM
    @MRS so just so I get this right you are using restream.io to broadcast to cloudflare and YouTube simultaneously?
  • t

    Takoda

    04/12/2023, 6:59 PM
    Because if that’s the case you might want to look into the simulcast feature and see how that works for you? https://developers.cloudflare.com/stream/stream-live/simulcasting/
  • t

    tt2468

    04/12/2023, 7:48 PM
    How are you measuring the output of cloudflare?
1...959697...105Latest