[MPlayer-users] Encoding multiple audio streams into one file
Haas Wernfried
w.haas at xover.htu.tuwien.ac.at
Thu Oct 24 21:52:02 CEST 2002
> I use the following formula to calculate the video bitrate:
>
> video_size = (target_size - audio_size) / 1.0115
> video_bitrate = video_size / length / 1024 * 8
>
> Where target_size and audio_size are in bytes (e.g. 700 * 1024 * 1024 -
> sizeof(all ogg files)). The 1.0115 results from the overhead of putting
> streams into an OGG file. length is the movie length in seconds. And
> finally you end up with video_bitrate in kbit/s, ready to be used in
> '-lavcopts vbitrate=video_bitrate'.
i don't exactly remember the formula i used last time, but
yours seems to be more advanced than mine :)
> If you chose your frame size (cropping & scaling) wisely you'll always
> end up with a OGG/OGM file that's +/- 1MB off of your intended target
> size.
+/- 1MB sounds very good, i'll try it next time i've got something to
encode.
thanks,
wernfried
--
-> Fppmpppffpppmpfpffmffmppmpm Mfpmmmmmmfmm
-> fpp.mfpmmmmmmfmm at fpfppffpmmpppff.ppmfmfmpm.mmmfmp
-> mfpfmpfmppfm://fpfppffpmmpppff.ppmfmfmpm.mmmfmp/~mmmppmpppmpppppmffppfppp
-> http://www.namesuppressed.com/kenny/
More information about the MPlayer-users
mailing list