search for: vorbis_analysis_init

Displaying 10 results from an estimated 10 matches for "vorbis_analysis_init".

2009 May 26
5
errors in valgrind
...dress 0x440d908 is 0 bytes after a block of size 2,048 alloc'd ==13108== at 0x4026132: calloc (vg_replace_malloc.c:397) ==13108== by 0x414F88D: vorbis_analysis_init (in /usr/local/lib/libvorbis.so.0.4.1) ==13108== by 0x804ED2A: oe_encode (in /usr/local/bin/oggenc) ==13108== by 0x804B9FB: main (in /usr/local/bin/oggenc)...
2005 Apr 22
0
segfault on oggenc
...a chipset m/b. Here is my attempt to debug it with gdb by downloading vorbid-tools alone (the rest dependencies are the official debian packages), in case it rings any bells.. (gdb) s oe_encode (opt=0xbffff870) at encode.c:201 201 vorbis_encode_setup_init(&vi); (gdb) s 208 vorbis_analysis_init(&vd,&vi); (gdb) s Program received signal SIGSEGV, Segmentation fault. 0xb7da0bd6 in mallopt () from /lib/tls/libc.so.6 (gdb) bt #0 0xb7da0bd6 in mallopt () from /lib/tls/libc.so.6 #1 0xb7da0394 in calloc () from /lib/tls/libc.so.6 #2 0xb7ee73a1 in _book_unquantize () from /usr/lib/libv...
2006 Apr 09
1
Encoding / new comments
...wever, I'm wondering why the encoding costs me so much at every new track, it would be better to have the system behave more smoothly. I don't remember where we got the recipe for doing so, but at every new track we basically completely reset the encoder. It involves a quite costly call to vorbis_analysis_init. My question is: is it strictly needed ? I just want to change the metadata after all.. Any pointer to a good tutorial would be greatly appreciated too, learning from examples is nice but you never know if the example is so good.. If you're interested in the piece of code I'm writing about...
2012 May 14
0
Memory Leak in vorbis_info_clear()
...gt; static struct vorbis_info info; static struct vorbis_dsp_state dsp; static struct vorbis_comment comment; static struct vorbis_block block; void init(void) { struct { ogg_packet 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) vorbi...
2001 Sep 02
0
Encoding process
...think I have a basic idea of what happens. I got it down 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 n...
2004 Nov 16
0
metadata switches for ffmpeg2theora
...omment_init (&info.vc); - vorbis_comment_add_tag (&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 pr...
2000 Nov 22
1
Non-gcc build problems
.../src/audio_out.c:284,307) and (ao/src/ao_wav.c:147,181) to use C-style comments. vorbis-tools module =================== - vorbis-tools/vorbiscomment/vorbiscomment.c line 208 has a C++ style comment. --> Solution: change vorbis-tools/vorbiscomment/vorbiscomment.c:208 to be: /*vorbis_analysis_init(&vd,&vi);*/ - On Solaris, <alloca.h> needs to be included before using alloca() -- Solaris' implemenation of alloca() is a #define. This is a problem in the oggenc package. --> Solution: check for the presence of <alloca.h> in configure.in, and put something in the...
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
2007 May 01
1
contstant bittrate mode - block size - packet size
...amp;vi)); ret = vorbis_encode_setup_managed(&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...
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