Displaying 4 results from an estimated 4 matches for "flac__stream_encoder_set_blocksize".
2007 Mar 13
2
flac fails encoding 88.2
..._set_loose_mid_side_stereo (encoder,
numChannels == 2);
e = FLAC__stream_encoder_set_channels (encoder, numChannels);
e = FLAC__stream_encoder_set_bits_per_sample (encoder, jmin (24,
bitsPerSample));
e = FLAC__stream_encoder_set_sample_rate (encoder, sampleRate);
e = FLAC__stream_encoder_set_blocksize (encoder, 2048);
e = FLAC__stream_encoder_set_do_escape_coding (encoder, true);
e = FLAC__stream_encoder_set_write_callback (encoder,
&encodeWriteCallback);
e = FLAC__stream_encoder_set_metadata_callback (encoder,
&encodeMetadataCallback);
e = FLAC__stream_en...
2010 Feb 08
0
Use FLAC__stream_encoder_init_FILE instead of FLAC__stream_encoder_init_file
...> return;
>
> }
>
>
>> FLAC__stream_encoder_set_channels ( encoder, 2 );
>
> FLAC__stream_encoder_set_bits_per_sample ( encoder, 16) ;
>
> FLAC__stream_encoder_set_sample_rate ( encoder, 44100 );
>
> FLAC__stream_encoder_set_verify( encoder, FALSE );
>
> FLAC__stream_encoder_set_blocksize( encoder, 0 );
>
> FLAC__stream_encoder_set_compression_level( encoder, 5);
>
>
>>
>> FLAC__StreamEncoderInitStatus InitStatus;
>
> InitStatus=FLAC__stream_encoder_init_file( encoder, FullFileName, NULL,
>> NULL );
>
> if(FLAC__STREAM_ENCODER_INIT_STATUS_OK...
2007 Mar 18
1
Encoding and Compression --- where is the nitpick?
...flac
http://stinfwww.informatik.uni-leipzig.de/~mai02cal/b.flac
and the analysis file:
http://stinfwww.informatik.uni-leipzig.de/~mai02cal/b.ana
I think it may depend on the blocksize in both FLAC files (1152 vs 4096)
but I can't --- or better I'm not able --- to modify the blocksize with
FLAC__stream_encoder_set_blocksize().
I'm using the 1.1.4. How can I generate a better result (the same result
as the command line tool)? How can I maximize the compression ratio ---
what are the tricks?
Thank you
Matthias Berndt
PS: ... and thank you for the probably best archiving format for music.
-------------- next part...
2007 Mar 14
0
flac fails encoding 88.2
...; numChannels == 2);
> e = FLAC__stream_encoder_set_channels (encoder, numChannels);
> e = FLAC__stream_encoder_set_bits_per_sample (encoder, jmin
> (24,
> bitsPerSample));
> e = FLAC__stream_encoder_set_sample_rate (encoder,
> sampleRate);
> e = FLAC__stream_encoder_set_blocksize (encoder, 2048);
> e = FLAC__stream_encoder_set_do_escape_coding (encoder,
> true);
> e = FLAC__stream_encoder_set_write_callback (encoder,
> &encodeWriteCallback);
> e = FLAC__stream_encoder_set_metadata_callback (encoder,
> &encodeMetadataCallback...