search for: theora_info

Displaying 20 results from an estimated 29 matches for "theora_info".

2008 Jan 07
0
uninitialised theora_info values
...o check for memory leaks in the library's constructors and destructors. You can run the test suite under valgrind by configuring with --enable-valgrind-testing. The test passes, but gives output like: make[1]: Entering directory `/home/conrad/src/xiph.org/theora/tests' ---- + Initializing theora_info struct ... ---- + Allocating encoder context ... ==15878== Conditional jump or move depends on uninitialised value(s) ==15878== at 0x4032485: theora_encode_init (in /home/conrad/src/xiph.org/theora/lib/.libs/libtheoraenc.so.1.0.0) ==15878== ==15878== Conditional jump or move depends on uninitia...
2004 Jul 26
1
theora_info struct question
Hi I'm evaluating Theora for a video communication system and would like some info as to what the following struct members (from the theora_info structure) do and what values one should pass to them: If there is some documentation somewhere that I've missed, please direct me to it. ===== Extract from theora.h ===== int quality; int quick_p; /* quick encode/decode */ void *codec_setup; /* encode only */ int...
2005 Aug 05
3
decoder init/clear
Enabling the following function in tests/noop.c: noop_test_decode () { theora_info ti; theora_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...
2007 Jan 06
7
FFmpeg Theora encoding patch
Hi, Attached is my patch to add theora encoding to ffmpeg's libavcodec (by using libtheora). I am requesting help to fix the bug I mention below and am seeking general comments before I submit the patch properly. Files encoded using this encoder have a problem playing in VLC. The files will not play unless "Drop late frames" has been unticked in the advanced video settings.
2003 Jul 07
2
Legalese. What is stride?
Hello all. I've been playing around with theora since it first entered CVS, and I like what I'm seeing. Today I've been fixing xine's theoraplugin to understand theora_info.frame_{width,height} and theora_info.offset_{x,y}. I only got it working after some experimenting and basically copying the code from player_example. A few questions related to this: 1. What are the legal requirement in regard to copying code from your BSD-style license to xine, which is under the...
2006 Aug 01
1
Encoder init
...;m doing a webcam stream program. The encoder is working well right now, but I'm having some hard time with the decoder. I know the parameters used in the encoder, and they are not gonna change, so I want to init the encoder directly into the client. The problem is that if I give the values to theora_info and after that I call theora_encoder_init, the program crash. I'm missing something? -- http://www.apple.com A veces me da por ahi. Otras como que no. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/theora/attachments/20060801/e...
2005 Aug 04
1
libtheora Bitrate Problem
...video_r=rint(atof(optarg)*1000); if(video_r<45000 || video_r>2000000) { fprintf(stderr,"Illegal video bitrate (choose 45kbps through 2000kbps)\n"); exit(1); } video_q=0; break; I assume 'kbps' is Kilobits Per Second (kbit/s) and *theora_info.target_bitrate* is in Bits Per Second. If this is true then shouldn't the argument (optarg) be multiplied by 1024 and not 1000? Or does it matter? Thanks, Draco draco@dragonsguild.net -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists....
2005 Sep 27
1
Question about number of frames in ogg/theora video file.
Hello. How can I tell the number of frames in ogg/theora video file, without actually reading the file? Or, how can I tell its playing time (which is basically the same thing). I didn't find the information in THEORA_STATE, THEORA_INFO, but with the codec installed (illuminable oggcodecs), Windows Media Player shows the ogg/theora file playing time, before it starts playing the file. Thanks! LS
2005 Feb 09
1
Trying to do windows encoding dll
...nc_width, enc_height; ogg_stream_state enc_stream; theora_state dec_state; int dec_width, dec_height; ogg_stream_state dec_stream; __declspec (dllexport) void startenc(int width, int height, int bitrate) { ogg_stream_init(&enc_stream, 290482); enc_width = width; enc_height = height; theora_info ti; theora_info_init(&ti); ti.width=width; ti.height=height; // must be /16 ti.frame_width=width; ti.frame_height=height; ti.offset_x=0; ti.offset_y=0; ti.colorspace=OC_CS_UNSPECIFIED; ti.target_bitrate=bitrate; ti.dropframes_p=0; ti.quick_p=1; ti.keyframe_auto_p=1; t...
2005 Aug 05
0
libtheora test suite
...aseline test, and to check (via valgrind) whether the library contains memory leaks in its constructors and destructors. This is the output of 'make check' as at changeset:9700: make check-TESTS make[2]: Entering directory `/home/conrad/src/xiph.org/theora/tests' ---- + Initializing theora_info struct ... ---- + Initializing theora_state for encoding ... ---- + Clearing theora_state ... ---- + Clearing theora_info struct ... ==9720== ==9720== 256 bytes in 1 blocks are definitely lost in loss record 1 of 1 ==9720== at 0x1B90659D: malloc (vg_replace_malloc.c:130) ==9720== by 0x1B9...
2004 Jul 02
4
Encoding paramaters...
I've got my encoder working now... and i put a proeprty page interface to allow the user to set a few encoding paramters to start off with... but changing the paramters doesn't seem to make barely any difference... These are the defaults i'm using... mTheoraInfo.target_bitrate=400000; mTheoraInfo.quality=30; mTheoraInfo.dropframes_p=0; mTheoraInfo.quick_p=1;
2005 Nov 11
0
[PATCH] icecast video preview 2
...theora.h" #include "client.h" #include "stats.h" +#include "video_preview.h" #define CATMODULE "format-theora" +#define PREVIEW_KEYFRAME_INTERVAL 3 #include "logging.h" +#include <png.h> - typedef struct _theora_codec_tag { theora_info ti; @@ -40,9 +41,14 @@ int granule_shift; ogg_int64_t last_iframe; ogg_int64_t prev_granulepos; +#ifdef WITH_PNG + theora_state td; + video_preview_t *video_preview; + yuv_buffer yuv; + int frame_count; +#endif } theora_codec_t; -...
2005 Nov 11
2
[PATCH] icecast video preview 2
Updated version of video preview covering frame writing every 3 keyframe and a xsl typo. Best regards :) kysucix -- Make things as simple as possible, but no simpler. - Albert Einstein
2005 Nov 11
1
[PATCH] icecast video preview
Hi. Here it is my patch to put a video preview of a theora stream in status.xsl. I just added a: <video-preview>1</video-preview> parameters in icecast.xml.in that control the previewing function. It encodes a png in $webroot/$mountname.tmp and then move it to $webroot/$mountname.png As for now it saves a frame every theora keyframe, which is probably too heavy for the server but
2002 Oct 04
5
Theora support in ffdshow a ffvfw
...tored in Ogg stream, but in AVI. Decoding is done by ffdshow, which is DirectShow filter and almost every media player for Windows can use it. If you are interested in them, I will post links for downloading and short instructions how to use them. For now I would like to ask you for more info about theora_info struct fields, especially about those 'encoding only' parameters. Also I would like to know if there is possibility to set quality separately for each frame during encoding: if yes, two pass encoding should be easily possible. Thank you Milan --- >8 ---- List archives: http://www....
2004 May 20
0
theora header bitmap for alpha3
...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 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1| Byte +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+...
2006 Oct 04
3
Encoding - CPU usage ...
...t uses Theora... but I see that it gets a lot of CPU :( So I'm here to ask for any kind tips to reduce the CPU usage. - Hardware... do you think there are better CPUs for Theora? AMD64? - CPU optimisations... they are enabled by default, right? - Encoding parameters... now I use: ... theora_info tTheoraInfo; tTheoraInfo.colorspace = OC_CS_ITU_REC_470BG; /* OC_CS_UNSPECIFIED ? */ tTheoraInfo.pixelformat = OC_PF_420; tTheoraInfo.target_bitrate = 0; tTheoraInfo.quality = 15; tTheoraInfo.dropframes_p = 0;...
2006 Aug 06
0
Newbie: How to rewind a videostream (long)
......But I can't seem to handle end-of-stream very well. I would like to be able to rewind. First I tried the brute force method: if (videoStream.eof()) { ogg_stream_clear (&theoraStreamState); theora_clear (&theoraState); theora_comment_clear (&theoraComment); theora_info_clear (&theoraInfo); ogg_sync_clear (&oggSyncState); videoStream.clear(); videoStream.close(); init_the_movie_like_it_was_inited_the_first_time(); } But I got a crash when trying to re-initialize: theora_decode_init (&theoraState, &theoraInfo); Specifical...
2005 Oct 05
1
Simple encodig sample...
...stream of packets */ ogg_stream_state vo; /* take physical pages, weld into a logical stream of packets */ ogg_page og; /* one Ogg bitstream page. Vorbis packets are inside */ ogg_packet op; /* one raw packet of data for decode */ theora_state td; theora_info ti; theora_comment tc; int vkbps = 0; int ret; ogg_int64_t video_bytesout = 0; double timebase; FILE* outfile; outfile = fopen( "test.ogg","wb" ); if( outfile == NULL ) { fprintf( stderr, "Unable to open output fi...
2005 Sep 27
4
problems understanding yuv_buffer format
hi folks! once again i am trying to decode a yuv_buffer to a 24 bit RGB buffer. last time nobody seemed willing to tell me how to do this, so i am trying again. i try to make my questions more simple. what i need to know is: how many bytes are in each y, u, v array? what for are these strides? what exactly is a "plane" in a frame, and what does it do? what i want to achieve is