Displaying 20 results from an estimated 97 matches for "ogg_packets".
Did you mean:
ogg_packet
2006 Jun 05
3
ogg only encoding
...f using the ogg python bindings to do pure ogg
container encoding.
I started looking at the libogg in the hopes of retooling the bindings to
follow a better object model
and it actually looks like the problem is down in libogg, not the bindings.
Am I crazy or does libogg
rely on libvorbis to return ogg_packets, and that there are no functions
that will build an ogg_packet for you from
your own data like an array of bytes? It looks like API users are required
to fill in all the meta
fields of the ogg_packet themselves? Is this correct?
-------------- next part --------------
An HTML attachment was scrubbe...
2004 Apr 13
2
Can I join many ogg_packet together and decode it to PCM?
Can I join many ogg_packet together and decode it to PCM?
Or I have to encode each ogg_packet at a time?
If each packet is 1024 long, can I join 1.5 of packet (1024+512), and decode
that 1024+512 packet, and then decode the 512 left?
Or I must decode a whole packet, and can't cut it or decode only some of it
(not all)
Thank you,
<p><p>--- >8 ----
List archives:
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 true
vorbis_analysis_buffer()
vorbis_analysis_wrote()
c) w...
2001 Jan 01
1
By design or a bug?
...s is an actual bug.
-----
Attached is a short patch to vorbis-tools/oggenc/encode.c (from CVS head,
01/01/01... I just wanted to type that :-) that gives strange behavior;
I'm not sure that I understand why.
The main encoding loop is the same except that I queue up Q_SIZE (10, in
this patch) ogg_packets -- the result of vorbis_analyze() -- before
sending them to the output stream.
It's a simple array of ogg_packet[Q_SIZE], that, when filled, loops over
the array and calls ogg_stream_packetin(), ogg_stream_pageout(), and
oe_write_page() (fwrites the resulting ogg_page to the output stream).
Th...
2017 Feb 06
2
libvorbis without encapulsation
L'octidi 18 pluviôse, an CCXXV, Miscellaneous a écrit :
> > The RLP draft mentioned on the libvorbis docs page, are there sample
> > implementations (in C) of this yet anywhere?
> Sorry that should say RTP, not RLP
I am not sure I understand exactly what you are asking, but libavformat
has a RTP packetizer that works for both Vorbis and Theora, implemented
in rtpenc_xiph.c.
2004 Oct 18
3
ogg_packet -> ogg_page
hi,
in my quest to grok ogg i tried to write a small program which extracts
ogg_packets, and stuffs them back into ogg pages (which are then written
to a file).
extracting the packets works fine, but i have problems stuffing them
into a new ogg stream.
pseudo code:
ogg_stream_init(os, serialno)
foreach p in packets:
ogg_stream_packetin(os, p)
// try to extract a page...
2015 Jun 19
2
Muxing vorbis in WebM
Hi Vorbis-Dev,
I'm investigating various WebM/Vorbis bugs in chromium. AFAIK muxing Vorbis
inside of WebM does not have an official specification, so I'm using
ffmpeg's implementation to try to answer 2 questions:
1. Under what circumstances is it valid to find WebM Blocks containing
Vorbis data with zero duration? (This would mean the next Block in the
Cluster has the exact
2002 Mar 14
2
Ogg in MP4 file, Unexpected result from _vorbis_unpack_books
...MP4 save routine
b) submit ogg packet header_comment (header and data) to MP4 save routine
c) submit ogg packet header_code (header and data) to MP4 save routine
d) Get Ogg page(s) containing the header, comment and code using ogg_stream_flush
and save it into an .ogg file
Note that the ogg_packets and not the ogg page is submitted to the MP4 save routine.
Then I do
a) If we have a block ready, then get next ogg_packet with
vorbis_bitrate_flushpacket
b) If we didn't get an ogg packet or if we don't have a block then
b1) get a block with vorbis_analysis_blockout
b2...
2015 Dec 10
1
A question on ogg_packet->packetno for corrupted streams
Hi.
I am trying to implement an ogg codec using libogg, and testing with a piece of encoded data you can see below. It consists of 4 pages, the first two being header data, the third containing two packets of data and the last containing one packet of data. I am confused at the results I get if I corrupt the third page (The first one of the two that contain data).
If I corrupt the first page,
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
2015 Jun 24
0
Muxing vorbis in WebM
Hey all, friendly ping :) Any help is much appreciated.
On Thu, Jun 18, 2015 at 6:56 PM, Chris Cunningham <chcunningham at chromium.org
> wrote:
> Hi Vorbis-Dev,
>
> I'm investigating various WebM/Vorbis bugs in chromium. AFAIK muxing
> Vorbis inside of WebM does not have an official specification, so I'm using
> ffmpeg's implementation to try to answer 2
2005 Dec 08
1
A few questions how to use libogg
1.) after initializing a ogg_stream_state may I just keep calling
ogg_stream_packetin with valid ogg_packet's until no more ogg_packets
needs to be added? Or do I need to call ogg_stream_pageout after every
ogg_stream_packetin? Iaw may I delay calling ogg_stream_pageout until
there are no more packets to be added?
2.) I assume I have call ogg_stream_pageout until no more pages can be
created and then call ogg_stream_flush if t...
2009 Nov 25
2
encoding image from a webcam
I'm trying to encode a picture from my webcam using the theora
codec. The final "product"
must encode a frame, send it over the network and decode it on "the
other side".
For now, it must only work locally so we don't care about the transmission.
This is what I've understood till now: I have a char * buffer from the
camera RG24,I convert it to
YCbCr 4:4:4, I
2017 Feb 06
2
libvorbis without encapulsation
L'octidi 18 pluviôse, an CCXXV, Miscellaneous a écrit :
> I've built some simple code on the excellent libvorbis API overview on
> the xiph.org site, but the example relies on the ogg_packet struct for
> final output and input to decoder, and shows now examples on how to do
> without it.
Why do you not want it? It is just a simple C struct to carry the
packet's metadata.
2009 Aug 12
1
Oggz use
Hi there,
First of all, sorry for my English I'm not a native english speaker.
I need to develop and application witch does 3 tasks with oggs files :
1/ chain 2 ogg files
2/ extract a part from an ogg file
3/ add silence between two chained oggs files.
Basically,
- For the 1st task, I think that the best way to chain ogg files is to
use the "cat" (on linux) or "copy
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()
2006 May 04
2
Howto get playtime
Hi,
Searched in Google, browsed xiph vorbis sites but found no good information
about how to get the current playtime out of the granuleposition of the
ogg_packet.
Anyone knows if there is any 'Programming with libvorbis' documentation out
there, cause on xiph's site (http://www.xiph.org/vorbis/doc/) there's
nothing :(
Any help?
THX,
Tom
2006 Jun 07
1
ogg encoding
I was wondering. When doing ogg only encoding, how do you mark end of
stream? I am setting ogg_packet.e_o_s and then submitting it via
ogg_stream_packetin() and then, because
its the last potential page ogg_stream_flush()ing it. But when I walk
through the file, EOS is not set on that logical bitstream. I have been
using oggenc.c/encoder.c and oggdec.c/decoder.c for examples, but because
the
2009 Oct 08
0
Oggz 1.1.0 Release
Oggz 1.1.0 Release
------------------
Oggz comprises liboggz and the tool oggz, which provides commands to
inspect, edit and validate Ogg files. The oggz-chop tool can also be
used to serve time ranges of Ogg media over HTTP by any web server that
supports CGI.
liboggz is a C library for reading and writing Ogg files and streams.
It offers various features over the reference libogg, including
2015 Oct 17
1
Why does this code not generate a valid opus file?
Hi.
I assume that I am deeply stupid and have missed something obvious, but why does this bare-bones code not generate a valid (If trivial) opus file?
Running opusinfo I ge the following which I interpret this to mean that not even the first packet gets a pass:
New logical stream (#1, serial: 1f0cce42): type opus
WARNING: Could not decode Opus header packet 0 - invalid Opus stream (1)
WARNING: