unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: "Ethan R. Jones" <doubleplusgood23@gmail.com>
To: 27044@debbugs.gnu.org, mbakke@fastmail.com
Cc: "Ethan R. Jones" <doubleplusgood23@gmail.com>
Subject: bug#27044: [PATCH 2/3] gnu: video: Add libmediainfo
Date: Sat, 27 May 2017 11:19:23 -0400	[thread overview]
Message-ID: <20170527151924.5127-2-doubleplusgood23@gmail.com> (raw)
In-Reply-To: <20170527151924.5127-1-doubleplusgood23@gmail.com>

* gnu/packages/video.scm (libmediainfo): New module.
* gnu/packages/video.scm (libmediainfo): New variable.
---
 gnu/packages/video.scm | 59 ++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 59 insertions(+)

diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index 5399334f2..37258efe5 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -18,6 +18,7 @@
 ;;; Copyright © 2017 Tobias Geerinckx-Rice <me@tobias.gr>
 ;;; Copyright © 2017 Chris Marusich <cmmarusich@gmail.com>
 ;;; Copyright © 2017 Thomas Danckaert <post@thomasdanckaert.be>
+;;; Copyright © 2017 Ethan R. Jones <doubleplusgood23@gmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -58,6 +59,7 @@
   #:use-module (gnu packages cdrom)
   #:use-module (gnu packages cmake)
   #:use-module (gnu packages compression)
+  #:use-module (gnu packages cpp)
   #:use-module (gnu packages curl)
   #:use-module (gnu packages databases)
   #:use-module (gnu packages dejagnu)
@@ -2052,3 +2054,60 @@ file format that has been used as a multimedia file format in a variety of platf
 applications.  It is a very powerful and extensible format that can accommodate
 practically any type of media.")
     (license license:mpl1.1)))
+
+(define-public libmediainfo
+  (package
+    (name "libmediainfo")
+    (version "0.7.95")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "https://mediaarea.net/download/source/"
+                                  name "/" version"/"
+                                  name "_" version ".tar.bz2"))
+              (sha256
+               (base32
+                "1kchh6285b07z5nixv619hc9gml2ysdayicdiv30frrlqiyxqw4b"))))
+    ;; TODO add a Big Buck Bunny webm for tests.
+    (native-inputs
+     `(("autoconf" ,autoconf)
+       ("automake" ,automake)
+       ("libtool" ,libtool)
+       ("pkg-config" ,pkg-config)
+       ("zlib" ,zlib)
+       ("tinyxml2" ,tinyxml2)
+       ("curl" ,curl)
+       ("libzen" ,libzen)))
+    (build-system gnu-build-system)
+    (arguments
+     '(#:tests? #f ; see above TODO
+       #:phases
+       ;; build scripts not in root of archive
+       (modify-phases %standard-phases
+         (add-before 'configure 'pre-configure
+           (lambda _
+             (chdir "Project/GNU/Library")))
+         (add-before 'configure 'autogen
+           (lambda _
+             (zero? (system* "./autogen.sh")))))))
+    (home-page "https://mediaarea.net/en/MediaInfo")
+    (synopsis "Library for retrieving media metadata")
+    (description " MediaInfo is a library used for retrieving
+technical information and other metadata about audio or video files.
+A non-exhaustive list of the information MediaInfo can retrieve from media files include:
+@itemize
+@item General: title, author, director, album, track number, date, duration...
+@item Video: codec, aspect, fps, bitrate...
+@item Audio: codec, sample rate, channels, language, bitrate...
+@item Text: language of subtitle
+@item Chapters: number of chapters, list of chapters
+@end itemize\n
+MediaInfo supports the following formats:
+@itemize
+@item Video: MKV, OGM, AVI, DivX, WMV, QuickTime, Real, MPEG-1,
+MPEG-2, MPEG-4, DVD (VOB)...
+@item Video Codecs: DivX, XviD, MSMPEG4, ASP, H.264, AVC...)
+@item Audio: OGG, MP3, WAV, RA, AC3, DTS, AAC, M4A, AU, AIFF...
+@item  Subtitles: SRT, SSA, ASS, SAMI...
+@end itemize \n")
+    (license license:bsd-2)))
+
-- 
2.13.0

  reply	other threads:[~2017-05-27 15:20 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-23 20:43 bug#27044: [PATCH 1/3] gnu: video: Add libzen Ethan R. Jones
2017-05-23 20:43 ` bug#27045: [PATCH 2/3] gnu: video: Add libmediainfo Ethan R. Jones
2017-05-24 16:34   ` Marius Bakke
2017-05-23 20:43 ` bug#27046: [PATCH 3/3] gnu: video: Add mediainfo Ethan R. Jones
2017-05-24 16:37   ` Marius Bakke
2017-05-24 16:29 ` bug#26934: bug#27044: [PATCH 1/3] gnu: video: Add libzen Marius Bakke
2017-05-27 15:19 ` bug#27044: [PATCH 1/3] gnu: cpp: libzen: " Ethan R. Jones
2017-05-27 15:19   ` Ethan R. Jones [this message]
2017-05-31 14:44     ` bug#27044: [PATCH 2/3] gnu: video: Add libmediainfo Ludovic Courtès
2017-05-27 15:19   ` bug#27044: [PATCH 3/3] gnu: video: Add mediainfo Ethan R. Jones
2017-05-31 14:44   ` bug#27044: [PATCH 1/3] gnu: cpp: libzen: Add libzen Ludovic Courtès
2017-05-27 15:34 ` bug#27044: oops Ethan R. Jones
2017-05-27 15:42 ` bug#27044: [PATCH] gnu: video: Add mediainfo Ethan R. Jones
2017-05-31 14:51   ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170527151924.5127-2-doubleplusgood23@gmail.com \
    --to=doubleplusgood23@gmail.com \
    --cc=27044@debbugs.gnu.org \
    --cc=mbakke@fastmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).