similar to: encode example

Displaying 20 results from an estimated 1000 matches similar to: "encode example"

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;
2002 Dec 16
1
encoding question
Hi there, I've a little question abound programming an ogg-vorbis encoder. The encode_example.c works ok for files with 44100/2/16 - but not for other formats. I don"t really understand what this piece of code is really doing: /* uninterleave samples */ for(i=0;i<bytes/4;i++){ buffer[0][i]=((readbuffer[i*4+1]<<8)|
2004 Feb 13
10
Encoding into MONO (delphi)
Hi! I have a problem. I hope, you can help me. I use a Delphi conversion (from Aleksandr Shamray), but it doesn't work when I'd like to convert a *.RAW into a mono *.ogg file. vorbis_encode_init_vbr(vi, 1, 44100, 0.5); //because of the mono the program stops at line: //* uninterleave samples */ . . buffer[1][i] := smallInt((pArray(@readbuffer)[i shl 2 + 3] shl 8) or
2004 Apr 19
3
encoding from 22050Hz source
Hi! I'd like to encode from a 22050 Hz source wav file (only in that case), but i get the following error message: "Invalid floating point operation" I use delphi: vorbis_encode_init_vbr(vi,2,22050,0.5) . . . While (i < readCount div 4) Do Begin buffer[0][i] := smallInt((pArray(@readbuffer)[i shl 2 + 1] shl 8) or pArray(@readbuffer)[i shl 2 + 0]) / 32768;
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);
2011 Mar 10
4
Wav to Ogg Vorbis conversion
Dear experts, I am trying to use an example I found here: http://svn.xiph.org/trunk/vorbis/examples/encoder_example.c Could you please tell me what float** buffer is needed for (I don't see it used anywhere). Also, could you please tell me what this code is doing: for(i=0;i<bytes/4;i++){ buffer[0][i]=((readbuffer[i*4+1]<<8)|
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
2006 Sep 11
4
encode, decode and encode again
(I've already posted this message month ago, but nobody answered, may be it was not delivered to newsgroup?) Hello, All. I wrote an encoder-decoder based on example from OGG-Vorbis SDK. This encoder can encode a large amount of small WAV-files with equal parameters into one sound archive. Then I decode this sound archive back into large amount of small WAV-files. Theese files are
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
2004 Nov 18
2
Questions about vorbis linking
Hello: I think that I got a linking problem but I don't know how to fix it. This is the error code form make: cc grabando_pcm.o encodear_vorbis.o -o mi_servidor -lasound -lvorbis -logg encodear_vorbis.o(.text+0x42): En la funci?n `inicializar_vorbis': : undefined reference to `vorbis_encode_init_vbr' collect2: ld devolvi? el estado de salida 1 make: *** [mi_servidor] Error 1
2002 Feb 20
4
Questions about libvorbisenc
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. The problem for me is documentation. 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 ? - in order to init an encoding process, we need
2004 Aug 06
0
No subject
data. On closer inspection (should have done that before, sorry), the procedure uninterleave that you gave is a direct translation of that code, and it also uses little endian (the high byte is at address i*4+1, the low byte at i*4, hence the little byte first, little endian). Procedure uninterleave_little_endian uninterleaves as well, but assumes that the machine it's running on is
2004 Aug 06
0
No subject
data. On closer inspection (should have done that before, sorry), the procedure uninterleave that you gave is a direct translation of that code, and it also uses little endian (the high byte is at address i*4+1, the low byte at i*4, hence the little byte first, little endian). Procedure uninterleave_little_endian uninterleaves as well, but assumes that the machine it's running on is
2004 Feb 18
1
OggVorbis &quot;tutorial&quot; file
Hi, I would like to ask if someone couldhelp me. I am writing a decoder for ogg-vorbis. I am not using the libvorbis because we want a code using our memory functions and I am going to rip some of the decoder functionality as we want only to use mono, 44.100, 96-160kbs sound files. We want to write the fastest and cleanest code possible even using assembler functions where possible. I have
2004 Sep 01
3
Apparently OLE problem
Hello, im trying to run a program, but appear this error message: Invoking /usr/lib/wine/wine.bin SVLGER.EXE ... fixme:ole:CoRegisterMessageFilter stub fixme:ole:GetRecordInfoFromGuids (0x40b8e0,2,12,0,0x40b8f0,0x4465e8),stub! fixme:ole:CoRegisterMessageFilter stub Wine exited with a successful status Im using Debian, and configured Wine with Winetools. Any appointment of the patch for this
2004 Mar 19
2
Packet questions
Sorry the basic questions but first of all, what are the packet used afterall?? seems that only pages are important if i have a segment table like the one listed above means that i have 4 packets and each value is its size??? 199 195 200 207 --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message
2008 Aug 25
4
ViaMichelin Maps Support
Hi, I''m Adriano from Rome, Italy. I would like to know if is there in project any support for the ViaMichelin API''s. Thank you Regards Adriano Massi -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.mapstraction.com/pipermail/mapstraction-mapstraction.com/attachments/20080825/6eb6dfe1/attachment.htm>
2004 May 07
2
Samples inside a packet
Hi, Just to confirm: for blockSizes of 256 and 2048 (0 and 1 respectively) the number of sample inside this audio packet will be acording to table below: LastWind ThisWin Samples 0 0 128 0 1 576 1 0 576 1 1 1024 Correct?? thanks a lot. --- >8 ---- List archives:
2002 Apr 30
2
RAID-5/LVM/ext3
Hello: We trying to configure one machine (Compaq Proliant ML760) with 8 disks (72GB each disk) with RAID. We are thinking to use ext3 and LVM in RedHat 7.2 for manage one filesystem with 500GB. This filesystems have to store near off 5.000.000 of files. Is this possible? Could I resize the filesystems/volume to 1TB? what are the ext3 and LVM limits? someone have tested sismilar environment? I
2010 Jul 04
3
Generated By handling CRUD Scaffold
Good afternoon. I have two questions: First question: Can be defined at the time that I''m generating the scaffold the size of a string? For example name:string (50)? Second question: I wonder how to proceed correctly to include new fields starting at a CRUD generated by scaffold. Example: First step (I use): script/generate scaffold User name:string login:string Second step (I add