Determine how many bytes are in 1 Second of movie..

Posted on 2012-08-26
Last Modified: 2016-09-29
i would like to determine how many bytes have been readed after 1 second of playback of video...

my current thought is file size (bytes) / video length (in second) and then what do i do with the number i get ? i get something big...
Question by:rotem156
    LVL 30

    Accepted Solution

    Obviously, the number of bytes read per second will depend on the file type.

    For example, I have a .flv file that is 133,768,170 bytes and lasts 39 min 43 sec. So you do the math to figure it out:

    133,768,170 bytes / [(39min*60sec/min)+43sec)] = 56134 bytes per second

    56134 bytes per sec / 1024 Kb per byte = 54,82 Kb per second!

    If you know the number of FRAMES per second, then bytes/seconv divided by FRAMES per second will give you the number of bytes per frame!
    LVL 11

    Assisted Solution

    If you divide number of bytes by the number of seconds, you get bytes per second.  

    Divide it by 1,000 and you get kilobytes per second.

    Divide it by 1,000,000 and you get megabytes per second.

    The reason you should choose between bytes/kilobytes/megabytes is to keep in mind that listing a lot of numbers is more difficult to read than a few numbers.

    Example: which one is easier to measure in your head?

    4,839,494 bytes / second


    4.8 megabytes / second.

    If that's what your question was...if not please specify otherwise :)

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    This algorithm (in C#) will resize any image down to a given size while maintaining the original aspect ratio. The maximum width and max height are both optional but if neither are given, the original image is returned. This example is designed t…
    Okay. So what exactly is the problem here? How often have we come across situations where we need to know if two strings are 'similar' but not necessarily the same? I have, plenty of times. Until recently, I thought any functionality like that wo…
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    758 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now