pkgsrc/multimedia/ffplay4/Makefile

41 lines
1.2 KiB
Makefile
Raw Normal View History

ffmpeg4, ffplay4: update to 4.4.2 version 4.4.2: - fate: update reference files after the recent dash manifest muxer changes - avformat/webmdashenc: fix on-demand profile string - Update for FFmpeg 4.4.2 - avcodec/exr: Avoid signed overflow in displayWindow - avcodec/diracdec: avoid signed integer overflow in global mv - avcodec/takdsp: Fix integer overflow in decorrelate_sf() - avcodec/apedec: fix a integer overflow in long_filter_high_3800() - avfilter/vf_subtitles: pass storage size to libass - avformat/aqtitledec: Skip unrepresentable durations - avformat/cafdec: Do not store empty keys in read_info_chunk() - avformat/mxfdec: Do not clear array in mxf_read_strong_ref_array() before writing - avformat/mxfdec: Check for avio_read() failure in mxf_read_strong_ref_array() - avformat/mxfdec: Check count in mxf_read_strong_ref_array() - avformat/hls: Check target_duration - avcodec/pixlet: Avoid signed integer overflow in scaling in filterfn() - avformat/matroskadec: Check pre_ns - avcodec/sonic: Use unsigned for predictor_k to avoid undefined behavior - avcodec/libuavs3d: Check ff_set_dimensions() for failure - avcodec/mjpegbdec: Set buf_size - avformat/matroskadec: Use rounded down duration in get_cue_desc() check - avcodec/argo: Check packet size - avcodec/g729_parser: Check channels - avformat/avidec: Check height - avformat/rmdec: Better duplicate tags check - avformat/mov: Disallow empty sidx - avformat/argo_asf: Fix order of operations in error check in argo_asf_write_trailer() - avformat/matroskadec: Check duration - avformat/mov: Corner case encryption error cleanup in mov_read_senc() - avcodec/jpeglsdec: Fix if( code style - avcodec/jpeglsdec: Check get_ur_golomb_jpegls() for error - avcodec/motion_est: fix indention of ff_get_best_fcode() - avcodec/motion_est: Fix xy indexing on range violation in ff_get_best_fcode() - avformat/hls: Use unsigned for iv computation - avcodec/jpeglsdec: Increase range for N in ls_get_code_runterm() by using unsigned - avformat/matroskadec: Check desc_bytes - avformat/utils: Fix invalid NULL pointer operation in ff_parse_key_value() - avformat/matroskadec: Fix infinite loop with bz decompression - avformat/mov: Check size before subtraction - avcodec/cfhd: Avoid signed integer overflow in coeff - avcodec/apedec: Fix integer overflows in predictor_update_3930() - avcodec/apedec: fix integer overflow in 8bit samples - avformat/flvdec: timestamps cannot use the full int64 range - avcodec/tiff: Remove messing with jpeg context - avcodec/tiff: Use ff_set_dimensions() for setting up mjpeg context dimensions - avcodec/tiff: Pass max_pixels to mjpeg context - avcodec/vqavideo: reset accounting on error - avcodec/alacdsp: fix integer overflow in decorrelate_stereo() - avformat/4xm: Check for duplicate track ids - avformat/4xm: Consider max_streams on reallocating tracks array - avformat/mov: Check next offset in mov_read_dref() - avformat/vivo: Favor setting fps from explicit fractions - avformat/vivo: Do not use the general expression evaluator for parsing a floating point value - avformat/mxfdec: Check for duplicate mxf_read_index_entry_array() - avcodec/apedec: Change avg to uint32_t - avformat/mxfdec: Check component_depth in mxf_get_color_range() - avformat/mov: Disallow duplicate smdm - avformat/mov: Check for EOF in mov_read_glbl() - avcodec/vp3: Check version in all cases when VP4 code is not built - avformat/mov: Check channels for mov_parse_stsd_audio() - avformat/avidec: Check read_odml_index() for failure - avformat/aiffdec: Use av_rescale() for bitrate - avformat/aiffdec: sanity check block_align - avformat/aiffdec: Check sample_rate - avcodec/libdav1d: free the Dav1dData packet on dav1d_send_data() failure - avcodec/zmbvenc: Fix memleak upon init error - avcodec/dnxhdenc: Fix segfault when using too many slice threads - avcodec/wma(dec|enc): Fix memleaks upon allocation error - avfilter/avfilter: Actually error out on init error - avcodec/opus_silk: Remove wrong size information in function declaration - avformat/omadec: Don't output uninitialized values - avformat/jacosubenc: Fix writing extradata - avformat/cafenc: Fix memleak when trailer is never written - avformat/cafenc: Don't segfault upon allocation error - avformat/cafenc: Fix potential integer overflow - avformat/movenc: Limit ism_lookahead to a sane value - avutil/utils: Remove racy check from avutil_version() - avformat/sccdec: Don't use uninitialized data, fix crash, simplify logic - avformat/subtitles: Honour ff_subtitles_read_line() documentation - avformat/tee: Fix leak of FIFO-options dictionary - avformat/tee: Fix leak of strings - avcodec/rasc: Fix potential use of uninitialized value - avfilter/vf_w3fdif: Fix segfault on allocation error - avfilter/af_surround: Fix memleaks upon allocation error - avfilter/af_vibrato: Fix segfault upon allocation error - avfilter/aeval: Fix leak of expressions upon reallocation error - avdevice/xv: Increase array size - avfilter/asrc_flite: Fix use-after-frees - avfilter/asrc_flite: Don't segfault when using list_voices option - Revert "avfilter/vf_idet: reduce noisyness if the filter has been auto inserted" - avformat/matroskadec: Don't unnecessarily reduce aspect ratio - avcodec/h263: Fix global-buffer-overflow with noout flag2 set - avcodec/vaapi_encode: Fix segfault upon closing uninitialized encoder - avcodec/movtextenc: Fix infinite loop due to variable truncation - avcodec/libopenh264dec: Increase array sizes, fix stack-buffer overread - avcodec/libkvazaar: Increase array size - avformat/aadec: Don't use the same loop counter in inner and outer loop - avformat/moflex: Don't use uninitialized timebase for data stream - lavf/udp: do not return an uninitialized value from udp_open() - avcodec/nvenc: zero-initialize NV_ENC_REGISTER_RESOURCE struct - configure: Add missing libshine->mpegaudioheader dependency - avcodec/Makefile: Add missing entry for ADPCM_IMA_AMV_ENCODER - avcodec/Makefile: Only compile nvenc.o if needed - avcodec/av1_vaapi: improve decode quality - avcodec/av1_vaapi: enable segmentation features - avcodec/av1_vaapi: setting 2 output surface for film grain - avcodec/vaapi: increase av1 decode pool size - avcodec/dxva2_av1: fix global motion params - avcodec/av1_vaapi: add gm params valid check - avcodec/av1dec: support setup shear process - avcodec/av1: extend some definitions in spec section 3 - cbs_av1: fix incorrect data type - avcodec/libdav1d: let libdav1d choose optimal max frame delay - avcodec/libdav1d: pass auto threads value to libdav1d
2022-04-20 23:16:01 +02:00
# $NetBSD: Makefile,v 1.23 2022/04/20 21:16:01 wiz Exp $
ffmpeg4/ffplay4: added version 4.0 version 4.0: - Bitstream filters for editing metadata in H.264, HEVC and MPEG-2 streams - Dropped support for OpenJPEG versions 2.0 and below. Using OpenJPEG now requires 2.1 (or later) and pkg-config. - VDA dropped (use VideoToolbox instead) - MagicYUV encoder - Raw AMR-NB and AMR-WB demuxers - TiVo ty/ty+ demuxer - Intel QSV-accelerated MJPEG encoding - PCE support for extended channel layouts in the AAC encoder - native aptX and aptX HD encoder and decoder - Raw aptX and aptX HD muxer and demuxer - NVIDIA NVDEC-accelerated H.264, HEVC, MJPEG, MPEG-1/2/4, VC1, VP8/9 hwaccel decoding - Intel QSV-accelerated overlay filter - mcompand audio filter - acontrast audio filter - OpenCL overlay filter - video mix filter - video normalize filter - audio lv2 wrapper filter - VAAPI MJPEG and VP8 decoding - AMD AMF H.264 and HEVC encoders - video fillborders filter - video setrange filter - nsp demuxer - support LibreSSL (via libtls) - AVX-512/ZMM support added - Dropped support for building for Windows XP. The minimum supported Windows version is Windows Vista. - deconvolve video filter - entropy video filter - hilbert audio filter source - aiir audio filter - aiff: add support for CD-ROM XA ADPCM - Removed the ffserver program - Removed the ffmenc and ffmdec muxer and demuxer - VideoToolbox HEVC encoder and hwaccel - VAAPI-accelerated ProcAmp (color balance), denoise and sharpness filters - Add android_camera indev - codec2 en/decoding via libcodec2 - muxer/demuxer for raw codec2 files and .c2 files - Moved nvidia codec headers into an external repository. They can be found at http://git.videolan.org/?p=ffmpeg/nv-codec-headers.git - native SBC encoder and decoder - drmeter audio filter - hapqa_extract bitstream filter - filter_units bitstream filter - AV1 Support through libaom - E-AC-3 dependent frames support - bitstream filter for extracting E-AC-3 core - Haivision SRT protocol via libsrt - segafilm muxer - vfrdet filter
2018-04-26 09:56:57 +02:00
PKGNAME= ${DISTNAME:S/ffmpeg/ffplay4/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://ffmpeg.org/
COMMENT= Simple SDL frontend for FFmpeg
DISTINFO_FILE= ${.CURDIR}/../ffmpeg4/distinfo
USE_LANGUAGES= c99
ffmpeg4/ffplay4: added version 4.0 version 4.0: - Bitstream filters for editing metadata in H.264, HEVC and MPEG-2 streams - Dropped support for OpenJPEG versions 2.0 and below. Using OpenJPEG now requires 2.1 (or later) and pkg-config. - VDA dropped (use VideoToolbox instead) - MagicYUV encoder - Raw AMR-NB and AMR-WB demuxers - TiVo ty/ty+ demuxer - Intel QSV-accelerated MJPEG encoding - PCE support for extended channel layouts in the AAC encoder - native aptX and aptX HD encoder and decoder - Raw aptX and aptX HD muxer and demuxer - NVIDIA NVDEC-accelerated H.264, HEVC, MJPEG, MPEG-1/2/4, VC1, VP8/9 hwaccel decoding - Intel QSV-accelerated overlay filter - mcompand audio filter - acontrast audio filter - OpenCL overlay filter - video mix filter - video normalize filter - audio lv2 wrapper filter - VAAPI MJPEG and VP8 decoding - AMD AMF H.264 and HEVC encoders - video fillborders filter - video setrange filter - nsp demuxer - support LibreSSL (via libtls) - AVX-512/ZMM support added - Dropped support for building for Windows XP. The minimum supported Windows version is Windows Vista. - deconvolve video filter - entropy video filter - hilbert audio filter source - aiir audio filter - aiff: add support for CD-ROM XA ADPCM - Removed the ffserver program - Removed the ffmenc and ffmdec muxer and demuxer - VideoToolbox HEVC encoder and hwaccel - VAAPI-accelerated ProcAmp (color balance), denoise and sharpness filters - Add android_camera indev - codec2 en/decoding via libcodec2 - muxer/demuxer for raw codec2 files and .c2 files - Moved nvidia codec headers into an external repository. They can be found at http://git.videolan.org/?p=ffmpeg/nv-codec-headers.git - native SBC encoder and decoder - drmeter audio filter - hapqa_extract bitstream filter - filter_units bitstream filter - AV1 Support through libaom - E-AC-3 dependent frames support - bitstream filter for extracting E-AC-3 core - Haivision SRT protocol via libsrt - segafilm muxer - vfrdet filter
2018-04-26 09:56:57 +02:00
CONFIGURE_ARGS+= --disable-ffmpeg
CONFIGURE_ARGS+= --disable-ffprobe
CONFIGURE_ARGS+= --disable-encoders
CONFIGURE_ARGS+= --disable-decoders
CONFIGURE_ARGS+= --disable-hwaccels
CONFIGURE_ARGS+= --disable-muxers
CONFIGURE_ARGS+= --disable-demuxers
CONFIGURE_ARGS+= --disable-parsers
CONFIGURE_ARGS+= --disable-bsfs
CONFIGURE_ARGS+= --disable-protocols
CONFIGURE_ARGS+= --disable-devices
CONFIGURE_ARGS+= --disable-filters
ffmpeg4: updated to 4.0.1 version 4.0.1: - avcodec/aacdec_fixed: Fix undefined integer overflow in apply_independent_coupling_fixed() - avcodec/dirac_dwt_template: Fix undefined behavior in interleave() - avutil/common: Fix undefined behavior in av_clip_uintp2_c() - fftools/ffmpeg: Fallback to duration if sample rate is unavailable - avformat/mov: Only set pkt->duration to non negative values - avcodec/mpeg4videodec: Clear bits_per_raw_sample if it has originated from a previous instance - avformat/movenc: fix recognization of cover image streams - avformat/movenc: properly handle cover image codecs - avcodec/h264_slice: Fix overflow in recovery_frame computation - avcodec/h264_ps: Move MAX_LOG2_MAX_FRAME_NUM to header so it can be used in h264_sei - avcodec/h264_mc_template: Only prefetch motion if the list is used. - avcodec/xwddec: Use ff_set_dimensions() - avcodec/wavpack: Fix overflow in adding tail - avcodec/shorten: Fix multiple integer overflows - avcodec/shorten: Fix undefined shift in fix_bitshift() - avcodec/shorten: Fix a negative left shift in shorten_decode_frame() - avcodec/shorten: Sanity check nmeans - avcodec/shorten: Check non COMM chunk len before skip in decode_aiff_header() - avcodec/mjpegdec: Fix integer overflow in ljpeg_decode_rgb_scan() - avcodec/truemotion2: Fix overflow in tm2_apply_deltas() - avcodec/opus_silk: Change silk_lsf2lpc() slightly toward silk/NLSF2A.c - avcodec/amrwbdec: Fix division by 0 in find_hb_gain() - avcodec/h263dec: Reinitialize idct context if it has not been setup for the active profile - avcodec/idctdsp: Clear idct/idct_add for studio profile - avformat/mov: replace a value error by clipping into valid range in mov_read_stsc() - avformat/bintext: Reduce detection for random .bin files as it more likely is not a multimedia related file - avformat/mov: Break out early if chunk_count is 0 in mov_build_index() - avcodec/fic: Avoid some magic numbers related to cursors - avcodec/mpeg4video: Detect reference studio streams as studio streams - avcodec/mpeg4videodec: Do not corrupt bits_per_raw_sample - avcodec/mpeg4videode: Eliminate out of loop VOP startcode reading for studio profile - avcodec/g2meet: ask for sample with overflowing RGB - avcodec/idctdsp: Transmit studio_profile to init instead of using AVCodecContext profile - avcodec/ac3dec: Check that the number of channels with dependant streams is valid - avcodec/ac3dec: Fix null pointer dereference in ac3_decode_frame() - avcodec/aacdec_fixed: use 64bit to avoid overflow in rounding in apply_dependent_coupling_fixed() - oavcodec/aacpsdsp_template: Use unsigned for hs0X to prevent undefined behavior - avcodec/g723_1dec: Clip bits2 in both directions - avcodec/mpeg4videoenc: Use 64 bit for times in mpeg4_encode_gop_header() - avcodec/mlpdec: Only change noise_type if the related fields are valid - indeo4: Decode all or nothing of a band header. - avcodec/ac3dec: Use frame_size if superframe_size is 0 - avformat/mov: Only fail for STCO/STSC contradictions if both exist - avcodec/dirac_dwt: Fix integer overflow in COMPOSE_DD97iH0 / COMPOSE_DD137iL0 - avcodec/fic: Check available input space for cursor - avcodec/mpeg4videodec: Check bps (VOL header) before VOP for studio profile - avcodec/g2meet: Check RGB upper limit - avcodec/jpeg2000dec: Fix undefined shift in the jpeg2000_decode_packets_po_iteration() CPRL case - avcodec/jpeg2000dec: Skip init for component in CPRL if nothing is to be done - avcodec/g2meet: Change order of operations to avoid undefined behavior - avcodec/flac_parser: Fix infinite loop - avcodec/mpeg4videodec: Split decode_studio_vol_header() out of decode_studiovisualobject() - avcodec/mpeg4videodec: Move decode_studiovisualobject() parsing in the branch for visual object parsing - avcodec/mpeg4video_parser: Avoid litteral 0x1B6, use named constant instead - avcodec/mpeg4video_parser: Fix incorrect spliting of MPEG-4 studio frames - avformat/m4vdec: Use the same constant names as libavcodec - avformat/m4vdec: Fix detection of raw MPEG-4 ES Studio - avcodec/wavpack: Fix integer overflow in DEC_MED() / INC_MED() - avcodec/wavpack: Fix integer overflow in wv_unpack_stereo() - avcodec/error_resilience: Fix integer overflow in filter181() - avcodec/h263dec: Check slice_ret in mspeg4 slice loop - avcodec/elsdec: Fix memleaks - avcodec/vc1_block: simplify ac_val computation - avcodec/ffv1enc: Check that the crc + version combination is supported - configure: The eac3_core bitstream filter needs the ac3 parser. - configure: fix arm inline asm checks - lavf/libssh: translate a read of 0 to EOF - ffprobe: fix SEGV when new streams are added - avformat/mpegts: fix incorrect indentation - avformat/mpegts: initialize section_buf to fix valgrind test failure - avformat/mpegts: reindent after last change - avformat/mpegts: parse sections with multiple tables - avformat/mpegts: clean up whitespace - avformat/mpegts: use MAX_SECTION_SIZE instead of hardcoded value - avformat/mpegts: skip non-PMT tids earlier - avcodec/mediacodecdec: add workaround for buggy amlogic mpeg2 decoder - avcodec/mediacodecdec: wait on first frame after input buffers are full - avcodec/mediacodecdec: restructure mediacodec_receive_frame - avcodec/mediacodec_wrapper: add helper to fetch SDK_INT - avcodec/mediacodecdec: refactor pts handling - avcodec/mediacodecdec: use AV_TIME_BASE_Q - avcodec/mediacodecdec: clarify delay_flush specific code - avcodec/videotoolbox: fix decoding of some HEVC videos - avcodec/hevc: remove videotoolbox hack - avcodec/videotoolbox: split h264/hevc callbacks - avcodec/videotoolbox: cleanups - avcodec/videotoolbox: fix kVTCouldNotFindVideoDecoderErr trying to decode HEVC on iOS - avcodec/videotoolbox: improve logging of decoder errors - avcodec/xwddec: fix palette alpha - avformat/webm_chunk: always use a static buffer for get_chunk_filename - configure: fix configure check for lilv-0 - avcodec/nvdec_hevc: fix scaling lists - avcodec/hevcdec: make ff_hevc_frame_nb_refs take a const pointer - lavf/bluray: translate a read of 0 to EOF - lavf/dashenc: don't call flush_init_segment before avformat_write_header - avdevice/decklink_dec: unref packets on avpacket_queue_put error - avcodec/hnm4video: fix palette alpha - avcodec/anm: fix palette alpha - avformat/qtpalette: parse color table according to the QuickTime file format specs - ffplay: Fix realloc_texture when input texture is NULL. - hwcontext_vaapi: Fix compilation with libva versions < 1.4.0 - lavf/qsv: clone the frame which may be managed by framework - lavf: make overlay_qsv work based on framesync - avformat/segafilm - revert keyframe detection - avformat/utils: refactor upstream_stream_timings - avformat/utils: ignore outlier durations on subtitle/data streams as well
2018-06-16 08:19:32 +02:00
CONFIGURE_ARGS+= --disable-htmlpages
CONFIGURE_ARGS+= --disable-podpages
CONFIGURE_ARGS+= --disable-txtpages
ffmpeg4/ffplay4: added version 4.0 version 4.0: - Bitstream filters for editing metadata in H.264, HEVC and MPEG-2 streams - Dropped support for OpenJPEG versions 2.0 and below. Using OpenJPEG now requires 2.1 (or later) and pkg-config. - VDA dropped (use VideoToolbox instead) - MagicYUV encoder - Raw AMR-NB and AMR-WB demuxers - TiVo ty/ty+ demuxer - Intel QSV-accelerated MJPEG encoding - PCE support for extended channel layouts in the AAC encoder - native aptX and aptX HD encoder and decoder - Raw aptX and aptX HD muxer and demuxer - NVIDIA NVDEC-accelerated H.264, HEVC, MJPEG, MPEG-1/2/4, VC1, VP8/9 hwaccel decoding - Intel QSV-accelerated overlay filter - mcompand audio filter - acontrast audio filter - OpenCL overlay filter - video mix filter - video normalize filter - audio lv2 wrapper filter - VAAPI MJPEG and VP8 decoding - AMD AMF H.264 and HEVC encoders - video fillborders filter - video setrange filter - nsp demuxer - support LibreSSL (via libtls) - AVX-512/ZMM support added - Dropped support for building for Windows XP. The minimum supported Windows version is Windows Vista. - deconvolve video filter - entropy video filter - hilbert audio filter source - aiir audio filter - aiff: add support for CD-ROM XA ADPCM - Removed the ffserver program - Removed the ffmenc and ffmdec muxer and demuxer - VideoToolbox HEVC encoder and hwaccel - VAAPI-accelerated ProcAmp (color balance), denoise and sharpness filters - Add android_camera indev - codec2 en/decoding via libcodec2 - muxer/demuxer for raw codec2 files and .c2 files - Moved nvidia codec headers into an external repository. They can be found at http://git.videolan.org/?p=ffmpeg/nv-codec-headers.git - native SBC encoder and decoder - drmeter audio filter - hapqa_extract bitstream filter - filter_units bitstream filter - AV1 Support through libaom - E-AC-3 dependent frames support - bitstream filter for extracting E-AC-3 core - Haivision SRT protocol via libsrt - segafilm muxer - vfrdet filter
2018-04-26 09:56:57 +02:00
CONFIGURE_ARGS+= --enable-ffplay
CONFIGURE_ARGS+= --enable-dct
CONFIGURE_ARGS+= --enable-mdct
CONFIGURE_ARGS+= --enable-rdft
INSTALLATION_DIRS+= bin ${PKGMANDIR}/man1
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ffplay4 ${DESTDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/doc/ffplay4.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
.include "../../devel/SDL2/buildlink3.mk"
.include "../../multimedia/ffmpeg4/buildlink3.mk"
.include "../../multimedia/ffmpeg4/Makefile.common"