Gildas Bazin [Mon, 18 Nov 2002 13:28:09 +0000 (13:28 +0000)]
* configure.ac.in, modules/codec/Modules.am, modules/codec/tarkin.c: added
an experimental tarkin video decoder. You will need to specify the tarkin
tree you want to use with --with-tarkin-tree=.
Warning: Tarkin is still in very early development stage, so this plugin isn't
actually usefull unless you intend to do some development on tarkin itself.
Gildas Bazin [Mon, 18 Nov 2002 13:02:16 +0000 (13:02 +0000)]
* added a wxwindows interface using the wxWindows cross-platform GUI framework.
The interface is quite basic for now but should be functional anyway.
(you need to have wxWindows >= 2.3.0 installed to use this plugin)
Laurent Aimar [Sun, 17 Nov 2002 06:46:56 +0000 (06:46 +0000)]
* ffmpeg: disable direct rendering by default. I have too many files
that don't work with it (I don't see why it doesn't work :(
* mp4: fix a bug in timestamp calculation. Replace s/u* by s/uint*_t
* avi : remove an useless debug message.
* src/misc/objects.c : fix stream output object allocation.
Laurent Aimar [Fri, 15 Nov 2002 18:10:26 +0000 (18:10 +0000)]
* modules/demux/util : add a text subtitle demuxer. (Module called by demux).
MicroDVD, SubRIP, SSA subtitle format should work...
Options: --sub-file <subtitle file> [--sub-fps, --sub-delay --sub-format].
* modules/demux/avi : make use of subtitle parser.
* modules/demux/asf : display movie length. (It will not work with live
streams of course).
modules/codec/spudec : use i_dts to send end of display time for subtitle.
(Yes it's ugly, but it works :)
Gildas Bazin [Fri, 15 Nov 2002 17:17:29 +0000 (17:17 +0000)]
* configure.ac.in, modules/audio_output/arts.c, modules/audio_output/esd.c:
fixed the arts and esd audio plugins after the recent changes to aout3
(untested).
Gildas Bazin [Fri, 15 Nov 2002 16:27:10 +0000 (16:27 +0000)]
* configure.ac.in, modules/audio_output/directx.c, modules/audio_output/waveout.c:
fixed the waveout and directx audio plugins after the recent changes to aout3.
Gildas Bazin [Fri, 15 Nov 2002 14:41:49 +0000 (14:41 +0000)]
* modules/access/http.c: added an http-proxy config variable. If the variable
is not set, we'll still look at the value of the http_proxy environment
variable.
Gildas Bazin [Fri, 15 Nov 2002 01:23:54 +0000 (01:23 +0000)]
* configure.ac.in: fixed a few typos regarding LDFLAGS_access_*. Re-enabled
the oss plugin as it seems to be working fine.
* src/audio_output/input.c: fixed an obscure bug... (strange one though:
int foo = -1; unsigned int bar = 2; __MAX( foo, bar) == -1 ).
Major change of the channels management. p_format->i_channels disappeares
and is replaced by two members : i_physical_channels and i_original_channels.
i_physical_channels describes the channels which are effectively present
in the stream (at the current point of the aout pipeline), whereas
i_original_channels represents the channels we used to constitute the
stream. For instance a mono stream (FRONT_CENTER) may emanate from a
FRONT_LEFT channel of a STEREO stream.
Additionally, this contains hooks to dynamically select the audio device
and the channels configuration. In order to do that, all aout plugins,
and all interface plug-ins need to be adapted. Currently only SDL
(partially OSS) and the rc interface have been adapted, please use them
as a guide. Other aout plug-ins have been temporarily disabled.
IMPORTANT : if you need a working sound output, DO NOT UPDATE YOUR TREE
for several days until we fix that.
* modules/misc/network/ipv4.c: Fixed a long-standing segfault when saving
preferences and asking for multicast.
Laurent Aimar [Thu, 14 Nov 2002 16:32:43 +0000 (16:32 +0000)]
mms.c: it takes care of --no-audio and --no-video (to reduce bandwith
usage), and should not use more than --mms-maxbitrate (when there
are multiple audio or video streams).
Laurent Aimar [Thu, 14 Nov 2002 16:17:47 +0000 (16:17 +0000)]
asf/* : Convert all u* into uint*_t
Fix playing of some live asf, seek improvement (at least for me ;)
but it's more some "kludge" with vlc clock than true fixes ...
Sam Hocevar [Wed, 13 Nov 2002 20:51:05 +0000 (20:51 +0000)]
* ./bootstrap: bootstrap now requires the --config flag. With no arguments
it simply outputs a usage message.
* ./src/*: fixed a bunch of (legitimate) warnings under VC++.
* ./evc/*, ./msvc/*: split the workspaces into three projects (libvlc, vlc
and plugins -- plugins doesn't build anything yet).
Laurent Aimar [Wed, 13 Nov 2002 20:23:21 +0000 (20:23 +0000)]
access/* : don't override demux setting made by user.
modules/demux/demuxdump.c : a little demux that dump raw stream.
(should work with all access...)
Sam Hocevar [Wed, 13 Nov 2002 15:28:24 +0000 (15:28 +0000)]
* ./msvc/*, ./evc/*: moved eMbedded Visual Studio files to the toplevel evc/
directory because the two project files are starting to diverge.
* ./evc/vlc.c: created a specific vlc.c file for Windows CE.
* ./src/misc/messages.c: as WinCE doesn't have stdout or stderr, the message
queue outputs to a logfile (until we have a proper interface).
Gildas Bazin [Wed, 13 Nov 2002 12:58:19 +0000 (12:58 +0000)]
* src/playlist/playlist.c: bugfix for when we delete the last playlist
element (I'll get this one right... eventually ;).
* modules/demux/m3u.c: allow forcing the demux to be used by specifying the
asx or m3u demux.
Gildas Bazin [Wed, 13 Nov 2002 11:09:56 +0000 (11:09 +0000)]
* src/playlist/playlist.c: when autodeleting an item, we don't need to skip
to the next one.
* modules/demux/m3u.c: added .asx support and changed the autodetection of
file type to just probe the file extension.
added a new demux that reads .m3u files and addes the contained items to
the playlist. Currently only autodetects files that start with #EXTM3U
otherwise you'll have to force it.
Gildas Bazin [Tue, 12 Nov 2002 21:20:36 +0000 (21:20 +0000)]
* include/vlc_playlist.h, src/playlist/playlist.c: added a b_autodeletion
flag to the playlist item structure. If this flag is set then the playlist
item will be deleted automatically after it has been played.
Sam Hocevar [Tue, 12 Nov 2002 13:57:13 +0000 (13:57 +0000)]
* ./Makefile.am: fixed rc compilation under mingw32/cygwin.
* ./modules/access/http.c: fixed a segfault (unchecked strstr return value).
* ./src/input/input_ext-plugins.c: removed platform-specific code and put
it in plugins. This leads to some code duplication but I have an evil
plan to get rid of that, too.
Laurent Aimar [Tue, 12 Nov 2002 00:54:40 +0000 (00:54 +0000)]
* modules/demux/asf/.cvsignore : put the good one.
* modules/access/mms : add MMS (Microsoft Media Streaming) access (Support
only TCP, I will try to add UDP and HTTP as well).
There are some problems with streams selections and we cannot seek, but
anyway it seems to work. (Usefull for some radio web)
* other: enable mms access by default.
Gildas Bazin [Mon, 11 Nov 2002 22:27:01 +0000 (22:27 +0000)]
* src/audio_output/filters.c, src/audio_output/input.c, include/aout_internal.h,
modules/audio_filter/resampler/*: Changes that allow the resamplers to set
the start and end date of the frame it outputs.
This allows us for instance to output a smaller frame than what we should, and
keep the rest of the data to compute the resampling of the next frame.
In short, we can implement much more complex resampling algorithms than before.
* modules/audio_filter/resampler/linear.c: rewrote the linear resampler. The audio
quality doesn't seem to be better than the ugly resampler, maybe I shouldn't
have wasted my time on this...
Gildas Bazin [Mon, 11 Nov 2002 19:16:21 +0000 (19:16 +0000)]
* modules/audio_output/file.c: will write a WAV header by default. Can be
disabled with --no-audiofile-wav.
* modules/audio_filter/resampler/linear.c: disabled for now, until I actually
manage to make it work without a problem.
Sam Hocevar [Mon, 11 Nov 2002 14:39:12 +0000 (14:39 +0000)]
* ./include/*, ./src/*: separated WIN32 #tests and UNDER_CE #tests, because
WIN32 isn't always defined under WinCE, but might be. Grmbl.
* ./include/*: changed a few u* and s* to uint*_t and int*_t.
Sam Hocevar [Sun, 10 Nov 2002 23:41:54 +0000 (23:41 +0000)]
* ALL: libvlc now compiles and run under WinCE. I haven't ported any modules
yet so there's little that can be tested, but threads work at least.
* ./src/extras/libc.c: renamed strndup.c to libc.c because a few other
libc functions were added (strcasecmp, atof, getenv...).
Sam Hocevar [Sun, 10 Nov 2002 18:04:24 +0000 (18:04 +0000)]
* ALL: WinCE compilation fixes (mostly nonexistent headers). A lot of
work is still needed for missing functions. I only touched libvlc for
the moment, plugins will come in a long long while.
* ./bootstrap: moved MSVC project files generation here; use --update-msvc.
Gildas Bazin [Sun, 10 Nov 2002 14:31:46 +0000 (14:31 +0000)]
* src/audio_output/output.c: fixed another quality affecting bug.
* include/aout_internal.h src/audio_output/input.c: major change to the
resampling algorithm. When resampling is requested to keep the audio stream
synchronised to the main clock, we trigger it but we change the resampling
rate only progressively so it doesn't get noticed too much by the listener.
./ChangeLog: added entry for the linear resampler
./modules/audio_filter/resampler/linear.c: This should allways generate the
right number of samples now. The morale is never base your floating point
calculations on the output of integer divitions.
Laurent Aimar [Sun, 10 Nov 2002 02:47:27 +0000 (02:47 +0000)]
* faad : adapt to newer version.
* ffmpeg : adapt postprocessing for latest libavcodec version, add an
option to disable direct rendering as postprocessing is currently broken
with it, and with some files I have bad pictures.
Sam Hocevar [Sat, 9 Nov 2002 16:34:53 +0000 (16:34 +0000)]
* ./Makefile.am: added a "update-vlc.dsp" rule to create the MSVC project
file from the makefile.
* ./msvc/*: moved the MSVC files here.
* ./src/extras/*: moved the extra code here (used to be in src/misc,
extras/GNUgetopt and extras/Win32_msvc).
* ./include/*: a few warning fixes.
Gildas Bazin [Fri, 8 Nov 2002 14:23:49 +0000 (14:23 +0000)]
* configure.ac.in, modules/audio_filter/converter/*: added a s8tofloat32.c and
u8tofloat32.c converter.
* modules/codec/araw.c: modified to also decode u8 pcm audio samples.
Gildas Bazin [Fri, 8 Nov 2002 10:26:54 +0000 (10:26 +0000)]
* ALL: using "%ll" in printf format strings is not portable (notably on win32) so
we now use the I64Fx familly of macros to print 64 bits numbers (x being
replaced by d,i,o,u,x or X).
eg: msg_Dbg( p_this, "sample is "I64Fi" late", ll_time );
* src/misc/messages.c: got rid of ConvertPrintfFormatString().
Gildas Bazin [Thu, 7 Nov 2002 19:31:08 +0000 (19:31 +0000)]
* INSTALL.win32, include/vlc_config.h, src/libvlc.h: changes to reflect the
fact that libdvdcss now needs a colon after the DVD drive letter (on Win32).
* src/misc/messages.c: on Win32 only use fflush() if in debug mode.
* src/misc/win32_specific.c: try to raise the our process priority slightly
above normal. This prevent us from suffering too much from normal activity
of the OS.
Gildas Bazin [Wed, 6 Nov 2002 21:48:24 +0000 (21:48 +0000)]
* modules/codec/spudec/*: modified the spu decoder to handle text subtitles.
Only one format of text subtitles is supported right now but we should be able
to expand this by modifying modules/codec/spudec/text.c.
Most of this work comes from by Andrew Flintham ( thanks a bunch Andrew :).
* share/font-eutopiabold36.rle: new font for the text subtitler, courtesy of
Andrew Flintham.
* AUTHORS: added Andrew Flintham to the authors file.
* modules/demux/ogg.c: modified the ogg demuxer to handle subtitles.
* modules/codec/ffmpeg/*: modified the ffmpeg decoder to always keep the last decoded
frame linked.
Johan Bilien [Wed, 6 Nov 2002 15:41:29 +0000 (15:41 +0000)]
* modules/access/vcd/vcd.*: added entry points support (sort of
chapters).
* modules/gui/gtk/gtk_callbacks.c: added some locks to the
navigation functions
Sam Hocevar [Wed, 6 Nov 2002 09:26:25 +0000 (09:26 +0000)]
* ./src/misc/extras.c: removed a duplicate calculation inside a macro.
* ./src/libvlc.c: fixed a bug causing all commandline targets to be ignored
for playback except the last one.
* ./modules/codec/dv.c: we detach p_vout before quitting.
* ./modules/codec/xvid.c: fixed image corruption, added a direct rendering
option which doesn't work yet.
Sam Hocevar [Tue, 5 Nov 2002 22:53:21 +0000 (22:53 +0000)]
* ./modules/codec/xvid.c: beginning of a video decoder using the Xvid codec
from xvid.org; compile with --enable-xvid --with-xvid-tree=..., run with
--codec xvid,any (the priority is lower than ffmpeg's for the now).
todo list: direct rendering, better buffer handling, see why only I frames
are rendered OK here... probably more.
Gildas Bazin [Tue, 5 Nov 2002 18:25:43 +0000 (18:25 +0000)]
* All: moved the check for "video" and "audio" config variables to
input_SelectES(). That allows --no-video and --no-audio to automagically
work for all demuxers.
Gildas Bazin [Tue, 5 Nov 2002 10:07:56 +0000 (10:07 +0000)]
* modules/codec/ffmpeg/*: modified the ffmpeg video codec to use direct
rendering when possible.
Use BITMAPINFOHEADER from include/codecs.h + got rid of Little Endian
translations that were already done in the demux.
* modules/demux/avi/* modules/demux/asf/*: Use BITMAPINFOHEADER from
include/codecs.h.
Sam Hocevar [Mon, 4 Nov 2002 15:04:45 +0000 (15:04 +0000)]
* ./Makefile.am: we properly install plugins in the OS X vlc.app directory.
* ./mozilla/npvlc_rc.rc, ./mozilla/vlcplugin.h: added the Ogg mime type to
the Mozilla plugin properties.
* ./debian/control: added libogg-dev and libvorbis-dev dependicies to the
Debian build script.
Gildas Bazin [Sun, 3 Nov 2002 23:00:32 +0000 (23:00 +0000)]
* include/codecs.h: new header file to store information shared by decoders
and demuxers, like the BITMAPINFOHEADER structure for instance.
* modules/demux/ogg.c: the ogg demuxer should now work nicely with ogm files
(including for the video). It has only been tested with a few streams
produced with dvd::rip and ogmmerge though.
modules/codec/dv/dv.h: workaround for a namespace collision (#undef vlc_error)
debian/rules: update the location of libgnome_main_plugin.so and
libgtk_main_plugin.so. Added the ui.rc file to the kvlc package. All debian
packages seem to build now (even though there were some warnings)
Gildas Bazin [Fri, 1 Nov 2002 15:06:23 +0000 (15:06 +0000)]
* src/audio_output/common.c, include/aout_internal.h: added a new function
aout_FifoFirstDate() that allows the aout plugin to schedule the first
play.
* src/audio_output/output.c: fixed another problem affecting the audio quality.
* modules/audio_output/directx.c: improvements. The buffering scheme has been
changed to be less affected by temporary starving. We also schedule the first sample to play.
Sam Hocevar [Thu, 31 Oct 2002 11:16:30 +0000 (11:16 +0000)]
* ./src/misc/variables.c: callbacks are now called after the variable has
been modified. Maybe we'll need the other type, too, but this change will
make things simpler in aout3.
* ./src/playlist/playlist.c: removed two unused variables.
* ./src/misc/modules.c: removed a debug message I had forgotten.
* ./src/misc/modules_plugin.h.in: fixed a typo (thanks bozo).
Gildas Bazin [Thu, 31 Oct 2002 09:40:26 +0000 (09:40 +0000)]
* modules/codec/spudec/spudec.c, modules/codec/spudec/parse.c: fixed a couple
of problems introduced with the recent changes to the bitstream facility.
* src/audio_output/output.c: fixed a quite annoying bug in aout3 that was
triggering unnecessary trashing of audio frames.
Sam Hocevar [Tue, 29 Oct 2002 13:22:48 +0000 (13:22 +0000)]
* ./include/vlc_common.h: defined the INSERT_ELEM and REMOVE_ELEM macros
which are a generic use of the realloc/memmove/index++ scheme we use for
dynamic arrays.
* ./src/misc/variables.c: properly free the choice list upon variable
destruction.
Gildas Bazin [Mon, 28 Oct 2002 22:31:50 +0000 (22:31 +0000)]
* configure.ac.in: libvorbis depends on libogg.
* include/vlc_threads.h: changed the different threads priorities to optimize
audio and video quality as well as responsiveness.
* modules/audio_output/waveout.c modules/audio_output/directx.c: waveout and
directx will now use the float32 format if available. Various tweaks for
better performance.
Gildas Bazin [Mon, 28 Oct 2002 22:23:23 +0000 (22:23 +0000)]
* modules/codec/mpeg_video/parser.c: add_module() for "mpeg-motion" wasn't using
the right capability.
* modules/codec/ffmpeg/ffmpeg.c: fixed typo (re-enabled default case in a
switch).
* modules/codec/a52.c: fixed the AOUT_DOLBY detection.