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

From: [email-masked] (Ludovic Courtès)
Date: Wed, 31 May 2017 16:51:40 +0200

"Ethan R. Jones" <[email-masked]> skribis:

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

[...]

> +    (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:
> +@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")

I stripped the description as show below to avoid duplicating what we
have in libmediainfo.

Committed, thanks!

Ludo’.

diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index 64773edb3..ac2eec5f9 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -2150,21 +2150,6 @@ MPEG-2, MPEG-4, DVD (VOB)...
     (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:
-@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")
+information and other metadata about audio or video files.  It supports the
+many codecs and formats supported by libmediainfo.")
     (license license:bsd-2)))