[Tutor] Video card test

2010-07-09 Thread Григор
Which module can I use to do a script for testing video card

-- 
Криле имат само тия, дето дето сърцето им иска да лети !
___
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor


Re: [Tutor] Video card test

2010-07-09 Thread Steven D'Aprano
On Fri, 9 Jul 2010 06:20:13 pm Григор wrote:
 Which module can I use to do a script for testing video card

Tell us how you want to test the video card.


-- 
Steven D'Aprano
___
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor


[Tutor] video watermark

2010-06-04 Thread Igor Nemilentsev
Hi everyone.
Can someone suggest a python module so that it would be able to do a video
processing and adding watermark in video?

-- 
If it's not loud, it doesn't work!
-- Blank Reg, from Max Headroom

___
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor


Re: [Tutor] video watermark

2010-06-04 Thread Jan Jansen

Am 04.06.2010 09:21, schrieb Igor Nemilentsev:

Hi everyone.
Can someone suggest a python module so that it would be able to do a video
processing and adding watermark in video?

   
Once I had to blur the part of the viewing area of a screencast which 
showed some confident CAD model. First, I exported the video as sequence 
of images with virtualdub. The result was something like 3000 *.bmp 
files on my harddrive. Then I created a little python script using PIL 
(http://www.pythonware.com/products/pil/). That script processed the 
files file by file, so no worries about huge movie files and memory. 
Finally, I've merged the new images with virtual dub. It all worked very 
well.


Otherwise I'm not aware of any video processing library in Python.

Also, there're filters for virtualdub to add watermarks to a movie. That 
might be the easiest way to get your results.


Cheers,

Jan
___
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor


Re: [Tutor] Video file metadata? (MP4/WMV)

2008-03-05 Thread Alan Gauld

Allen Fowler [EMAIL PROTECTED] wrote

 That being said, what is the correct way to parse binary files in 
 Python?

The safest way is to open in binary mode and use read() to get the 
data
then use the struct module to decode the data into python objects.
There is a very basic intro to this at the end of my file handling 
topic
in my tutorial.

-- 
Alan Gauld
Author of the Learn to Program web site
Temorarily at:
http://uk.geocities.com/[EMAIL PROTECTED]/
Normally:
http://www.freenetpages.co.uk/hp/alan.gauld 


___
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor


Re: [Tutor] Video file metadata? (MP4/WMV)

2008-03-05 Thread Ian Ozsvald
Hi Allen.  I don't know of a Python module but I believe that ffmpeg will do 
what you want.  Inside ShowMeDo I start it using os.spawnv and I use Python to 
do some processing on ffmpeg's output.  We use it to transcode incoming 
AVI/MOVs to .FLV files.  This would be more involved than just using a module.

I've never looked at ffmpeg's handling of metadata but looking at the help I 
see:
[EMAIL PROTECTED]:~$ ffmpeg
...
-title string   set the title
-timestamp time set the timestamp
-author string  set the author
-copyright string   set the copyright
-comment string set the comment
-album string   set the album
...
which might be what you're after?

You should also be able to use ffmpeg for automated conversion to MP4.  The 
only drawback is that ffmpeg might not understand the most recent WMV formats 
(WMV9 if memory serves) as Microsoft won't open the spec.

HTH,
Ian.

Allen Fowler wrote:
 Hello,
 
  I have several hundred WMV video files with bad embedded author/title/date 
 information. 
  
 However, the correct information is correctly encoded in the file name.. i.e. 
 title-author-date.wmv 
  
 Seems like the a great job for Python. :)
 
 Also, I am about to convert these fiiles to MP4 for use on an iPod. The video 
 software I am using will, I think, transfer the metadata from the WMV to the 
 new MP4 files. 
  
 So, two questions: 
  
 1) Does these exist a python module I can use to programatically edit the 
 metadata in MP4 
  files? 
  
 2) Failing that, is there a python module I can use to edit the 
  metadata in the WMV files? (hopeing the data makes it through the 
  conversion..)
  
 -- Thank you 
 
 
 
 
 
   
 
 Be a better friend, newshound, and 
 know-it-all with Yahoo! Mobile.  Try it now.  
 http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 
 
 
 ___
 Tutor maillist  -  Tutor@python.org
 http://mail.python.org/mailman/listinfo/tutor

-- 
http://Services.ShowMeDo.com
http://ShowMeDo.com
[EMAIL PROTECTED]
___
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor


Re: [Tutor] Video file metadata? (MP4/WMV)

2008-03-05 Thread Kent Johnson
Allen Fowler wrote:

 what is the correct way to parse binary files in Python?

http://docs.python.org/lib/module-struct.html
and perhaps
http://construct.wikispaces.com/

Kent
___
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor


Re: [Tutor] Video file metadata? (MP4/WMV)

2008-03-05 Thread Terry Carroll
On Tue, 4 Mar 2008, Allen Fowler wrote:

 I can't seem to find a simple description of the MP4 sepc... it might be
 because there is not one. :)

Does this help?

http://www.digitalpreservation.gov/formats/fdd/fdd000155.shtml

I think, though, that using Python to drive an already-written utility 
that understands the file format (like ffmpeg, as siggested by Ian) will 
probably be your best bet.

I was going to suggest looking into Pymedia, http://pymedia.org/ , but 
don't see anything suggesting MP4 support on 
http://pymedia.org/features.html

I don't know if it's being developed any longer either.  Its last release 
was in 2005. http://sourceforge.net/projects/pymedia/


___
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor


[Tutor] Video file metadata? (MP4/WMV)

2008-03-04 Thread Allen Fowler
Hello,

 I have several hundred WMV video files with bad embedded author/title/date 
information. 
 
However, the correct information is correctly encoded in the file name.. i.e. 
title-author-date.wmv 
 
Seems like the a great job for Python. :)

Also, I am about to convert these fiiles to MP4 for use on an iPod. The video 
software I am using will, I think, transfer the metadata from the WMV to the 
new MP4 files. 
 
So, two questions: 
 
1) Does these exist a python module I can use to programatically edit the 
metadata in MP4 
 files? 
 
2) Failing that, is there a python module I can use to edit the 
 metadata in the WMV files? (hopeing the data makes it through the 
 conversion..)
 
-- Thank you 





  

Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 


___
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor


Re: [Tutor] Video file metadata? (MP4/WMV)

2008-03-04 Thread Andreas Kostyrka
Don't think so. Do you have any cmdline tool to update the meta data?

Alternativly you can naturally embed Win32 components and control them
with Python, but I'm not a Windows guy.

Andreas

Am Dienstag, den 04.03.2008, 14:10 -0800 schrieb Allen Fowler:
 Hello,
 
  I have several hundred WMV video files with bad embedded author/title/date 
 information. 
  
 However, the correct information is correctly encoded in the file name.. i.e. 
 title-author-date.wmv 
  
 Seems like the a great job for Python. :)
 
 Also, I am about to convert these fiiles to MP4 for use on an iPod. The video 
 software I am using will, I think, transfer the metadata from the WMV to the 
 new MP4 files. 
  
 So, two questions: 
  
 1) Does these exist a python module I can use to programatically edit the 
 metadata in MP4 
  files? 
  
 2) Failing that, is there a python module I can use to edit the 
  metadata in the WMV files? (hopeing the data makes it through the 
  conversion..)
  
 -- Thank you 
 
 
 
 
 
   
 
 Be a better friend, newshound, and 
 know-it-all with Yahoo! Mobile.  Try it now.  
 http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 
 
 
 ___
 Tutor maillist  -  Tutor@python.org
 http://mail.python.org/mailman/listinfo/tutor


signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil
___
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor


Re: [Tutor] Video file metadata? (MP4/WMV)

2008-03-04 Thread Alan Gauld

Allen Fowler [EMAIL PROTECTED] wrote in 

 1) Does these exist a python module I can use to 
 programatically edit the metadata in MP4 
 files? 

I don;t know of one but if you can find the spec it might 
be easy enough to just edit the files using normal (binary) 
file handling methods. I've certainly done that for MIDI files.


-- 
Alan Gauld
Author of the Learn to Program web site
Temorarily at:
http://uk.geocities.com/[EMAIL PROTECTED]/
Normally:
http://www.freenetpages.co.uk/hp/alan.gauld

___
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor


Re: [Tutor] Video file metadata? (MP4/WMV)

2008-03-04 Thread Allen Fowler


I can't seem to find a simple description of the MP4 sepc... it might be 
because there is not one. :)

That being said, what is the correct way to parse binary files in Python?


- Original Message 
 From: Alan Gauld [EMAIL PROTECTED]
 To: tutor@python.org
 Sent: Tuesday, March 4, 2008 7:32:01 PM
 Subject: Re: [Tutor] Video file metadata? (MP4/WMV)
 
 
 Allen Fowler  wrote in 
 
  1) Does these exist a python module I can use to 
  programatically edit the metadata in MP4 
  files? 
 
 I don;t know of one but if you can find the spec it might 
 be easy enough to just edit the files using normal (binary) 
 file handling methods. I've certainly done that for MIDI files.
 
 
 -- 
 Alan Gauld
 Author of the Learn to Program web site
 Temorarily at:
 http://uk.geocities.com/[EMAIL PROTECTED]/
 Normally:
 http://www.freenetpages.co.uk/hp/alan.gauld
 
 ___
 Tutor maillist  -  Tutor@python.org
 http://mail.python.org/mailman/listinfo/tutor
 




  

Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 


___
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor


[Tutor] Video of recent talk by Guido van Rossum

2006-12-11 Thread Dick Moores



http://video.google.com/videoplay?docid=-8502904076440714866

Dick Moores



___
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor


[Tutor] Video

2005-11-08 Thread Eric Walker
I would like to do some testing of video streams from say a vcr tape. Possibly 
using the PVR type capture card. Maybe modules to control it.. or some info 
on how I can control it through C/C++ and link those functions into python.  
Are there any python user groups or modules that could help me in this 
regard?

Thanks

Eric ...

___
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor


Re: [Tutor] Video

2005-11-08 Thread Eric Walker
no takrs on this one?


--- Eric Walker [EMAIL PROTECTED] wrote:

 I would like to do some testing of video streams
 from say a vcr tape. Possibly 
 using the PVR type capture card. Maybe modules to
 control it.. or some info 
 on how I can control it through C/C++ and link those
 functions into python.  
 Are there any python user groups or modules that
 could help me in this 
 regard?
 
 Thanks
 
 Eric ...
 
 ___
 Tutor maillist  -  Tutor@python.org
 http://mail.python.org/mailman/listinfo/tutor
 


 

Pre-Paid Legal can help protect your legal rights.

Be able to say, I'm going to talk to my lawyer about that. -- AND MEAN IT!

Phone Consultations on Unlimited Matters

Legally written Letters to show you mean Business

Contract and Document Review.
 
 
Need Webhosting?


 
 





__ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com
___
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor


Re: [Tutor] Video

2005-11-08 Thread Danny Yoo


On Tue, 8 Nov 2005, Eric Walker wrote:

 I would like to do some testing of video streams from say a vcr tape.
 Possibly using the PVR type capture card. Maybe modules to control it..
 or some info on how I can control it through C/C++ and link those
 functions into python.  Are there any python user groups or modules that
 could help me in this regard?

Hi Eric,

You probably want to ask this on a newsgroup like comp.lang.python; I
don't think many of us here are familiar with PVR stuff.  There are such
systems written in Python.  For example, Freevo:

http://freevo.sourceforge.net/

but the subject is so specialized that Python-tutor probably won't be too
effective.  A larger audience like comp.lang.python might be able to give
you better guidance.


Good luck!

___
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor