Bug 272193 - [NEW PORT] multimedia/tstools: MPEG transport, program, and elementary stream tools
Summary: [NEW PORT] multimedia/tstools: MPEG transport, program, and elementary stream...
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL: https://github.com/kynesim/tstools
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-24 22:01 UTC by Ivan Rozhuk
Modified: 2023-09-05 14:08 UTC (History)
3 users (show)

See Also:


Attachments
patch (4.40 KB, patch)
2023-06-24 22:01 UTC, Ivan Rozhuk
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Rozhuk 2023-06-24 22:01:04 UTC
Created attachment 242977 [details]
patch

MPEG TS/PS/ES Transport, Program and Elementary Stream tools

This is a set of cross-platform command line tools for working with
MPEG data.  The emphasis is on relatively simple tools which
concentrate on MPEG (H.264 and H.262) data packaged according to
H.222 (i.e., TS or PS), with a particular interest in checking for
conformance.  Transport Stream (TS) is typically used for distribution
of cable and satellite data. Program Stream (PS) is typically used
to store data on DVDs.

The tools are focussed on:

    * Quick reporting of useful data (tsinfo, stream_type)
    * Giving a quick overview of the entities in the stream
      (esdots, psdots)
    * Reporting on TS packets (tsreport) or ES units/frames/
      fields (esreport)
    * Simple manipulation of stream data (es2ts, esfilter,
      esreverse, esmerge, ts2es)
    * Streaming of data, possibly with introduced errors
      (tsplay)
Comment 1 Daniel Engberg freebsd_committer freebsd_triage 2023-06-24 22:19:04 UTC
You might want to look at TSDuck (https://github.com/tsduck/tsduck) or mts-utils  https://github.com/xyproto/mts-utils (fork of tstools)
Comment 2 Robert Clausecker freebsd_committer freebsd_triage 2023-08-05 13:38:29 UTC
Thank you for your submission.  This port looks good and can likely be committed with some minor changes:

 - REINPLACE_CMD is only for dynamic replacements.  For static replacements,
   use patch files.
 - You seem to install a static library but no corresponding header files.  Is
   this really useful?  The Makefile's install rules do not seem to do so.
 - why is -fPIC needed?
 - man pages of section 1 should be installed into ${PREFIX}/share/man/man1.
   They should be installed unconditionally, no DOCS option needed.
   a post-install hook is present to automatically compress these, so install
   the .1 files but list .1.gz in pkg-plist.
 - is there any reason for not using the Makefile's install rules?

Please check and resubmit.
Comment 3 Robert Clausecker freebsd_committer freebsd_triage 2023-08-05 14:16:07 UTC
Reviewing diizzy's links, I strongly recommend you rework this port to be based on mts-utils instead as the tstools upstream seems to be dead.
Comment 4 Robert Clausecker freebsd_committer freebsd_triage 2023-09-05 14:08:34 UTC
No response in a month, returning to pool.