Displaying 20 results from an estimated 1100 matches similar to: "How to do Theora playback efficiently ?"
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
2001 Feb 22
1
ogg_sync_state with interleaved logical streams
Hi all,
I'm mixing logical streams at the page level. One stream has vorbis
data, the other has my own data. Do I need two ogg_sync_states or just
one?
Thanks,
Martin
--- >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
2011 Sep 28
2
event channel in xenpaging
Hi,Olaf,
I have some questions about event channel in Xenpaging to ask you.
1) In xenpaging it uses Inter-Domainain Commnication (IDC) between
dom0 and domU to build bidirectional connection,but I found there is
only an event channel notification from xen to dom0 when page faults
happens.It seems that xenpaging_resume_page()->xc_evtchn_notify()
doesn''t make any difference.So why
2008 Apr 27
1
initialization issues
I guess I'm missing something since the following minimized test case is failing:
>>>
#include "ogg/ogg.h"
main() {
ogg_sync_state the_ogg_sync_state;
ogg_sync_init(&the_ogg_sync_state);
ogg_sync_destroy( &the_ogg_sync_state );
}
>>>
$ gcc -g -logg test.c
$ ./a.out
*** glibc detected *** ./a.out: munmap_chunk(): invalid pointer:
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
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
2005 Mar 28
6
Playback too slow?!
I tried encoding http://home.tange.dk/theora/stream.dump with
http://home.tange.dk/theora/optag-dvd 4. From that I got
http://home.tange.dk/theora/dvd-4.theora.ogg.
mplayer stream.dump works fine, but when playing the theora encoded file
on my 2 GHz computer both mplayer and xine take 85% of my CPU while X
takes the remaining 15% (i.e. 0% idle time) and the playback is no way
near smooth.
Using:
2007 Nov 23
2
Controlling the vorbis encoder precisely
Hello,
currently I'm working on a vorbis based encoder that adds multiple single wave sounds into one vorbis stream (and put every sound in one or more ogg pages). During the process an index is written in an extra file so later you can locate a sound's position easily by a file position and length value.
The problem is the sample-exact separation between those encoded wave sounds: If I
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()
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
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
2005 Jun 22
2
ogg_sync_pageout
It seems to me that running ogg_sync_pageout doesn't automatically advance
the page. This is good if you haven't worked with the given page, makes
coding somewhat easier. However, when does a page advance. Is it after a
call to ogg_stream_pagein?
On a side note, I need to do seeking on top of libvorbis, I'd love to use
vorbisfile but sadly I can't. Is there a reasonable way to
2007 Nov 26
2
AW: Controlling the vorbis encoder precisely
Ok, related to the replys from Eric and Monty there are 3 possible solutions
- 1. use lossless encoding like FLAC
- 2. insert large chunks of silence between the wave sounds
- 3. use completely seperate chained streams
-> 1. Flac can't be used because of disk space and bandwidth limitations.
-> 2. I also tried this variant but in that case my sounds don't start immediately
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)
2003 Sep 11
1
Flushing audio
Hi there again..
I'm still writing my particular-case-vorbis-encoder-and-player, and it
worked fine until now.
I'm having a problem trying to encoding the audio. I need to send the data
very quickly, as soon as i capture it from the sound card.
Currently i have the following (audio captured 16 bits, mono):
void VorbisEncoder::encode(void *data, int r)
{
char *buf = (char *)
2008 Nov 03
0
No subject
4) Subtract 1 from the keyframe, then repeat step 3).
5) Begin reading from the frame discovered in step 4. Drop any packets
which are output on the first page. Count down until we reach the
keyframe, dropping packets until then.
6) Continue counting down until we reach the target frame, we are now
decoding each frame/packet. At the target frame produce the YUV
output.
You can see this in code
2008 Nov 03
0
No subject
4) Subtract 1 from the keyframe, then repeat step 3).
5) Begin reading from the frame discovered in step 4. Drop any packets
which are output on the first page. Count down until we reach the
keyframe, dropping packets until then.
6) Continue counting down until we reach the target frame, we are now
decoding each frame/packet. At the target frame produce the YUV
output.
You can see this in code
2007 Sep 26
1
AW: How to get the duration of a file or track?
Hello,
> (1) Split the content into chain segments
> (2) extract the first and last data packet from each segment, for all tracks
> (3) recover / calculate the granulepos values for the first and last data packets (*)
> (4) convert the granulepos values from the first and last data packets into time values
> (5) take the largest difference between start and end time as the total
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
2004 Jun 29
3
Struct Fields Description
Hello all
Can anyone point me to some form of description for the fields in the
following structures :
1/ vorbis_dsp_state
2/ vorbis_block
Thank you.
regards
~previr
_____________________________________________________________
Previr Rangroo STMicroelectronics
Associate Systems Lab Engineer Plot No. 2 & 3,
Audio Competence Center Sector 16A,