Commit graph

97 commits

Author SHA1 Message Date
nia
24312fcc60 mplayer, related packages: update to 1.5
some changes to attempt to make mplayer in pkgsrc less
"absurdly complicated"

  1.5: "Hope" February 27, 2022

    Decoders, demuxers, streams:
    * ffmpeg12vpdau is no longer supported by FFmpeg,
      provide separate ffmpeg1vpdau and ffmpeg2vdpau instead
    * live555 deprecated and disabled by default, will be removed
      in future

    GUI:
    * Fix wrongly sized video window after leaving fullscreen mode
    * Clear screen when switching to fullscreen mode using the x11
      video output driver
    * Command line option -fs is now recognized in addition to the
      GUI option load_fullscreen
    * Use correct visual in OpenGL video output driver for X11
    * Provide a built-in skin so that the GUI can be used even
      without an installed skin
    * Native Language Support, i.e. the GUI language can be changed
      as specified in LC_MESSAGES or LANG
    * Minor bug fixes

    Other:
    * Building on Arm now compiles for the ISA and extensions of the
      host CPU by default. This should avoid issues like builds on
      e.g. Raspbian not using NEON by default.
      Can use --enable-runtime-cpudetection to restore the previous
      behaviour, though full runtime CPU detection is not supported.
    * New configure option --enable-nls for Native Language Support at
      runtime (for the moment only for the GUI and enabled by default
      for it)
    * macOS: Fixes for retina display, sluggish input processing
2022-04-24 15:00:42 +00:00
ryoon
588ba8ece6 mplayer: Fix build with multimedia/ffmpeg4-4.4
Bump PKGREVISION.
2021-04-10 13:06:50 +00:00
nia
98f9a30446 mplayer: Update to 1.4
pkgsrc changes:

* Set autosync = 30 by default to fix choppy video with NetBSD's new
  audio system.
* Remove PulseAudio and legacy sound servers (nas, esd) as defaults.
  Consistent with mpv.
* Add an alsa option and enable it by default on Linux.
* Disable all codecs by default and just use ffmpeg instead.
  Allows distribution restrictions based on patents to be removed.
  Tested with a variety of common file formats.
  Consistent with other packages (e.g. FreeBSD Ports).
  While here, upgrade to ffmpeg4.

Upstream changes:

  1.4: "SubCounter" April 18, 2019

    Decoders, demuxers, streams:
    * More pixel formats are supported for VP9, RSCC, Screenpresso
    * pvr:// support for the Hauppauge HD PVR model 1212
    * Speed up detection of mpg format while streaming (limit probe to 4 MB)
    * demuxer: fall back to audio pts if all others are unavailable (#1928)
    * raw video: add support for < 8bpp RGB, support for paletted raw video,
      fix fliped raw video in non-avi containers
    * increase -lavdopts threads limit to 32
    * warn for badly interleaved files, and make -ni more aggressive
    * support GBR pixel formats for HEVC
    * FFmpeg audio decoders: g721, g732
    * FFmpeg video decoders: more Matrox mpeg2 formats (M702-3-4-5), Truemotion
      RT, Matrox Uncompressed SD/HD, BitJazz SheerVideo, YUY2 Lossless Codec
      Apple Pixlet, ScreenPressor, FM Screen Capture Codec
    * FFmpeg IFF video/image decoders: ANIM, ILBM, PBM, RGB8, RGBN

    Fixes:
    * fix more issues reported by Coverity
    * expand error checking, and fix many memleaks
    * fix -subcp enca: with external ASS subtitles (#2281)
    * fix reading of bitmap fonts
    * fix -subdelay applied inverted
    * some fixes for video filter bmovl (#2304, #2308)
    * fix timing of first and last frame (#2315)

    Other:
    * MPlayer can link against OpenSSL instead of GnuTLS for https support
      (Warning: the resulting binary can not be redistributed)
    * OSD: NV12/NV21 support
    * video output xv: NV12/NV21 support
    * video outputs for OSX: fix a few issues with newer OSX versions

    GUI:
    * No limitation on the number of entries in a font description file
    * Dramatic speedup of scanning font description files
    * Playback improvements for cue sheet playlists
    * Implementation of audio playback utilizing ReplayGain data
    * New symbol character 'g' and new dynamic label variable $g
    * Skins can leave current volume unchanged at startup
    * New configuration file: gui.gain
    * Modern new icons for the (default) menu, the file selector,
      the playlist and the message boxes
    * Rearrangement of some items of the (default) menu
    * Fix of broken evLoadAudioFile, evLoadSubtitle and evDropSubtitle
    * Skin support for 8-bit PNGs with palette
2019-06-04 13:39:38 +00:00
tsutsui
be390011b0 mencoder, mplayer, gmplayer: use /dev/audio for OSS on NetBSD/OpenBSD.
- See PR/54229 about misuse of NetBSD's /dev/sound for OSS.
- OpenBSD's /dev/sound seems removed since 6.1:
  https://man.openbsd.org/OpenBSD-6.1/audio.4

Bump PKGREVISIONs.
2019-06-02 09:48:10 +00:00
tsutsui
47b9ce89c8 mencoder, mplayer, gmplayer: restore text relocation fix for NetBSD/i386.
It seems lost in the previous patch-aa -> patch-configure rename.
Bump PKGREVISION to rebuild binaries.
2019-01-12 15:26:42 +00:00
mrg
2193ea6c44 make this build on arm64. just needed to be able to map from
evbarm -> arm|aarch64.

actually works pretty well.
2018-11-10 03:48:51 +00:00
tsutsui
c2c1348491 mencoder, mplayer, gmplayer: avoid text relocations on NetBSD/i386 8.0.
* specify --disable-sse4 to avoid non-PIE asm ops in libmpcodecs/vf_ass.c
  that cause text relocations on NetBSD/i386
* explicitly pull pkgsrc/multimedia/libass to avoid internal libass
  (which seems usually enabled by configure's autodetect)
* specify -fpic in configure for NetBSD/i386 to enable __PIC__ blocks
  in some sources
* while here, use -mtune rather than -mcpu for not only gcc4 but
  also 5.x and later

Bump PKGREVISIONs.  Ok'ed by wiz@ in PR pkg/53319.
2018-05-27 15:27:13 +00:00
triaxx
d26332f3da Fix crash with screenshot filter.
Bump revision

Minor changes:
* Add LICENSE
* Remove trailing white-spaces
2018-04-04 11:02:07 +00:00
ryoon
9acad6bc40 Fix build with ffmpeg 3.4 2017-10-23 10:38:22 +00:00
leot
343c2bf2ae Update multimedia/{gmplayer,mencoder,mplayer,mplayer-share} to 1.2.1.
pkgsrc changes:
 o Switch all mplayer packages to use multimedia/ffmpeg2 instead of the
   version bundled with MPlayer. This will make maintainership of mplayer
   packages probably a bit easier (and it's particular relevant when dealing
   vulnerability issues). Discussed with wiz@.
 o Adjust CONFIGURE_ARGS and other part of the Makefile* to reflect the switch
   to multimedia/ffmpeg2.

Changes:
  1.2.1:
    Fixes:
    * misc GUI fixes
    * fix build regression in FreeBSD
    * fix many crashes with fuzzed files
    * fix errors for multichannels files and pulseaudio >= 6
    Other:
    * building with system FFmpeg libs is possible without a local copy of
      of private FFmpeg headers
    * docs building does not require FFmpeg anymore
    * FFmpeg updated to 2.8.5
2016-02-07 13:34:33 +00:00
leot
33383c2b01 Update gmplayer, mencoder, mplayer and mplayer-share to 1.2.
pkgsrc changes:
 * Various misc fixes (thanks to pkglint)
 * Do not pass --with-dvdread-config and --with-dvdnav-config, the
   dvdread-config and dvdnav-config seems that no longer exist.
 * Avoid to pass --enable-libvorbis otherwise libvorbis can not be recognised by
   the mplayer configure script.
 * (re)Use patches from multimedia/ffmpeg2 instead of using mplayer-specific
   ones

Changes:
1.2: "FrameCounter"
  Decoders:
  * Hardware accelerated decoding on OS X via VDA.
  * Internal libmpeg2 disabled by default, on the assumption
    that nobody really needs it anymore.

  Other:
  * "run" slave/keybinding command now supports expanding properties
  * better support for > 8 bit formats in -vo gl
  * support for XYZ color space in -vo gl
  * -vo gl now supports OSD (not EOSD though) with GLES backend.
  * GLES backend now uses GLES v2 with YUV support via shaders
  * -vo gl supports rotated display without needing video filters via
    -monitor-orientation command-line option.
  * -vo gl now has an OSX/Cocoa backend, so it should be a better
    alternative to -vo corevideo now.
  * -vo gl2 renamed to -vo gl_tiled to stop people from assuming it is
    better than -vo gl (it is in many ways worse).
  * Fixes for DVB, teletext and closed-caption based subtitles.
  * Support teletext and CC subtitles in WTV.
  * Support binding keys corresponding to non-ASCII characters.
  * Limited -endpos support for -dump*
  * Danish messages header file renamed from help_mp-dk.h to help_mp-da.h
    in order to comply with ISO 639 language code (configure language
    options will now require da instead of dk)
  * configure: options --enable-gtk1, --with-glib-config= and
    --with-gtk-config= removed
  * Change ID3 genre name for genre ID 67 from "Psychadelic"
    to "Psychedelic"
  * support for audio bin/cue images

  Ports:
  * Windows: support file names as UTF-8 in slave mode and passing
    file names as wchar command line arguments.
  * Android: MPlayer can be run from adb shell and display videos
    via OpenGL ES.
    Note that just a bit of seeking etc. would cause reproducible
    system reboots after just a few seconds on my Galaxy S2.
  * Android: -wid is supported. This should allow using MPlayer in slave
    mode, a native window pointer needs to be passed as -wid. Untested.

  GUI:
  * Support for TV/DVB
  * Various improvements of the context menu and the preferences dialog
  * Revision of the user interface texts
  * Console message with information on deprecated (but still supported)
    entries in the skin configuration file
  * New symbol character (r) and new dynamic label variables ($D, $U, $P)
  * New items (pimage, rpotmeter)
  * Updated skins (avifile, Blue, Blue-small, Clearlooks, Corelian,
    disappearer, mentalic, mplayer_red, nativeRed, neutron, phony, plastic,
    slim, softgrip, standard, trium, tvisor, xanim)
  * Video can be rotated
  * New GUI message: evSetRotation
  * GUI now officially needs GTK+ and GLib versions 2 (it hadn't compiled
    with versions 1 for quite some time)
  * Support for audio and video bin/cue image playback
  * Support for Audio CD / (Super) Video CD / DVD image and DVD copy playback
    through the respective scheme (cd://, vcd://, dvd://)
  * Support for arbitrary non-binary data file cue sheets (i.e. cue sheets
    describing playlists for data files containing multiple titles)

  FFmpeg:
  * Version 2.8 with local patches

Thanks to wiz@ for misc private discussion.
2015-11-21 09:47:23 +00:00
dsainty
aa7d1f9b70 Build against libdvdnav 5.0 API.
Re-enable the inhibited DVD related options.

Bump PKGREVISION on the principle of least surprise.
2015-04-05 08:27:08 +00:00
joerg
c88614e105 Add missing end-of-function marker. Use CFI on NetBSD/ARM.
Don't redefine exported symbols immediately.
2015-03-24 14:27:20 +00:00
martin
042dc98fa4 Fix linking of gmplayer by providing a definition for a common "dvd_angle". 2014-10-09 14:48:51 +00:00
drochner
6ff98b280b add patch from ffmpeg to fix the recent LZO integer overflow
bump PKGREV
2014-06-27 15:58:44 +00:00
jperkin
d23787ace2 Explicitly disable HAVE_7REGS on SunOS, it enables certain optimisations
which do not compile.
2014-06-27 12:56:16 +00:00
wiz
5ce68b108e Fix build of mplayer packages on Mac OS X Mavericks.
Patch provided by Jan Danielsson on pkgsrc-users.
Also addresses PR 48943 by Youri Mouton.
2014-06-24 12:03:41 +00:00
wiz
a491d92d59 Fix build with giflib-5.1. 2014-05-16 09:43:30 +00:00
ryoon
e8db566288 Update to 1.1.1
* Fix build with giflib 5.0.4.

Changelog:
* Security update.
  I cannot find detail.
2013-07-06 07:07:18 +00:00
jmcneill
45f7dde48d Fix configure script to correctly identify the host architecture on
NetBSD/evbarm.
2013-01-12 11:55:35 +00:00
drochner
733c889cdf make the "debug" option work 2012-11-29 17:27:17 +00:00
wiz
d9c308a7ee Remove another obsolete patch (x264 has been new enough for quite some time) 2012-06-11 21:59:42 +00:00
wiz
1f5e12e39a Remove obsolete patch (same code is a bit lower in the same file)
for security problem from 2009.
2012-06-11 21:56:07 +00:00
wiz
5e4b11b1af Add comments to patches. From Leonardo Taccari in private mail.
XXX:
patch-ae and patch-sub_osd.c (OS X support) need to reviewed if
they are still needed.
The same holds for patch-ve_x264
2012-06-11 21:55:34 +00:00
wiz
f288ae9d3e Update mplayer packages to 1.1, provided by Leonardo Taccari in PR 46566.
Pkgsrc changes:
* Fix some pkglint(1) warnings (no functional changes intended)
* Modified options.mk in order to always enable or disable a
  PKG_SUPPORTED_OPTION (for more information please give a look to
  the second "Note" of options.mk)
* Removed the mplayer-internal-faad PKG_SUPPORTED_OPTION, now faad support is
  only enabled via audio/faad2.
* Changed MASTER_SITES, now MPlayer distfile is fetched directly from its
  mirror.

MPlayer changes:

  1.1: "We gave up on 1.0"

    Decoders:
    * FFmpeg AAC decoder is now preferred over libfaad2 and the internal
      libfaad2 forked copy has been removed in its favor

    Demuxers:
    * experimental support for using binary Quicktime codecs with -demuxer lavf.
    * correct runtime and average bitrate for VBR (variable bitrate) MP3

    Filters:
    * delogo: allow to change the rectangle based on the time.
    * lavfi: libavfilter filter graphs (experimental).

    Other:
    * support adding noise at output resolution with -vo gl:noise-strength=8
    * experimental support for OpenGL ES 1.0 in -vo gl
    * support for PGS (BluRay-compatible), DVB and XSUB subtitles.
    * af_cmdline slave command to change e.g. audio equalizer options at runtime.
    * vo x11: don't hide or show cursor any more if attached to an existing window (-wid)
    * try reconnecting network streams e.g. after network timeouts
    * lots of bug fixes as always (and surely a few new bugs, too :-( )

    GUI: Support for the GUI continues.
    * numerous fixes, improvements and updates
    * UTF-8 support
    * all skin messages available as slave commands (gui <message>)
    * fancy new icon

    Ports:
    * Wine (see DOCS/tech/crosscompile.txt)

    MEncoder:
    * -force-key-frames option to set explicit seek points.

MPlayer (1.0)

  rc4: "Yes We Can"

    GUI: Changes towards removing the GUI
    * The GUI will no longer display any error or warning messages.
    * Special GUI slave commands (gui_*) were removed, along with
      the related key bindings.

    Decoders:
    * YUY2 Lossless Codec (YLC0) via binary DLL
    * Truemotion RT codec (TR20) via binary DLL
    * Nogantech Codec (NTN1 and NTN2) via binary DLL
    * add new FourCCs (m1v1, yuvs, VYUY, Y42B, V422, YUNV, UYNV, UYNY, uyv1,
      2Vu1, P422, HDYC, IJLV, MVJP)
      TwoCCs (0xA106, 0x6c75, 0xAAC0, 0x55005354)
      to existing decoders
    * AMR now handled via OpenCORE decoder
    * updated Windows Media Screen Codec (MSS1, MSS2) via binary DLL
    * CoreAVC H.264 decoder via binary DLL (Windows only)
    * Kega Game video codec (KGV1) via binary DLL
    * SoftLab-NSK Forward MPEG-2 I-frames (SLIF) via binary DLL
    * JPEG 2000 support via OpenJPEG
    * internal liba52 copy removed
    * CineForm HD (CFHD) via binary DLL
    * VP8 en-/decoding through libvpx wrapper and native decoder in FFmpeg
    * support for external libmpeg2 added
    * hardware MPEG decoder priority lowered
    * external libmpg123 support

    Demuxers:
    * Mostly fixed timing issues with some H.264 (PAFF) samples
    * Matroska and Ogg demuxers switched to use libavformat by default.
      Report issues and use -demuxer ogg and -demuxer mkv to work around them.
    * support for TrueHD in Blu-ray streams in libmpdemux
    * more Blu-ray codec support with lavf
    * fix length in ASF/WMV files
    * support ISDB-Tb DVB streams

    Filters:
    * remove vf_yuy2, functionality is replaced by -vf format=yuv2
    * remove vf_rgb2bgr, functionality is replaced by sws and vf_format

    Streaming:
    * Support for unencrypted Blu-ray playback through libbluray.
      Use it through: mplayer br:////path/to/disc

    Drivers:
    * -vo yuv4mpeg:interlaced no longer does its own interlaced RGB->YUV
      conversion. Use -vf scale=::1 to keep the same behavior and report
      if there are any issues with that.
    * X11: Window manager chooses Window position by default.
      Add geometry=50%:50% to your configuration to get the old behavior.
    * -vo md5sum md5 calculation changed so output matches FFmpeg's -f framemd5
    * Support for more formats in OpenGL video output drivers (different YUV
      subsampling, 16 bit per component)
    * Selectable YUV to RGB conversion standard for -vo gl
      (-vo gl:colorspace=...:levelconv=...)
    * -vo gl now tries to use yuv=2 by default if possible
    * -vo gl:stereo=... for experimental stereo (3D) support
    * -vo matrixview finally added
    * add OS/2 KAI audio driver (-ao kai)

    Other:
    * -nosub option for disabling auto-selected subtitles
    * support for displaying subs in the terminal (FIXME)
    * support for subtitles with audio-only files
    * support for right-to-left languages with embedded subtitles
    * support for UTF-16 encoded external subtitles
    * support for 8 channel audio
    * sync dvd:// and dvdnav:// features
    * support for MPEG-4 ASP in VDPAU video output (non-B-frame only)
    * support for live and non-live DVB teletext with demuxer lavf
    * -name, -title and -use-filename-title options for MPlayer
    * support for stream handling via FFmpeg, in particular RTMP and RTSP
      (use e.g. ffmpeg://http://example.com/test)
    * experimental support for external libass, configure with
      --disable-ass-internal
    * better support for 16-bit-per-component formats and formats
      with alpha channel
    * better out-of-the-box support for compiling for ARM, IA64,
      MinGW32 and MinGW-w64, MinGW has ASLR enabled with recent
      enough binutils
    * libdvdcss synced with upstream Subversion snapshot

    MEncoder:
    * add -tsprog for demuxer lavf
2012-06-11 13:41:12 +00:00
drochner
d3ba1f078f add patch from ffmpeg to fix an integer signedness error in CAVS codec
which can cause crashes or possibly allow code execution
(CVE-2011-3362)
bump PKGREV
2011-11-02 16:35:14 +00:00
jmcneill
b218fe1951 If AUDIO_GETBUFINFO is available, use it whenever possible in preference
to AUDIO_GETINFO. This should reduce playback CPU usage.
2011-10-24 13:06:05 +00:00
drochner
23f5b8d34a add patch from upstream to fix possible buffer overflow in "sami"
subtitle reader
bump PKGREV
2011-10-18 16:04:35 +00:00
jmcneill
fc706f41c7 add support for dvb capture on netbsd 2011-07-09 15:51:51 +00:00
wiz
56d4c849e9 Fix build with png-1.5. 2011-01-14 10:44:27 +00:00
tsutsui
1709b19b81 Make mplayer build on NetBSD/sh3el.
Build tested on NetBSD/landisk 5.1 and player tested on NetBSD/dreamcast 5.1.
(though some more packages need hacks/fixes for XFree86 and SH3)
2010-12-05 16:42:16 +00:00
tron
34ce035ceb Add fix for the vulnerability reported in CVE-2010-3429 taken from
MPlayer's GIT repository.
2010-11-23 12:31:29 +00:00
wiz
17c8d7c079 Update to 20100913, provided by Aleksey Cheusov via wip.
One year of changes.
Ok ahoka@
2010-09-16 18:56:11 +00:00
wiz
c9c8a67927 Fix build on Solaris, from Aleksey Cheusov in PR 43841. 2010-09-05 23:00:55 +00:00
hasso
951f97d078 Fix build on DragonFly. 2009-11-07 18:43:36 +00:00
ahoka
0017ba3d86 Take 2 on trying to make this work on OSX. 2009-10-19 00:13:07 +00:00
ahoka
eb62daeb5c Upgrade to the SVN snapshot as of 2009-10-17.
The builtin libavcodec now uses yasm to assemble hand written
h264 code. The older x264 we currently have in pkgsrc is not supported
by mplayer, so I had to do some hand tweaking to make it work.
It may contain bugs because of this, so report any fallouts with h264.
2009-10-18 22:22:10 +00:00
wiz
abe1cb8415 Add RCS Id and comment. 2009-08-09 19:20:49 +00:00
kefren
9aaa49e196 add fix for SA26157. Bump PKGREVISION 2009-08-09 12:56:11 +00:00
jmcneill
c876c652bf Map mipsel/mipseb -> mips in the configure script. 2009-03-06 01:33:12 +00:00
drochner
497cc0cdd9 -add a patch from upstream to fix CVE-2008-3162
(stack-based buffer overflow in the str_read_packet function in
   libavformat/psxstr.c)
-add (a modified version of) the ffmpeg 4xm patch which fixes
 possible memory corruption
bump PKGREVISION
2009-02-02 19:20:48 +00:00
jmcneill
86cc8e0b1a Backport PulseAudio driver from MPlayer SVN. 2008-12-20 00:43:47 +00:00
bjs
2517bc1e7c Add patch for new x264. 2008-12-18 16:44:27 +00:00
tron
b44f83d476 Add security patch from MPlayer SVN repository to fix a buffer overflow
in the TwinVQ media file decoder.
2008-12-15 15:37:58 +00:00
wiz
1f47c55f9b Add a patch for better VCD support from Sergey Svishchev.
Fixes PR 20549.
2008-10-20 07:40:00 +00:00
tron
ae280acc04 Apply patch from MPlayer subversion repository to fix CVE-2008-3827.
Bump package revisions of "mplayer", "gmplayer" and "mencoder" packages.
2008-10-02 12:32:41 +00:00
jmcneill
7802e5d74a Fix corrupt patch-vb 2008-09-09 12:13:13 +00:00
jmcneill
aba6b5e838 Add $NetBSD$ 2008-09-09 12:07:45 +00:00
jmcneill
ebc89222de Enable tv-v4l2 support on NetBSD. 2008-09-09 01:11:53 +00:00
tonnerre
634506bef2 Add a patch for CVE-2008-1558 to mplayer. This fixes a buffer overflow in
the RealRTSP SDP code which can be exploited to execute arbitrary code
remotely.
2008-05-11 03:46:24 +00:00