guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#27044: [PATCH] gnu: video: Add mediainfo.


From: Ethan R. Jones
Subject: bug#27044: [PATCH] gnu: video: Add mediainfo.
Date: Sat, 27 May 2017 11:42:46 -0400

* gnu/packages/video.scm (mediainfo): Add new variable.
---
 gnu/packages/video.scm | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 54 insertions(+)

diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index 37258efe5..76b345cd8 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -2111,3 +2111,57 @@ MPEG-2, MPEG-4, DVD (VOB)...
 @end itemize \n")
     (license license:bsd-2)))
 
+;; TODO also have a GUI version available
+(define-public mediainfo
+  (package
+    (name "mediainfo")
+    (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
+                "0dy51a3i79jppmg1gi4f6h7jx4hcgnkmfim4d7d3gmnlbkjh8anv"))))
+    (native-inputs
+     `(("autoconf" ,autoconf)
+       ("automake" ,automake)
+       ("libtool" ,libtool)
+       ("pkg-config" ,pkg-config)
+       ("zlib" ,zlib)
+       ("libmediainfo", libmediainfo)
+       ("libzen" ,libzen)))
+    (build-system gnu-build-system)
+    (arguments
+     '(#:tests? #f ; lacks tests
+       #:phases
+       ;; build scripts not in root of archive
+       (modify-phases %standard-phases
+         (add-before 'configure 'pre-configure
+           (lambda _
+             (chdir "Project/GNU/CLI")))
+         (add-before 'configure 'autogen
+           (lambda _
+             (zero? (system* "./autogen.sh")))))))
+    (home-page "https://mediaarea.net/en/MediaInfo";)
+    (synopsis "Utility for reading media metadata")
+    (description "MediaInfo is a utility 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:
address@hidden
address@hidden General: title, author, director, album, track number, date, 
duration...
address@hidden Video: codec, aspect, fps, bitrate...
address@hidden Audio: codec, sample rate, channels, language, bitrate...
address@hidden Text: language of subtitle
address@hidden Chapters: number of chapters, list of chapters
address@hidden itemize\n
+MediaInfo supports the following formats:
address@hidden
address@hidden Video: MKV, OGM, AVI, DivX, WMV, QuickTime, Real, MPEG-1,
+MPEG-2, MPEG-4, DVD (VOB)...
address@hidden Video Codecs: DivX, XviD, MSMPEG4, ASP, H.264, AVC...)
address@hidden Audio: OGG, MP3, WAV, RA, AC3, DTS, AAC, M4A, AU, AIFF...
address@hidden  Subtitles: SRT, SSA, ASS, SAMI...
address@hidden itemize \n")
+    (license license:bsd-2)))
-- 
2.13.0






reply via email to

[Prev in Thread] Current Thread [Next in Thread]