search for: vorbis_analysis_headerout

Displaying 12 results from an estimated 12 matches for "vorbis_analysis_headerout".

2003 Apr 25
1
Problem using the ogg-vorbis win32 SDK 1.0 [VC++6.0 XP]
Hi I am using ogg-vorbis win32 SDK 1.0 [ VC++ 6.0 , Windows XP ] I am trying to use the function "vorbis_analysis_headerout() ; " When I called the function in a stand alone small C progam it worked , but when I tried to use the same function as part of some big project it failed saying "Access violation in Vorbis.dll " and the application closed. Any clue ??? Thank you, Regards, Ravi. <p>--- &gt...
2004 May 11
2
embedding a lot of vorbis comments
...ds like "set volume to 99%", "set volume to 98%", "set volume to 97%" etc etc. I thought using vorbis comments could be a good idea. But they would be spread over the whole file. Is this possible with vorbis comments? it seems that i can only send them when calling vorbis_analysis_headerout()... Thanks, Chris --- >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-dev-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. U...
2014 Oct 31
0
Object Audio - Misusing Vorbis?
...audio coding, but I'm struggling a little to understand exactly what I could/should be using. I thought initially I could use just the vorbis/vorbisenc calls to encode the audio for each audio object each as an embedded bitstream, and then write the bytes returned in ogg_packet structures from vorbis_analysis_headerout() and vorbis_analysis () within my packets, but I'm not sure if this is supported behaviour - and for decoding, I'm not sure how I should populate the reconstructed ogg_packet structures correctly. For instance, I can guess what should be in b_o_s, but I've clearly stepped outside the d...
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
2008 Dec 03
1
libvorbis 1.2.2 RC1
Version 1.2.1 was skipped. This Release Candidate's package does NOT ship with documentation as, you may have read in another thread[1], there are problems in the building process. The final release will hopefully have this issue fixed. These are the new changes since the unreleased 1.2.1: * API calls for VENDOR and ENCODER * seek correctly in files bigger than 2 GB (Windows) * fix
2012 May 14
0
Memory Leak in vorbis_info_clear()
...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) vorbis_info_clear(&info); vorbis_dsp_clear(&dsp); if (!leak) vorbis_info_clear...
2001 Sep 02
0
Encoding process
...ith 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() 12 flush stream to page -- above 13 write page to file -- fwrite() 14 if nothing written: 15 fatal error 16 forever: 17 get buffer from dsp -- vorbis_analysis...
2001 Nov 06
2
error in &quot;encoder_example.c&quot;
Hi, Why do I get an error message when i'm running the "encoder_example.c" which is included in the SDK? The error occurs then the 44 bits are read and the vorbis_info struct is initiated (i.e. when the vorbis_encode_init(&vi,2,44100, -1, 128000, -1) - funcion is called. I also tried to read the data from a 16 bits 44,1 KHz stereo PCM - wave file but recived the same error.
2004 Nov 16
0
metadata switches for ffmpeg2theora
...n (&info->to, &info->op); + theora_encode_tables (&info->td, &info->op); + ogg_stream_packetin (&info->to, &info->op); } - if(!info.video_only){ + if(!info->video_only){ ogg_packet header; ogg_packet header_comm; ogg_packet header_code; - vorbis_analysis_headerout (&info.vd, &info.vc, &header, + vorbis_analysis_headerout (&info->vd, &info->vc, &header, &header_comm, &header_code); - ogg_stream_packetin (&info.vo, &header); /* automatically placed in its own + ogg_stream_packetin (&info->vo, &am...
2002 Jun 24
1
packetno, granulepos, streaming and framing
...eaming 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 true vorbis_analysis_buffer() vorbis_analysis_wrote() c) while true vorbis_analysis_blockout() vorbis_analysis() vorbis_bitrate_addblock() vorbis_bitrate_flushpacket() This g...
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 Mar 14
2
Ogg in MP4 file, Unexpected result from _vorbis_unpack_books
...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) vorbis_info_init b) vorbis_encode_init c) vorbis_comment_init d) vorbis_comment_add_tag e) ogg_stream_init f) vorbis_analysis_headerout g) ogg_stream_packetin for the header, the header_comment and the header_code Then the encode part a) sample pcm and hand it to encode code b) get buffer space with vorbis_analysis_buffer c) convert 16 bit signed pcm to float and place in buffer d) tell data size submitted with vorbis_...