search for: player_example

Displaying 20 results from an estimated 39 matches for "player_example".

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 `ogg_sync_buffer' player_example.c:(.text+0x4f): und...
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 player_example player_example.o ../lib/libtheora.la -logg -lm -L/usr/local/lib -Wl,-rpath,/usr/loca...
2004 Feb 06
0
Bug in src/player_example.c
Hi I've just started development on a streaming TV player using Theora as a real time encoder. The player currently uses the majority of code in src/player_example.c. I discovered a bug which was preventing the player from working correctly, but which only showed up in my player; it didn't seem to affect the original player_example. I've now found the cause, which is indeed a bug in either player_example.c or libtheora itself. The example player...
2005 Jan 05
1
player_example vs splayer
...one know why monty's audio sync hack for OSS wouldn't work (about) as well with SDL audio buffers? I guess there might be more latency overall, but the library is designed for game use so playback trigger should be responsive; it's just about tracking the audio clock. Can we switch player_example to just use SDL? -r
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 &&
2006 Jun 02
0
Re: Update libtheora-1.0alpha6
...; 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 requires OSS. * a patch for doc/Makefile.in that installs at $datadir/doc/libtheora instead of $datadir/doc/libtheora-alpha6 Best regards. God illuminate us. -- Dios, por favor, ayudanos a hacer Tu voluntad que es felicidad desbordante. http://www.primarilypublicdomain.org/letter...
2002 Sep 27
2
Using Theora Micro-HOWTO
...remain unchanged, unless you want to modify the quality settings or supply target bitrates instead. <p>On final encoding note: The encoder takes the size and frame rate of the output video directly from the yuv4mpeg stream, and does not yet handle 'aspect ratio' (either that, or the player_example doesn't), so if you want to, for example, create an ogg-theora file from an NTSC SVCD mpeg file (480x480) that displays the "correct" size (640x480), you will need to explicitly scale it. Fortunately, mplayer handles this just fine: mplayer -ao null -nosound -vo yuv4mpeg -vop scale...
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 -- Consume But Don't Try Programming Act = CBDTPA. --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project h...
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) # de...
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 c...
2010 May 18
2
idct8x8 C version in libtheora1.1 release
When using the IDCT routines, the C version [ lib/idct.c: oc_idct8x8_c(ogg_int16_t _y[64],int _last_zzi)] in libtheora 1.1.1, the decoded image is garbled. Is it functionally equivalent to the MMX optimized version [lib/x86/mmxidct.c: oc_idct8x8_mmx(ogg_int16_t _y[64],int _last_zzi)] ? I used some of the Theora video files from here: http://wiki.xiph.org/index.php/List_of_Theora_videos for
2010 Aug 15
2
Beginner Hurdles
...d 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 better documented in the example at http://svn.xiph.org/trunk/theora/examples/player_example.c since I think most people are looking for something a little higher level. Here they are: 1. Many of us just want to render each frame to RGB. I decided to skip SDL for now and render the RGB in software so that I understand how it works. I will probably make a shader to render the YU...
2003 Aug 23
1
CVS compile problems
...from Makefile. 2. My stock (slackware 9) SDL have problems with linking theora examples. here is the gcc command line & error: make[1]: Entering directory `/work/src/theora/examples' /bin/sh ../libtool --mode=link gcc -I/usr/include/SDL -D_REENTRANT -all-static -o p layer_example player_example.o ../lib/libtheora.la -logg -lm -L/usr/lib -Wl,-rpath,/u sr/lib -lSDL -lpthread -lm -L/opt/kde/lib -ldl -lartsc -lpthread -L/usr/lib -lesd -lau diofile -lm -L/usr/X11R6/lib -lX11 -lXext -ldl -lvorbis -logg gcc -I/usr/include/SDL -D_REENTRANT -static -o player_example player_example.o -Wl,-rp ath -W...
2007 Oct 13
1
Theora beta2 released
Hello, once again I have the great pleasure to announce the release of a new Theora version - please welcome libtheora beta 2! Changes for this version: libtheora 1.0beta2 (2007 October 12) - Fix a crash bug on char-is-unsigned architectures (PowerPC) - Fix a buffer sizing issue that caused rare encoder crashes - Fix a buffer alignment issue - Build fixes for MingW32, MSVC - Improved
2003 Jan 14
0
Well, it's something at least...
...one posted a "test suite" of datafiles to play with on the main page of www.theora.org ...but after all this time, I seem to have developed a problem with my Theora Alpha 1 build. First, somehow there appears to be a "/opt/kde/lib/libartsc.so" that gets added to the compile for player_example. This seems to be causing a strange "player_example: no such file or directory" problem trying to run it (manually re-typing the compile line without the reference to libartsc.so got me an otherwise-running player_example). Now, however, the example hangs trying to open /dev/dsp as it s...
2004 Sep 24
2
derf README
I was just looking at http://svn.xiph.org/experimental/derf/theora-exp/README and this is what it says about the encoder, <snip> The encoder is highly experimental. It currently generates valid bitstreams using ALL of the decoder features supported above. However, it is also currently broken, producing pretty horrible quality files with high bitrates. This should be tracked down and
2007 Oct 13
1
Theora beta2 released
Hello, once again I have the great pleasure to announce the release of a new Theora version - please welcome libtheora beta 2! Changes for this version: libtheora 1.0beta2 (2007 October 12) - Fix a crash bug on char-is-unsigned architectures (PowerPC) - Fix a buffer sizing issue that caused rare encoder crashes - Fix a buffer alignment issue - Build fixes for MingW32, MSVC - Improved
2003 May 20
1
building under NetBSD
I am successfully able to build today's theora_cvs_snapshot under NetBSD/i386 1.6 with SDL disabled. (I haven't tested yet.) I was unable to build with SDL: player_example.c:52: sys/soundcard.h: No such file or directory I see the source says it is OSS-specific for now. This is what I did to make it build: --- work.rainier/theora/examples/player_example.c.orig Mon May 19 12:31:37 2003 +++ work.rainier/theora/examples/player_example.c @@ -49,7 +49,13 @@ give us...
2003 Aug 12
0
Compile error in CVS, entry for a FAQ somewhere, place for test/comparison files to be uploaded?
...pec.py python txt2html.py spec.txt spec.html make[1]: *** No rule to make target `testspec.raw', needed by `all-am'. Stop. ----------------------------------------------------------------- I can "make -k" and get past it, though. However, there's an inobvious problem in the player_example and splayer compile: Both appear to absolutely depend on static versions of all of the relevant libraries, but there is nothing to indicate this anywhere. I got past the "unable to find -lartsc" once I realized I needed to completely make distclean and re-configure and compile arts to ge...
2007 Apr 26
6
example sources
...entary ;-) I'm trying to integrate a simple theora video player in my engine. All I need is simple load/unload and play/stop functionality. I'd also like to be able to stream from disk or mem. Other than the API reference I haven't found any example code, e.g. the sources for theora_player_example. Are these available anywhere? Before I start re-inventing the wheel, are there available sources out there that do what I described above? thank you in advance, k. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/theora/attachme...