Displaying 10 results from an estimated 10 matches for "theora_decode_head".
Did you mean:
theora_decode_header
2008 Jul 22
1
theora_decode_header
Hello,
I am using theora in an application, but it does not work, I was looking
to know why, and since I have one application using theora, I checked
the difference between the two executions.
And it seems that the function *_theora_decode_header_* does not have
the same issue in the two application, but I read the same file...
the difference is on the _m_theoraInfo_, in the first application (
which work ) the offset_y is equal to 4, and in the second application
(which does not work) the offset_y is equal to 0.
that's the same fi...
2003 Jun 10
3
again - newest cvs and mplayer
...nts mplayer from compiling:
gcc -c -O4 -march=pentium3 -mcpu=pentium3 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I../loader -o demux_ogg.o demux_ogg.c
demux_ogg.c: In function `demux_ogg_open':
demux_ogg.c:626: warning: passing arg 2 of `theora_decode_header' from incompatible pointer type
demux_ogg.c:626: too few arguments to function `theora_decode_header'
make[1]: *** [demux_ogg.o] Fehler 1
make[1]: Leaving directory `/home/tux/compile/mplayer/libmpdemux'
make: *** [libmpdemux/libmpdemux.a] Fehler 2
<p>Jens
--- >8 ----
List a...
2007 Sep 25
2
ignoring audio in player_example
I'm interested in ignoring the audio stream in a theora encoded file.
My first attempt was to remove the test for vorbis:
/* identify the codec: try theora */
if(!theora_p && theora_decode_header(&ti,&tc,&op)>=0){
/* it is theora */
memcpy(&to,&test,sizeof(test));
theora_p=1;
}else if(!vorbis_p && vorbis_synthesis_headerin(&vi,&vc,&op)>=0){
/* it is vorbis */
memcpy(&vo,&test,sizeof(t...
2009 May 12
2
compile error of libtheora example
...'
player_example.c:(.text+0xec3): undefined reference to `ogg_stream_init'
player_example.c:(.text+0xed9): undefined reference to `ogg_stream_pagein'
player_example.c:(.text+0xef1): undefined reference to
`ogg_stream_packetout'
player_example.c:(.text+0xf18): undefined reference to
`theora_decode_header'
player_example.c:(.text+0xf6d): undefined reference to
`vorbis_synthesis_headerin'
player_example.c:(.text+0xfa9): undefined reference to `ogg_stream_clear'
player_example.c:(.text+0xfbd): undefined reference to `ogg_sync_pageout'
player_example.c:(.text+0x102f): undefined refere...
2005 Aug 05
3
decoder init/clear
..._state th;
theora_info_init (&ti);
theora_decode_init (&th, &ti);
theora_clear (&th);
theora_info_clear (&ti);
}
segfaults.
The cause is that theora_decode_init() expects a theora_info structure
which was previously initialized by passing actual bitstream data
through theora_decode_header(), as documented in theora.h:
/**
* Initialize a theora_state handle for decoding.
* \param th The theora_state handle to initialize.
* \param c A theora_info struct filled with the desired decoding parameters.
* This is of course usually obtained from a previous call to
*...
2006 Aug 06
0
Newbie: How to rewind a videostream (long)
...}
ogg_stream_init (&testStreamState, ogg_page_serialno
(&oggPage));
ogg_stream_pagein (&testStreamState, &oggPage);
ogg_stream_packetout (&testStreamState, &oggPacket);
if(theoraPageCount==0 && theora_decode_header
(&theoraInfo,&theoraComment, &oggPacket) >= 0)
{
memcpy (&theoraStreamState,
&testStreamState,sizeof(testStreamState));
theoraPageCount = 1;
}
else
{...
2003 Mar 18
6
bitstream changes
ok now I see why we need another packet in the header. The first one is basically for ID purposes (theora_decode_header()). I've jammed my huffman trees in there but it sucks because I need them later on when I actually build the huffman tree structs (theora_decode_init, calls InitHuffmanSet()). At that point the original header packet is gone so I've been keeping it around in a buffer. Gross!!
Someone...
2012 Oct 10
5
Theora integration question
Hello, I am programmer working on a product which integrates Theora. I have
a question regarding the memory use on some of the internals of Theora. Is
this the right forum for this question, and if not, does anyone know where
an appropriate place to ask is?
Thanks
Sam
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2014 May 05
1
Application crushes
...headerin (_opb=0x6dca5278, _info=0x6dca52b0,
_tc=0x6728ebd8, _setup=0x6728eedc, _op=0x6728ebb8) at
jni/theorarm/src/dec/decinfo.c:171
#2 0x673fb160 in th_decode_headerin (_info=0x6dca52b0, _tc=0x6728ebd8,
_setup=0x6728eedc, _op=0x6728ebb8) at jni/theorarm/src/dec/decinfo.c:240
#3 0x673fa43c in theora_decode_header (_ci=0x6728ebe8, _cc=0x6728ebd8,
_op=0x6728ebb8) at jni/theorarm/src/dec/decapiwrapper.c:150
Android.mk:
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := theorARM
LOCAL_C_INCLUDES := $(LOCAL_PATH)/include \
$(LOCAL_PATH)/src \
$(LOCAL_PATH)/src/dec
LOCAL_SRC_FILES...
2003 Aug 12
0
Compile error in CVS, entry for a FAQ somewhere, place for test/comparison files to be uploaded?
...and libasound (and libogg/libvorbis and
whatever other libraries I've missed) might be helpful, since the example
player(s) are apparently currently the only way to examine the encoded
Ogg Theora files (MPlayer support for Ogg Theora seems to be broken by the
addition of the theora comment in theora_decode_headers). Having the .
configure script print a warning ("missing static version of libXXX.a") would
probably be helpful as well.
Finally, now that I've got the encoder and decoder working, I wanted to grab
something off of the Prelinger archives (so that it's redistributable) and
ge...