Log in

View Full Version : Setting nominal bitrate properly?


rubic42
12th May 2002, 19:18
Has anyone had any problems getting the latest version of TMPGEnc to properly set the nominal bitrate of an MPEG-1 video? No matter which VBR, CBR method I use and which kind of stream (video only, system, etc.) is output, it always seems to set the nominal bitrate of the video to 104857600 bits/s, which is obviously wrong. My encodes are around 1150 kbit/sec.

Bitrate Viewer and a few other programs will report this false nominal bitrate. The most notable one is Scenarist, and once it sees this really high fake bitrate, it rejects the video stream. Crap...

Is there a setting in TMPGEnc to fix it? Or does anyone know of any way to batch process a LOT (100s) of MPEG streams to fix this value?

Thanks in advance!

rubic42
13th May 2002, 05:49
TMPGEnc will only set the bitrate field in each of the frame headers if it's using CBR. Any other VBR-ish mode will set the nominal bitrate to some large number (bits are all 1's).

I wrote a Perl script to parse out the MPEG header for each frame and change the bitrate field to the proper value.

Now the MPEGs import into Scenarist properly. I'm guessing a lot of other people may have run into this, so I'm posting this information here in case anyone may find it interesting.