diff options
author | schmonz <schmonz@pkgsrc.org> | 2021-07-14 01:35:23 +0000 |
---|---|---|
committer | schmonz <schmonz@pkgsrc.org> | 2021-07-14 01:35:23 +0000 |
commit | 7589141150271cea48991ed5c99bc6254f4d3667 (patch) | |
tree | b9d8958695964242cfabc29571263646dfafaf5d | |
parent | 38171dfb6c64024ad3763f5cf9d0a4e6d92d4a8c (diff) | |
download | pkgsrc-7589141150271cea48991ed5c99bc6254f4d3667.tar.gz |
Update to 1.0.1. From the changelog:
10/09/2020: GPAC 1.0.1
This release fixes build and installation issues in 1.0.0, as well as
various bugs introduced during the migration to the filters
architecture.
It also adds several small features:
- better ttml import
- better support for MPEGH audio
- support fur DASH UTCTiming
- manifest generation from pre-fragmented DASH/HLS mp4
- speed optimization in isobmf reading (normal and fragmented)
- improved JS API for the filter session
- core tools exposed as JS module (file io, bitstream, etc ...)
- android fixes
16/06/2020: GPAC 1.0
- Complete rewrite of GPAC streaming core:
* addition of a filter-based architecture, used by MP4Client
and MP4Box.
* moving all decoders and demuxer plugins of MP4Client and most of
MP4Box import/export code as filters for this new architecture,
* moving DASH/HLS segmenter to a filter
* moving MP4Client compositor and most of the GF_Terminal internals
to a filter
* addition of a new application gpac, whose only purpose is to
create and run filter chains
* removal of MP42TS and DashCast applications since these
functionalities are provided by gpac
* deprecation of some features (widget management, MSE draft
implementation for SVG media, UPnP, TEMI player support).
- Profile system allowing to override through a static file default
options of all filters and libgpac core
- Alias system for gpac app to simplify your command lines
- Enhanced DASHer:
* Support for HLS and dual HLS / DASH generation
* Support for any input
* True low-latency mode for DASH
* Support for multiple periods
* Support for other segment formats (raw, mkv, webm currently
tested)
- Input and outputs
* Generic pipe, TCP, UDP, and Unix Domain socket input and output
* RTSP server output
* HTTP output (client and server), supporting low latency DASH access
* Ad-hoc stream format called GSF to allow serialization to file,
pipe or socket of a session (for distributed filter chains),
supporting AES-128 CBC encryption.
- Raw audio (PCM) and video (RGB, YUV) reframers and exporters
- HEVC tile spliting and merging filters
- Compositor is a standalone filter (SVG/BIFS/VRML graphics in a
filter chain)
- Image encoding support through libjpg and libpng
- Full FFMPEG support:
* Encoding/decoding through FFMPEG libavcodec
* Multiplexing/demultiplexing through FFMPEG libavformat
* Device grabbers through FFMPEG libavdevice
* Raw audio and video filters through FFMPEG libavfilter
- Support for QuickJS (ES2002) and bindings for:
* Complete filter API
* GPAC software rasterizer (EVG)
* WebGL 1.0 Core
* XmlHttpRequest and uDOM APIs
* Storage
- Inspect and analyze filter
- MPEG-2 TS splitter
- Video cropper filter with zero-copy mode
- Video flip filter
- Source concatenator filter
- Simple audio and video output filters
- Experimental audio and video rewinder filter
- Encryption
* On-the-fly encryption and decryption, now available as filters
* Segment-based encryption and decryption
- ISOBMFF
* box customization
* Better QT support, prores parsing and dumping
* Support for raw media (QT style or ISOBMFF for audio)
* Simplify HEIF batch conversion through item to track mapping
* Reading from pipes (fragmented or progressive files)
* Writing to packets rather than files
* Fast interleaved file creation mode with less storage requirements
- FileIO wrapper for cases where files are not stored in a file system
known by GPAC
- Testing and Documentation
* Live doc generation (man and wiki)
* Improved coverage
* Split test suite as dedicated repo
* Moved all resource to https://wiki.gpac.io
* Started howto pages on wiki
* Many bug fixes
-rw-r--r-- | multimedia/gpac/Makefile | 5 | ||||
-rw-r--r-- | multimedia/gpac/PLIST | 77 | ||||
-rw-r--r-- | multimedia/gpac/PLIST.Darwin | 2 | ||||
-rw-r--r-- | multimedia/gpac/distinfo | 12 | ||||
-rw-r--r-- | multimedia/gpac/patches/patch-Makefile | 24 |
5 files changed, 40 insertions, 80 deletions
diff --git a/multimedia/gpac/Makefile b/multimedia/gpac/Makefile index 4e7b2697115..762f475050a 100644 --- a/multimedia/gpac/Makefile +++ b/multimedia/gpac/Makefile @@ -1,7 +1,6 @@ -# $NetBSD: Makefile,v 1.80 2021/04/21 13:25:04 adam Exp $ +# $NetBSD: Makefile,v 1.81 2021/07/14 01:35:23 schmonz Exp $ -DISTNAME= gpac-0.8.1 -PKGREVISION= 3 +DISTNAME= gpac-1.0.1 CATEGORIES= multimedia MASTER_SITES= ${MASTER_SITE_GITHUB:=gpac/} GITHUB_TAG= v${PKGVERSION_NOREV} diff --git a/multimedia/gpac/PLIST b/multimedia/gpac/PLIST index f724a22a2b8..2a656c97bbe 100644 --- a/multimedia/gpac/PLIST +++ b/multimedia/gpac/PLIST @@ -1,8 +1,9 @@ -@comment $NetBSD: PLIST,v 1.9 2020/09/19 03:38:07 schmonz Exp $ -bin/DashCast -bin/MP42TS +@comment $NetBSD: PLIST,v 1.10 2021/07/14 01:35:23 schmonz Exp $ bin/MP4Box bin/MP4Client +bin/gpac +include/gpac/00_doxy.h +include/gpac/Remotery.h include/gpac/ait.h include/gpac/atsc.h include/gpac/avparse.h @@ -16,14 +17,15 @@ include/gpac/config_file.h include/gpac/configuration.h include/gpac/constants.h include/gpac/crypt.h +include/gpac/crypt_tools.h include/gpac/dash.h include/gpac/download.h include/gpac/dsmcc.h include/gpac/dvb_mpe.h -include/gpac/esi.h include/gpac/events.h include/gpac/events_constants.h -include/gpac/filestreamer.h +include/gpac/evg.h +include/gpac/filters.h include/gpac/html5_media.h include/gpac/html5_mse.h include/gpac/ietf.h @@ -40,47 +42,39 @@ include/gpac/internal/laser_dev.h include/gpac/internal/m3u8.h include/gpac/internal/media_dev.h include/gpac/internal/mesh.h -include/gpac/internal/mpd.h include/gpac/internal/odf_dev.h include/gpac/internal/odf_parse_common.h include/gpac/internal/ogg.h include/gpac/internal/reedsolomon.h include/gpac/internal/scenegraph_dev.h -include/gpac/internal/smjs_api.h include/gpac/internal/swf_dev.h -include/gpac/internal/terminal_dev.h include/gpac/internal/vobsub.h -include/gpac/ismacryp.h include/gpac/iso639.h include/gpac/isomedia.h include/gpac/laser.h include/gpac/list.h -include/gpac/map.h +include/gpac/main.h include/gpac/maths.h include/gpac/media_tools.h include/gpac/mediaobject.h include/gpac/module.h include/gpac/modules/audio_out.h include/gpac/modules/codec.h +include/gpac/modules/compositor_ext.h include/gpac/modules/font.h include/gpac/modules/hardcoded_proto.h include/gpac/modules/ipmp.h -include/gpac/modules/js_usr.h -include/gpac/modules/raster2d.h -include/gpac/modules/service.h -include/gpac/modules/term_ext.h include/gpac/modules/video_out.h +include/gpac/mpd.h include/gpac/mpeg4_odf.h include/gpac/mpegts.h include/gpac/network.h include/gpac/nodes_mpeg4.h include/gpac/nodes_svg.h include/gpac/nodes_x3d.h -include/gpac/nodes_xbl.h include/gpac/options.h include/gpac/path2d.h include/gpac/revision.h -include/gpac/ringbuffer.h include/gpac/rtp_streamer.h include/gpac/scene_engine.h include/gpac/scene_manager.h @@ -95,56 +89,26 @@ include/gpac/terminal.h include/gpac/thread.h include/gpac/token.h include/gpac/tools.h -include/gpac/unicode.h include/gpac/user.h include/gpac/utf.h include/gpac/version.h include/gpac/webvtt.h include/gpac/xml.h -include/win32/inttypes.h -include/win32/stdint.h -include/wince/errno.h -lib/gpac/gm_aac_in.${LIBEXT} -lib/gpac/gm_ac3_in.${LIBEXT} -lib/gpac/gm_amr_in.${LIBEXT} -lib/gpac/gm_atsc_in.${LIBEXT} -lib/gpac/gm_audio_filter.${LIBEXT} -lib/gpac/gm_bifs_dec.${LIBEXT} -lib/gpac/gm_ctx_load.${LIBEXT} -lib/gpac/gm_dummy_in.${LIBEXT} -lib/gpac/gm_ffmpeg_in.${LIBEXT} lib/gpac/gm_ft_font.${LIBEXT} -lib/gpac/gm_img_in.${LIBEXT} -lib/gpac/gm_ismacryp.${LIBEXT} -lib/gpac/gm_isom_in.${LIBEXT} -lib/gpac/gm_laser_dec.${LIBEXT} -lib/gpac/gm_mp3_in.${LIBEXT} -lib/gpac/gm_mpd_in.${LIBEXT} -lib/gpac/gm_mpegts_in.${LIBEXT} -lib/gpac/gm_netctrl.${LIBEXT} -lib/gpac/gm_odf_dec.${LIBEXT} -lib/gpac/gm_ogg_xiph.${LIBEXT} -lib/gpac/gm_osd.${LIBEXT} ${PLIST.oss}lib/gpac/gm_oss_audio.${LIBEXT} lib/gpac/gm_pulseaudio.${LIBEXT} -lib/gpac/gm_raw_out.${LIBEXT} -lib/gpac/gm_rtp_in.${LIBEXT} -lib/gpac/gm_saf_in.${LIBEXT} -lib/gpac/gm_soft_raster.${LIBEXT} -lib/gpac/gm_svg_in.${LIBEXT} -lib/gpac/gm_timedtext.${LIBEXT} lib/gpac/gm_validator.${LIBEXT} -lib/gpac/gm_vtt_in.${LIBEXT} -lib/gpac/gm_widgetman.${LIBEXT} ${PLIST.x11}lib/gpac/gm_x11_out.${LIBEXT} -lib/gpac/gm_xvid_dec.${LIBEXT} -lib/libgpac.so -lib/libgpac.so.8 -lib/libgpac.so.8.1.0 +lib/libgpac.10.1.0.${LIBEXT} +lib/libgpac.10.${LIBEXT} +lib/libgpac.${LIBEXT} +lib/libgpac_static.a +lib/pkgconfig/gpac.pc +man/man1/gpac-filters.1 man/man1/gpac.1 man/man1/mp4box.1 man/man1/mp4client.1 -share/gpac/gpac.mp4 +share/gpac/default.cfg share/gpac/gui/extensions/H2B2VS/H2B2VS.png share/gpac/gui/extensions/H2B2VS/h2b2vs.js share/gpac/gui/extensions/H2B2VS/init.js @@ -228,7 +192,10 @@ share/gpac/gui/icons/tray.svg share/gpac/gui/icons/tv.svg share/gpac/gui/icons/up.svg share/gpac/gui/icons/world.svg -share/gpac/gui/mpegu-core.js -share/gpac/gui/webvtt-renderer.js +share/gpac/res/gpac.mp4 +share/gpac/res/gpac.png +share/gpac/res/gpac_cfg_test.mp4 +share/gpac/scripts/ttml-renderer.js +share/gpac/scripts/webvtt-renderer.js share/gpac/shaders/fragment.glsl share/gpac/shaders/vertex.glsl diff --git a/multimedia/gpac/PLIST.Darwin b/multimedia/gpac/PLIST.Darwin deleted file mode 100644 index 9ed475451f7..00000000000 --- a/multimedia/gpac/PLIST.Darwin +++ /dev/null @@ -1,2 +0,0 @@ -@comment $NetBSD: PLIST.Darwin,v 1.1 2017/07/22 13:07:42 adam Exp $ -lib/gpac/gm_vtb_decode.${LIBEXT} diff --git a/multimedia/gpac/distinfo b/multimedia/gpac/distinfo index 44b5cad3f7a..4014908fc12 100644 --- a/multimedia/gpac/distinfo +++ b/multimedia/gpac/distinfo @@ -1,8 +1,8 @@ -$NetBSD: distinfo,v 1.17 2020/09/19 03:38:07 schmonz Exp $ +$NetBSD: distinfo,v 1.18 2021/07/14 01:35:23 schmonz Exp $ -SHA1 (gpac-0.8.1.tar.gz) = 6025c420dad5b957c8aae2703ecd516f2ef4b4c5 -RMD160 (gpac-0.8.1.tar.gz) = 9f90f5989735a97b96b2eea9522c21a254a5c151 -SHA512 (gpac-0.8.1.tar.gz) = f2039fe91a502ea8c54330abf893d52d10fb57d4459f5f3aae28122f565ab8964011b67e6af0d79c170fa55b125ac1385fd1d280021da7d1d37b27c74ee5b6c1 -Size (gpac-0.8.1.tar.gz) = 11432459 bytes -SHA1 (patch-Makefile) = 9f6cf58175ab3d95cbcf1c9fdd7b024432f6d08c +SHA1 (gpac-1.0.1.tar.gz) = ceda4a9ffc2fb51958fa292b432d1f0f9a457a60 +RMD160 (gpac-1.0.1.tar.gz) = 1e19dba1a2770268f64947f6ba34fb458028764f +SHA512 (gpac-1.0.1.tar.gz) = 533371d59e72250bef315be03ec3437cd66782d0fb6bdb6486a6f4d57d06a6a7deff1b31fe8bfd360be1d1c848b33b5d25e7268f56f27f8e92cbcb7da1aba82b +Size (gpac-1.0.1.tar.gz) = 10352926 bytes +SHA1 (patch-Makefile) = 4fa2a8034ef1e01bc3c716f8b3b60be976e620f1 SHA1 (patch-configure) = b76d24b134b7e10c613411f08d8374f0e0202599 diff --git a/multimedia/gpac/patches/patch-Makefile b/multimedia/gpac/patches/patch-Makefile index 8a704780710..074a8f4409b 100644 --- a/multimedia/gpac/patches/patch-Makefile +++ b/multimedia/gpac/patches/patch-Makefile @@ -1,25 +1,21 @@ -$NetBSD: patch-Makefile,v 1.3 2020/01/05 04:11:16 ryoon Exp $ +$NetBSD: patch-Makefile,v 1.4 2021/07/14 01:35:24 schmonz Exp $ -Fix DashCast installation. Remove non-standard cp(1) option. -Use VERSION_MAJOR also on Darwin (without git, VERSION is defined as UNKNOWN). ---- Makefile.orig 2019-06-27 10:20:45.000000000 +0000 +--- Makefile.orig 2020-09-10 16:38:49.000000000 +0000 +++ Makefile -@@ -159,17 +159,10 @@ endif +@@ -171,15 +171,9 @@ endif + $(INSTALL) $(INSTFLAGS) -m 644 $(SRC_PATH)/share/scripts/ttml-renderer.js "$(DESTDIR)$(prefix)/share/gpac/scripts/" - $(INSTALL) -d "$(DESTDIR)$(prefix)/include" -ifeq ($(CONFIG_DARWIN),yes) - cp $(SRC_PATH)/gui/icons/* "$(DESTDIR)$(prefix)/share/gpac/gui/icons/" - cp -R $(SRC_PATH)/gui/extensions/* "$(DESTDIR)$(prefix)/share/gpac/gui/extensions/" - cp $(SRC_PATH)/shaders/* "$(DESTDIR)$(prefix)/share/gpac/shaders/" - cp -R $(SRC_PATH)/include/* "$(DESTDIR)$(prefix)/include/" + cp $(SRC_PATH)/share/gui/icons/* "$(DESTDIR)$(prefix)/share/gpac/gui/icons/" + cp -R $(SRC_PATH)/share/gui/extensions/* "$(DESTDIR)$(prefix)/share/gpac/gui/extensions/" + cp $(SRC_PATH)/share/shaders/* "$(DESTDIR)$(prefix)/share/gpac/shaders/" -else -- cp --no-preserve=mode,ownership,timestamp $(SRC_PATH)/gui/icons/* $(DESTDIR)$(prefix)/share/gpac/gui/icons/ -- cp -R --no-preserve=mode,ownership,timestamp $(SRC_PATH)/gui/extensions/* $(DESTDIR)$(prefix)/share/gpac/gui/extensions/ -- cp --no-preserve=mode,ownership,timestamp $(SRC_PATH)/shaders/* $(DESTDIR)$(prefix)/share/gpac/shaders/ -- cp -R --no-preserve=mode,ownership,timestamp $(SRC_PATH)/include/* $(DESTDIR)$(prefix)/include/ +- cp --no-preserve=mode,ownership,timestamp $(SRC_PATH)/share/gui/icons/* $(DESTDIR)$(prefix)/share/gpac/gui/icons/ +- cp -R --no-preserve=mode,ownership,timestamp $(SRC_PATH)/share/gui/extensions/* $(DESTDIR)$(prefix)/share/gpac/gui/extensions/ +- cp --no-preserve=mode,ownership,timestamp $(SRC_PATH)/share/shaders/* $(DESTDIR)$(prefix)/share/gpac/shaders/ -endif lninstall: |