Look beyond the surface with python and hachoir

The image is a snapshot of what the video player "thinks" is in the file.

Syntax changes a bit from shell or C to python, but the general concepts remain the same. Programming in assembly is very much different as it delves down to the very core of logic possibilities. This is a sample output using hachoir, and I am very certain that the video is not 1 minute in length, but the rest of the data is exactly as I would expect.(I did some investigation and it appears to be the way ogv stores duration and so it is an incomplete case issue. I haven't figured out why it is 46:1, but eventually I will find the ogv spec and relate it to the code "video.py line 117")

I have converted my shell scripts for interfacing to the zim wiki and syntax is different, but not so much that it is a major obstacle. It is really the nuance that is the ultimate problem. It isn't difficult to learn associated nouns from one language to another or even verbs, it is when they are combined in complex arrangements that little differences in interpretation of an action or object becomes comical or strange.

$ python ptest.py wl-802-lec17-220k.ogv [warn] Skip value bit_rate=0L (filter) Common: - Title: Motional EMF - Dynamos - Eddy Currents - Magnetic Braking - Duration: 1 min 6 sec 385 ms - Creation date: 1999 - Location: http://www.archive.org/details/MIT8.02S02 - Copyright: http://creativecommons.org/licenses/by-nc-sa/3.0/us/ - Producer: Xiph.Org libTheora I 20081020 3 2 1 - MIME type: video/theora - Endian: Little endian Video: - Image width: 400 pixels - Image height: 300 pixels - Pixel format: 4:2:0 - Compression: Theora - Frame rate: 15.0 fps - Comment: Quality: 0 - Format version: Theora version 3.2 (revision 1) Audio: - Channel: stereo - Sample rate: 44.1 kHz - Compression: Vorbis - Format version: Vorbis version 0
 for filename in os.listdir('./') :
  if  '.ogv' in filename and not 'Fail' in filename:
   if  re.search("lec.-",filename) or re.search("lec..-",filename):


Automated Intelligence

Automated Intelligence
Auftrag der unendlichen LOL katzen