Displaying 1 result from an estimated 1 matches for "fp_infile".
Did you mean:
do_infile
2007 May 01
1
contstant bittrate mode - block size - packet size
...t least i can think of) do I get a constant
packet size out of the encode.
also when getting a block to encode from the vd structure the encode seems
to require multiple reads of the imput to get enough data to get a block for
encode
#define READ 882 (20ms)
struct ovectl_ratemanage2_arg rma;
fp_infile = fopen(infile,"rb");
fp_outfile = fopen(outfile,"wb");
fp_enc_info = fopen("enc_info.txt","w");
printf("%s %s\n",infile,outfile);
num_blocks = 0;
num_bytes = 0;
num_packets = 0;
//num_mseconds = 0;
rma.managemen...