https://discord.cloudflare.com logo
Join DiscordCommunities
Powered by
# stream
  • o

    ogadagidi

    04/18/2022, 11:24 AM
    Thank you. At the moment, is there a cap on the limit of videos that I can upload and the amount of minutes that can be streamed?
  • o

    ogadagidi

    04/18/2022, 11:56 AM
    Also how do I calculate storage rates? 1000 minutes of upload translates to how many Gig?
  • a

    albert

    04/18/2022, 12:54 PM
    Storage is billed based on duration rather than size. A 10 minute video counts as 10 minutes no matter if it's 100 MB or 10 GB.
  • n

    Nikil

    04/18/2022, 12:55 PM
    You guys should probably rewrite the language in the help docs to exactly what you said here @Zaid (Cloudflare). Much less confusing. In the docs it sounds like you guys convert every video to 70fps
  • n

    Nikil

    04/18/2022, 12:57 PM
    So Stream doesn't support 4K or 1440p? What about HDR? Is it only h264 or are there h265/av1/vp9 options too
  • a

    albert

    04/18/2022, 1:42 PM
    Stream does actually support 4K, but it has to be specifically enabled for your account. If you're an Enterprise customer, you should contact your CSM - otherwise I'm not sure if/how you can have it enabled.
  • o

    ogadagidi

    04/18/2022, 1:51 PM
    Ok. Thank you. I appreciate all the information.
  • o

    ogadagidi

    04/18/2022, 1:53 PM
    Can I go beyond the current limit of $50/ month? I am setting up infrastructure for a video platform and I am calculating cost
  • a

    albert

    04/18/2022, 2:19 PM
    Are you referring to the "Creator Bundle"?
  • o

    ogadagidi

    04/18/2022, 2:26 PM
    Yes.
  • a

    albert

    04/18/2022, 2:32 PM
    The Creator Bundle includes 10,000 minutes of video storage and 50,000 minutes of video delivery. You have to manually upgrade storage if you need more, but you will automatically be charged if you stream more than 50,000 minutes.
  • o

    ogadagidi

    04/18/2022, 2:33 PM
    Ok. Thank you @albert I appreciate this a lot
  • z

    Zaid (Cloudflare)

    04/18/2022, 7:10 PM
    Stream does not support 4k at the moment
  • a

    albert

    04/18/2022, 7:11 PM
    Oh, alright. I just saw the
    4k
    flag and assumed it did.
  • j

    Josh

    04/18/2022, 11:57 PM
    Albert spying on flags as per
  • j

    joshh

    04/19/2022, 4:39 AM
    Copy code
    const response = await fetch(
          'https://api.cloudflare.com/client/v4/accounts/ACCOUNTID/stream/direct_upload',
          {
            method: 'POST',
            headers: {
              'Authorization': 'Bearer '+apikey
            },
            body: { maxDurationSeconds: 3600 }
          }
        ).then(response => response.json())
        .then(data => {
          dataRes = data;
        });
    I just get:
    Copy code
    {
      "errors": [
        {
          "code": 10005,
          "message": "Bad Request"
        }
      ],
      "messages": null,
      "result": null,
      "success": false
    }
  • j

    joshh

    04/19/2022, 4:39 AM
    The API key I'm using does have Stream read/write permissions.
  • j

    joshh

    04/19/2022, 4:54 AM
    @Isaac McFadyen | YYZ01 any idea?
  • z

    Zaid (Cloudflare)

    04/19/2022, 6:13 AM
    can you try putting maxDurationSeconds in quotes?
  • z

    Zaid (Cloudflare)

    04/19/2022, 6:15 AM
  • z

    Zaid (Cloudflare)

    04/19/2022, 6:17 AM
    I would use a client like Insomnia to help with debugging/sample code generation
  • a

    albert

    04/19/2022, 6:20 AM
    You need to
    JSON.stringify()
    your object before you can use it as the body.
  • a

    albert

    04/19/2022, 6:21 AM
    Otherwise you are sending the string representation:
    [object Object]
  • j

    joshh

    04/19/2022, 6:40 AM
    Thanks to both of you :) - This fixed the issue!
  • j

    joshh

    04/19/2022, 10:47 AM
    How can I update a video title after the video has already been uploaded?
  • j

    joshh

    04/19/2022, 10:47 AM
    more importantly, meta data.
  • j

    joshh

    04/19/2022, 10:48 AM
    CC: @albert @Zaid (Cloudflare)
  • t

    third774 | Cloudflare Stream

    04/19/2022, 1:54 PM
    @joshh — you should be able to
    POST
    the video to
    https://api.cloudflare.com/client/v4/accounts/:accountId/stream/:videoId
    to update the meta data
  • t

    tonimasc

    04/23/2022, 10:25 AM
    Hello is anybody else having trouble with stream? My control panel looks like this currently and if i look at the network response of the video detail seems like an error with de js sdk. Thanks
  • t

    third774 | Cloudflare Stream

    04/23/2022, 3:18 PM
    Hrm — it doesn't look like there's any response information at all here. Does it work in an incognito window? (maybe an extension is blocking this?)
1...151617...105Latest