Some changes in the BeOS video output :
- New video output method, the vlc now uses BBitmap instead of
BDirectWindow (better performances)
- Added resizing
- Added beta support for overlay
Sam Hocevar [Wed, 21 Feb 2001 11:49:18 +0000 (11:49 +0000)]
(note: empty CVS mails mean that a new directory has been created,
don't forget to use the -p option if you cvs update)
* Added a plain Gtk+ port of the Gnome interface, for the gnome-impaired
people. Gtk+ is now compiled by default, while Gnome isn't (you will
have to add --enable-gnome when running configure)
* Replaced -lcurses with -lncurses in configure.in.
Henri Fallon [Wed, 21 Feb 2001 04:38:59 +0000 (04:38 +0000)]
TS Input :
- Added DemuxPSI, DecodePAT and DecodePMT. Never tested which streams
where PAT or PMT are splitted in more than one section.
- Some TS files still don't work (matrix.ts i.e : no sound ),
others do ... i'll have to investigate.
Todo :
- What if data get unaligned ?
- Write NetworkOpen
- Try to find why I get no sound on matrix.ts
- Support Stream and program selection.
Sam Hocevar [Tue, 20 Feb 2001 23:30:15 +0000 (23:30 +0000)]
* Updated version number to 0.2.62. Release tonight.
* DVD plugin is still non-functional when you don't have DVD ioctls,
but at least it compiles under BeOS as well.
* Minor cosmetic changes here and there.
Sam Hocevar [Tue, 20 Feb 2001 09:10:36 +0000 (09:10 +0000)]
* Fixed a segfault in input.c when no input plugin was found for
a given file.
* Fixed a deadlock in the Gnome interface. Next time I'll initialize
my mutexes, I promise.
* Added Oct to the authors list in intf_gnome.glade :)
Sam Hocevar [Tue, 20 Feb 2001 07:49:13 +0000 (07:49 +0000)]
* Ported Glide and MGA plugins to the new module API. MGA never worked,
so this didn't make it work better.
* Started thinking about built-in modules, and added some code to
make it easier eventually.
* Added Oct in the AUTHORS file.
* Fixed a mistake in configure.in.
* All your base are belong to us.
* Fixed a bug in src/misc/modules which prevented loading modules
when launched from the Tracker.
* Fixed a similar bug in src/video_output/video_text.c.
* BeOS CSS support, thanks to Markus Kuespert <ltlBeBoy@beosmail.com>
who ported the Linux DVD ioctls. We can now read encrypted DVDs
under BeOS ! Woohoo.
Stéphane Borel [Tue, 20 Feb 2001 02:53:13 +0000 (02:53 +0000)]
First serie of changes in DVD module for the forthcoming interface menus
There is a new capability in input type modules for setting the
attributes of a new area. It is set to NULL for PS and TS plugins.
It should be called for every title change, chapter change,
audio mode change or spu channel change.
But this part of code is not used at the moment, and is not completed
yet.
* Kludge of the kludge, removing an oddity in YUV initialisation, and
activating YUV overlay on startup whenever hardware acceleration is
available. Thanks for bearing with us, stay tuned.
Sam Hocevar [Sun, 18 Feb 2001 19:14:27 +0000 (19:14 +0000)]
* configure.in and Makefile.in patches for better SDL support and
support for $(bindir) $(datadir) and $(libdir) stuff, courtesy
of Arkadiusz Miskiewicz <misiek@pld.ORG.PL>
* Ported ggi.so to the new modules API. As for the other modules, only
the "q" key works. Moreover, VLC doesn't exit cleanly if you close the
GGI window.
* Deactivated non-working widgets in the Gnome interface.
* Added CONTRIBUTORS file.
Hint of the day: don't expect to code quite long in your bed when sleepy.
Stéphane Borel [Sun, 18 Feb 2001 01:42:05 +0000 (01:42 +0000)]
-UDF filesystem support so that we know the location of the first video
related file with 100% reliability (great change that should make DVDs
with binaries and extra stuff work with vlc).
-Correction of a bug in ifo reading that falsified the adress of
video titles.
-Changed the method for selecting title at start. It is _not_ reliable
though, but it is better than the preceding one.
Sam Hocevar [Sat, 17 Feb 2001 08:48:56 +0000 (08:48 +0000)]
* Tried to fix the BeOS interface and video output. Any BeOS developers
listening ? I can't even test that code, it probably wants additional
fixing.
* Added a workaround in modules.c for broken libc's which happen to truncate
filenames in dentry structures when using 64bits offsets. The kind of
stuff you only see in RedHats <g>.
* Made the SDL error messages a bit more useful.
* The Gnome menu is now created when mouse is released, not when it
is pressed. It may sound stupid, but it really makes a difference.
Sam Hocevar [Fri, 16 Feb 2001 09:25:04 +0000 (09:25 +0000)]
* Upgraded version number to 0.2.61. Release is today.
* Fixed package building (both RPMs and .debs).
* Fixed `make snapshot' rule.
* Added some magic to filename detection. To read a DVD you now just
need to run 'vlc dvd:/dev/hdc' for instance. Same for file:// URIs.
* Fixed a segfault in the slider when no stream was playing.
* Made the slider go from 0 to 100 (instead of 99 :)
* The vlc now doesn't exit when finished playing. As a side effect of
the playlist code being very recent, it continuously loops.
Sam Hocevar [Fri, 16 Feb 2001 06:37:09 +0000 (06:37 +0000)]
* Fixed a segfault in the input thread creation, as well as a possible
deadlock. This happened mostly when opening non-existing files.
* Created input_SetStatus to do input_SetRate's job. input_SetRate will
be used to set an arbitrary rate, for people who want to read DVDs at
1/2.71828 times the actual speed.
* Stubs for the ncurses control interface. No working code yet, but the
holes just need to be filled.
* Improved X11 support. Still not as functional as before.
* The output window now states the method name, so that people know whether
they are using X11 or SDL.
* The Gnome interface is now drag'n'drop aware, you can drop a file
on it just like Xine does (or so I guess).
Sam Hocevar [Thu, 15 Feb 2001 07:59:38 +0000 (07:59 +0000)]
* removed useless includes in intf_gnome.c
* made the vout_sdl.c functions static
* ported vout_x11.c to the modules API; code isn't very nice yet though
Sam Hocevar [Wed, 14 Feb 2001 07:48:18 +0000 (07:48 +0000)]
* updated version information to 0.2.60 -- today's release
* started porting the X11 vout (still disabled)
* a few unnoticeable changes in the Gnome intf
Stéphane Borel [Wed, 14 Feb 2001 04:11:01 +0000 (04:11 +0000)]
-Changes in the way stream size in DVD mode is calculated. It is no
longer such an ugly kludge and is much more accurate.
-Changes in DVDSeek so that the interface slider is in 0 when we are at
the beginning of the strem.
-Try to detect the beginning of the movie in the middle of the title. It
works for most of the DVDs but will begin in the middle of the movie
with some others.
-Calculate only the first title key in css mode because it might take a
long time with some title. The search stops now when we have a key once
whereas it did stop only when we had it twice before. It should not
cause problems.
Stéphane Borel [Tue, 13 Feb 2001 10:08:51 +0000 (10:08 +0000)]
-adaptation of DVD module to navigation slider. The seek has to be
done on a multiple of 2048, and shopuld take care of the offset to the
beginning of the stream. It works with most of my DVDs by fails to
detect size of some streams.
-change of the order of call to ifo and css functions in input_dvd.c,
because we can't read ifo files before authentification on some DVDs.
-changed location of some css tables.
-we read ifo date and decrypt css keys for all titles now. It takes quite a
long time to initialize with some DVDs (if you have 42 titles for
instance). The key decryption might give a false value if the title is
less than 10 Mb ; I'm working on that :)
Sam Hocevar [Tue, 13 Feb 2001 04:29:46 +0000 (04:29 +0000)]
* added --intf option to vlc
* started cleaning vout_sdl.c
* the dummy plugin works again
* added a slider to the Gnome interface so that we can browse through streams
There is a problem with the slider: we sometimes get unexpected async
replies, which would mean that we don't properly lock our Xlib calls.
Which is true. But we also get these errors when using `--vout dummy'.
I'll investigate.
Sam Hocevar [Mon, 12 Feb 2001 07:52:40 +0000 (07:52 +0000)]
* Fixed my old stupid bug that disabled sound after having played the
first playlist item.
* Added `Prev' and `Next' buttons to the interface, with the beginning of
a playlist window (still empty).
* Added `Slow' and `Fast' buttons to the interface and popup menu.
Ok, I promise it's the last time I check bloat in, from now the interface
commits will be much cleaner and actually fix things :)
Sam Hocevar [Mon, 12 Feb 2001 00:20:37 +0000 (00:20 +0000)]
* The pure Gnome part of the Gnome interface has been rewritten from
scratch, and the .glade file included as well. You can edit it by
installing glade-gnome and doing `glade plugins/gnome/intf_gnome.glade',
or directly by hand if you grok XML.
* Files can now be loaded into vlc using the `Open' buttons. But for the
moment you still have to launch vlc with at least one file, because it
quits when the end of the playlist is reached.
* Idle screen was disabled because it eats a lot of CPU and is mostly
useless for the moment. And it gets activated when pause lasts for too
long.
Sam Hocevar [Sun, 11 Feb 2001 01:15:12 +0000 (01:15 +0000)]
Beginning of Interface II
---------------------------
* Plugins have completely disappeared, we now only use the new module API.
* All intf and vout modules are now independant. So far, only the Gnome
intf module and the SDL vout module have been ported. configure.in has
been modified to reflect the changes (x11 and dummy aren't compiled by
default anymore, while SDL and Gnome are).
Note that this is _not_ Interface II, it's just a step forward. For
instance, it lacks the whole message passing scheme.
Things that should work:
* Right-clicking on the SDL video output window brings the Gnome menu.
* Pause, Play, Exit, About work from the menu or from the interface window.
* The old SDL keys still work.
Things that are broken or may be broken:
* Xlib calls are not locked yet, which may lead to "Unexpected async reply"
errors, and make the vlc segfault.
* Sound only works for the first file.
* The SDL vout_sdl.c file is absolutely ugly and kludgey.
* The vlc immediately quits when no filename is given as an argument. Not
a real bug, but still annoying.
* The Gnome menu does not work in fullscreen mode.
Things that will come soon, maybe tomorrow:
* Complete navigation buttons (fast forward, slow, etc.).
* File/Open menu to add files to the playlist.
* Return of the X11 video output for those of us who do not have SDL.
* Textmode interface for those of us who do not have Gnome.
* aout and vout autospawn (maybe).
Sam Hocevar [Thu, 8 Feb 2001 23:40:26 +0000 (23:40 +0000)]
. added comments to src/interface/intf_plst.c and include/intf_plst.h
so that people understand how the playlist works.
. updated the TODO list (34 items to do, 41 done !)
* Portability : changed off64_t to off_t and activated appropriate
GNU/Linux options ;
* Changed fseek() to fseeko() for 64-bit offsets ;
* Reset frame predictors on a stream discontinuity.
Fixed a compile probleme on machine without a dvd player :ppppp
Maybe it would be a good idea to compile the DVD plugin on machines which
have one ? :pppp
Sam Hocevar [Thu, 8 Feb 2001 07:24:25 +0000 (07:24 +0000)]
. moved the playlist handling from input/input.c to interface/interface.c
. fixed a few warnings at compile-time
. fixed sound channel selection in playlist mode
. added a color message in the plugin bank because on peut bien d�conner
cinq minutes, quand-m�me
. we now spawn a new input thread for each file
. added a missing pf_close() because it's always cool to close files
after we read them
Sam Hocevar [Thu, 8 Feb 2001 04:43:28 +0000 (04:43 +0000)]
This commit is a bit early, but it'll save Stef, Henri and me much
time later, when we don't have to backport modifications to input_*.c
What's new :
- playlist works again (still the old wrong way like Meuuh doesn't
like, but this is going to change within a few hours)
- input_ps, input_ts and input_dvd are now plugins, located in
plugins/mpeg/ and plugins/dvd/
What's broken :
- audio output might be broken on some streams ; have to investigate
What has changed :
- fast/slow keys are now A/Z instead of A/S since S was already
linked to the scale/noscale toggle.
- `--dvd' doesn't work anymore, for the moment try to use :
vlc --input dvd /dev/dvd
- module bank is now less verbose ; use `--warn 1' to turn back
verbosity on
Stéphane Borel [Thu, 8 Feb 2001 01:34:42 +0000 (01:34 +0000)]
-New method using netlist to read packets on DVD device by sectors of
2048 bytes.
-Some modifications in netlist to make it work with DVD.
-Fixed � bug in mpeg_system.c
We use INPUT_READ_ONCE many times in the input code. I think that
we should replace it with a field in input_thread_t to give more
flexibility to modules. I have done it in DVD plugin but it can't work
if input.c is limited by INPUT_READ_ONCE.
The DVD method is slower than input_ps ; but there are things to
improve.
CSS descrambling is broken.
Sam Hocevar [Mon, 5 Feb 2001 21:00:23 +0000 (21:00 +0000)]
. disabled SDL parachute to let the vlc dump a core instead of staying stuck
. patched 2 debian bugs
(see http://bugs.debian.org/cgi-bin/pkgreport.cgi?pkg=vlc)
. improved the snapshot generation
Sam Hocevar [Sun, 4 Feb 2001 03:06:30 +0000 (03:06 +0000)]
. removed obsolete video_yuv_mmx.S
. updated the TODO list and wrote a small todo.pl parser to make it
easier to see which items remain to be done
. `make snapshot' now creates vlc-*.tar.gz and vlc-*-nocss.tar.gz
Sam Hocevar [Wed, 31 Jan 2001 03:42:39 +0000 (03:42 +0000)]
. version 0.2.50 for the Linux Expo
. --overlay and --fulscreen options (only work with --vout sdl)
. the vlc exits after the end of the stream, which prevents from having
to kill it and relaunch it during a presentation, just script it like :
for i in ~/mpeg/* ; do vlc --fullscreen --overlay --vout sdl $i ; done
Yes, I know the --overlay stuff is fucking ugly. But *I* am not the one
who redefines vout_sys_t in an interface-related source file. I won't
change it until the vout/intf is finished being rewritten.
Additional information: if "--overlay --fulscreen" doesn't center your
picture, try with your screen geometry, eg:
"--overlay --fullscreen --width 1024 --height 768"
Sam Hocevar [Tue, 30 Jan 2001 05:48:23 +0000 (05:48 +0000)]
. not a very nice hack, but will probably spare us a few user complaints: if
no -a option is specified, the vlc will play the first audio type it finds,
so there is no need to specify "-a ac3" for a DVD anymore.
Stéphane Borel [Mon, 29 Jan 2001 06:10:10 +0000 (06:10 +0000)]
-CSS support kludged for current DVD input.
It is very slow now but will be more adapted to the forthcoming DVD
input.
It should read the first title of many DVDs but has been tested with few.
-Beginning of ifo commands to implement DVD navigation.
Sam Hocevar [Thu, 18 Jan 2001 05:13:23 +0000 (05:13 +0000)]
The motion compensation routines are now modules as well ; choose your
implementation with `--motion motion', `--motion motionmmx' or
`--motion motionmmxext'. Of course, the best implementation is chosen
if you don't ask for any. There doesn't seem to be any performance hit
due to the move to shared libs, which is a good thing. Please test
actively if you have time, though.
Updated --help result, manpage, INSTALL document, and a few files.
I moved vdec_motion.h and vpar_blocks.h back to /include because they
will be needed to build motion compensation modules, but perhaps we don't
need to export everything which is in these files.
/src/video_decoder/ now has only one .c file, perhaps it could now be
merged with video_parser ?