Displaying 20 results from an estimated 700 matches similar to: "Encoding process"
2004 Nov 16
0
metadata switches for ffmpeg2theora
Jan,
Here's a hacky patch to add a few commandline options for setting
comment header fields in ffmpeg2theora. It's a bit big because I
virtualized the global info struct in theorautils.c. In retrospect
that probably wasn't necessary, but I think it's cleaner anyway.
I didn't test it because I couldn't compile ffmpeg2theora, but
modulo bugs it should support
2009 Dec 12
1
Skipping of sample in ogg writing
Hi All,
I m having a strange problem with the Ogg-Vorbis writting code. The code
I m using to write is skipping some samples at the end of the file. For
example I m converting the 10000 sample .wav file ( 441000 sample rate ,
16 bit depth , stereo ) to ogg format. But while reading the ogg file I
only find 5824 samples in the ogg file. Can any one suggest what could
be wrong in the code. Is
2009 Dec 12
1
Skipping of sample in ogg writing
Hi All,
I m having a strange problem with the Ogg-Vorbis writting code. The code
I m using to write is skipping some samples at the end of the file. For
example I m converting the 10000 sample .wav file ( 441000 sample rate ,
16 bit depth , stereo ) to ogg format. But while reading the ogg file I
only find 5824 samples in the ogg file. Can any one suggest what could
be wrong in the code. Is
2003 Nov 08
2
Encoding in Delphi - Help
Hi!
I've made a vorbis encoder in delphi, but it's very verey slow!
It takes 5 minutes to encode a pcm file.
And i don't know why. Could anyone help me???
----------------------------------------------------------------------------------
result := ogg_stream_flush(os, og);
while result <> 0 do
begin
OutFile.Write(Pointer(og.header)^, og.header_len);
2012 May 14
0
Memory Leak in vorbis_info_clear()
I'm having trouble tracking down why it leaks, but below is an example
program which shows--using valgrind--that vorbis_info_clear() leaks memory
if called before vorbis_dsp_clear(), but not if called after
vorbis_dsp_clear(). Just compile and run under valgrind, using the -l switch
to the example program to trigger a leak. Tested under OS X 10.7 and Ubuntu
12.04.
This may be by design, or
2007 Aug 10
5
[Patch] Const correct tags functions
Hi all,
I tend to compile my code with all GCC warnings turned on. However,
when I do this :
vorbis_comment_add_tag(&vdata->vc,"ENCODER","libsndfile");
I get the following warning messages:
warning: passing argument 2 of 'vorbis_comment_add_tag' discards
qualifiers from pointer target type
warning: passing argument 3 of
2002 Jun 24
1
packetno, granulepos, streaming and framing
Hi
While implementing OSS Ogg/Vorbis encoding and streaming using RTP/RTCP
for both unicast and multicast, I have come across a few issues I need
to clear out regarding the numbering of ogg_packets and their granulepos
value. Below are the result for two different scenarios.
<p>In the first scenario, ogg_packets are generated using
a) vorbis_analysis_headerout()
b) while
2002 Dec 30
0
vorbis_comment interface
I was looking over the comment manipulations
routines defined in vorbis/codec.h and info.c
and I noticed that each "char *" could/should
really be defined as "const char*". Is it expected
that this will change or was it defined like this for
reason?
void vorbis_comment_add(vorbis_comment *vc, char *comment);
void vorbis_comment_add_tag(vorbis_comment *vc,
2002 Mar 14
2
Ogg in MP4 file, Unexpected result from _vorbis_unpack_books
Hi.
I'm trying to implement Ogg/Vorbis support for the MPEG4IP project.
The goal is to support Ogg/Vorbis audio for MPEG-4 streaming.
So far I have managed to make the encoder save Ogg packets as an Audio
object in an .mp4 file. As a side effect, it can also save Ogg pages in
an .ogg file playable by xmms, but that's no big deal.
So what I'm doing is this. First the init part.
a)
2000 Jul 29
0
New comment interfaces
I just committed a bunch of work on the comment interfaces in libvorbis.
Importantly, there is now a way to deal with non-0-terminated strings being
returned in the comment structure.
THe vorbis_comment struct has an additional member - int *comment_lengths.
Unless you're editing the struct directly (i.e. not using
vorbis_comment_add(),
etc.), no changes will be needed to applications (but
2002 Mar 27
1
What exactly is threadsafe
Hey I am playing with a LOT of threads right now, and I want to know if the
threads all need their own little vorbis encoders running in them or what
exactly is threadsafe in vorbis?
So here are the functions that would be called from many threads of with
buffer = vorbis_analysis_buffer( &m_vorbisDsp, 4*DATA_CHUNK_SIZE );
vorbis_analysis_wrote( &m_vorbisDsp, dataLength/dataSize );
2005 Sep 26
2
encoder_example.c Questions
I've been trying to piece my way through the encoder_example.c program
to better understand how to encode files as ogg/vorbis. I'm stuck on
two sections of the code.
This is the first
/* uninterleave samples */
for(i=0;i<bytes/4;i++){
buffer[0][i]=((readbuffer[i*4+1]<<8)|
(0x00ff&(int)readbuffer[i*4]))/32768.f;
2006 Oct 09
1
Vorbis primitive API examples (LONG)
Okay, how do I drop a changeset/patchset/tag for you folks from SVN?
At this point, I have written three examples of how to use the basics of
the ogg streaming and decoding in Tremor. I heartily welcome any
suggestions, improvements and corrections that you can point out in the
code.
The examples required me to make some small modifications to the main
tremor library. However, the changes
2015 May 18
5
Writting 16-bit PCM data to Ogg.
Hi Developers,
I have a 16-bit PCM data buffer, I want to write that to ogg file. Could
you help me to understand how to write pcm data to the ogg?
Thanks in advance.
Arun balaji
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xiph.org/pipermail/vorbis-dev/attachments/20150518/6c8c9a63/attachment.htm
2004 Aug 06
1
ices: Metadata for im_stdinpcm
Hi,
I added metadata support for the stdinpcm module of ices. The metadata
have to be submitted via file (as stdin is already used for the strem).
Please apply this patch to the current cvs sources.
<p>Deti
<p>
Index: im_stdinpcm.c
===================================================================
RCS file: /usr/local/cvsroot/ices/src/im_stdinpcm.c,v
retrieving revision 1.8
diff
2001 Sep 30
3
UTF-8 stuff
Here's a propsed heavy-duty solution for your UTF-8 problems.
I'm including a patch in this message, but I'll put the new files on
my web site at http://rano.org/tmp/xiph_files.tar.gz
I've tested this by running vorbiscomment with and without
-DHAVE_ICONV=1 in vorbis-tools/share/Makefile. It seems to work.
Changed files:
acinclude.m4: Add a test for nl_langinfo(CODESET). This
2003 Sep 11
1
Flushing audio
Hi there again..
I'm still writing my particular-case-vorbis-encoder-and-player, and it
worked fine until now.
I'm having a problem trying to encoding the audio. I need to send the data
very quickly, as soon as i capture it from the sound card.
Currently i have the following (audio captured 16 bits, mono):
void VorbisEncoder::encode(void *data, int r)
{
char *buf = (char *)
2006 Apr 09
1
Encoding / new comments
Hi,
I'm developing a software using a vorbis encoder, streaming to an
icecast server. I recently realized that the system gets a bit out of
sync at every new track. The machine isn't really fast, but it's
enough, and it can actually get the sync back quickly. However, I'm
wondering why the encoding costs me so much at every new track, it
would be better to have the system behave
2007 May 01
1
contstant bittrate mode - block size - packet size
Hello,
I am trying to implement a realtime encoding then streaming solution using
the vorbis codec (would be wrapped in a "7F" type for minimal framing
overhead) for sending audio over a low bit rate wireless link.
since we need a constant bittrate (i.e. constant packet size) for this
solution we want to run the alg in constant bitrate mode;
for evaluation of the codec I followed the
2007 Sep 17
1
How To Encode Realtime
Hi,
??Forgive my poor English, I'm trying to implement a net phone using vorbis codec, which need realtime encode and decode the stream.
The problem is, I use vorbis_analysis_buffer() and vorbis_analysis_wrote() push the PCM data in, then use vorbis_analysis_blockout(&vd, &vb) to output a block, it can't output all the data. It seems that some data which length is constant, must