473,326 Members | 2,133 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

manipulating movie files with Python

I would like to write a python script which could take a movie file name
(avi, mov, mpg) along with a start and stop time as parameters, and
return to me a new movie file just containing that section of the
original which I'm interested in. Is there a Python library which could
already perform such magic? Thanks for any suggestions.

Best regards,
Tim
Jul 3 '08 #1
3 1380
I would love the same thing. Dont know what you are doing but this
might be relevant even if it is not what you are asking for:
http://imdbpy.sourceforge.net/
library to take data from imdb.
Jul 3 '08 #2
On Jul 3, 12:15*pm, Tim Grove <tim_gr...@sil.orgwrote:
I would like to write a python script which could take a movie file name
(avi, mov, mpg) along with a start and stop time as parameters, and
return to me a *new movie file just containing that section of the
original which I'm interested in. Is there a Python library which could
already perform such magic? Thanks for any suggestions.

Best regards,
Tim
You might check these out:

http://pymedia.org/
http://www.unixuser.org/~euske/vnc2swf/pyvnc2swf.html

Mike
Jul 3 '08 #3
Hello,
I would like to write a python script which could take a movie file name
(avi, mov, mpg) along with a start and stop time as parameters, and
return to me a *new movie file just containing that section of the
original which I'm interested in. Is there a Python library which could
already perform such magic? Thanks for any suggestions.
I think you'll find ffmpeg the right tool for the job.

HTH,
--
Miki <mi*********@gmail.com>
http://pythonwise.blogspot.com

Jul 4 '08 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Kenneth McDonald | last post by:
Warning: this post may display my utter ignorance of image file format facts. As part of a photo album program I'm working on, I'd like to be able to work with the metadata in JPEG files, which...
4
by: AES/newspost | last post by:
Can anyone provide a quick tip on the html structure to link from a thumb to a movie poster and from there on to a QuickTime movie, all in one go, using EMBED? I have a number of (large)...
6
by: jonathanztaub | last post by:
I have a DVD CD. * Is it possible to embed it within an html page? * Does the user has to have windows media player or any other program associated with it? * How exactly do I use the <embed>...
7
by: Kilian A. Foth | last post by:
I just found this amazing video puzzle game written with the pygame library, which promises to be infinite fun - but I can't get it to decode any video file I own, except the game's own example...
1
by: torbs | last post by:
I have a problem when I use javascript to get the length and position of a movie I recieve from a rtsp stream. The length and position is extremely high and not the actual length and position of...
1
by: MattC | last post by:
Hi, I have a directory of movie files that I want users to be able to view and play in an Embedded media player. However I only want them to be able to access the movies from my asp.net page. ...
1
by: giangiammy | last post by:
hi all, tryng python with pygame, I get the followinf error: faberdanaio.py:28: RuntimeWarning: use movie: No module named movie animation = pygame.movie.Movie("images/film.mpeg") Traceback...
1
by: Simon Cassels | last post by:
did u ever find anything out about this ? if so can you help me with some leads i am trying to figure an action that can convert image files to quicktime automatically. cheers simon
1
by: =?utf-8?q?C=C3=A9dric_Lucantis?= | last post by:
Le Wednesday 02 July 2008 01:16:30 Ben Keshet, vous avez écrit : If the file you're reading is not too big, you can use file.readlines() which read all the files and returns its content as a...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.