First try using no interlacing and fallback to driver's default if it
isn't possible. Might fix some issues. We still need to declare images
as interlaced to VLC afterwards, but that's another problem.
Otherwise they can be mixed up with the next request. Until now, the
connection was always terminated after an error. However, with
authentication, the request can be repeated with authentication
information.
Signed-off-by: Michael Hanselmann <public@hansmi.ch> Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
Add library functions for HTTP client authentication
These functions can be used by HTTP clients to authenticate against
HTTP servers using the Basic and Digest algorithms as described in
RFC2617.
Most of the code is taken from modules/access/http.c, although it
includes modifications to make it work as library functions and to
fix some issues. The HTTP access module can be converted at a
later point, but there's still some stuff needing cleanup first.
These functions will be used for the Remote Audio Output Protocol
plugin to authenticate VLC against RAOP-compatible devices if the
user enabled password protection.
Signed-off-by: Michael Hanselmann <public@hansmi.ch> Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
EXTRA_DATA doesn't seem to be a "primary" even if DATA is and EXTRA is a valid prefix.
Also i don't think .vlt are often rebuilt so it should be in clean rather than mostly clean
Ilkka Ollakka [Tue, 28 Jul 2009 10:43:57 +0000 (13:43 +0300)]
x264: use ABR-mode if user specifies bitrate
Also set vbv-bufsize if user didn't specify them.
bufsize is bitrate * seconds between keyframes instead of earlier
2*bitrate. Recommended by Dark_Shikari
So now you can stream for mobiles with following:
sout="#transcode{deinterlace,acodec=mp4a,vcodec=h264,width=320,height=180,venc=x264{no-cabac,bframes=0,ref=3,level=12,keyint=50},vb=180,ab=64,channels=2}...
tested with rtp-output and G1 android. Produces quite stable near cbr
stream.
And file-encoding should be ok with defaults (without any
venc=x264-settings or bitrates), if not targeted to
handhelds/streaming.
Ilkka Ollakka [Tue, 28 Jul 2009 10:39:21 +0000 (13:39 +0300)]
transcode: change default videobitrate to 0
change from default 800 to zero, as nowdays most of bitrate transcoding
is for streaming, and 800 ain't good default for that either. Also
thisways it's easier on check different encoding modes (cbr/qp/etc) on
video encoder modules.
I did quick look on different modules, but didn't spot anything obvious
that would break. I'll look ffmpeg and x264 more closely next.
Ilkka Ollakka [Mon, 27 Jul 2009 07:54:01 +0000 (10:54 +0300)]
freetype: use fontconfig to get default font if available
With fontconfig freetype-font is font-family to use, not fontfile.
This should solve issue on linux-side where there aren't any one
place and one file thats usually there.
I'm not that familiar with freetype/fontconfig stuff, so this one could
be way wrong. So feel free to mention/fix/revert this if you spot
something odd.
variables: add a Get and Set function. This function can be only used (for the
moment) to toggle a boolean with the variable lock taken (which is not the case
when doing a var_SetBool(!var_GetBool)).
This function is also two times faster (only one lookup).
Fixed seeking and skipping behavior in stream_t layer.
Now seeking and skipping behave exactly the same.
It also allows forward seeking in non seekable stream by reading the data.
It closes #2994.
As it is a critical section of code, it must be carefully tested.
This removes around 1.1MB on both libass dll and freetype dll (on 2.8MB), which are 4th and 5th dll in size for Windows
(qt4, avcodec, avformat are bigger).
We DON'T use the fonts.conf anyway on Windows, therefore, why having such a dependency, just for parsing a configure file that we don't ship?
I still don't get what is wrong with an .ini/.conf format, but that is not my business, I guess.
vlc_clone(): abide by --rt-priority and --rt-offset
This avoids using real-time when not asked. It should also fix a
pthread_create() permission failure on FreeBSD (Linux seems to ignore
this error silently).
Jean-Paul Saman [Tue, 14 Jul 2009 09:22:37 +0000 (11:22 +0200)]
mozilla: do not ship gui/macosx plugin in Safari webplugin
It is the main cause for memory leaks of VLC browser plugin for MacOS X. Every time the browser plugin is reloaded, vlc core reloads the plugins which causes all global defined objects to initialize. Since there are objects in libmacosx_plugin.dylib that are supposed to live as long as the application these are never freed. Testing is done with --enable-debug.
Jean-Paul Saman [Fri, 24 Jul 2009 11:38:03 +0000 (13:38 +0200)]
live555: handle WMServer as a special case
This patch adds --rtsp-wmserver which is needed to support pause mode. WMServer does not report any of the known RTSP OPTIONS when asking for it. Instead it returns a list of non-standard options.