* Fixed undefined KEY_SIZE compile bug mentioned by Dave Thorup
* Fixed CSS ioctl for Darwin/OSX - still might need tweaking of 'dataLength' fields
* Added ReadTitleKey ioctl for Darwin/OSX
* Minor cleanup
Stéphane Borel [Tue, 16 Oct 2001 16:51:28 +0000 (16:51 +0000)]
-defining TRACE_DVDCSS in config.h displays libdvdcss debug message.
-libdvdcss error messages are reported in input_dvd.c.
-vlc verbosity also enables more error messages from libdvdcss.
Stéphane Borel [Mon, 15 Oct 2001 13:33:00 +0000 (13:33 +0000)]
Reverted one change from my previous commit: when using title cracking
method in libdvdcss, the key is only checked at title start, not before each
chapter.
The behaviour when we have decrypted the disc key is to check the key before
each seek (although I'm still fighting against a bug).
Stéphane Borel [Sat, 13 Oct 2001 15:34:21 +0000 (15:34 +0000)]
New features for libdvdcss: we have three ways now to decode a title key.
1) Crack the title key (the method that was here before). The only change
here is that we search the key for the exact chapter we are seeking with
DVDSetArea (in case the key has changed within a title). It is maybe not a
good idea.
2) Crack the disc key, which allows us to decode instantly all title keys.
I've used an algorithm from Frank Stevenson ; it eats much memory (64MB),
and takes about 15 s at launch time.
3) Decode the disc key with player keys (libcss method). However, you need
licensed player keys at build time for that to work.
To choose between libdvdcss methods, a command line options is supplied:
vlc --dvdcss <method> where method is one of title, disc, key.
Note that all these changes only work with linux now, since we have to add a
specific ioctl to read title key. I hope that I haven't broken too many things.
* Cleaned up sam's mess with input's pf_open and pf_close (not completely) ;
* With -vvv modules now show up their scores ;
This afternoon I have been a little bored, so the feature of the day is :
* HTTP input support.
You can test it with :
./vlc http://mysite.com:80/mystream.mpg
It doesn't implement any kind of buffering, so make sure you have enough
bandwidth, otherwise you'll just get nothing.
It is compatible with HTTP proxy, just set http_proxy :
export http_proxy="http://proxy.mycompany.com:3128/"
* Borrowed Mandrakesoft's vlc.spec and libdvdcss.spec ;
* New configure option --with-tuning=[arch], extending --enable-pentiumpro ;
for Pentium, use --with-tuning=pentium, for PowerPC 604 use --with-tuning=604,
and so on.
* Removed -march=pentiumpro ; should now work on pentium-class machines ;
* Removed --enable-stats configuration directive. Stats are now activated
at runtime with --stats ;
* New intf_StatMsg() call ;
* Vout picture heap is now 8 pictures instead of 5 (better synchro) ;
* Tremendous enhancements in statistics display ;
* Better capabilities handling.
Fix bad dates in ac3 spdif "decoder" (playing with the bit stream is very
funny).
Thanks to Stef for his ideas, Meuuh for his bit stream, and Sam for his
trolls :)
Tony Castley [Wed, 12 Sep 2001 01:30:07 +0000 (01:30 +0000)]
Fixed the slider overflow problem.
Corrected Slider behaviour.
Simplified Code in the vout_beos ready for another developer to implement
more advanced video output.
Sam Hocevar [Sun, 9 Sep 2001 13:43:25 +0000 (13:43 +0000)]
Changes to vlc:
* Fixed arch-dependant build dependencies (Closes Debian bug #109722).
* Minor changes to the (non-working) ncurses interface.
Changes to libdvdcss (courtesy of H�kan Hjort <d95hjort@dtek.chalmers.se>):
* If we see 3000 unencrypted blocks assume that the title is unencrypted.
* If we have not seen any encrypted block and then discover that the block
just read is not a valid block of an MPEG2 Program stream, assume that the
title is unencrypted.
* Empty keys (for unscrambled sectors) are now cached as well.
* We try to decrypt the file even if DVD ioctls are not available.
* Altivec IDCT and motion compensation, based on Paul Mackerras's mpeg2dec
(untested !) ;
* Local minor optimizations in IDCT ;
* Removed a hopeless kludge in input_clock.c
Removed /usr/local/include, because it is unsafe in a cross-compilation
environment. If you have problems with this, tell me and we'll find an
alternate solution.
* Totally rewrote the video decoder (inspired by walken's mpeg2dec), implying :
- performance boost ;
- fixed the "Dual Prime Arithmetic" bug ;
- 3DNow! motion compensation module ;
* BTW, fixed numerous bugs ;
* AC3dec statistics do not show up with --enable-stats, because I doubt
they're understandable by a normal human being, and they pollute the output.
Sam Hocevar [Wed, 22 Aug 2001 14:23:57 +0000 (14:23 +0000)]
* Split ChangeLog into ChangeLog and ChangeLog.libdvdcss.
* Added --xvadaptor flag to select the XVideo adaptor to use.
* Everything is ready for the 0.2.83 release.
Sam Hocevar [Sun, 19 Aug 2001 23:35:13 +0000 (23:35 +0000)]
* Added support in ./configure for the cprof profiler.
* Activated -D_FILE_OFFSET_BITS=64 -D__USE_UNIX98 on all platforms, fixes
issues under Solaris and QNX.
* Additional checks for SSE-specific (non-MMXEXT) instructions, as
reported in <20010817114220.A23480@slartibartfast.angrypacket.com>.
Sam Hocevar [Tue, 14 Aug 2001 00:00:04 +0000 (00:00 +0000)]
* Fixed a crash in subtitle rendering.
* Activated old crappy subtitle rendering in overlay mode (ugly but
probably better than having no subtitles at all).
Sam Hocevar [Thu, 9 Aug 2001 23:12:36 +0000 (23:12 +0000)]
* Added BSD/OS libdvd by Steven M. Schultz <sms@TO.GD-ES.COM> in
extras/BSDI_dvdioctl after he suggested it. License is GPL.
* ./configure now checks for an installed libdvd under BSD/OS and
falls back to ours if not found.
* Fixed harmless typos in yesterday's Solaris libdvd patches.
* Bumped libdvdcss version number up to 0.0.3 ; release will probably
follow once the BSDI changes have been tested.
Sam Hocevar [Thu, 9 Aug 2001 08:20:26 +0000 (08:20 +0000)]
* Fixed a bug in the gtk interface which caused vlc to go amok after
having met a zero-sized area.
* Found out how to type '�' in vim :-)
* Added missing bloat to modules_export.h.
* 'snapshot*' rules do not depend on 'clean', and don't use /tmp anymore.
* Added vlc:loop playlist command to go back at the beginning.
Usage: vlc file1.mpeg file2.mpeg ... fileN.mpeg vlc:loop
This change isn't very elegant but there are already bugs in the
playlist handling, I'll try to polish it once the playlist is fixed.
Sam Hocevar [Tue, 7 Aug 2001 02:48:25 +0000 (02:48 +0000)]
* Got Makefile to launch ./configure almost properly. $(MAKECMDGOALS) rules !
* Various debian scripts fixes.
* Added -lmsvcrt40 to the win32 flags for proper execution under Wine.
* Fixed broken soname setting under Solaris (and OS X, sort of).
* Made the illegal instruction report more explicit.
* BSD/OS 4.3beta1 fixes by Steven M. Schultz <sms@TO.GD-ES.COM>.