0.01
Low commit activity in last 3 years
A long-lived project that still receives updates
Extracts metadata from media files with mediainfo shared library
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 3.0
 Project Readme

MediaInfoNative

This gem provides a native ruby extension to interface with the Mediainfo library.

Usage

The gem is designed as a drop-in replacement for the Mediainfo gem (original version here), but uses the MediaInfoLib directly in order to improve performance and reliability. Whenever possible the original API has been made available.

Disable continuous file names detection

MediaInfo performs some detection on continuous file names (e.g., image sequences) and might therefore for example report video? as true where you expect it to be false. If you want to disable this feature, instantiate with:

MediaInfoNative::MediaInfo.new(ignore_continuous_file_names: true)

MediaInfoLib

The MediaInfoLib does not automatically install the libmediainfo.pc file. You need to do this manually until I care to make the gem not fail when it doesn't exist.

Contribution

Want to contribute? Great! Either use GitFlow as we do or

  1. Fork it.
  2. Create a branch (git checkout -b my_stuff)
  3. Commit your changes (git commit -am "Added new accessor")
  4. Push to the branch (git push origin my_markup)
  5. Open a Pull Request
  6. Enjoy a refreshing Mate and wait
  7. Profit!

License

The gem is licensed under the MIT License. See the LICENSE file for more information.

Parts of the code have been reused from the old Mediainfo or at least are heavily inspired from the old code (esp. the convenience API). The Mediainfo gem is licensed under the WTF Public License and we guess it is conformant with the terms of that license to re-license the code under the MIT license.