Subject: bug#27045: [PATCH 2/3] gnu: video: Add libmediainfo.

From: Marius Bakke <[email-masked]>
Date: Wed, 24 May 2017 18:34:08 +0200

"Ethan R. Jones" <[email-masked]> 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.