Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Calculate Bitrate of Stream?

Calculate Bitrate of Stream?

Scheduled Pinned Locked Moved C#
questioncsharpjavascripttutorial
5 Posts 4 Posters 0 Views 1 Watching
  • 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
    Abubakarsb
    wrote on last edited by
    #1

    Hello, Hope you all are doing great. Does anyone of you know that how can I calculate bit rate of a stream? I am using c# and javascript. Please guide. Thanks. Kind Regards, Abubakar

    G C E 3 Replies Last reply
    0
    • A Abubakarsb

      Hello, Hope you all are doing great. Does anyone of you know that how can I calculate bit rate of a stream? I am using c# and javascript. Please guide. Thanks. Kind Regards, Abubakar

      G Offline
      G Offline
      Guffa
      wrote on last edited by
      #2

      What kind of stream? Download bitrate or playback bitrate?

      --- "Anything that is in the world when you're born is normal and ordinary and is just a natural part of the way the world works. Anything that's invented between when you're fifteen and thirty-five is new and exciting and revolutionary and you can probably get a career in it. Anything invented after you're thirty-five is against the natural order of things." -- Douglas Adams

      A 1 Reply Last reply
      0
      • A Abubakarsb

        Hello, Hope you all are doing great. Does anyone of you know that how can I calculate bit rate of a stream? I am using c# and javascript. Please guide. Thanks. Kind Regards, Abubakar

        C Offline
        C Offline
        Corinna John
        wrote on last edited by
        #3

        A Stream is only a sequence of bits. A rate means that something happens with the Stream. For a video stream the bit rate is calculated from the number of pictures displayed per second. For a network stream the bit rate is the number of bits transported per second. For an audio stream you get the bit rate from the number of samples played back each second. And so on and so on ... What kind of bit rate to you need? Playback rates are usually stored in a header block. Network transport rates you have to measured at runtime.

        ____________________________________ There is no proof for this sentence.

        1 Reply Last reply
        0
        • G Guffa

          What kind of stream? Download bitrate or playback bitrate?

          --- "Anything that is in the world when you're born is normal and ordinary and is just a natural part of the way the world works. Anything that's invented between when you're fifteen and thirty-five is new and exciting and revolutionary and you can probably get a career in it. Anything invented after you're thirty-five is against the natural order of things." -- Douglas Adams

          A Offline
          A Offline
          Abubakarsb
          wrote on last edited by
          #4

          It is a playback bitrate and For a video stream. I want to check bitrate of streaming whether bitrate is good enough to play the movie or not? I still not clear plz ask again.

          1 Reply Last reply
          0
          • A Abubakarsb

            Hello, Hope you all are doing great. Does anyone of you know that how can I calculate bit rate of a stream? I am using c# and javascript. Please guide. Thanks. Kind Regards, Abubakar

            E Offline
            E Offline
            Ennis Ray Lynch Jr
            wrote on last edited by
            #5

            The bitrate for the stream (assuming mpeg) will be contained in the frame header information for each frame. As for decoding the frames, I will have to leave you to the format specification,http://www.rfc-archive.org/getrfc?rfc=3016


            Need a C# Consultant? I'm available.
            Happiness in intelligent people is the rarest thing I know. -- Ernest Hemingway

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups