[vorbis] Questions about libvorbisenc

Peron, Stéphane stephane.peron at dcmc.creditlyonnais.fr
Tue Feb 26 01:17:17 PST 2002



Many thanks for you help Michael,

>From the encoder_example.c source, I have added ogg support in my
application.
And it works very well .... 

But I have two questions :
- You say that I can track information like in oggenc ... Well, I have read
its sources but It is not very clear for me...
When I study  update_statistics_full ... It seems to be call for each file
.....And it far from clear for me ...
Sorry I am not a very good programmer .....
Would it be possible to have an easy example to track information like the
encoding progression for one file ?

- When I see the .ogg that are created, I note that for the same original
wave file, they have not the same size ... Do am I wrong ?

Many thanks again for your work and your help ...

Stéphane PERON

> >Hi all,
> >
> >I am just coming in the mailing list.... ;-)
> >
> >I'm working on an Ripper/Encoder for GNUstep.
> >At first sight, libvorbisogg seems to be the library that I needed.
> 
> This is a bit confusing - there are two main libraries, libogg, and 
> libvorbis. They're seperate and independent. I don't know what exactly
> you mean by 'libvorbisogg'.
> 
> >The problem for me is documentation. 
> 
> Yes, the documentation is lacking - we have limited resources.
> 
> >So I have a few question about this library : 
> >- in order to init an encoding process, we need to provide channels.
> Well,
> >what does is mean ?
> 
> The number of channels in your input audio - i.e. 1 for mono, 2 for
> stereo,
> etc.
> 
> >- in order to init an encoding process, we need to provide rate ... What
> is
> >this rate in comparison with bitrate ?
> >is it 48khz ? so I have to put 48 ?
> 
> Sampling rate. For CD audio, this is 44100. 48000 is another fairly common
> value. Whatever you're getting the audio from (a wav file, for example)
> will have this information. It's independent of bitrate, though obviously
> a higher sampling rate means more information, which means a higher
> bitrate. Values are in Hertz (Hz).
> 
> >
> >- I would like to get the real time rate of encoding  : Is it possible
> with
> >libvorbisogg ?
> 
> libvorbis will just encode the data for you - if you want to find out
> how fast it is encoding, you have to track that information seperately
> (as oggenc does, for example).
> 
> >
> >And finally, is there any very simple example using libvorbisenc ?
> 
> In the source tree, look at vorbis/example/encoder_example.c - that's
> a simple and minimal example (though it doesn't show how to do
> managed bitrates, you needn't bother with that for a first version).
> 
> 
> Michael
> 
> 
> --- >8 ----
> List archives:  http://www.xiph.org/archives/
> Ogg project homepage: http://www.xiph.org/ogg/
> To unsubscribe from this list, send a message to 'vorbis-request at xiph.org'
> containing only the word 'unsubscribe' in the body.  No subject is needed.
> Unsubscribe messages sent to the list will be ignored/filtered.





<p>Ce message contient des informations confidentielles ou appartenant au 
Crédit Lyonnais et est établi à l'intention exclusive de ses 
destinataires. Toute divulgation, utilisation, diffusion ou reproduction 
(totale ou partielle) de ce message, ou des informations qu'il contient, 
doit être préalablement autorisée. Tout message électronique est 
susceptible d'altération et son intégrité ne peut être assurée. 
Le Crédit Lyonnais décline toute responsabilité au titre de ce 
message s'il a été modifié ou falsifié. Si vous n'êtes pas 
destinataire de ce message, merci de le détruire immédiatement et 
d'avertir l'expéditeur de l'erreur de distribution et de la destruction
du message.

This e-mail contains confidential information or information belonging 
to Crédit Lyonnais and is intended solely for the addressees. 
The unauthorised disclosure, use, dissemination or copying (either whole 
or partial) of this e-mail, or any information it contains, is prohibited.
E-mails are susceptible to alteration and their integrity cannot be guaranteed. 
Crédit Lyonnais shall not be liable for this e-mail if modified or falsified.
If you are not the intended recipient of this e-mail, please delete it 
immediately from your system and notify the sender of the wrong delivery 
and the mail deletion.

<p>--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the Vorbis mailing list