What about reversing through the list?
for val in reversed(myList):
if check(val):
myList.remove(val)
The way it works is that reversed returns an iterator that doesn't copy
from your list, but handles changes in the list correctly for you. So its
both memory and time efficient (one
Document Object Model
Its the conceptual model HTML and Javascript(in browsers) use for
manipulating elements. Its also the concept that lies behind the
organization of XML documents.
-Tyler
On Fri, May 28, 2010 at 7:49 AM, B W stabbingfin...@gmail.com wrote:
It reads that way, yes. The
It doesn't quite support python yet:
http://code.google.com/p/nativeclient/wiki/NaClGlibc
They're still working on compiling glibc which is a core dependency of
Python.
On Wed, May 26, 2010 at 3:47 AM, thomas machinim...@gmail.com wrote:
hi,
another pygame on the web post... :)
has anyone
ffmpeg?
Thanks,
--
Bram Cymet
Software Developer
Canadian Bank Note Co. Ltd.
Cell: 613-608-9752
--
Bram Cymet
Software Developer
Canadian Bank Note Co. Ltd.
Cell: 613-608-9752
--
Tyler Laing
Online Editor
The Phoenix Newspaper
(1) 250 863-4869
University of British Columbia
signal SIGSEGV, Segmentation fault.
0x7fffea37c63e in _movie_init (self=0xbe3cb0, args=value optimized
out,
kwds=value optimized out) at src/gmovie.c:89
89if(surf PySurface_Check(surf))
Any idea what could be messing up?
On 05/10/2010 10:19 AM, Tyler Laing wrote:
You just
Oh wait. Have you changed the filename in __movie_test.py to a valid
moviefile?
-Tyler
2010/5/10 Tyler Laing trinio...@gmail.com
Could you please comment out lines in __movie_test.py so we can figure out
which init this error is happening on?
-Tyler
2010/5/10 Bram Cymet bcy...@cbnco.com
=movie.Movie(gsdsjgsdj)
and then on the line m = movie.Movie(filename)
On 05/10/2010 11:21 AM, Tyler Laing wrote:
Oh wait. Have you changed the filename in __movie_test.py to a valid
moviefile?
-Tyler
2010/5/10 Tyler Laing trinio...@gmail.com
Could you please comment out lines
).
Ian
--
Tyler Laing
Online Editor
The Phoenix Newspaper
(1) 250 863-4869
University of British Columbia - Okanagan
University Way
Kelowna, BC UNC 109
Student Services Building
,
--
Tyler Laing
Science and Tech Editor
The Phoenix Newspaper
(1) 250 863-4869
University of British Columbia - Okanagan
University Way
Kelowna, BC UNC 109
Student Services Building
Oh another critical bug: a lack of subtitle support! (Well, critical to me)
-Tyler
On Sun, Mar 7, 2010 at 7:46 AM, Tyler Laing trinio...@gmail.com wrote:
Hello all!
So I am applying again this year, to properly finish my project last year.
The movie module was largely finished in last
, would seem to be a huge step forward.
What's the issue?
Is there some reason that a better web site would not be better?
S
--
Tyler Laing
Science and Tech Editor
The Phoenix Newspaper
(1) 250 863-4869
University of British Columbia - Okanagan
University Way
Kelowna, BC UNC 109
Theres another neat work around someone else found, which is to use the
pygstreamer wrapper. It apparently works fairly good.
-Tyler
On Fri, Oct 9, 2009 at 2:26 AM, René Dudfield ren...@gmail.com wrote:
Hi,
unfortunately the movie module is not very good :(
This is one of the reasons why
noticing in the debugging that it seems that the unittest framework
runs the methods in parallel? Is this right?
On Sat, Oct 3, 2009 at 8:55 AM, Tyler Laing trinio...@gmail.com wrote:
Nevermind, now I am.
On Sat, Oct 3, 2009 at 8:54 AM, Tyler Laing trinio...@gmail.com wrote:
Hmm, not seeing
Nevermind, if you add a slight delay after the stop command in test_stop,
then the tests work.
I'll be committing an updated unit test later today.
On Sat, Oct 3, 2009 at 9:48 AM, Tyler Laing trinio...@gmail.com wrote:
Yeah, I turned off the pygame.quit already. Hmm, then maybe more time
A user reported some issues with joystick.c's printfs, for their game. So I
wrapped them with an #ifdef DEBUG statement for the time being until they
are no longer needed, in revision 2652.
-Tyler
--
Visit my blog at http://oddco.ca/zeroth/zblog
Over in China, its Teachers Day, so I'm going to take this opportunity to
thank my mentors during GSoC both for putting up with my many questions, but
also for providing great answers, and good discussions. I really appreciate
all the effort all of you went to.
-Tyler
--
Visit my blog at
I think this may be the clue:
http://www.pygame.org/docs/ref/sprite.html#Group.sprites
I think in Python2.6 and later, it will grab an Iterator, rather than a
list... I'm not sure. Try doing lst = enemiesGroup.sprites(), then
random.choice(lst)
On Wed, Aug 26, 2009 at 6:54 PM, Yanom Mobis
2009/8/22 Tyler Laing trinio...@gmail.com:
tstate mix-up. I've looked, and there are no Python calls done without
having the GIL. Like I said, its an extremely weird bug. It also occurs
if
you do five play throughs(play(0)) sequentially.
-Tyler
On Fri, Aug 21, 2009 at 6:11 PM, Lenard
PM, Lenard Lindstrom le...@telus.net wrote:
Hi,
No, I don't see any Debian specific predefined compiler macros. ffmpeg
library information is available through pkg-config.
Lenard
Tyler Laing wrote:
Does debian have a unique compile time flag I can use?
-Tyler
On Tue, Aug 18, 2009 at 12
And I've now committed a fix for throwing exceptions if the surface given
has the wrong aspect ratio.
-Tyler
On Thu, Aug 20, 2009 at 9:46 AM, Tyler Laing trinio...@gmail.com wrote:
I have this fixed, with it committed in revision 2628. I have a custom
Dependency class that adds extra
Running at the same time? No. Unless there is a way to have multiple
separate SDL screens. Even then, it will be an issue as there is a global
struct used to record info in the sound module. Otherwise, everything else
can be instantiated per movie.
-Tyler
On Tue, Aug 18, 2009 at 7:55 AM, René
It could be. That, however, increases the coupling between the sound
subsystem and the movie module. If you want me to, I will, but I would need
to consider how best to make sure the sound subsystem can be replaced on
demand.
And then for separate movie screens, it would be entirely possible if
You don't have -l/usr/include actually. What I will do is add to the
directories searched, for the specific libraries to search in
/usr/include/ffmpeg /usr/include/relevant library name for if people
install from source. Does that sound like a good solution?
-Tyler
On Tue, Aug 18, 2009 at 9:03
/libavformat/avformat.h. This may be a quirk of the
Debian dev package and not the general case.
Lenard
Tyler Laing wrote:
You don't have -l/usr/include actually. What I will do is add to the
directories searched, for the specific libraries to search in
/usr/include/ffmpeg /usr/include/relevant
absolute includes like:
#include libavformat/avformat.h
need to be replace with locale includes:
#include avformat.h
Lenard
Tyler Laing wrote:
What I forgot to say is, let me know, I will be beginning a merge at 2
pm.
-Tyler
On Sun, Aug 16, 2009 at 12:53 PM, Tyler Laing trinio
I will be beginning the process of merging the movie module branch into the
main branch.
As it stands, the ffmpeg movie backend compiles. The vlc backend isn't quite
feature complete, and doesn't work with older vlc's unfortunately.
I would say that the nmovie module is only at a alpha stage,
What I forgot to say is, let me know, I will be beginning a merge at 2 pm.
-Tyler
On Sun, Aug 16, 2009 at 12:53 PM, Tyler Laing trinio...@gmail.com wrote:
I will be beginning the process of merging the movie module branch into the
main branch.
As it stands, the ffmpeg movie backend compiles
This is in trunk/docs right?
-Tyler
On Thu, Aug 13, 2009 at 3:18 PM, Lenard Lindstrom le...@telus.net wrote:
Vicent Marti wrote:
Hello there fine gentlemen,
I know you are all going to hate this, but I've had to do some minor
changes to the documentation system on my GSoC branch for the
Hello all,
I'm wondering how I would make the window that pops up from
sdl_setvideomode, go away, for example when I stop a playing video?
-Tyler
--
Visit my blog at http://oddco.ca/zeroth/zblog
Thanks, that will help. :)
On Fri, Aug 14, 2009 at 10:58 AM, René Dudfield ren...@gmail.com wrote:
hi,
you can call eg pygame.display.quit()
On Fri, Aug 14, 2009 at 7:44 PM, Tyler Laingtrinio...@gmail.com wrote:
Hello all,
I'm wondering how I would make the window that pops up from
I finally got it working. It was dependent on the order of the libraries, as
well as two extra libraries, winsock and zlib. How would I go about adding
these flags only for windows compilation?
-Tyler
On Wed, Aug 12, 2009 at 11:00 PM, Lenard Lindstrom le...@telus.net wrote:
Tyler Laing wrote
windows functionality for the module just
yet, unfortunately. *sighs*
-Tyler
On Thu, Aug 13, 2009 at 11:17 AM, Tyler Laing trinio...@gmail.com wrote:
I finally got it working. It was dependent on the order of the libraries,
as well as two extra libraries, winsock and zlib. How would I go about
, 2009 at 2:33 PM, Tyler Laing trinio...@gmail.com wrote:
Here's a picture of the dll error since msys won't let me copy terminal
text...
-Tyler
On Tue, Aug 11, 2009 at 2:18 PM, Tyler Laing trinio...@gmail.com wrote:
I've determined I am supposed to use config_win.py, by checking the .pyc
I haven't tried that yet, but I will now.
On Wed, Aug 12, 2009 at 12:34 PM, René Dudfield ren...@gmail.com wrote:
Are you able to compile it manually?
--
Visit my blog at http://oddco.ca/zeroth/zblog
Unfortunately, same error happens when I compile it manually. When I
compiled each of the .o's I used the other lib and include dirs instead of
the prebuilt. Same error, just different paths.
-Tyler
On Wed, Aug 12, 2009 at 12:40 PM, Tyler Laing trinio...@gmail.com wrote:
I haven't tried
Here's the pastebin of the log:
http://pastebin.com/m55e55246
On Wed, Aug 12, 2009 at 1:02 PM, René Dudfield ren...@gmail.com wrote:
On Wed, Aug 12, 2009 at 8:54 PM, Tyler Laingtrinio...@gmail.com wrote:
Unfortunately, same error happens when I compile it manually. When I
compiled each of
. I've been trying to decipher exactly what
config_win.py does, and have a bit of a better understanding. But I still
don't get exactly what I'm supposed to add there, such that the config file
finds headers and libraries correctly.
-Tyler
On Wed, Aug 12, 2009 at 1:14 PM, Tyler Laing trinio
On Wed, Aug 12, 2009 at 6:25 PM, Lenard Lindstrom le...@telus.net wrote:
Hi Tyler,
Ignore config_win.py. It is for using the prebuilts and stuff compiled with
Visual C++. Visual C++ prebuilt compilation has not been maintained for
awhile and is moot anyway since ffmpeg is not designed to
Exactly as the title says. How do I add a new extension to compile to the
windows compilation order for pygame? I know Setup.in needs the
modification, which it does. But I also know that one of the config files
needs to be modified. In config_unix.py, I use:
Dependency('FFMPEG',
, 2009 at 1:47 PM, Tyler Laing trinio...@gmail.com wrote:
Exactly as the title says. How do I add a new extension to compile to the
windows compilation order for pygame? I know Setup.in needs the
modification, which it does. But I also know that one of the config files
needs to be modified
Sounds good to me. I'm at the point where I'm working to make the module
work on Windows. Unfortunately, there is still an issue with audio and video
desyncing. :/
On Sat, Aug 8, 2009 at 12:49 AM, René Dudfield ren...@gmail.com wrote:
Hello,
the pygame svn trunk has been changed to version
The movie module was changed, and there is no loop argument currently. The
docs were not update for this.
On Sat, Aug 8, 2009 at 9:41 AM, Wayne Dyck wa...@platoscave.net wrote:
A question that has me a little stumped. In a list e-mail from 2008,
bhaaluu submitted the following code to play
Its basically a complete web framework written in Python. It offers an
Object Relational Mapper(maps database tables onto actual objects), lots of
scaffolding for building a site quick, etc. It has authentication and user
management, as well as easy form management. Its very versatile and
Hi,
Well the first optimization that can be done is to use a lambda function and
a list comprehension which performs the for loop at C speed will likely
bring a huge benefit:
#we use wrappers because blit and tick only return none, which makes
functional programming a bit harder...
f=lambda y:
additional function call overhead, and the list
comprehension adds the cost to build a list, I would not assume this is
faster.
-Casey
On Jul 30, 2009, at 8:32 AM, Tyler Laing wrote:
Hi,
Well the first optimization that can be done is to use a lambda function
and a list comprehension which
By wrapper, he means writing a python class that has an internal member,
_sruf, which is the surface in question. Then you can override the __str__
function with your own. Otherwise, you just call _sruf's own methods and
attrs
-Tyler
On Sat, Jul 25, 2009 at 2:48 PM, ERName
Hi everybody,
What the movie module is capable of doing right now is:
-Video
-Audio
-resize the screen
-pause, unpause
-stop
-play, with a loops argument that works just like the one in mixer
-get, set, surface support
So we have basic functionality so far for it. There is also a vlc
backend,
Hi,
Take a look at the group classes. This lets you manage the sprites easily.
http://www.pygame.org/docs/ref/sprite.html#pygame.sprite.Group
-Tyler
On Tue, Jul 7, 2009 at 8:55 AM, Paulo Silva nitrofur...@gmail.com wrote:
hi!
recently i coded this humble snipped using sprites from
I don't know much about the current movie module, however, I am the
developer responsible for writing the new movie module, which will be able
to do exactly what you're asking for. But it will be a little while before
its quite ready, unfortunately. About two months to be precise. Sorry you'll
The last error is because you're running without admin privs.
-Tyler
On Thu, Jul 2, 2009 at 11:24 AM, Evan Kroske e.kro...@gmail.com wrote:
When I ran run_tests.py, I got all the same failures as Lorenz but two
different errors. Here they are:
Hmm, I'm not 100% familiar with 3d programming, but wouldn't the best way be
to find the cross-section of the object at some distance from the camera,
which would be a 2d shape, and then you can center the text on that shape?
On Tue, Jun 30, 2009 at 9:26 PM, Astan Chee astan.c...@al.com.au wrote:
Okay, so week of testing is over, I've got updates, plans, and tasty
schedules here at my blog:
http://www.oddco.ca/zeroth/zblog/2009/06/29/movie-module-progress-week-6/
Feedback on proposed addition of features please?
On Mon, Jun 22, 2009 at 3:05 PM, Tyler Laing trinio...@gmail.com wrote
Hmm, the comment for gWorld says its a pointer, but thats a static variable.
Just an outdated comment?
But otherwise, cool progress. :) Good luck!
On Sat, Jun 27, 2009 at 3:38 PM, el lauwer el.lau...@gmail.com wrote:
Hoi,
Nirav Patel asked me to post the info on my blog on this mailing list,
for stopping and playing again on
the same movie object.
-Tyler
On Fri, Jun 19, 2009 at 8:19 PM, Tyler Laing trinio...@gmail.com wrote:
Seeking will be a feature I'll work on for the Beta release. Loops of a
section of video is an unusual request, I'd have to consider that. It
wouldn't be possible
that, I will work to add more features, like
redirecting the output of the movie player backends into a surface the
programmer specifies, allowing the programmer to use their own sound
subsystem, seeking, and so on. I look forward to the completion of this
project. :)
Thank you,
Tyler Laing
--
Visit
Many thanks for all the assistance so far. :) I do have to add a warning:
this alpha release has not been tested exhaustively. Thats next week. So it
/will/ fail,somewhere. I guarantee it.
On Fri, Jun 19, 2009 at 3:34 PM, Ian Mallett geometr...@gmail.com wrote:
Indeed! Great!
--
Visit my
with the community, as I have a much better grasp of what is possible.
On Fri, Jun 19, 2009 at 7:59 PM, Luke Paireepinart
rabidpoob...@gmail.comwrote:
Tyler Laing wrote:
Hello all,
I would like to announce the alpha release of the new movie module. The
details can be found here,
http
Hello all,
For the movie module, I need to be able to communicate with a process
programmatically.
The video player in discussion is ffplay(because its the smallest), and it
has an internal event loop around the SDL event loop. When I use
subprocess.Popen to open up the video player running a
Well, the movie module will use different back ends. One back end is nearing
alpha testing, the wrapper around ffmpeg. If that back end fails to load,
then we want to load in a wrapper around a video player that will be
distributed with pygame, and I'm trying to figure what needs to be done to
get
Unfortunately, no, communicate does not prevent hanging:
http://docs.python.org/library/subprocess.html#subprocess.Popen.communicate
It says it waits for the subprocess to terminate :/
However, that mplayer slave mode looks awesome. How big would a statically
compiled mplayer executable be? The
Apparently there's a remote control interface. full play, pause, stop, seek,
resize capabilities. If I can get the stuff from Marcus on redirecting
screen output through pygame, then I can make an effective module.
-Tyler
On Thu, Jun 18, 2009 at 5:22 PM, René Dudfield ren...@gmail.com wrote:
Why don't we just fill in a full value of 255 for all the cases where it
returns 3 values? If we make every call return four values, and warn about
this in the documentation, it becomes very consistent.
-Tyler
On Tue, Jun 16, 2009 at 11:52 PM, Lenard Lindstrom le...@telus.net wrote:
René
, one wants 4 element colors when working with per-pixel-alpha
surfaces.
Lenard
Tyler Laing wrote:
Why don't we just fill in a full value of 255 for all the cases where it
returns 3 values? If we make every call return four values, and warn about
this in the documentation, it becomes very
I have a quick question here:
I'm trying to figure what would be the best way to work with an sdl_surface
for the movie module. Let me give some quick background here. All the code
I've been able to find with ffmpeg seems to use only sdl_overlays. The way
the overlays work, is that you can write
Bring it up with python-core then. They at the least should have a
consistent failure condition. Unless things have gone HORRENDOUSLY wrong at
which point its better to just shut down than to deal with the error.
-Tyler
On Tue, Jun 16, 2009 at 5:34 PM, Greg Ewing
it.
Any questions or criticism, please feel free to let me know!
-Tyler Laing
--
Visit my blog at http://oddco.ca/zeroth/zblog
Well, the flags that work would be dependent on your what your hardware
supports. It sounds like you are not deleting the screen object before
exiting the program. If I have the time, I'll take a look at the code later
and see if I can identify the problem. What version of pygame are you using?
:
Hi
I'm using Pygames version 1.8.1. release.
Before debug PG source code, I would suggest you wait I debug mine ;-)
I'm farm from being the best programmer...
How do I delete the screen object ?
Any code example ?
Thanks,
Pierre
Tyler Laing wrote:
Well, the flags that work would
Hello to all concerned,
I am a GSOC student, currently working on writing an effective movie wrapper
for Python/Pygame around the ffmpeg libraries.
However, I have run into some issues, for which I need assistance and/or
information.
Short Problem: My video runs too fast.
Explanation: I am
On Fri, Jun 5, 2009 at 9:55 AM, Art Clarke acla...@xuggle.com wrote:
Hi Tyler,
Not to take you off track, but the Xuggler project
(http://www.xuggle.com/xuggler) is a SWIG-based wrapper around FFMPEG
that works with Java. It should be possible to extend it for Python
support (and you can
-art.png
On Fri, Jun 5, 2009 at 4:23 PM, Tyler Laing trinio...@gmail.com wrote:
Well, what happens in your game when objects collide? Is it specific to
the objects? Do they bounce? Do they lose momentum? Do they blow up? Do they
sing a song and dance? Thats the response you need. ;)
On Fri
playing with the colors at this point. Adobe
kuler is also good for color schemes.
Devon
--- On Sun, 5/24/09, Tyler Laing trinio...@gmail.com wrote:
From: Tyler Laing trinio...@gmail.com
Subject: Re: [pygame] Pygame Website Rewrite: First alpha version ready
for testing
To: pygame-users
Hi, lots of good work there. I sent over your current design, as of sun may
24, 2:02 PM, to an artist friend of mine. Also, I sent her the old design.
She had some advice and criticisms:
The gradient must disappear. On the first one and on both of them the dark
green does not match the
is...
It apppears to be in libavcodec.so
You can see what your gmovie.so has linked to it on linux with:
$ ldd gmovie.so
Or on OSX with:
$ otool -L gmovie.so
cheers,
On Fri, May 22, 2009 at 8:00 AM, Tyler Laing trinio...@gmail.com wrote:
Sorry to bother you all again,
Now when I type import
Okay, so I have some code that looks like it will work, so now is when I
need to start testing it. But to get it to compile and install with pygame,
I've been trying to figure out how to add the necessary stuff to config.py
and config_unix.py.
Does anyone have some information on how to do this?
should find it.
Lenard
Tyler Laing wrote:
Okay, so I have some code that looks like it will work, so now is when I
need to start testing it. But to get it to compile and install with pygame,
I've been trying to figure out how to add the necessary stuff to config.py
and config_unix.py
as experimental for now. Hopefully by the end of
summer any such qualifiers can be removed.
Lenard
Tyler Laing wrote:
Thanks Lenard. But what do I put specifically for the dependencies? Do I
do a different dependency object for each of the header files I need?
-Tyler
On Wed, May 20, 2009 at 12
Hopefully then things only get included once.
What is the gcc line of something that fails?
cu,
On Thu, May 21, 2009 at 10:07 AM, Tyler Laing trinio...@gmail.com wrote:
Thanks Lenard, that worked. Now, just fixing bugs that are stopping
compilation.
One problem I ran into and solved
Lenard,
Sounds good to me.
If no one's using it, its not needed.
-Tyler
On Tue, May 19, 2009 at 7:34 AM, Lenard Lindstrom le...@telus.net wrote:
Hi René, Tyler,
I suggest we clean out the defunct movieext from Pygame trunk.
Lenard
Tyler Laing wrote:
There we go, Branch is made
I'm pretty sure you can enable mp3 support for Debian, by adding a new
repository, or by using audacity. Audacity will ask if you want to download
an mp3 plugin when you try to open or create an mp3 file.
But I do agree with your proposed plan. It sounds good to me, plus, it helps
encourage the
On Mon, May 18, 2009 at 2:52 PM, René Dudfield ren...@gmail.com wrote:
On Tue, May 19, 2009 at 12:29 AM, Tyler Laing trinio...@gmail.com wrote:
Ahem: http://blue.bikeshed.com/
There's no need for everyone to jump in and start offering solutions to a
simple problem. There's lots of different ways
Hello all,
I've got a bit of a brainteaser for you, maybe, and hopefully not.
Right now, through judicious use of ffplay code, I've got a large portion of
the code written for a first draft version of the movie module. I changed
the code where appropriate for our needs. Of course, that doesn't
each time might be better.
I hope maybe that helps answer your question...
ps. be good to start a branch in svn to dump your code as you go :) Then
we can all look at your code specifically.
On Tue, May 19, 2009 at 8:02 AM, Tyler Laing trinio...@gmail.com wrote:
Hello all,
I've got
There we go, Branch is made, and it is updated with all the code I've done
today
Thanks :)
-Tyler
On Mon, May 18, 2009 at 3:40 PM, René Dudfield ren...@gmail.com wrote:
On Tue, May 19, 2009 at 8:40 AM, René Dudfield ren...@gmail.com wrote:
hi,
svn copy svn://seul.org/svn/pygame/trunk
Well, the clients could probably implement their own package manager, so you
can obviate the need for atomic packages for windows. There's no reason to
punish the users of windows.
-Tyler
On Wed, May 13, 2009 at 5:07 PM, Cary Harper cary.har...@xandros.comwrote:
@Evan - The pygame.cnr.com
Well, to the first bug, could we please see the exact text of the
RuntimeError versus the IOError? The runtime error could be related to
processing the font file, if the font loader didn't throw an error that
there was no file.
The second bug, can you please show what the output of this code
, None, 'Ctrl-T'), 'gui':
System.widgets.Gui instance at 0x024C4BE8, 'hit_pos': (18, 3),
'over_widget': System.widgets.MenuItem instance at 0x084EB5D0}
In other words the event disappears without a trace.
Bo)
Tyler Laing skrev:
Well, to the first bug, could we please see the exact text
the latest build from
http://thorbrian.com/pygame/builds.php
Bo)
Tyler Laing skrev:
Bo,
Try increasing the value of pygame.NUMEVENTS. After reading through the
event code, and checking through the SDL docs, I find this about User
events:
The contents of the structure members or completely up
Apple that also
supports a transparency channel. It would nice to have it too. I guess
ffmpeg supports them all.
Ciao,
2009/5/8 Tyler Laing trinio...@gmail.com:
Another significant difference I just found is that SDL_ffmpeg has no
support for subtitle streams. Supporting subtitle streams
subtitles in english, as I'm hard of hearing. :)
-Tyler
On Thu, May 7, 2009 at 4:59 PM, Tyler Laing trinio...@gmail.com wrote:
Hi Rene,
Perhaps. But SDL_ffmpeg is a separate project, another dependency. FFmpeg
is much more likely to be on someone's system. SDL_ffmpeg also uses a
completely
Hello all,
I've been looking at SDL_ffmpeg and ffmpeg.
There are some considerations for choosing each. SDL_ffmpeg is fairly simple
to interact with, load, play, pause a movie. You can interact with each
frame, and so on. However, SDL_ffmpeg converts every frame from YUV to RGB,
to make it
movie module? Maybe smpeg does direct copy to display so it may not be a
useful source of ideas in this case.
Lenard
Tyler Laing wrote:
Hello all,
I've been looking at SDL_ffmpeg and ffmpeg.
There are some considerations for choosing each. SDL_ffmpeg is fairly
simple to interact
in the examples/data directory so I have not gotten it to
work. I only know about overlay because I have recently updated the module
to Python 3. So I don't know if it will be of any help.
Lenard
Tyler Laing wrote:
Hi Lenard,
I'm looking at the movie module now. Are we compiling movie.c
*ffmpeg.tar.gz
Lenard
Lenard Lindstrom wrote:
Tyler Laing wrote:
Hello all,
One of the first steps I need to take for the GSoC project is to get
user stories so I can build acceptance tests.
I want to hear what you guys(the users) want out of an updated movie
module. What do you want
Taking a look at color.c, I believe the bug may actually rest in the
Pytype_FromUnsignedLong/Pytype_FromDouble/Pytype_FromString functions
provided by the Python libs. There is no logical or numerical reason why,
from the numbers we have, we would get those values with those operations.
The tests
platforms, this produces different outputs.
I think it has to convert into the same 32bit unsigned int, and then
return that.
On Sat, May 2, 2009 at 8:54 AM, Tyler Laing trinio...@gmail.com wrote:
Taking a look at color.c, I believe the bug may actually rest
shifting
for packing. On different platforms, this produces different outputs.
I think it has to convert into the same 32bit unsigned int, and then
return that.
On Sat, May 2, 2009 at 8:54 AM, Tyler Laing trinio...@gmail.com wrote:
Taking a look at color.c, I believe the bug may actually
Rene,
Okay, so I've got a fix. You have to prefix color-r with (long), and then
for hex and oct functions, you need to change INT_MAX to LONG_MAX for a 64
bit platform.
How do I make a patch for submission?
-Tyler
On Fri, May 1, 2009 at 5:33 PM, Tyler Laing trinio...@gmail.com wrote:
Rene
Correction, you have to do this: unsigned long tmp = ((long)color-r 24)
+ ((long)color-g 16) + ((long)color-b 8) +... to be specific.
-Tyler
On Fri, May 1, 2009 at 6:21 PM, Tyler Laing trinio...@gmail.com wrote:
Rene,
Okay, so I've got a fix. You have to prefix color-r with (long
your svn account within a week or so.
cu,
On Sat, May 2, 2009 at 11:42 AM, Tyler Laing trinio...@gmail.com wrote:
Hmm, just noticed another issue. I had to make the change from INT_MAX to
LONG_MAX because the outputs for the specific number had an 'L' on the
end
of them, where
1 - 100 of 132 matches
Mail list logo