Displaying 20 results from an estimated 100 matches similar to: "Assistance with an encoding plugin"
2006 Jun 19
0
Assistance with an encoding plugin
At 01:08 PM 6/17/2006, B. Ryan Newberry wrote:
>Hi,
>
>I'm working on writing a FLAC encoding plugin for a personal cd ripping
>project of mine which uses paranoia for the raw audio extraction. My
>basic setup which follows gets me oddly high pitched audio with lots of
>noise (although the music IS somewhat recognizable).
>
>#include <FLAC/stream_encoder.h>
>
2007 Mar 13
2
flac fails encoding 88.2
I do the following to init flac:
encoder = FLAC__stream_encoder_new();
e = FLAC__stream_encoder_set_do_mid_side_stereo (encoder,
numChannels == 2);
e = FLAC__stream_encoder_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,
2007 Mar 14
0
flac fails encoding 88.2
--- Roland Rabien <Roland.Rabien@mackie.com> wrote:
> I do the following to init flac:
>
> encoder = FLAC__stream_encoder_new();
>
> e = FLAC__stream_encoder_set_do_mid_side_stereo (encoder,
> numChannels == 2);
> e = FLAC__stream_encoder_set_loose_mid_side_stereo (encoder,
> numChannels == 2);
> e =
2014 Nov 23
2
deprecated function question
Greets all,
Is there a list of functions that have been removed from
flac? I am trying to compile xmcd, which is admittedly
pretty old code, and it's not finding:
FLAC__stream_encoder_set_write_callback
FLAC__stream_encoder_set_seek_callback
FLAC__stream_encoder_set_client_data
FLAC__stream_encoder_init
grepping through the flac headers these aren't there so I'm
assuming they've
2004 Sep 10
3
slow FLAC__file_decoder_seek_absolute()...
Hi,
I checked the archives, but I didn't find anything regarding this
problem. FLAC__file_decoder_seek_absolute takes an incredibly long time
to seek. What can I do about this? How do I fix it?
Here's how I'm calling the function:
if (argc > 2) {
secs = atoi(argv[2]);
seek_point = (FLAC__uint64) secs * sample_rate;
printf("seeking to %d:%02d\n", secs/60,
2005 Jan 31
1
share mounted MANY times...
I've been searching for a solution to this problem for a few hours now, but google searches are coming up empty. I have 3 Linux boxes all running Suse 9.1 and samba 3.0.2a. The 3 systems are:
Novi - the samba server
Newberry - mounting novi
Sagola - mounting novi
This work great, until "mount -a" is run. Each time mount -a is run, we get another mount of novi. When I type
2004 Sep 10
2
slow FLAC__file_decoder_seek_absolute()...
sorry about the delay... first, yes you are calling it
correctly. if your encoded files have max_framesize == 0,
then that should mean that either 1) you were using the
command-line flac to encode to stdout; or 2) you are using
libFLAC directly. if 2, you can replicate the functionality
that is in src/flac/encode.c:metadata_callback() to write
back statistics and seek table to the metadata in
2004 Sep 10
1
flac-1.0.3_beta released
--- Joshua Haberman <joshua@haberman.com> wrote:
> 2. I was hoping that the new metadata API would mean that an encoder
> could be written without having to know *anything* about the bitwise
> layout of the stream format, but that seems not to be the case. From
> src/flac/encode.c:
>
> ( void metadata_callback() )
> /* all this is based on intimate knowledge of the
2006 Apr 01
1
debugging the bits_per_sample and channels metadata in FLAC
I encountered what I think is a bug in labFLAC_static release that's
driving me nuts.
I compile the FLAC libraries in debug mode on ARMV4 (ported) and it
works fine
I compile the FLAC libraries in release mode on ARMV4 (ported) and no
FLAC files play
>From what I can see, in metadata_callback, I get different values for
channel and bitsperssample
2004 Sep 10
1
Serious bug in FLAC
(I am not on this list, please CC me manually if necessary)
On Fri, Mar 15, 2002 at 11:47:15PM -0500, Asheesh Laroia wrote:
> Are you sure it's not your compiler? That's the first thing I would
> check. I know that RedHat is famous for including broken pre-releases of
> GCC in their distributions since 7.0.
FUD. Please stop that, it makes you look unprofessional. Until you can
2004 Sep 10
1
[Flac-users] Trouble Building flac-1.1.0
I am trying to build Flac 1.1.0. Version 1.0.3 built without any problems on this system, but 1.0.4 and 1.1.0 fail during the `make' step. I ran `./configure' without any extra flags, then ran `make'. The following is the errors that make outputs:
file_decoder.c:60: parse error before "FLAC__FileDecoderWriteCallback"
file_decoder.c:60: warning: no semicolon at end of
2004 Sep 10
2
FLAC++ SeekableStream write_callback not being called?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
I am trying to create a FLAC plugin for the K3b CD burning program. To do this
I have subclassed the FLAC::Decoder::SeekableStream class. I can obtain the
vorbiscomment data using set_metadata_respond, process_until_end_of_metadata
and the metadata_callback, however I cannot decode the audio data. It seems
to me as though the write_callback
2004 Sep 10
11
flac-1.0.3_beta released
I have just released a source distribution which is the
candidate for the 1.0.3 release. At this time I would
ask anyone who is willing to help test it to do the
following:
1. download the tarball and unzip it:
http://prdownloads.sourceforge.net/flac/flac-1.0.3_beta-src.tar.gz?download
2. do
./configure && make && make check
This will build all code and run all the tests.
2002 Oct 05
2
ogg123 remote interface
Hi,
I've been working on ogg123 to see if i could add a remote interface
compatible with the one in mpg123. This remote interface is used mainly by
mp3 players which use mpg123 as their backend.
The reason i did this was that i have recently encoded some of my cd's in
ogg vorbis format but wanted to keep using my favourite player (playmp3list,
2004 Sep 10
2
about libFLAC
Hi Josh,
As you know, I'm writing a FLAC ACM codec using libFLAC. The Audio Codec
Manager sends messages to the driver with blocks of data to be converted. I
think it will be much easier to decode the data if we could use
FLAC__stream_decoder_process_whole_stream() to process the first message,
not processing any data that don't make a whole frame, and then use
2006 May 11
2
C++ Set_Metadata Problem
I refer to a problem that appeared on the flac list last August that was
either solved off-list or abandoned.
(http://lists.xiph.org/pipermail/flac/2005-August/000468.html)
The problem is with using the C++ encoder classes, particularly the
FLAC::Encoder::File:set_metadata
function. JC said that the developers version of how to add a simple
metadata block looked right, but it did not work for
2006 Jan 27
0
patch for bugs in vorbis-tools-1.1.1
Hi
I've found bugs in vorbis-tools and wrote this patch to fix them:
1st part is to fix single-channel flac files.
2nd part fixes a problem with thread race causing lockup if you press
Ctrl-C
Ctrl-C sets sig_request.cancel, buffer thread exits if it sees
sig_request.cancel
However, if Ctrl-C was pressed here
do {
if (nthc-- == 0) {
----------------> Ctrl-C
2006 Dec 12
1
Setting compression level
Hi.
I'm have a little problem with setting compression level since 1.1.3
releases.
I'm using :
FE = FLAC__stream_encoder_new();
FLAC__stream_encoder_set_channels( FE, channels);
FLAC__stream_encoder_set_bits_per_sample( FE, bitsample);
FLAC__stream_encoder_set_sample_rate( FE, samplerate);
unsigned int level;
if (formatdatalen>0)
level = *(char*)(formatdata);
else
level = 7;
if
2004 Sep 10
0
slow FLAC__file_decoder_seek_absolute()...
On Fri, Jan 25, 2002 at 07:22:05PM -0800, Josh Coalson wrote:
> sorry about the delay... first, yes you are calling it
> correctly. if your encoded files have max_framesize == 0,
> then that should mean that either 1) you were using the
> command-line flac to encode to stdout; or 2) you are using
> libFLAC directly. if 2, you can replicate the functionality
> that is in
2004 Sep 10
0
about libFLAC
--- Daniel Souza <danielrsouza@hotmail.com> wrote:
> Hi Josh,
>
> As you know, I'm writing a FLAC ACM codec using libFLAC. The Audio
> Codec
> Manager sends messages to the driver with blocks of data to be
> converted. I
> think it will be much easier to decode the data if we could use
> FLAC__stream_decoder_process_whole_stream() to process the first
>