GNU bug report logs - #27045
[PATCH 2/3] gnu: video: Add libmediainfo.

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 27045 in the body.
You can then email your comments to 27045 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#27045; Package guix-patches. (Tue, 23 May 2017 20:44:03 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:03 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 2/3] gnu: video: Add libmediainfo.
Date: Tue, 23 May 2017 16:43:05 -0400
* gnu/packages/video.scm (libmediainfo): 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 bc3fa48b8..b8dc02e2f 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -2088,3 +2088,57 @@ practically any type of media.")
 strings, configuration, bit streams, threading, translation, and cross-platform
 operating system functions.")
     (license license:bsd-2)))
+
+(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"))
+              (file-name (string-append name "-" version ".tar.bz2"))
+              (sha256
+               (base32
+                "1kchh6285b07z5nixv619hc9gml2ysdayicdiv30frrlqiyxqw4b"))))
+    (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 ; test currently requires an external video file
+       #: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:
+ - 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...")
+    (license license:bsd-2)))
+
-- 
2.13.0





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

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

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

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

[...]

> +    (arguments
> +     '(#:tests? #f ; test currently requires an external video file

Do they offer a video file for this purpose, or will anything do? Please
add a TODO here, sounds like we can just add some video file as a
native-input and use that.

> +       #: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:
> + - 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...")

Can you convert this list to use "@itemize" instead? Grep around
gnu/packages for some examples.
[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:03 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 27045 <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:03 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 297 days ago.

Previous Next


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