similar to: compile error of libtheora example

Displaying 20 results from an estimated 400 matches similar to: "compile error of libtheora example"

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
2007 Nov 20
5
yuv - rgb conversion without contrast decrease.
Hello list, When I convert an yuv pixel into rgb using the recipies in http://www.fourcc.org/fccyvrgb.php I get an accurate color conversion but the contrast seems to be decreased. If i write, e.g., the pixel directly into an sdl yuv_overlay, I get a well-contrasted frame, however, if I convert the pixel to rgb and call SDL_MapRGB, I get a contrast-decreased frame. Thanks, Ribamar
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 &&
2003 Dec 08
2
libtheora-1.0alpha2.tar.gz make fails
Hi My PC is Intel Pentium P4-HT, running Linux kernel 2.6.0-test10. I have the latest GNU automake/autoconf system. The make fails on libtheora with the following error msgs: player_example.c:29:1: warning: "_REENTRANT" redefined player_example.c:1:1: warning: this is the location of the previous definition /bin/sh ../libtool --mode=link gcc -O2 -D_REENTRANT -all-static -o
2002 Sep 27
2
Using Theora Micro-HOWTO
Okay, thanks to some stubbornness on my part and helpfulness on the part of people on this mailing list, I got the Ogg Theora alpha compiled up and installed and running. Yesterday, I went to the Prelinger archives (the public-domain video archive at www.archive.com) to find a high-quality original to re-encode as a test. The encoder worked just fine, and playback as well, and I thought I'd
2002 Nov 23
1
Compiling theora
I have tried following the Theora Micro How-to http://www.xiph.org/archives/theora-dev/200209/0092.html I have been able to: * download * compile * encode But decoding/playing does not work. I get: $ examples/player_example < fiatlux.theora.ogg sh: examples/player_example: No such file or directory See http://ole.tange.dk/projekter/theora/ for more precise information. <p>/Ole --
2002 Oct 02
1
Player under FreeBSD
Ok here's another one: player_example.c: In function `open_audio': player_example.c:138: `AFMT_S16_NE' undeclared (first use in this function) It worked fine once I switched it from _NE to _LE, this code will help portability: #if defined(__FreeBSD__) # define AFMT_S16_NE AFMT_S16_LE #elif defined(_AIX) || defined(AIX) # define AFMT_S16_NE AFMT_S16_BE #endif I'm not sure what
2010 Aug 15
2
Beginner Hurdles
Hey everyone, I just got Theora running on my Mac, and ran across several hurdles, that I was wondering if someone could help me with. I do a lot of tech support at work, and get the same questions over and over, so I tried skimming the archives but couldn't find the answers. Maybe these could go in a FAQ of some sort? These are fairly unavoidable issues that should probably be
2005 Jan 05
1
player_example vs splayer
Speaking of portability and people more familiar with SDL: The reason we have two example players for theora is that monty wrote the original example around the OSS audio interface used on several free unix-like operating systems, which immediately excludes win32 and MacOS, even though it used SDL to display the frames. SDL also has audio support, and is quite widely ported. splayer replaces
2012 Apr 11
3
Ogg Theora files player
Hello, I try to compile player_example.c from http://downloads.xiph.org/releases/theora/libtheora-1.1.1.zip in Visual Studio 2008 on Windows XP. I built and added to the project libogg-1.3.0, libtheora-1.1.1, libvorbis-1.3.2 (http://www.xiph.org/downloads/) and SDL-1.2.15 (http://www.libsdl.org/release/SDL-devel-1.2.15-VC.zip). When I compile player_example.c Visual Studio shows: fatal error
2007 Feb 15
1
How to do Theora playback efficiently ?
Dear theora developer community, currently I'm working on a simple Theora player for Windows. But the code in the player_example.c seems not to have the performance of other implementations like the Direct Show filters by illuminate. In the example player, all important things are done in one thread: decoding the next vorbis or theora packet(s) and reading from the physical stream (+ split
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
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()
2002 Sep 30
3
theora test suite
some of you may find this helpful: I've uploaded a short (5 second) raw clip in yuv4mpeg format, associated audio, and batch files to exercise the encoder & decoder examples. In addition I've included the file as compressed (test.ogg), and a longer version as well to test playback sync. Notes: to use MPlayer with the -vo yuv4mpeg option, you need to get the latest release and compile
2003 Aug 12
0
Compile error in CVS, entry for a FAQ somewhere, place for test/comparison files to be uploaded?
The first error in CVS - fairly minor - is in the docs section: ---------------------------------------------------------------- make[1]: Entering directory `/tmp/temp/oggstuff/theora/doc' python txt2py.py spec.txt spec.py python txt2html.py spec.txt spec.html make[1]: *** No rule to make target `testspec.raw', needed by `all-am'. Stop.
2009 May 11
1
Seeking on Theora streams
Hello, I've written a program loosely based on libtheora-1.0/examples/player_example.c, I would like to add the ability to randomly seek to a particular place in the stream (for starters, skipping forward or backward N seconds at a time). I found some useful information at http://www.xiph.org/ogg/doc/ogg-multiplex.html, but I was wondering if any sample code existed that implemented seeking?
2007 Apr 05
1
Header files
Hi, Please could give me a hints how to get below header files, these are not available in my system. Am running player_example.c which is given in theora dump. Getting error that below files can't open. I checked in "C:\Program Files\Microsoft Visual Studio\VC98\Include" and these are not present. #include <unistd.h> #include <sys/soundcard.h> #include
2007 Aug 23
2
How to get the duration of a file or track?
I'm starting with the theora player_example.c. I want to be able to determine the duration of the audio/video ahead of time, to be able to display it somewhere. I can't see anything obvious in ogg.h, theora.h, or vorbis.h for this. Can anyone help me with the right place to look to do this? Thanks, Ken Larson FMJ project, fmj.sourceforge.net
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:
2006 Jun 02
0
Re: Update libtheora-1.0alpha6
On Wed, May 31, 2006 at 05:52:33PM +0200, steven mestdagh wrote: > please make it install the docs under share/doc/libtheora. Thank you. Updated patch below. A copy of this email goes to the list of theora. The following patch for the port of libtheora-alpha6 for OpenBSD includes (among other things): * a patch for examples/Makefile.in that doesn't link player_example since it