similar to: ogg_stream_packetout() and stream mixing

Displaying 20 results from an estimated 3000 matches similar to: "ogg_stream_packetout() and stream mixing"

2001 Dec 06
1
packet over several pages
Hello everyone, I'm programming something using ogg vorbis and i was wondering how I could get a packet from a logical bitstream when this packet is over several pages. let's say I made a call to ogg_stream_pagein, then ogg_stream_packetout, but the packet is incomplete and continued in the next page(s). If I get the following page and I call ogg_stream_pagein again, how can i get
2008 Apr 29
2
More trival questions
Hopefullly this is once again something trivial I'm missing. I'm still trying to figure out how to pull a part a stream. I get two out the three theora headers I can see in the file (http://v2v.cc/~j/theora_testsuite/320x240.ogg) if I use the buffer in the page struct and nothing usable if I try to use the packet structs. Hopefully this is once again something something trivial I've
2001 Feb 04
2
Am I missing something?
Hey all, If my understanding is right, there's a serious big in vorbisfile.c, in the routine _fetch_headers(), which will only show up when comment packet spans multiple pages. The code to read the first 3 Vorbis packets ogg_stream_pagein() once, then calls ogg_stream_packetout(). The problem is that ogg_stream_pagein() only adds a single page to the ogg stream state, whereas
2009 May 12
2
compile error of libtheora example
hi all: i downloaded libtheora1.0.tar.gz from xiph.org, and when i compile it, such error message popped. i tried to run player_example.c under /libtheora_1.0/examples/. error message: ivysummer at ivysummer-desktop:~/??/libtheora-1.0/examples$ gcc -o player player_example.c /tmp/ccpyle3c.o: In function `buffer_data': player_example.c:(.text+0x15): undefined reference to
2006 Aug 06
0
Newbie: How to rewind a videostream (long)
Hello, I'm new to this list, and pretty much also to the codec universe. In a computer game I'm working on, there is an 3D TV-screen onto which I project the frames of a movie. The movie is of course stored as theora, no audio as it's not needed yet. I have it working so far, extracting a frame and uploading it to the graphics card when the scene is drawn. The example file
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
2008 Jan 04
2
ogg packets get lost
Hi, I am actually working on a c++ wrapper for ogg/theora. It will be a small library to easily create command line tools to cut/cat video-files and to extract and join the video and audio stream etc. However, I started the project and found some very strange behaviors: I stored some ogg_packet objects (which are created on the heap) in a list. When I make several calls to ogg_stream_pagein()
2004 Sep 22
3
copying an ogg stream
dear list, i am trying to write a small program which reads an ogg file and writes it to another ogg file (and changes serial number, granulepos etc on the fly). reading the ogg file is ok (ogg_sync_pageout, ogg_stream_pagein, ogg_stream_packetout). but writing the file doesn't work - the granulepos and page structures don't match with the original file. here's what i am doing.
2001 Sep 22
3
retrieving "instant" bitrate without vo_open?
ok, I'm aware that vo_open cant be used at the same time as other functions such as ogg_sync_wrote, ogg_sync_pageout, ogg_stream_pagein, ogg_stream_packetout and vorbis_synthesis_headerin. In order to get information from the bitstream i've been using this method because it's fast and doesn't require decoding of the stream. But, i can only retrieve the average bitrate of
2009 May 16
2
Speex seek with high precision
Hello Conrad, I'm trying to seek the way you told but I'm facing a problem. ogg_page_packets returns 164 and following code returns 189. Shouldn't it be the same, what does that means ? int res; while (true) { res = ogg_stream_packetout(&os, &op); if (res == 1) nPackets++; if (res == -1)
1999 Oct 04
3
Detailed decoder pseudocode (was: Re: ETA?)
> > Which part? > > Well, my biggest problem is dealing with files. As you have mentioned > that fill_buffer() is obsolete, what has replaced it? ogg_sync_buffer() > didn't seem to be what I was looking for, as far as I can tell... am I > headed in completely the wrong direction? Ah, OK, I understand where you're headed now. The libvorbis API is different than
2004 Sep 18
5
possible libogg bug holding up Ogg FLAC
I wish I would have come across this in time for the libogg-1.1.1 release... Maybe I'm doing something wrong but here it is. One FLAC compressed frame becomes one packet when encapsulated in Ogg, and FLAC packets can be much larger than the nominal 4k page size. For CD audio they are usually 10-15Kbytes. Imagine this Ogg stream where the lines denote page boundaries and the x's are one
2007 Feb 16
1
AW: How to do Theora playback efficiently ?
Hi Ralph, thanks for your posting. Yes, the standard example player in the theora distribution could also do it when theora would not need so much time. I removed the frame dropping from the example because it's based on some audio stuff under Linux that isn't available on Windows. Currently I've no frame dropping handling build in because the first goal is a good raw performance of
2006 Aug 06
2
Speex + Ogg package
I'm currently working on a speex + theora webchat. I have both working alone, but to make them work together and to know where the package goes, I'm trying to use ogg packages. With theora there has been no problem, but with speex I can't make it work. The problem is that for a second it works great, but then it begings to gain lag, and in a little time it has 5-10 lag seconds (into
2009 May 16
1
Speex seek with high precision
Hello, This is the code, it's a little crap but only to see if it works. I assume rate = 16000 and frame_size = 320. if (this->seek_to != -1) // SKIP { ogg_int64_t max_units; //max_units = speex_seek(fin, this->seek_to, 0, rate); int nPages = 0; int nPackets = 0; // Pone el cursor en la posici?n inicial del fichero fseek(fin, 0, SEEK_SET);
2010 Jan 06
1
Initializing vorbis using ov_open_callbacks fail with OV_ENOTVORBIS. But why?
Dear members, since two weeks I am stuck, trying to demux a physical ogg stream (theora and vorbis) and play the audio part using vorbisfile. I hope that one of you can give me a hint or point me to additional documentation. I used ogg.h and vorbisfile.h. The way so far: - initializing an ogg_sync_state - inserting data to sync_state using ogg_sync_buffer - when whole page found
2002 Aug 06
0
Getting a GUI to work with Vorbis code
I am trying to create a Graphical User Interface for a Vorbis Player under MS Visual C++ 6.0 I was initially trting to use the code from decoder_example.c but I keep getting linker errors. I have set up my project as told to by James Boer on this mailing list. This is as follows: This document was prepared from an email received from James Boer on the Ogg Vorbis mailing list. It gives a
2008 Aug 28
0
Error while cross compiling libvorbis 1.2.0
Dear All, I am trying to cross compile the dependencies of ices for arm linux. I have been able to compile libxml2 (2.6.32) and libogg (1.1.3) successfully but I am getting stuck at compiling libvorbis (1.2.0). Making install in examples make[1]: Entering directory `/home/sr/armlinux/stream/libvorbis-1.2.0/examples' /bin/bash ../libtool --tag=CC --mode=link /usr/local/arm/bin/arm-linux-gcc
2004 Nov 01
1
compile libvorbis using mingw?
I downloaded libogg-1.1.2 and libvorbis-1.1.0, and want to compile them using mingw32. In libogg-1.1.2 directory, 'sh configure --prefix=/mingw' and 'make' and 'make install' works smoothly. It create libogg.a, ligogg.dll.a, libogg.la in my /mingw/lib and header files in /mingw/include/ogg, so I think the gcc compiler will find them easily. After switching to
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