[pygame] State of the movie module in pygame 1.9.0

2010-05-10 Thread Bram Cymet
Hi,

What is the state of the movie module in pygame 1.9? Is it still the old
one using smpeg or had it been updated to use ffmpeg?

Thanks,

-- 
Bram Cymet
Software Developer
Canadian Bank Note Co. Ltd.
Cell: 613-608-9752




Re: [pygame] State of the movie module in pygame 1.9.0

2010-05-10 Thread René Dudfield
hi,

it's the old one.

The new one needs porting to mac/windows... but should work on linux at
least.

cheers,


On Mon, May 10, 2010 at 12:27 PM, Bram Cymet bcy...@cbnco.com wrote:

 Hi,

 What is the state of the movie module in pygame 1.9? Is it still the old
 one using smpeg or had it been updated to use ffmpeg?

 Thanks,

 --
 Bram Cymet
 Software Developer
 Canadian Bank Note Co. Ltd.
 Cell: 613-608-9752





Re: [pygame] State of the movie module in pygame 1.9.0

2010-05-10 Thread Bram Cymet
Thanks,

I am using linux. Do you know where I can find the patch to use ffmpeg
in pygame?

On 05/10/2010 07:44 AM, René Dudfield wrote:
 hi,

 it's the old one.

 The new one needs porting to mac/windows... but should work on linux
 at least.

 cheers,


 On Mon, May 10, 2010 at 12:27 PM, Bram Cymet bcy...@cbnco.com
 mailto:bcy...@cbnco.com wrote:

 Hi,

 What is the state of the movie module in pygame 1.9? Is it still
 the old
 one using smpeg or had it been updated to use 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




Re: [pygame] State of the movie module in pygame 1.9.0

2010-05-10 Thread Tyler Laing
You just need to change a few lines in the build file Setup.in:

#_movie src/_gsound.c src/_gmovie.c src/_gcommand.c src/gmovie.c $(SDL)
$(AVFORMAT) $(SWSCALE) $(MIXER) $(DEBUG)

Uncomment that line.

Then type ./configure

and then compile and build. :)The code is all there and should work if you
have the ffmpeg libraries installed. Let me know if it doesn't.

On Mon, May 10, 2010 at 5:09 AM, Bram Cymet bcy...@cbnco.com wrote:

  Thanks,

 I am using linux. Do you know where I can find the patch to use ffmpeg in
 pygame?

 On 05/10/2010 07:44 AM, René Dudfield wrote:

 hi,

 it's the old one.

 The new one needs porting to mac/windows... but should work on linux at
 least.

 cheers,


 On Mon, May 10, 2010 at 12:27 PM, Bram Cymet bcy...@cbnco.com wrote:

 Hi,

 What is the state of the movie module in pygame 1.9? Is it still the old
 one using smpeg or had it been updated to use 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 - Okanagan
 University Way
Kelowna, BC UNC 109
Student Services Building


Re: [pygame] State of the movie module in pygame 1.9.0

2010-05-10 Thread Bram Cymet
I got it to compile fine but now I am getting a seg fault when running
__movie_test.py in the examples directory:

Program received 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 need to change a few lines in the build file Setup.in:

 #_movie src/_gsound.c src/_gmovie.c src/_gcommand.c src/gmovie.c
 $(SDL) $(AVFORMAT) $(SWSCALE) $(MIXER) $(DEBUG)

 Uncomment that line.

 Then type ./configure

 and then compile and build. :)The code is all there and should work if
 you have the ffmpeg libraries installed. Let me know if it doesn't.

 On Mon, May 10, 2010 at 5:09 AM, Bram Cymet bcy...@cbnco.com
 mailto:bcy...@cbnco.com wrote:

 Thanks,

 I am using linux. Do you know where I can find the patch to use
 ffmpeg in pygame?

 On 05/10/2010 07:44 AM, René Dudfield wrote:
 hi,

 it's the old one.

 The new one needs porting to mac/windows... but should work on
 linux at least.

 cheers,


 On Mon, May 10, 2010 at 12:27 PM, Bram Cymet bcy...@cbnco.com
 mailto:bcy...@cbnco.com wrote:

 Hi,

 What is the state of the movie module in pygame 1.9? Is it
 still the old
 one using smpeg or had it been updated to use 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 - Okanagan
  University Way
 Kelowna, BC UNC 109
 Student Services Building


-- 
Bram Cymet
Software Developer
Canadian Bank Note Co. Ltd.
Cell: 613-608-9752




Re: [pygame] State of the movie module in pygame 1.9.0

2010-05-10 Thread Tyler Laing
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

  I got it to compile fine but now I am getting a seg fault when running
 __movie_test.py in the examples directory:

 Program received 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 need to change a few lines in the build file Setup.in:

 #_movie src/_gsound.c src/_gmovie.c src/_gcommand.c src/gmovie.c $(SDL)
 $(AVFORMAT) $(SWSCALE) $(MIXER) $(DEBUG)

 Uncomment that line.

 Then type ./configure

 and then compile and build. :)The code is all there and should work if you
 have the ffmpeg libraries installed. Let me know if it doesn't.

 On Mon, May 10, 2010 at 5:09 AM, Bram Cymet bcy...@cbnco.com wrote:

  Thanks,

 I am using linux. Do you know where I can find the patch to use ffmpeg in
 pygame?

 On 05/10/2010 07:44 AM, René Dudfield wrote:

 hi,

 it's the old one.

 The new one needs porting to mac/windows... but should work on linux at
 least.

 cheers,


 On Mon, May 10, 2010 at 12:27 PM, Bram Cymet bcy...@cbnco.com wrote:

 Hi,

 What is the state of the movie module in pygame 1.9? Is it still the old
 one using smpeg or had it been updated to use 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 - Okanagan
  University Way
 Kelowna, BC UNC 109
 Student Services Building



 --
 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 - Okanagan
 University Way
Kelowna, BC UNC 109
Student Services Building


Re: [pygame] State of the movie module in pygame 1.9.0

2010-05-10 Thread Tyler Laing
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

  I got it to compile fine but now I am getting a seg fault when running
 __movie_test.py in the examples directory:

 Program received 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 need to change a few lines in the build file Setup.in:

 #_movie src/_gsound.c src/_gmovie.c src/_gcommand.c src/gmovie.c $(SDL)
 $(AVFORMAT) $(SWSCALE) $(MIXER) $(DEBUG)

 Uncomment that line.

 Then type ./configure

 and then compile and build. :)The code is all there and should work if you
 have the ffmpeg libraries installed. Let me know if it doesn't.

 On Mon, May 10, 2010 at 5:09 AM, Bram Cymet bcy...@cbnco.com wrote:

  Thanks,

 I am using linux. Do you know where I can find the patch to use ffmpeg in
 pygame?

 On 05/10/2010 07:44 AM, René Dudfield wrote:

 hi,

 it's the old one.

 The new one needs porting to mac/windows... but should work on linux at
 least.

 cheers,


 On Mon, May 10, 2010 at 12:27 PM, Bram Cymet bcy...@cbnco.com wrote:

 Hi,

 What is the state of the movie module in pygame 1.9? Is it still the old
 one using smpeg or had it been updated to use 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 - Okanagan
  University Way
 Kelowna, BC UNC 109
 Student Services Building



 --
 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 - Okanagan
  University Way
 Kelowna, BC UNC 109
 Student Services Building




-- 
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


Re: [pygame] State of the movie module in pygame 1.9.0

2010-05-10 Thread Tyler Laing
I'll take a look at this when I get home tonight. For now I'm at work. What
this indicates to me is that for some reason surf is seen as an object.

2010/5/10 Bram Cymet bcy...@cbnco.com

  Yes I did.

 The seg fault seems to happen whenever movie.Movie is called.

 It happens both on the line m=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 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

  I got it to compile fine but now I am getting a seg fault when running
 __movie_test.py in the examples directory:

 Program received 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 need to change a few lines in the build file Setup.in:

 #_movie src/_gsound.c src/_gmovie.c src/_gcommand.c src/gmovie.c $(SDL)
 $(AVFORMAT) $(SWSCALE) $(MIXER) $(DEBUG)

 Uncomment that line.

 Then type ./configure

 and then compile and build. :)The code is all there and should work if
 you have the ffmpeg libraries installed. Let me know if it doesn't.

 On Mon, May 10, 2010 at 5:09 AM, Bram Cymet bcy...@cbnco.com wrote:

 Thanks,

 I am using linux. Do you know where I can find the patch to use ffmpeg
 in pygame?

 On 05/10/2010 07:44 AM, René Dudfield wrote:

 hi,

 it's the old one.

 The new one needs porting to mac/windows... but should work on linux at
 least.

 cheers,


 On Mon, May 10, 2010 at 12:27 PM, Bram Cymet bcy...@cbnco.com wrote:

 Hi,

 What is the state of the movie module in pygame 1.9? Is it still the
 old
 one using smpeg or had it been updated to use 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 - Okanagan
  University Way
 Kelowna, BC UNC 109
 Student Services Building



  --
 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 - Okanagan
  University Way
 Kelowna, BC UNC 109
 Student Services Building




 --
 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



 --
 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 - Okanagan
 University Way
Kelowna, BC UNC 109
Student Services Building


Re: [pygame] State of the movie module in pygame 1.9.0

2010-05-10 Thread Lenard Lindstrom

Hi Tyler and Bram,

One thing I noticed that caused seg faults was a movie file that was too 
short, maybe plays only a minute or two in length. For me it a longer 
movie passed more tests, though not all of them worked well. When 
__movie_test.py got to the point where it was printing numbers to the 
terminal -- maybe the second to last while(1) loop -- the system started 
floundering  --  my computer doesn't  have  much memory  --  so it took 
10 minutes before the computer recognize a shutdown signal and power 
down. Either _movie/ffmpeg are memory hogs or there is a memory leak 
somewhere.


Lenard

Tyler Laing wrote:
I'll take a look at this when I get home tonight. For now I'm at work. 
What this indicates to me is that for some reason surf is seen as an 
object.


2010/5/10 Bram Cymet bcy...@cbnco.com mailto:bcy...@cbnco.com

Yes I did.

The seg fault seems to happen whenever movie.Movie is called.

It happens both on the line m=movie.Movie(gsdsjgsdj)

and then on the line m = movie.Movie(filename)



The Phoenix Newspaper
(1) 250 863-4869

University of British Columbia - Okanagan
 University Way
Kelowna, BC UNC 109
Student Services Building