GithubHelp home page GithubHelp logo

vod_metadata's Introduction

Documentation

vod-metadata

The vod-metadata project contains tools for working with CableLabs Video On Demand (VOD) Metadata files.

Included is a command line utility that can automatically generate metadata for video files and a Python library for manipulating metadata files.

Documentation

For full documentation, see https://vod-metadata.readthedocs.io.

Licensing

vod-metadata is open source, and uses the MIT license. If you're interested in a commercial license for including it in closed source software, please contact me.

vod_metadata's People

Contributors

bbayles avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

vod_metadata's Issues

Support "box cover" asset elements

Currently the library recognizes movie, preview, and poster element. The spec (page 15) also describes box cover elements, which use "Still Image" metadata like poster.

This issue is to make box cover a first-class citizen, i.e.:

  • Add remove_box_cover and has_box_cover methods on VodPackage
  • Make the metadata generator associate something_box_cover.bmp files with something.mpg

no output

appears to run, gives error saying:
_Processing index0.ts...
Traceback (most recent call last):
File "C:\Program Files (x86)\Python\lib\runpy.py", line 192, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Program Files (x86)\Python\lib\runpy.py", line 85, in run_code
exec(code, run_globals)
File "C:\Program Files (x86)\Python\lib\site-packages\vod_metadata_main
.py", line 57, in
vod_package = generate_metadata(file_path, vod_config, template_path)
File "C:\Program Files (x86)\Python\lib\site-packages\vod_metadata\md_gen.py", line 68, in generate_metadata
vod_package.check_files()
File "C:\Program Files (x86)\Python\lib\site-packages\vod_metadata\vodpackage.py", line 220, in check_files
self._scan_video(ae_type, ae_path)
File "C:\Program Files (x86)\Python\lib\site-packages\vod_metadata\vodpackage.py", line 260, in scan_video
mpeg_info = check_video(ae_path, self.vod_config.mediainfo_path)
File "C:\Program Files (x86)\Python\lib\site-packages\vod_metadata\media_info.py", line 76, in check_video
raise MediaInfoError(err_msg)
vod_metadata.media_info.MediaInfoError: Could not determine all video paramters

=====
Doesn't work with m3u8 files, Can get it to work with mp4 if nothing else is in the folder, but doesn't add "poster" information, even when the "Poster" is named the same as the media file.

Support custom metadata template file

metadata_template.xml is not intended to be edited, but there's no good way to add your own metadata without diving into it.

This issue is to make a command line parameter that allows for a different template to be specified.

metadata_template.xml modification

Hi Bo,

After I make some modifications in "metadata_template.xml" in

/usr/local/lib/python2.7/dist-packages/vod_metadata-2015.3.2-py2.7.egg/vod_metadata

and running app it still creates .xml with old template

can you please advise?

CableLabs Metadata generator

Hi,

I have downloaded you Python generator in order to test its usage.
Each time when I run it, it failed with MediaInfo error.
mpeg_info = check_video(ae_path, self.vod_config.mediainfo_path)
File "C:\Users\natalie\AppData\Local\Programs\Python\Python35-32\lib\site-packages\vod_metadata\media_info.py", line 62, in check_video
raise MediaInfoError(err_msg)
vod_metadata.media_info.MediaInfoError: Could not determine all video paramters
When vod_metadata opens MediaInfo program, what I should do? Just close it?
Can i call you? Thanks in advance for your help.
My mail is [email protected]

ImportError: No module named mock

Hi! can you share the mock module so i can run test_vod_metadata.py??

from mock import MagicMock, patch
ImportError: No module named mock

ty!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.