Up to [cvs.NetBSD.org] / pkgsrc / multimedia / mplayer-share
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
mplayer-share: use consistent indentation style (NFC)
Make v4l2 option work on NetBSD.
mplayer-share: Switch to x264 stable
mplayer: Disable jack option (for now)
mplayer: Do not define gnutls option twice
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
mplayer: remove pulse from default options now NetBSD 7 is unsupported and it requires mozjs (and rust) which doesn't work on plaforms such as arm
mplayer-share: Remove esound support.
multimedia: align variable assignments pkglint -Wall -F --only aligned --only indent -r No manual corrections.
mplayer-share: alsa is not a supported option for mencoder so dont suggest it
mplayer: put back pulseaudio to SUGGESTED_OPTIONS. - the default audio output driver (in case no -ao option is specified) on NetBSD is still oss even if pulseaudio is enabled - users can change the audio output driver by "-ao pulse" option or "ao=pulse" in ~/.mplayer/config file, as they did on 1.3.0 packages - SDL (which is in current SUGGESTED_OPTIONS) already depends on pulseaudio by default Bump PKGREVISIONs.
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
Use correct --disable-libopus option.
Add support for libmpg123 (default on) and libopus (default off). libmpg123 is the internally preferred mp3 decoder, according to codecs.conf. The ffmpeg fallback complains a lot about many audio streams, causing stuttering sound. Using mpg123 should avoid that.
* Remove LICENSE (it's not that simple...) * Remove code for no longer supported NetBSD release
Fix crash with screenshot filter. Bump revision Minor changes: * Add LICENSE * Remove trailing white-spaces
mplayer-share: remove default-off arts option arts was removed from pkgsrc
Remove binary-only realplayer-codecs package from 2004.
Add patch from John D. Baker with a workaround for PR 50988: netbsd 6 and up don't require binutils from pkgsrc for ssse3 to work, so don't request it.
Use OPSYSVARS.
Do not "force" dvdread option via "--enable-dvdread" (but let the MPlayer's configure script to autorecognise it). In that way pkg-config will be used to set the CFLAGS and LDFLAGS (while this does not happen via --enable-* for various options). Pointed out by Joyent SmartOS bulk builds.
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.
Build against libdvdnav 5.0 API. Re-enable the inhibited DVD related options. Bump PKGREVISION on the principle of least surprise.
Remove dvdread and dvdnav options for now; mplayer is not compatible to the currene pkgsrc versions (5.x) and I didn't manage to convince it to use the internal copies.
libungif is not relevant any longer since the GIF relevant patents expired (about 10 years ago). Unconditionally switch to libgif. As discussed on tech-pkg without dissent. Bump PKGREVISION.
Remove mplayer-real and mplayer-win32 from suggested options. These pull in proprietary binary blobs which make mplayer fail by default on, e.g., i386.
New option "lirc" for mplayer enabled on systems that support it
make the "debug" option work
As promised a week ago, remove arts and aalib from default suggested options. arts is obsolete and aalib only ever was a nice hack, not something to be enabled by default.
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
libungif/buildlink3.mk -> mk/giflib.buildlink3.mk
Mechanically replace references to graphics/jpeg with the suitable alternative from mk/jpeg.buildlink3.mk This allows selection of an alternative jpeg library (namely the x86 MMX, SSE, SSE2 accelerated libjpeg-turbo) via JPEG_DEFAULT=libjpeg-turbo, and follows the current standard model for alternatives (fam, motif, fuse etc). The mechanical edits were applied via the following script: #!/bin/sh for d in */*; do [ -d "$d" ] || continue for i in "$d/"Makefile* "$d/"*.mk; do case "$i" in *.orig|*"*"*) continue;; esac out="$d/x" sed -e 's;graphics/jpeg/buildlink3\.mk;mk/jpeg.buildlink3.mk;g' \ -e 's;BUILDLINK_PREFIX\.jpeg;JPEGBASE;g' \ < "$i" > "$out" if cmp -s "$i" "$out"; then rm -f "$out" else echo "Edited $i" mv -f "$i" "$i.orig" && mv "$out" "$i" fi done done
PR/37694: add optional support for libcaca. Tested on 4.0/i386.
Update to 20100913, provided by Aleksey Cheusov via wip. One year of changes. Ok ahoka@
Add vdpau option, on the platforms where it is supported. From Aleksey Cheusov in PR 43658.
fix option names
Fix build with dts option: # The configure handling for --enable-libdca is broken. # However, it works if you omit the argument and let # configure autodetect support.
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.
Allow faad options for mencoder as well. From Hiroyuki Bessho in PR 41403.
Unbreak build with pulseaudio support (configure check failed because of missing glib2 dependency).
Backport PulseAudio driver from MPlayer SVN.
Enable tv-v4l2 support on NetBSD.
Add faac option (disabled by default
--enable-x264 confuses the configure script, it's better to avoid it and let it find out for itself. Fixes mencoder build. Reported and fixed by David Sainty.
If using the mplayer-ssse3 option, then include override-as.mk from binutils.
Add x264-devel include, seems to be needed after all.
Add x264 option and default it to on (since it occurs no additional dependencies). Bump PKGREVISION.
`xvid' also works on sparc64. Rearrange the options to account for this.
Added "debug" option.
Add vidix option, only for Linux. Fixes build on NetBSD/amd64.
disable ssse3 in the standard case, this makes the pkg build on NetBSD because ssse3 needs a newer assembler than we have, add an option to enable it, which pulls in devel/binutils to get a recent assembler
Update "mplayer", "mplayer-share", "mencoder" and "gmplayer" packages to version 1.0rc2 (as 1.0rc10). Changes since version 1.0rc1 (known as 1.0rc9 in "pkgsrc"): - A lot of new audio and video decoders and other improvements - A large number of bug fixes - Updated documentation - Support for Mac OS X Intel Approved by Thomas Klausner (because it fixes the Darwin-i386 build).
If the *mplayer* packages are going to default to setting cflags to target a pentium pro if mplayer-runtime-cpudetection is enabled then at least put it under an option so it can be turned off: mplayer-default-cflags For example, all of my machines are p3 or better, so I prefer to use "-march=pentium3 -mfpmath=sse -msse2", but I still want mplayer-runtime-cpudetection to handle amd64 / Intel core at runtime.
Enable runtime CPU detection on PowerPC-based platforms, too. This allows using an "mplayer" binary built on a G5 based Mac OS X system on e.g. a G4 based Mac OS X system.
Remove the external vorbis dependency as the internal implementation based on tremor is used by default. In the long term, it might end up replaced with the ffmpeg version as well. Noticed in PR 31587. Bump revision.
Update mplayer-share, mplayer, mencoder, and gmplayer to 1.0rc9 (which is upstream 1.0rc1, but we already used rc for the previous versions). With valuable help from drochner, thanks! ChangeLog: MPlayer 1.0rc1: "Codename intentionally left blank" DOCS: * German documentation translation finished * Russian documentation translation synced and almost finished Drivers: * IVTV hardware MPEG audio/video decoder output * ALSA audio output: AC3 passthrough now works even when the device name of the digital output port has been set by the user * bicubic OpenGL scaling works with ATI cards * md5sum switched to the libavutil MD5 implementation * support for libcaca 1.0 via compatibility layer Decoders: * liba52 updated to 0.7.4 (slightly faster) * SSE optimizations for mp3lib * removed support for obsolete and non-free divx4 libraries Demuxers: * audio stream switching in MPEG-TS/PS, Matroska and streams supported by libavformat * audio stream switching between streams with different codecs * libavformat demuxer now honors -alang * chapter seeking in Matroska files * fixed seeking to absolute and percent position for libavformat demuxer * NUT demuxer using libnut * Matroska SimpleBlock support Inputs: * split of stream layer from libmpdemux to new stream library * PVR input for hardware MPEG encoder based cards, such as Hauppauge WinTV PVR-150/250/350/500 AKA IVTV but also pvrusb2 and cx88 (requires Linux >= 2.6.18 kernel, featuring native V4L2 MPEG API) * native RTSP input (handles MPEG-TS over RTP) for generic RTSP servers * support for seeking to chapters in dvd:// and dvdnav:// streams * radio support (radio://) FFmpeg/libavcodec: * VC-1/WMV3/WMV9 video decoder * Vorbis decoding speedup, now default Vorbis decoder * VMware Video decoder * On2 VP50 and VP62 decoder * lossless audio decoders: WavPack, TTA, Shorten * CAVS decoder * GXF muxer/demuxer * MXF demuxer * much improved FLAC encoder * more H.264 decoding speed improvements, plus support for -lavdopts fast * Theora decoder fixes * preliminary Vorbis encoder * MTV demuxer GUI: * Windows version added * drag-and-drop ignored last file * save and load cache setting correctly * working audio stream selection for Ogg and Matroska files * executable names like gmplayer_old etc. will now start GUI as well * -gui/-nogui options * xinerama fixes, now behaves similar to MPlayer without GUI Filters: * MMX-optimizations for -vf yadif * MMX-optimizations for -vf zrmjpeg MEncoder: * support of x264 encoding via libavcodec * rewrite -x264encopts option parser to use the 264 option parser; likely breaks 3rd party tools as the syntax of some options has changed * removed support for obsolete and non-free divx4 libraries Ports: * partial Intel Mac support, --disable-win32 --disable-mp3lib is needed * OpenGL can now create windows > screen size under Windows * allow filenames starting with \\ for remote paths on Windows Others: * SSA/ASS subtitle renderer * -endpos option for MPlayer * -correct-pts option * UTF-8 used for OSD and subtitles, some bitmap fonts will no longer work correctly and -subcp must be set for all non-UTF-8 subtitles * more audio-truncation fixes * libavutil mandatory for MPlayer compilation * more intuitive -edlout behaviour * -nortc is now default since -rtc has disadvantages with recent kernels
Only support mplayer-win32 on i386 (for now). The codecs package is restricted to i386. From rudolf on pkgsrc-users.
Don't offer the "oss" option on platforms which don't support OSS. This fixes the build under Mac OS X. Sounds playback works fine via the "macosx" audio driver on this platform.
Allow xvid option on x86_64, too. Suggested by Eye of the Beholder on pkgsrc-users.
Replace references to ossaudio.buildlink3.mk with oss.buildlink3.mk. Remove deprecated ossaudio.buildlink3.mk.
Convert aalib to options framework, adding an 'x11' option, and remove aalib-x11 and aview-x11. SDL dependencies change, so bump PKGREVISION (and BUILDLINK_RECOMMENDED) for affected packages. Addresses PR 32046 by Leonard Schmidt.
Add DTS support via libdca, not enabled by default.
Add mplayer-internal-faad option to use mplayer's internal faad library. The default is to depend on an external faad library, so bump PKGREVISION.
Add mplayer option for faad2, which uses faad2 from pkgsrc.
Reverted the last change. Added a comment to why that changed had broken things.
Replaced an overly complex expression with the roughly equivalent ${PKGBASE}.
Remove some more *LEGACY* settings that are over a month old and thus were before 2005Q3.
Add ggi option for mplayer, from Christoph Egger in private mail.
Fix compilation with aalib option.
Add an aalib option to mplayer. Patch from Leonard Schmidt on tech-pkg.
Legacy option settings belong to PKG_LEGACY_OPTIONS, not PKG_SUGGESTED_OPTIONS. Store warnings in PKG_OPTIONS_DEPRECATED_WARNINGS.
- only include supported options in PKG_SUGGESTED_OPTIONS - don't include deprecated variables in BUILD_DEF - no need to .undef .for loop variables
Check that PKGNAME is defined before using it.
Convert the mplayer* and mencoder* packages to the options framework. This means that the MPLAYER_ENABLE_RUNTIME_CPU_DETECTION, MPLAYER_DISABLE_DRIVERS and MPLAYER_USE_MEDIALIB become deprecated (although still recognized). Visible changes in the resulting binary packages should be minimum by default (everything that was enabled before still is, and the same dependencies are kept). A notable addition, though, is the support for user-defined menus, closing PR pkg/29784. Also note that (almost) all dependencies have now a corresponding option to disable them in case you want to get a minimalist mplayer package. 'make show-options' is your friend ;) With thanks to wiz@ and dillo@ for their comments and help.