Hallo

> > > i was wondering how i could determine the average bitrate. ??
> > > ideally i would like program to tell me what it is.
> > You can only answer that question after you have encoded and MultiPLEXed
> > the stream with a audios stream.
> > That that two most interrestin lines look like that:
> >    INFO: [mplex] Average bit-rate :  4281600 bits/sec
> >    INFO: [mplex] Peak bit-rate    :  7093200  bits/sec
> > ---END---
> i have been using kino to encode and mplex my DV input.
> i will start doing it from the command line in order to
> access this info.  thanks
You only have to multiplex the files. Maybe there is a switch that
records that output info, or you multiplex it manualy.

> > Programs like mplayer pint also out the maximal bitrate of the stream:
> > VIDEO:  MPEG2  720x576  (aspect 2)  25.00 fps  7500.0 kbps (937.5
> > kbyte/s)
> i have seen this, 7500 kbps is the default with kino when setup for dvd
> output.  so my original attempt looked like this one, except for fps.
7500kbps is the default maximum for DVD mpeg2enc sets.

> > But that does not tell you the average bitrate. But you can easly
> > calculate the average bitrate:
> > filesize / (number of frame / framerate) = bytes/sec *8 = bits/sec
> >
> somehow i was getting off track , and will try again.
> 
> i am assuming if i dont select VBR in mpeg2enc ( -q flag)
> then i am encoding in CBR, and my average bitrate = maximal bitrate.
Thats correct. Usually only MPEG1 Videos are CBR. If you encode a MPEG2
Video you will always have a VBR video. MPEG2 is by default VBR. 

If you forget the -V option when multiplexing a VBR stream mpeg2enc will
create a files as large as the maximal video bitrate + audio bitrate. If
you calculate than the average bitrate it seems that you have a CBR
stream. 

> > bits/sec is the value mplex prints out !!!!
> > If you have a multiplexed stream you have to subtracts afterwards the
> > bitrate used for audio and 1-2% mplex information.
> this may have been where my calculations got off also.
> mplayer says my audio is 224 kbit
>
> > You should try it first with some shorter sequences (5-15 Minutes) with
> > differnet settings. And view them, if you like the quality.
> yes this is what i really need to do

> thanks again for taking the time with my simple question
No problem.

auf hoffentlich bald,

Berni the Chaos of Woodquarter

Email: [EMAIL PROTECTED]
www: http://www.lysator.liu.se/~gz/bernhard


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to