search for: vorbis_block_init

Displaying 15 results from an estimated 15 matches for "vorbis_block_init".

2014 Aug 09
1
libvorbisfile dynamic linkage with pkg-config - inter-library dependencies?
...-errors "vorbisfile" outputs -lvorbisfile but when I try to link Audacity with only -lvorbisfile on the linker command line, the link fails with /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../x86_64-pc-linux-gnu/bin/ld: export/audacity-ExportOGG.o: undefined reference to symbol 'vorbis_block_init' /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../x86_64-pc-linux-gnu/bin/ld: note: 'vorbis_block_init' is definedExportOGG.o in DSO /usr/lib64/libvorbis.so.0 so try adding it to the linker command line /usr/lib64/libvorbis.so.0: could not read symbols: Invalid operation collect2: er...
2005 Sep 27
2
Stream "Saving" and Excerpting...
...it's some python mess), but I'm rewriting the assembler part and starting from the source code for "vcut". The problem with that is that "vcut" seems to use several API calls not documented in the API documentation... vorbis_synthesis_headerin() vorbis_synthesis_init() vorbis_block_init() I'm also wondering if I'm going about this all wrong, since there doesn't seem to be any easy way to do what I'm doing. All the API calls seem to be centered on encoding and decoding, rather than simply cutting and splicing encoded packets. -- //// Jason M. SULLIVA...
2009 Mar 15
1
Add vorbis_dsp_init() ?
Hi, This mozilla bug report is a crash triggered by a Vorbis file with corrupt headers: https://bugzilla.mozilla.org/show_bug.cgi?id=481601 The patch to fix the crash adds a new vorbis_dsp_init() function to libvorbis, and calls that from fs_vorbis_init() in libfishsound: https://bug481601.bugzilla.mozilla.org/attachment.cgi?id=366150 The public function it adds is: void
2009 May 12
2
compile error of libtheora example
...er_example.c:(.text+0x13f0): undefined reference to `theora_info_clear' player_example.c:(.text+0x13fc): undefined reference to `theora_comment_clear' player_example.c:(.text+0x1419): undefined reference to `vorbis_synthesis_init' player_example.c:(.text+0x142d): undefined reference to `vorbis_block_init' player_example.c:(.text+0x146e): undefined reference to `vorbis_info_clear' player_example.c:(.text+0x147a): undefined reference to `vorbis_comment_clear' player_example.c:(.text+0x14cf): undefined reference to `vorbis_synthesis_pcmout' player_example.c:(.text+0x157d): undefined re...
2001 Jan 09
1
Question re: vorbis_block_clear()
I'm running into memory leak and read-from/write-to unallocated errors in the cleanup phase of parallel oggenc. I see in vorbis_block_clear() that it references some fields on the vorbis_dsp_state that it cached during vorbis_block_init(), and conditionally does some cleanup based on the values of those fields. Does this fact effectively mean that you can't have multiple vorbis_block instances outstanding? i.e., can you only reliably vorbis_block_clear() the *last* vorbis_block that went through vorbis_analysis()? I ask bec...
2012 May 14
0
Memory Leak in vorbis_info_clear()
...et ident, comment, setup; } pkt; vorbis_info_init(&info); vorbis_encode_init_vbr(&info, 2, 44100, 1.0); vorbis_analysis_init(&dsp, &info); vorbis_comment_init(&comment); vorbis_analysis_headerout(&dsp, &comment, &pkt.ident, &pkt.comment, &pkt.setup); vorbis_block_init(&dsp, &block); } /* init() */ void destroy(_Bool leak) { vorbis_block_clear(&block); if (leak) vorbis_info_clear(&info); vorbis_dsp_clear(&dsp); if (!leak) vorbis_info_clear(&info); vorbis_comment_clear(&comment); } /* destroy() */ int main(int argc, char *a...
2001 Sep 02
0
Encoding process
...n in pseudocode as follows: --- 1 get parameters 2 init vorbis_comment -- vorbis_comment_init() 3 init vorbis_info -- vorbis_info_init() 4 start encoding with info and params -- vorbis_encode_init() 5 init vorbis_dsp_state from info -- vorbis_analysis_init() 6 init vorbis_block from dsp -- vorbis_block_init() 7 init ogg_stream_state with serial -- ogg_stream_init() 8 fill vorbis_comment -- vorbis_comment_add() 9 create header packets from dsp -- vorbis_analysis_headerout() 10 dump header packets to stream -- ogg_stream_packetin() 11 while pages need to be flushed from stream: -- ogg_stream_flush()...
2004 Nov 16
0
metadata switches for ffmpeg2theora
...(&info.vc, "ENCODER",PACKAGE_STRING); + vorbis_comment_init (&info->vc); + vorbis_comment_add_tag (&info->vc, "ENCODER",PACKAGE_STRING); /* set up the analysis state and auxiliary encoding storage */ - vorbis_analysis_init (&info.vd, &info.vi); - vorbis_block_init (&info.vd, &info.vb); + vorbis_analysis_init (&info->vd, &info->vi); + vorbis_block_init (&info->vd, &info->vb); } /* audio init done */ @@ -86,50 +84,50 @@ /* write the bitstream header packets with proper page interleave */ /* first packet will ge...
2007 Aug 10
5
[Patch] Const correct tags functions
...+ const char *tag, const char *contents); +extern char *vorbis_comment_query(vorbis_comment *vc, const char *tag, int count); +extern int vorbis_comment_query_count(vorbis_comment *vc, const char *tag); extern void vorbis_comment_clear(vorbis_comment *vc); extern int vorbis_block_init(vorbis_dsp_state *v, vorbis_block *vb); --- lib/info.c (revision 13502) +++ lib/info.c (working copy) @@ -59,7 +59,7 @@ memset(vc,0,sizeof(*vc)); } -void vorbis_comment_add(vorbis_comment *vc,char *comment){ +void vorbis_comment_add(vorbis_comment *vc,const char *comment){ vc->user_comm...
2004 Aug 06
2
No audio with slackware for live station
He means that development of WinAmp 3 has discontinued. WA2 is being updated to support WA3's extra features (video, media library), and WinAmp 5 (2+3=5) is the main new development. You can read the announcement on the WinAmp forums. >===== Original Message From Stefan Neufeind <stefan@neufeind.net> ===== >On Fri, 16 May 2003 at 13:15:22, Geoff Shang wrote: > >> I
1999 Oct 04
3
Detailed decoder pseudocode (was: Re: ETA?)
...g before adding more */ buffer=ogg_sync_buffer(&oy,4096); bytes=read(STDIN_FILENO,buffer,4096); ogg_sync_wrote(&oy,bytes); } /* OK, got and parsed all three headers. Initialize the Vorbis packet->PCM decoder. */ vorbis_synthesis_init(&vd,&vi); /* central decode state */ vorbis_block_init(&vd,&vb); /* local state for most of the decode so multiple block decodes can proceed in parallel. We could init multiple vorbis_block structures...
2006 Oct 09
1
Vorbis primitive API examples (LONG)
...g/refactoring. It // really isn't an independent init like others. It has a // dependency upon having a fully filled out vorbis_info structure. // Such a dependency really should cause a change in the name // to something like vorbis_synthesis_postheader_init. // FIXME: Does vorbis_block_init have a post-dependency upon // vorbis_synthesis_init? */ vorbis_synthesis_init(vd, vi); vorbis_block_init(vd, vb); } } else { /* Stream packet, not a header packet */ v_rv0 = vorbis_synthesis(vb, op, 1); dprintf("Vorbis synthesis: %d %p %p\n", v_rv...
2007 May 01
1
contstant bittrate mode - block size - packet size
...aged(&vi,2,44100,3*128000,3*128000,3*128000); ret = ret||vorbis_encode_ctl(&vi,OV_ECTL_RATEMANAGE_HARD,&rma); ret = ret||vorbis_encode_setup_init(&vi); if(ret)exit(1); /* set up the analysis state and auxiliary encoding storage */ vorbis_analysis_init(&vd,&vi); vorbis_block_init(&vd,&vb); //encode loop total_samples_consumed = 0; num_reads=0; while(!feof(fp_infile)){ // num_mseconds = 0; long i; long bytes=fread(readbuffer,1,READ*4,fp_infile); /* stereo hardwired here */ /* expose the buffer to submit data */ float **buffer=vorbis_a...
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
2002 Aug 06
0
Getting a GUI to work with Vorbis code
...ls,vi.rate); fprintf(outputFile,"Encoded by: %s\n\n",vc.vendor); } convsize=4096/vi.channels; /* OK, got and parsed all three headers. Initialize the Vorbis packet->PCM decoder. */ vorbis_synthesis_init(&vd,&vi); /* central decode state */ vorbis_block_init(&vd,&vb); /* local state for most of the decode so multiple block decodes can proceed in parallel. We could init multiple vorbis_block structures...