search for: oggz_auto

Displaying 20 results from an estimated 27 matches for "oggz_auto".

2008 Nov 04
1
[PATCH] liboggz: Update Dirac granulepos definition
..._t dist = ((iframe & 0xff) << 8) | (pframe & 0xff); + uint16_t delay = pframe >> 9; + int64_t dt = pt - delay; + ret = fprintf (stream, "(pt:%u,dt:%"PRId64",dist:%hu,delay:%hu)", pt, dt, dist, delay); + } } return ret; Index: liboggz/oggz_auto.c =================================================================== --- liboggz/oggz_auto.c (revision 3759) +++ liboggz/oggz_auto.c (working copy) @@ -358,31 +358,26 @@ static int auto_dirac (OGGZ * oggz, long serialno, unsigned char * data, long length, void * user_data) { - char keyframe_gr...
2009 May 04
2
data alignment issue on ARM
Hi, Can anyone familiar with data alignment issues on ARM give me some advice about this bug?: https://bugzilla.mozilla.org/show_bug.cgi?id=483912 The relevant code is in liboggz HEAD at: http://git.xiph.org/?p=liboggz.git;a=blob;f=src/liboggz/oggz_auto.c;h=ebb825c348298dc352a54d6925ce74ed707bbc3a;hb=HEAD#l138 cheers, Conrad.
2009 Jun 08
1
Ogg Skeleton
> any new fields. However, I cannot even find Dirac in oggz > http://git.xiph.org/?p=liboggz.git;a=blob;f=src/liboggz/oggz_auto.h; There's dirac.[ch] in the tools directory, though I haven't looked at what's in there. Not sure why it's segregated like that.
2012 May 16
2
Problems seeking with liboggz
...OggzReadPacket callbacks with oggz_set_read_page() and oggz_set_read_callback(). For the moment I am mainly having troubles with seeking. Maybe I am not using correctly liboggz API. What happens: - I open a Ogg Speex-encoded audio file with oggz_open("MyFile.spx", OGGZ_READ | OGGZ_AUTO); - I have a loop of invocations of oggz_read() that triggers in the due time the page and packet callbacks defined by me. - But when I randomly do seeking by means of ogg_int64_t rseek = oggz_seek_units(pOGGZ, posMsecs, SEEK_SET); I get erratic results: Many times rsee...
2008 May 27
2
How Ogg mappings translate into the codecs parameter in Ogg media types
On 5/28/08, Silvia Pfeiffer <silviapfeiffer1 at gmail.com> wrote: > Hope this clarifies what I am suggesting. It did. Thank you. > FLAC and CMML for example have version fields. How many other "in-house" codecs have one? This may be worth knowing. -Ivo
2009 Jun 05
2
Ogg Skeleton
On Fri, Jun 5, 2009 at 4:30 AM, ogg.k.ogg.k at googlemail.com <ogg.k.ogg.k at googlemail.com> wrote: > It holds the granulerate, so it'd allow this for those codecs that use the > granule shift way of encoding their granules (except for those pages > where no packet ends, as these will have no granpos set). BTW, we need to add another field out of the remaining reserved bits
2010 Nov 03
1
Subject: [PATCH] fix comments header for PCM content
Hi! I found what liboggz can't read comments for logical bitstreams with OggPCM content, because of in oggz_auto_read_comments () function from oggz_auto.c case entry for OGGZ_CONTENT_PCM is missing. Steps to represent: 1. Generate simple ogg file with content of type OGGZ_CONTENT_PCM and some comments in comments (second) header. 2. Try to read comments via oggz-comments tool. Attachments: 1. Simple ogg...
2012 May 21
1
Problems seeking with liboggz
...gz, oggz_packet* packet, long serialno, void* user_data); int myReadPageCallback (OGGZ* oggz, const ogg_page* og, long serialno, void* user_data); int _tmain(int argc, _TCHAR* argv[]) { OGGZ* pOGGZ; int ret; oggz_off_t ofs; pOGGZ = oggz_open("MyAudio.spx", OGGZ_READ | OGGZ_AUTO); ret = oggz_set_read_callback (pOGGZ, -1, myReadPacketCallback, (void*)0); ret = oggz_set_read_page (pOGGZ, -1, myReadPageCallback, (void*)0); ofs = oggz_seek(pOGGZ, 0, SEEK_END); printf("\n Audio file size in bytes = %8lld", ofs); ofs = oggz_seek(pOGGZ, 0,...
2012 May 21
0
Problems seeking with liboggz
...Callback (OGGZ* oggz, const ogg_page* og, long serialno, > void* user_data); > > > > int _tmain(int argc, _TCHAR* argv[]) > > { > > OGGZ* pOGGZ; > > int ret; > > oggz_off_t ofs; > > > > pOGGZ = oggz_open("MyAudio.spx", OGGZ_READ | OGGZ_AUTO); > > ret = oggz_set_read_callback (pOGGZ, -1, myReadPacketCallback, > (void*)0); > > ret = oggz_set_read_page (pOGGZ, -1, myReadPageCallback, > (void*)0); > > > > ofs = oggz_seek(pOGGZ, 0, SEEK_END); > > printf("\n Audio file size in byt...
2012 May 23
0
Problems seeking with liboggz
...Callback (OGGZ* oggz, const ogg_page* og, long serialno, > void* user_data); > > > > int _tmain(int argc, _TCHAR* argv[]) > > { > > OGGZ* pOGGZ; > > int ret; > > oggz_off_t ofs; > > > > pOGGZ = oggz_open("MyAudio.spx", OGGZ_READ | OGGZ_AUTO); > > ret = oggz_set_read_callback (pOGGZ, -1, myReadPacketCallback, > (void*)0); > > ret = oggz_set_read_page (pOGGZ, -1, myReadPageCallback, > (void*)0); > > > > ofs = oggz_seek(pOGGZ, 0, SEEK_END); > > printf("\n Audio file size in byt...
2008 May 29
2
How Ogg mappings translate into the codecs parameter in Ogg media types
...; For Theora, I get 3.2.0. > > Which reminds me I've put a comment in liboggz's Theora BOS packet decoder > where there's a possible off-by-one that needs someone with knowledge of the > bitstream changes to ensure correct decoding. If anyone wants to have a go, > look in oggz_auto.c, grep for 42. This line? /* TODO: this should check against 42 for the relevant version numbers */ if (op->bytes < 41) return 0; > FWIW, though not in-house, Kate also has a version field. Kate is in the house! K.
2012 May 17
0
Problems seeking with liboggz
...t_read_callback().**** > > **** > > For the moment I am mainly having troubles with seeking. Maybe I am not > using correctly liboggz API.**** > > What happens:**** > > - I open a Ogg Speex-encoded audio file with oggz_open("MyFile.spx", > OGGZ_READ | OGGZ_AUTO); **** > > - I have a loop of invocations of oggz_read() that triggers in the due > time the page and packet callbacks defined by me.**** > > - But when I randomly do seeking by means of **** > > ogg_int64_t rseek = oggz_seek_units(pOGGZ, posMsecs, SEEK_SET);**** &gt...
2013 Sep 06
0
Multi-track Seeking with oggz
...oggz questions - if not please let me know. If I have multiple logical streams in an ogg file, and I invoke the oggz_seek_units() function, how does it know on which logical stream to seek? Or does it matter? For example, assume: 1. I've opened an ogg file with the correct flags: OGGZ_READ | OGGZ_AUTO 2. My ogg file contains 4 logical streams. 3. Each logical stream is identical in terms of codec (Speex), sample-rate (44.1kHz), sample-size, frame-size, single channel (mono), etc. Except each stream has unique audio data. (e.g., concurrently recording from four microphones.) 4. I've setup...
2004 May 20
0
theora header bitmap for alpha3
...nce offering it for the spec. A typical demux stage just needs to pick out the FRN, FRD and KFGSHIFT fields, without going through the whole bit-unpacking process specified, so knowing the actual byte offsets is handy. comment: it would be nice if KFGSHIFT didn't span a byte boundary :) [from oggz_auto.h] /** * Theora * * Default field type: BIG ENDIAN unsigned integer * Field names in full caps refer to fields described in the Theora I specification. Lowercase refers to theora_info struct members from libtheora. This is the Theora header for theora-alpha3: (VMAJ=3, VMIN=2, VREV=0) 0...
2008 Jun 22
1
current_granulepos-first_granulepos ?
Hi, Is it correct to assume that after I get the headers of a stream like theora or vorbis the packet time can be computed as current_granulepos-first_granulepos ? This would give me the difference between the first media packet that is not a header and the current packet I decoded most recently. In a live stream I would have a clock from this calculation starting at zero. Thanks
2004 May 21
0
liboggz-0.8.3
...mat. This release is available as a source tarball at: http://www.annodex.net/software/liboggz/download/liboggz-0.8.3.tar.gz New in this release: * Theora header parsing updated for Theora alpha3 * fixes for win32 build procedure * improved API documentation for seeking, OGGZ_AUTO and OggzIO About Oggz ---------- Oggz comprises liboggz and the command-line tools oggzdump and oggzdiff. liboggz supports the flexibility afforded by the Ogg file format while presenting the following API niceties: * Full API documentation. * Comprehensive test suite of read,...
2004 May 21
0
liboggz-0.8.3
...mat. This release is available as a source tarball at: http://www.annodex.net/software/liboggz/download/liboggz-0.8.3.tar.gz New in this release: * Theora header parsing updated for Theora alpha3 * fixes for win32 build procedure * improved API documentation for seeking, OGGZ_AUTO and OggzIO About Oggz ---------- Oggz comprises liboggz and the command-line tools oggzdump and oggzdiff. liboggz supports the flexibility afforded by the Ogg file format while presenting the following API niceties: * Full API documentation. * Comprehensive test suite of read,...
2004 May 21
0
liboggz-0.8.3
...mat. This release is available as a source tarball at: http://www.annodex.net/software/liboggz/download/liboggz-0.8.3.tar.gz New in this release: * Theora header parsing updated for Theora alpha3 * fixes for win32 build procedure * improved API documentation for seeking, OGGZ_AUTO and OggzIO About Oggz ---------- Oggz comprises liboggz and the command-line tools oggzdump and oggzdiff. liboggz supports the flexibility afforded by the Ogg file format while presenting the following API niceties: * Full API documentation. * Comprehensive test suite of read,...
2004 Oct 05
0
liboggz 0.8.5 Released
...s. Via OggzAuto, merges files containing any number of Vorbis, Speex, Theora and Annodex bitstreams automatically. * updated support for Win32 * added OggzReadPage API * many improvements to seeking behaviour * added seek-stress example program * fixed theora keyframe shift interpretation in oggz_auto About Oggz ---------- Oggz comprises liboggz and the command-line tools oggzdump, oggzdiff and oggzmerge. liboggz supports the flexibility afforded by the Ogg file format while presenting the following API niceties: * Full API documentation. * Comprehensive test suite of read, write and seek...
2004 Oct 05
0
liboggz 0.8.5 Released
...s. Via OggzAuto, merges files containing any number of Vorbis, Speex, Theora and Annodex bitstreams automatically. * updated support for Win32 * added OggzReadPage API * many improvements to seeking behaviour * added seek-stress example program * fixed theora keyframe shift interpretation in oggz_auto About Oggz ---------- Oggz comprises liboggz and the command-line tools oggzdump, oggzdiff and oggzmerge. liboggz supports the flexibility afforded by the Ogg file format while presenting the following API niceties: * Full API documentation. * Comprehensive test suite of read, write and seek...