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
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/listin
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
"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
nt: 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;
"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'
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 vi
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 f