bitrate control mpeg4 encoder

bitrate control mpeg4 encoder

Hi,

With respect to the video_enc_con example application in
the media sample distribution:
The bitrate setting in the mp4.par example file does not
seem to have any effect, or hardly. Whereas it does have
effect in the MPEG2 case. It looks like nothing regarding
bitrate control is implemented in the mpeg4 case, is that
correct or am I overlooking something?

Thanks in advance for the information.

Regards.
Hendrik

FYI: here is the mp4.par file I use. I only change the bitrate
in this example but with minimal effects.
!! MPEG-4 videoencoder sample !!
test.yuv // name of source files
352 // horizontal_size
288 // vertical_size
100 // number of frames
25 // frame scale
1 // frame interval
1 // quant_type: 0 - H263, 1 - the first quantization method
6 // IVOP quant
6 // PVOP quant
6 // BVOP quant
- // name of intra quant matrix file ("-": default matrix)
- // name of non intra quant matrix file ("-": default matrix)
0 // short_video_header
100 // max I-VOP distance
0 // num of successive B-VOPs
15 // P-VOP searchWidth in full pel
15 // P-VOP searchHeight in full pel
15 // B-VOP searchWidth Forw in full pel
15 // B-VOP searchHeight Forw in full pel
15 // B-VOP searchWidth Back in full pel
15 // B-VOP searchHeight Back in full pel
1 // Motion Estimation algorithm: 0 - full search, 1 - fast search
2 // Motion Estimation accuracy: 1 - full pel, 2 - half pel, 4 - quarter pel
0 // 0 - 1MV 1 - 4MV
1 // obmc_disable
1 // Rounding Control enable
0 // calculate PSNR
1 // RateControl 0 - no, 1 - FrameLavel(VBR), 2 - MacroblockLevel (CBR)
1320000 // BitRate, bps
50 // SceneChangeThreshold, %
0 // insert GOV before I-frames
0 // repeat VOL before I-frames
0 // insert GOB/VideoPackets
1024 // VideoPacket length, bit
0 // data_partitioned
0 // reversible_vlc
0 // interlaced
0 // top_field_first
0 // alternate_vertical_scan_flag
1 // ME pred - 0 - field; 1 - frame; 2 - field+frame
0 // sprites - 0 - none, 1 - basic, 2 - GMC
0 // no_of_sprite_warping_points
0 // sprite_warping_accuracy

Message Edited by klend on 03-03-2006 02:22 PM

1 post / 0 new
For more complete information about compiler optimizations, see our Optimization Notice.