PDA

View Full Version : xvid in mencoder


Doom9
13th February 2005, 17:55
Is anybody using xvid in mencoder? the xvidencopts have an interesting parameter: container_frame_overhead. Is there a way to set this to zero? the manpage says container_frame_overhead=0 means that XviD's defaults are being used (no idea what those are), and considering that in GKnot's bitrate calculator the AVI overhead is not taking into account by default, I figure XviD is already AVI aware. So is there any way to make it AVI unaware (I need RAW output for later muxing into an MP4)?

Koepi
13th February 2005, 18:26
That'd need a special build as 0 (=default) means 24bytes/frame (->AVI).

Cheers
Koepi

Doom9
14th February 2005, 00:20
but what's the effect of that assumption? will the bitrate of the raw xvid data be reduced by 24 bytes/frame? So if I my bitrate is 600 kbit/s, that's 75'000 byte/s video and container data, and if the framerate is 25fps, the there's 3000 bytes/frame for both video and container, or 24 bytes/frame for the container and the actual video bitrate is 2976 bytes/frame?

Koepi
14th February 2005, 06:36
Yupp, it reduces bitrate by that amount more or less.

Regards
Koepi