GNU bug report logs - #27046
[PATCH 3/3] gnu: video: Add mediainfo.

Previous Next

Package: guix-patches;

Reported by: "Ethan R. Jones" <doubleplusgood23 <at> gmail.com>

Date: Tue, 23 May 2017 20:44:03 UTC

Severity: normal

Tags: fixed, patch

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 27046 in the body.
You can then email your comments to 27046 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#27046; Package guix-patches. (Tue, 23 May 2017 20:44:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Ethan R. Jones" <doubleplusgood23 <at> gmail.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Tue, 23 May 2017 20:44:04 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: "Ethan R. Jones" <doubleplusgood23 <at> gmail.com>
To: guix-patches <at> gnu.org
Cc: "Ethan R. Jones" <doubleplusgood23 <at> gmail.com>
Subject: [PATCH 3/3] gnu: video: Add mediainfo.
Date: Tue, 23 May 2017 16:43:06 -0400
* gnu/packages/video.scm (mediainfo): 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 b8dc02e2f..285d20a12 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -18,6 +18,7 @@
 ;;; Copyright © 2017 Tobias Geerinckx-Rice <me <at> tobias.gr>
 ;;; Copyright © 2017 Chris Marusich <cmmarusich <at> gmail.com>
 ;;; Copyright © 2017 Thomas Danckaert <post <at> thomasdanckaert.be>
+;;; Copyright © 2017 Ethan R. Jones <doubleplusgood23 <at> gmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -2142,3 +2143,56 @@ MediaInfo supports the following formats:
  - Subtitles: SRT, SSA, ASS, SAMI...")
     (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"))
+              (file-name (string-append 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:
+ - General: title, author, director, album, track number, date, duration...
+ - Video: codec, aspect, fps, bitrate...
+ - Audio: codec, sample rate, channels, language, bitrate...
+ - Text: language of subtitle
+ - Chapters: number of chapters, list of chapters
+MediaInfo supports the following formats:
+ - Video: MKV, OGM, AVI, DivX, WMV, QuickTime, Real, MPEG-1, MPEG-2,
+          MPEG-4, DVD (VOB)...
+ - Video Codecs: DivX, XviD, MSMPEG4, ASP, H.264, AVC...)
+ - Audio: OGG, MP3, WAV, RA, AC3, DTS, AAC, M4A, AU, AIFF...
+ - Subtitles: SRT, SSA, ASS, SAMI...
+MediaInfo supplies technical and tag information about a video or audio file")
+    (license license:bsd-2)))
-- 
2.13.0





Information forwarded to guix-patches <at> gnu.org:
bug#27046; Package guix-patches. (Wed, 24 May 2017 16:38:02 GMT) Full text and rfc822 format available.

Message #8 received at 27046 <at> debbugs.gnu.org (full text, mbox):

From: Marius Bakke <mbakke <at> fastmail.com>
To: "Ethan R. Jones" <doubleplusgood23 <at> gmail.com>, 27046 <at> debbugs.gnu.org
Cc: "Ethan R. Jones" <doubleplusgood23 <at> gmail.com>
Subject: Re: bug#27046: [PATCH 3/3] gnu: video: Add mediainfo.
Date: Wed, 24 May 2017 18:37:19 +0200
[Message part 1 (text/plain, inline)]
"Ethan R. Jones" <doubleplusgood23 <at> gmail.com> writes:

> * gnu/packages/video.scm (mediainfo): New variable.

[...]

> +    (arguments
> +     '(#:tests? #f ; lacks tests
> +       #:phases
> +       ;; build scripts not in root of archive
> +       (modify-phases %standard-phases
> +         (add-before
> +             'configure 'pre-configure

Can you also move the 'configure line up after '(add-before'? Goes for
the other patches too.

> +           (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:
> + - General: title, author, director, album, track number, date, duration...
> + - Video: codec, aspect, fps, bitrate...
> + - Audio: codec, sample rate, channels, language, bitrate...
> + - Text: language of subtitle
> + - Chapters: number of chapters, list of chapters
> +MediaInfo supports the following formats:
> + - Video: MKV, OGM, AVI, DivX, WMV, QuickTime, Real, MPEG-1, MPEG-2,
> +          MPEG-4, DVD (VOB)...
> + - Video Codecs: DivX, XviD, MSMPEG4, ASP, H.264, AVC...)
> + - Audio: OGG, MP3, WAV, RA, AC3, DTS, AAC, M4A, AU, AIFF...
> + - Subtitles: SRT, SSA, ASS, SAMI...
> +MediaInfo supplies technical and tag information about a video or audio file")

Please also convert this list to use @itemize. Can you send updated
patches? TIA! :-)
[signature.asc (application/pgp-signature, inline)]

Added tag(s) fixed. Request was from ludo <at> gnu.org (Ludovic Courtès) to control <at> debbugs.gnu.org. (Wed, 31 May 2017 15:53:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 27046 <at> debbugs.gnu.org and "Ethan R. Jones" <doubleplusgood23 <at> gmail.com> Request was from ludo <at> gnu.org (Ludovic Courtès) to control <at> debbugs.gnu.org. (Wed, 31 May 2017 15:53:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 29 Jun 2017 11:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 6 years and 295 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.