Changeset 1ce23b854fd7bf0805f1cdd5969ac8c2ead2d5c3
- Timestamp:
- 04/20/04 03:00:29
(4 years ago)
- Author:
- Derk-Jan Hartman <hartman@videolan.org>
- git-committer:
- Derk-Jan Hartman <hartman@videolan.org> 1082422829 +0000
- git-parent:
[aff2275604f2aba8da89b9ec6bffaed40dee02df]
- git-author:
- Derk-Jan Hartman <hartman@videolan.org> 1082422829 +0000
- Message:
* extras/contrib/src
- fix goom location
- some small url improvements. please test the contrib system.
* modules/gui/macosx/*
- autodetect Quartz Extreme. Use OpenGL vout if present.
- --macosx-vout auto|quartz|opengl to force a vout.
* Makefile.am: add share/http/vlm to target.
* NEWS: small updates
* AUTHORS: updated my email address.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| rb0e050e |
r1ce23b8 |
|
| 169 | 169 | |
|---|
| 170 | 170 | N: Derk-Jan Hartman |
|---|
| 171 | | E: thedj@users.sourceforge.net |
|---|
| | 171 | E: hartman@videolan.org |
|---|
| 172 | 172 | C: hartman |
|---|
| 173 | 173 | D: Mac OS X interface |
|---|
| rfab59c0 |
r1ce23b8 |
|
| 508 | 508 | $(INSTALL) -m 644 $${i} $(top_builddir)/VLC.app/Contents/MacOS/share/http/`basename $${i}` ; \ |
|---|
| 509 | 509 | done ; \ |
|---|
| | 510 | $(INSTALL) -d $(top_builddir)/VLC.app/Contents/MacOS/share/http/vlm |
|---|
| | 511 | for i in $(srcdir)/share/http/vlm/* ; do \ |
|---|
| | 512 | $(INSTALL) -m 644 $${i} $(top_builddir)/VLC.app/Contents/MacOS/share/http/vlm/`basename $${i}` ; \ |
|---|
| | 513 | done ; \ |
|---|
| 510 | 514 | $(INSTALL) -d $(top_builddir)/VLC.app/Contents/MacOS/share/http/admin |
|---|
| 511 | 515 | for i in $(srcdir)/share/http/admin/* ; do \ |
|---|
| raff2275 |
r1ce23b8 |
|
| 7 | 7 | * Bookmarks feature for easier seeking/access inside medias. |
|---|
| 8 | 8 | * Support for video output embedded in interfaces. |
|---|
| 9 | | * Improved http daemon. |
|---|
| | 9 | * Improved HTTP daemon |
|---|
| 10 | 10 | |
|---|
| 11 | 11 | Codecs: |
|---|
| 12 | 12 | * New Continuous Media Markup Language (CMML) codec. |
|---|
| 13 | 13 | (http://www.annodex.net/overview.html) |
|---|
| 14 | | * New h261 video decoder using openmash. |
|---|
| | 14 | * New H.261 video decoder using openmash. |
|---|
| 15 | 15 | * Packetizer interfaced between demux and codec when needed |
|---|
| 16 | 16 | (allows using ffmpeg plugin to decode MPEG streams and better aac decoding). |
|---|
| 17 | 17 | |
|---|
| 18 | 18 | Input: |
|---|
| 19 | | * mmsh streaming fixes. |
|---|
| 20 | | * subviewer and subviewer v2 subtitles support. |
|---|
| 21 | | * Annodex support (http://www.annodex.net). |
|---|
| | 19 | * --start-time <sec> and --stop-time <sec> to start and stop playing a |
|---|
| | 20 | file at the specified amount of seconds. Only works with a few |
|---|
| | 21 | fileformats (avi, mov, mkv, mp4 ) |
|---|
| | 22 | * Improved directory access module. |
|---|
| 22 | 23 | * New "file-cat" option to play truncated movies. |
|---|
| 23 | 24 | * Better handling of meta info (title, author, description, etc...). |
|---|
| 24 | 25 | * New options to pass meta info to the input. |
|---|
| 25 | | * New start-time and stop-time options. |
|---|
| | 26 | |
|---|
| | 27 | Demux: |
|---|
| | 28 | * Annodex (http://www.annodex.net) support |
|---|
| | 29 | * Subviewer and subviewer v2 subtitles support. |
|---|
| | 30 | * mmsh streaming fixes. |
|---|
| 26 | 31 | |
|---|
| 27 | 32 | Stream output: |
|---|
| 28 | 33 | * Improved session announcement system. |
|---|
| 29 | | * Minimize threads useage by default. |
|---|
| | 34 | * Minimize threads usage by default. |
|---|
| 30 | 35 | * Added faster than realtime stream output (limited by CPU) for file output. |
|---|
| 31 | 36 | * Improved MOV/MP4 muxer. |
|---|
| … | … | |
| 37 | 42 | * New videolan (media) manager (vlm): a little manager designed to launch |
|---|
| 38 | 43 | and manage multiple streams from within one instance of VLC. |
|---|
| | 44 | * Supports live streams and VoD. |
|---|
| | 45 | * Supports scheduling. |
|---|
| 39 | 46 | * Telnet interface for vlm. |
|---|
| 40 | | * Http interface for vlm. |
|---|
| | 47 | * HTTP interface for vlm. |
|---|
| 41 | 48 | |
|---|
| 42 | 49 | Interfaces: |
|---|
| … | … | |
| 48 | 55 | - New design and set of icons. |
|---|
| 49 | 56 | - Ability to embed video output. |
|---|
| | 57 | |
|---|
| | 58 | Mac OS X port: |
|---|
| | 59 | * Support for 'groups' and playlist item properties. |
|---|
| | 60 | * OpenGL video output is now the default when available. |
|---|
| 50 | 61 | |
|---|
| 51 | 62 | Win32 port: |
|---|
| r7ee41f3 |
r1ce23b8 |
|
| 679 | 679 | # *************************************************************************** |
|---|
| 680 | 680 | |
|---|
| 681 | | goom-dj.tar.gz: |
|---|
| 682 | | $(WGET) $(GOOMDJ_URL) |
|---|
| 683 | | |
|---|
| 684 | | goom: goom-dj.tar.gz |
|---|
| | 681 | goom-macosx-altivec-bin.tar.gz: |
|---|
| | 682 | $(WGET) $(GOOM_URL) |
|---|
| | 683 | |
|---|
| | 684 | goom: goom-mascosx-altivec-bin.tar.gz |
|---|
| 685 | 685 | $(EXTRACT_GZ) |
|---|
| 686 | 686 | |
|---|
| … | … | |
| 691 | 691 | CLEAN_FILE += .goom |
|---|
| 692 | 692 | CLEAN_PKG += goom |
|---|
| 693 | | DISTCLEAN_PKG += goom-dj.tar.gz |
|---|
| | 693 | DISTCLEAN_PKG += goom-macosx-altivec-bin.tar.gz |
|---|
| 694 | 694 | |
|---|
| 695 | 695 | # *************************************************************************** |
|---|
| r7ee41f3 |
r1ce23b8 |
|
| 25 | 25 | GNU=http://ftp.gnu.org/pub/gnu |
|---|
| 26 | 26 | SF=http://heanet.dl.sourceforge.net/sourceforge |
|---|
| 27 | | VIDEOLAN=http://download.videolan.org/pub/testing/contrib |
|---|
| | 27 | VIDEOLAN=http://download.videolan.org/pub/videolan |
|---|
| 28 | 28 | AUTOCONF_VERSION=2.58 |
|---|
| 29 | 29 | AUTOCONF_URL=$(GNU)/autoconf/autoconf-$(AUTOCONF_VERSION).tar.gz |
|---|
| … | … | |
| 55 | 55 | VORBIS_VERSION=1.0 |
|---|
| 56 | 56 | VORBIS_URL=http://www.xiph.org/ogg/vorbis/download/libvorbis-$(VORBIS_VERSION).tar.gz |
|---|
| 57 | | #VORBIS_URL=$(VIDEOLAN)/libvorbis-$(VORBIS_VERSION).tar.gz |
|---|
| 58 | 57 | THEORA_VERSION=1.0alpha2 |
|---|
| 59 | 58 | THEORA_URL=http://www.theora.org/files/libtheora-$(THEORA_VERSION).tar.gz |
|---|
| … | … | |
| 63 | 62 | SPEEX_URL=http://www.speex.org/download/speex-$(SPEEX_VERSION).tar.gz |
|---|
| 64 | 63 | FAAD2_VERSION=2.0 |
|---|
| 65 | | FAAD2_URL=$(VIDEOLAN)/faad2-$(FAAD2_VERSION).tar.bz2 |
|---|
| | 64 | FAAD2_URL=$(VIDEOLAN)/testing/contrib/faad2-$(FAAD2_VERSION).tar.bz2 |
|---|
| 66 | 65 | FAAD2_CVSROOT=:pserver:anonymous@cvs.audiocoding.com:/cvsroot/faac |
|---|
| 67 | 66 | LAME_VERSION=3.93.1 |
|---|
| … | … | |
| 77 | 76 | OPENSLP_URL=$(SF)/openslp/openslp-$(OPENSLP_VERSION).tar.gz |
|---|
| 78 | 77 | LIBDVDCSS_VERSION=1.2.8 |
|---|
| 79 | | LIBDVDCSS_URL=http://download.videolan.org/pub/libdvdcss/$(LIBDVDCSS_VERSION)/libdvdcss-$(LIBDVDCSS_VERSION).tar.gz |
|---|
| | 78 | LIBDVDCSS_URL=$(VIDEOLAN)/libdvdcss/$(LIBDVDCSS_VERSION)/libdvdcss-$(LIBDVDCSS_VERSION).tar.gz |
|---|
| 80 | 79 | LIBDVDREAD_VERSION=0.9.4 |
|---|
| 81 | 80 | LIBDVDREAD_URL=http://www.dtek.chalmers.se/groups/dvd/dist/libdvdread-$(LIBDVDREAD_VERSION).tar.gz |
|---|
| 82 | 81 | LIBDVDPLAY_VERSION=1.0.1 |
|---|
| 83 | | LIBDVDPLAY_URL=http://download.videolan.org/pub/libdvdplay/$(LIBDVDPLAY_VERSION)/libdvdplay-$(LIBDVDPLAY_VERSION).tar.gz |
|---|
| | 82 | LIBDVDPLAY_URL=$(VIDEOLAN)/libdvdplay/$(LIBDVDPLAY_VERSION)/libdvdplay-$(LIBDVDPLAY_VERSION).tar.gz |
|---|
| 84 | 83 | LIBDVDNAV_VERSION=0.1.9 |
|---|
| 85 | 84 | LIBDVDNAV_URL=http://ftp.snt.utwente.nl/pub/linux/gentoo/distfiles/libdvdnav-$(LIBDVDNAV_VERSION).tar.gz |
|---|
| 86 | 85 | LIBDVBPSI_VERSION=0.1.4 |
|---|
| 87 | | LIBDVBPSI_URL=http://download.videolan.org/pub/libdvbpsi/$(LIBDVBPSI_VERSION)/libdvbpsi3-$(LIBDVBPSI_VERSION).tar.gz |
|---|
| | 86 | LIBDVBPSI_URL=$(VIDEOLAN)/libdvbpsi/$(LIBDVBPSI_VERSION)/libdvbpsi3-$(LIBDVBPSI_VERSION).tar.gz |
|---|
| 88 | 87 | LIVEDOTCOM_VERSION=2004.04.09 |
|---|
| 89 | | LIVEDOTCOM_URL=http://download.videolan.org/pub/testing/contrib/live.$(LIVEDOTCOM_VERSION).tar.gz |
|---|
| 90 | | GOOMDJ_URL=http://sidekick.student.utwente.nl/videolan/goom-dj.tar.gz |
|---|
| | 88 | LIVEDOTCOM_URL=$(VIDEOLAN)/testing/contrib/live.$(LIVEDOTCOM_VERSION).tar.gz |
|---|
| | 89 | GOOM_URL=$(VIDEOLAN)/testing/contrib/goom-macosx-altivec-bin.tar.gz |
|---|
| 91 | 90 | LIBCACA_VERSION=0.9 |
|---|
| 92 | 91 | LIBCACA_URL=http://sam.zoy.org/projects/libcaca/libcaca-$(LIBCACA_VERSION).tar.gz |
|---|
| 93 | 92 | LIBDTS_VERSION=0.0.2 |
|---|
| 94 | | LIBDTS_URL=http://download.videolan.org/pub/videolan/libdts/$(LIBDTS_VERSION)/libdts-$(LIBDTS_VERSION).tar.gz |
|---|
| | 93 | LIBDTS_URL=$(VIDEOLAN)/libdts/$(LIBDTS_VERSION)/libdts-$(LIBDTS_VERSION).tar.gz |
|---|
| 95 | 94 | MODPLUG_VERSION=0.7 |
|---|
| 96 | | MODPLUG_URL=http://download.videolan.org/pub/videolan/contrib/libmodplug-$(MODPLUG_VERSION).tar.gz |
|---|
| | 95 | MODPLUG_URL=$(VIDEOLAN)/testing/contrib/libmodplug-$(MODPLUG_VERSION).tar.gz |
|---|
| 97 | 96 | MASH_VERSION=5.2 |
|---|
| 98 | 97 | MASH_URL=$(SF)/openmash/mash-src-$(MASH_VERSION).tar.gz |
|---|
| r7c144c5 |
r1ce23b8 |
|
| 60 | 60 | "to fill the entire window." ) |
|---|
| 61 | 61 | |
|---|
| 62 | | #define OPENGL_TEXT N_("Use OpenGL") |
|---|
| 63 | | #define OPENGL_LONGTEXT N_("Use OpenGL instead of QuickTime to " \ |
|---|
| 64 | | "render the video on the screen.") |
|---|
| | 62 | #define MACOSX_VOUT_TEXT N_("Force a video rendering mode.") |
|---|
| | 63 | #define MACOSX_VOUT_LONGTEXT N_("The default method is OpenGL " \ |
|---|
| | 64 | "for Quartz Extreme machines and Quartz for the others.") |
|---|
| 65 | 65 | |
|---|
| 66 | 66 | #define OPENGL_EFFECT_TEXT N_("OpenGL effect") |
|---|
| … | … | |
| 78 | 78 | static char * effect_list_text[] = { N_("None"), N_("Cube"), |
|---|
| 79 | 79 | N_("Transparent cube") }; |
|---|
| | 80 | |
|---|
| | 81 | static char *ppsz_vout_list[] = { "auto", "quartz", "opengl" }; |
|---|
| | 82 | static char *ppsz_vout_list_text[] = { N_("Auto"), "Quartz", "OpenGL" }; |
|---|
| 80 | 83 | |
|---|
| 81 | 84 | vlc_module_begin(); |
|---|
| … | … | |
| 92 | 95 | add_float_with_range( "macosx-opaqueness", 1, 0, 1, NULL, |
|---|
| 93 | 96 | OPAQUENESS_TEXT, OPAQUENESS_LONGTEXT, VLC_TRUE ); |
|---|
| 94 | | add_bool( "macosx-opengl", 1, NULL, OPENGL_TEXT, |
|---|
| 95 | | OPENGL_LONGTEXT, VLC_TRUE ); |
|---|
| | 97 | add_string( "macosx-vout", "auto", NULL, MACOSX_VOUT_TEXT, |
|---|
| | 98 | MACOSX_VOUT_LONGTEXT, VLC_TRUE ); |
|---|
| | 99 | change_string_list( ppsz_vout_list, ppsz_vout_list_text, 0 ); |
|---|
| 96 | 100 | add_string( "macosx-opengl-effect", "none", NULL, |
|---|
| 97 | 101 | OPENGL_EFFECT_TEXT, OPENGL_EFFECT_LONGTEXT, |
|---|
| rd93ca7c |
r1ce23b8 |
|
| 92 | 92 | OSErr err; |
|---|
| 93 | 93 | int i_timeout; |
|---|
| | 94 | char *psz_vout_type; |
|---|
| 94 | 95 | |
|---|
| 95 | 96 | p_vout->p_sys = malloc( sizeof( vout_sys_t ) ); |
|---|
| … | … | |
| 147 | 148 | |
|---|
| 148 | 149 | /* Check if we should use QuickTime or OpenGL */ |
|---|
| 149 | | p_vout->p_sys->i_opengl = config_GetInt( p_vout, "macosx-opengl" ); |
|---|
| 150 | | |
|---|
| | 150 | psz_vout_type = config_GetPsz( p_vout, "macosx-vout" ); |
|---|
| | 151 | |
|---|
| | 152 | if( !strncmp( psz_vout_type, "auto", 4 ) ) |
|---|
| | 153 | { |
|---|
| | 154 | p_vout->p_sys->i_opengl = CGDisplayUsesOpenGLAcceleration( kCGDirectMainDisplay ); |
|---|
| | 155 | } |
|---|
| | 156 | else if( !strncmp( psz_vout_type, "opengl", 6 ) ) |
|---|
| | 157 | { |
|---|
| | 158 | p_vout->p_sys->i_opengl = VLC_TRUE; |
|---|
| | 159 | } |
|---|
| | 160 | else |
|---|
| | 161 | { |
|---|
| | 162 | p_vout->p_sys->i_opengl = VLC_FALSE; |
|---|
| | 163 | } |
|---|
| | 164 | free( psz_vout_type ); |
|---|
| | 165 | |
|---|
| 151 | 166 | if( !p_vout->p_sys->i_opengl ) |
|---|
| 152 | 167 | { |
|---|
| … | … | |
| 191 | 206 | return VLC_EGENERIC; |
|---|
| 192 | 207 | } |
|---|
| | 208 | msg_Dbg( p_vout, "using Quartz mode" ); |
|---|
| | 209 | } |
|---|
| | 210 | else |
|---|
| | 211 | { |
|---|
| | 212 | msg_Dbg( p_vout, "using OpenGL mode" ); |
|---|
| 193 | 213 | } |
|---|
| 194 | 214 | |
|---|
| … | … | |
| 1507 | 1527 | NSOpenGLPFAFullScreen, |
|---|
| 1508 | 1528 | NSOpenGLPFAScreenMask, |
|---|
| 1509 | | /* TODO handle macosxx-vdev */ |
|---|
| | 1529 | /* TODO handle macosx-vdev */ |
|---|
| 1510 | 1530 | CGDisplayIDToOpenGLDisplayMask( kCGDirectMainDisplay ), |
|---|
| 1511 | 1531 | 0 |
|---|