Python: Using Hachoir, how extract metadata for file-like objects?

I'm working on a site that users uploads videos and audio files, I when uploaded, some common metadata fields must be populated from the file. I have found Hachoir and it seems good, but with a...

Why is setup.py apparently succeeding installing my package but actually failing to install a dependency?

below is a terminal session illustrating the problem: $ pip install scrappy --user Requirement already satisfied (use --upgrade to upgrade): scrappy in...

Why is my module failing to import when I try to run Travis-CI tests?

I'm trying to run Travis-CI on a module I've made. Nosetests pass on my local machine with flying colors, but for some reason the test.py file is failing to import my project. Below is the full...

shutil.move doesn't delete source files

Newish Python guy here. I've written what I thought would be a fairly simple script to extract the creation date metadata from photos and video and move them to a new folder based on year and...

UnicodeDecodeError: 'utf8' codec can't decode - Celery

I'm getting started with Celery. Y execute on shell (virt_env activated) command: python manage.py celeryd --verbosity=2 --loglevel=DEBUG It's seems start connection but fails with error... I...

Installing hachoir-metadata throws exception

I am trying to install the package hachoir-metadata using pip: pip install hachoir-metadata After executing the above command, I got the error C:\Users\Dimitar>pip install hachoir-metadata...

how to get a video file's orientation in Python

I would like to load a video file's frames into a numpy array. I want the frames to be properly upright, which means I need to read the orientation metadata in the video file, and rotate the...

Python + Hachoir-Metadata - Reading FPS tag from .MP4 file

I'm writing a Windows application in Python which has to read metadata from an .MP4 video file. I started writing the application in Python 3, but was unable to find a suitable module to read...

Does hachoir metadata or libextractor extract covers from ID3v2 and all another formats?

I've tried to use hachoir-metadata to work with multimedia files but I can't find how to parse covers in ID3v2 metadata. I see in source code that it know about a lot of covers tags but dose not...

Extract duration of video file without external process in python

Is there a way to extract the duration information from a video file's metadata (or maybe calculate the duration some other way) in python without invoking an external process. I've found a number...

reading and parsing Windows video files metadata in Python

I'm working on a project and I need to read and parse video metadata.(duration, date created,title,bit rate , ...) as far as I know there isn't any good package for Python 3.X for this issue. 1 --...

Extract metadata from Word and Excel files?

I have a series of nested folders in a Windows 7 operating system, all holding files. The files are Word and Excel. I would like to extract the Authors, Owner, Date Modified, and Date Created...

Upgrading to pip version 9.0.1

I am getting the following error message when installing some libraries on PyCharm: Command "python setup.py egg_info" failed with error code 1...

Pip install Scrappy - "python setup.py egg_info" failed with error code 1

I am trying to install Scrappy. I have Python 3.6 installed and am on Windows. I have tried this: py -3.5-32 -m pip install Scrappy However, got the following: Collecting Scrappy Using cached...

pip Installing a python module in Python 3, but that module has a dependency package that requires Python 2

so I am new to Python and what is a good way to learn it is to do some personal project :) So I am on my Windows and using virtualenv to contain environment So, I need to use the Scrappy...

Error Installing Hachoir-metadata |Command "python setup.py egg_info" failed with error code 1 in...\hachoir-metda

I am installing hachoir-metadata from reference[3]. I have completed the following for the installation of hachoir-metadata: conda create -n hachoir-metadata pip python=3.5 activate...

Can not install scrappy

I'm using PyCharm and want to create a Hello World project. And I can't install scrappy. I try to install with settings and I get these errors Collecting Scrappy Using cached...

Do iOS devices store the GPS location in their .mov files

I get all kinds of EXIF data (like location and camera model) easily from images, and I'm trying to replicate this for my .MOV movie files pulled from my iPhone. I know Apple has this information...