]> git.sesse.net Git - vlc/log
vlc
16 years agoUntriplicate vout release code - fix #1593
Rémi Denis-Courmont [Sat, 7 Jun 2008 07:31:17 +0000 (10:31 +0300)]
Untriplicate vout release code - fix #1593

Unused video outputs are currently attached to libvlc, so there is no
point in destroying them from the playlist (twice), then from libvlc.
This should also fix #1593 (multiple vout free).

16 years agoForce thread priorities in the supported range
Rémi Denis-Courmont [Fri, 6 Jun 2008 16:34:03 +0000 (19:34 +0300)]
Force thread priorities in the supported range

(assuming rt-offset is zero)

16 years agoRemove __LIBVLC__ test
Rémi Denis-Courmont [Fri, 6 Jun 2008 16:07:55 +0000 (19:07 +0300)]
Remove __LIBVLC__ test

16 years agoBring back reckless user proofing.
Rémi Denis-Courmont [Fri, 6 Jun 2008 15:55:10 +0000 (18:55 +0300)]
Bring back reckless user proofing.

16 years agoBring the root wrapper back
Rémi Denis-Courmont [Fri, 6 Jun 2008 15:47:56 +0000 (18:47 +0300)]
Bring the root wrapper back

16 years agovlc: fix conditional compilation
Rémi Denis-Courmont [Fri, 6 Jun 2008 15:30:39 +0000 (18:30 +0300)]
vlc: fix conditional compilation

16 years agoFix/split rootwrap_bind
Rémi Denis-Courmont [Fri, 6 Jun 2008 15:14:56 +0000 (18:14 +0300)]
Fix/split rootwrap_bind

16 years agoRescale POSIX realtime priorities within a portable range
Rémi Denis-Courmont [Fri, 6 Jun 2008 14:48:48 +0000 (17:48 +0300)]
Rescale POSIX realtime priorities within a portable range

POSIX warrants at least 32 priorities from
sched_get_priority_min(SCHED_RR) to sched_get_priority_max(SCHED_RR).
We were previously relying on 41 priorities, from 0 to 40.

16 years agoDo not set a priority for non-realtime threads
Rémi Denis-Courmont [Fri, 6 Jun 2008 14:39:28 +0000 (17:39 +0300)]
Do not set a priority for non-realtime threads

Contrary to process priority increment ("niceness"), thread priority
increment increase in the priority of the thread. So multiplying
negative priorities with -1 was totally wrong here.

On Linux, there is only one non-realtime (SCHED_OTHER) priority, 0, so
the code was failing safe silently. Don't know on other systems.

16 years agoSet the thread priority before its creation
Rémi Denis-Courmont [Fri, 6 Jun 2008 14:29:46 +0000 (17:29 +0300)]
Set the thread priority before its creation

This should avoid priority inversion.

16 years agoAdd missing unicast parameter in the Transport: response
Rémi Denis-Courmont [Fri, 6 Jun 2008 13:51:52 +0000 (16:51 +0300)]
Add missing unicast parameter in the Transport: response

So-called "RTSP" VoD remains extremely broken,
and I have no intention to fix it.

16 years agoMention the RTMP access and access output in the NEWS.
Antoine Cellerier [Fri, 6 Jun 2008 13:35:02 +0000 (15:35 +0200)]
Mention the RTMP access and access output in the NEWS.

16 years agoFix typo.
Antoine Cellerier [Wed, 4 Jun 2008 11:48:50 +0000 (13:48 +0200)]
Fix typo.

16 years agostream: Don't attempt to seek() when reading to NULL in *Immediate method, as pointed...
Pierre d'Herbemont [Fri, 6 Jun 2008 11:10:36 +0000 (13:10 +0200)]
stream: Don't attempt to seek() when reading to NULL in *Immediate method, as pointed by Rémi.

16 years agostream: Support reading to NULL buffer in *Immediate method.
Pierre d'Herbemont [Fri, 6 Jun 2008 10:58:38 +0000 (12:58 +0200)]
stream: Support reading to NULL buffer in *Immediate method.

16 years agoNEWS: Add something about the new options to reduce latency.
Pierre d'Herbemont [Fri, 6 Jun 2008 09:44:59 +0000 (11:44 +0200)]
NEWS: Add something about the new options to reduce latency.

16 years agoRevert "Fix mozilla detection logic"
Rafaël Carré [Fri, 6 Jun 2008 10:03:23 +0000 (12:03 +0200)]
Revert "Fix mozilla detection logic"

This reverts commit 05cb347026d5f03fdbddac517fe75372fc308a9b.

16 years agoRevert "stream_Read() : makes the buffer mandatory"
Rafaël Carré [Fri, 6 Jun 2008 10:03:03 +0000 (12:03 +0200)]
Revert "stream_Read() : makes the buffer mandatory"

This reverts commit 0bcda15e362b5e00fd4b6f458206ac52035b217d.

16 years agoRevert "ASF: Use stream_Seek() if we only want to seek"
Rafaël Carré [Fri, 6 Jun 2008 10:02:56 +0000 (12:02 +0200)]
Revert "ASF: Use stream_Seek() if we only want to seek"

This reverts commit e9fdaf06b59ebdd0b9b5faa000c18732354e44e1.

16 years agoRevert "ASF: Do not use stream_Read with a NULL buffer"
Rafaël Carré [Fri, 6 Jun 2008 10:02:46 +0000 (12:02 +0200)]
Revert "ASF: Do not use stream_Read with a NULL buffer"

This reverts commit 77a7babe4a2e4391ec33bf690fb1abecd28cbb74.

16 years agoASF: Do not use stream_Read with a NULL buffer
Rafaël Carré [Fri, 6 Jun 2008 09:54:50 +0000 (11:54 +0200)]
ASF: Do not use stream_Read with a NULL buffer

16 years agoFix mozilla detection logic
Rafaël Carré [Fri, 6 Jun 2008 09:40:41 +0000 (11:40 +0200)]
Fix mozilla detection logic

16 years agoUse stats demux only if selected
Rafaël Carré [Fri, 6 Jun 2008 09:39:54 +0000 (11:39 +0200)]
Use stats demux only if selected

16 years agoASF: Use stream_Seek() if we only want to seek
Rafaël Carré [Fri, 6 Jun 2008 09:39:18 +0000 (11:39 +0200)]
ASF: Use stream_Seek() if we only want to seek

16 years agostream_Read() : makes the buffer mandatory
Rafaël Carré [Fri, 6 Jun 2008 09:38:47 +0000 (11:38 +0200)]
stream_Read() : makes the buffer mandatory

16 years agoSmall fix for DVD menus.
Jean-Baptiste Kempf [Fri, 6 Jun 2008 01:25:21 +0000 (18:25 -0700)]
Small fix for DVD menus.

16 years agoinput: Comment on how to enable auto pts delay adjustement.
Pierre d'Herbemont [Fri, 6 Jun 2008 00:31:15 +0000 (02:31 +0200)]
input: Comment on how to enable auto pts delay adjustement.

16 years agostats: Ownership.
Pierre d'Herbemont [Fri, 6 Jun 2008 00:30:50 +0000 (02:30 +0200)]
stats: Ownership.

16 years agoDesactivate activex until it's fixed
Christophe Mutricy [Thu, 5 Jun 2008 22:54:39 +0000 (23:54 +0100)]
Desactivate activex until it's fixed

16 years agoffmpeg.h was removed
Christophe Mutricy [Thu, 5 Jun 2008 22:45:43 +0000 (23:45 +0100)]
ffmpeg.h was removed

16 years agoinput: Explain a bit more how --auto-adjust-pts-delay works.
Pierre d'Herbemont [Thu, 5 Jun 2008 22:27:35 +0000 (00:27 +0200)]
input: Explain a bit more how --auto-adjust-pts-delay works.

16 years agoinput: Add --auto-adjust-pts-delay, this allows to stream/receive with an extremely...
Pierre d'Herbemont [Thu, 5 Jun 2008 22:13:27 +0000 (00:13 +0200)]
input: Add --auto-adjust-pts-delay, this allows to stream/receive with an extremely low latency.

Simple demo:
vlc --sout="#duplicate{dst=display,dst='transcode{vcodec=mp4v}:std{access=http,dst=0.0.0.0:8080,mux=ts}'}" --ignore-config  --use-stream-immediate movie.avi &
vlc --use-stream-immediate http://127.0.0.1:8080
and
vlc --use-stream-immediate http://127.0.0.1:8080 --auto-adjust-pts-delay

You'll have to wait a bit until the pts delay is auto adjusted. Generally it takes 2-4 seconds, because access set a very high default pts delay value. One amelioration would be to lower the pts_delay when this option is set to allow a quicker convergence.

The general algorithm requires some tuning, but results are here.

Note, this only works if there is a video track. A similar function could be developped for the audio tracks.

16 years agoinput: Use mtime_t for pts_delay.
Pierre d'Herbemont [Thu, 5 Jun 2008 21:11:00 +0000 (23:11 +0200)]
input: Use mtime_t for pts_delay.

16 years agostats: use vlc_common.h instead of vlc/vlc.h
Pierre d'Herbemont [Thu, 5 Jun 2008 19:42:09 +0000 (21:42 +0200)]
stats: use vlc_common.h instead of vlc/vlc.h

Don't trust cherry-pick blindly.

16 years agostats: Add vout stats module.
Pierre d'Herbemont [Fri, 23 May 2008 23:06:48 +0000 (01:06 +0200)]
stats: Add vout stats module.

./vlc movie.avi --sout="#transcode{aenc=dummy,venc=stats}:std{access=http,mux=dummy,dst=0.0.0.0:8081}"
./vlc -vvv http://127.0.0.1:8081 --demux=stats --vout=stats --codec=stats

16 years agostats: Initial import of a stat oriented module. Use with /vlc --ignore-config -I...
Pierre d'Herbemont [Mon, 19 May 2008 17:14:54 +0000 (19:14 +0200)]
stats: Initial import of a stat oriented module. Use with /vlc --ignore-config -I dummy -vvv movie.avi --sout="#transcode{aenc=dummy,venc=stats}:std{access=http,mux=dummy,dst=0.0.0.0:8080}"

16 years agostream: Add a new method for buffering access: A*Immediate method.
Pierre d'Herbemont [Fri, 23 May 2008 11:28:36 +0000 (13:28 +0200)]
stream: Add a new method for buffering access: A*Immediate method.

It is much more efficient regarding latency as it doesn't bufferize more than needed, and let the module access take care of that eventually.

Enable with --use-stream-immediate. We may want to default it.

Note: --use-stream-immediate will be only effective on access that don't provide pf_block() for now. This is because I didn't benchmark against the Block method.

Here the gain that I did measure is about 200ms (less latency) when using the http access on a loopback.

16 years agoDo not use print colored help if stdout is not a TTY
Rémi Denis-Courmont [Thu, 5 Jun 2008 17:10:04 +0000 (20:10 +0300)]
Do not use print colored help if stdout is not a TTY

16 years agoTypo
Rémi Denis-Courmont [Thu, 5 Jun 2008 17:05:34 +0000 (20:05 +0300)]
Typo

16 years agoSupport for using a custom text domain for configuration strings
Rémi Denis-Courmont [Thu, 5 Jun 2008 16:04:56 +0000 (19:04 +0300)]
Support for using a custom text domain for configuration strings

16 years agoSupport for custom text domain in module strings
Rémi Denis-Courmont [Thu, 5 Jun 2008 16:16:05 +0000 (19:16 +0300)]
Support for custom text domain in module strings

16 years agoContrib: remove unneeded and outdated dvdnav.patch.
Pavlov Konstantin [Thu, 5 Jun 2008 15:39:00 +0000 (19:39 +0400)]
Contrib: remove unneeded and outdated dvdnav.patch.

16 years agoContrib: Remove libdvdnav-win32 patch, applied upstream.
Pavlov Konstantin [Thu, 5 Jun 2008 15:37:52 +0000 (19:37 +0400)]
Contrib: Remove libdvdnav-win32 patch, applied upstream.

16 years agoContrib: update bulk patch for libdvdnav.
Pavlov Konstantin [Thu, 5 Jun 2008 15:36:15 +0000 (19:36 +0400)]
Contrib: update bulk patch for libdvdnav.

16 years agoenable display of background bitmaps (eg, picture subtitles)
Vincent Penquerc'h [Thu, 5 Jun 2008 12:04:03 +0000 (13:04 +0100)]
enable display of background bitmaps (eg, picture subtitles)

Signed-off-by: Rémi Denis-Courmont <rdenis@simphalempin.com>
16 years agoDon't workaround unknown bugs in external libraries
Rafaël Carré [Thu, 5 Jun 2008 13:31:02 +0000 (15:31 +0200)]
Don't workaround unknown bugs in external libraries

Better comment them fully, if you are too lazy to report upstream

16 years agoUse a libhal property only if it exists
Rafaël Carré [Thu, 5 Jun 2008 11:00:14 +0000 (13:00 +0200)]
Use a libhal property only if it exists

Regression introduced in [c75dafab5775afe24fc5f2bd944199bb361d6269]
Bug spotted by Fabio Ritrovato

16 years agolibvlc: No need to link to Cocoa.
Pierre d'Herbemont [Thu, 5 Jun 2008 00:35:29 +0000 (02:35 +0200)]
libvlc: No need to link to Cocoa.

16 years agoDon't try to build broken postproc modules
Rafaël Carré [Wed, 4 Jun 2008 23:52:50 +0000 (01:52 +0200)]
Don't try to build broken postproc modules

16 years agoRemove debug (tip: put debug messages in spanish, they're easier to grep
Antoine Cellerier [Wed, 4 Jun 2008 23:31:23 +0000 (01:31 +0200)]
Remove debug (tip: put debug messages in spanish, they're easier to grep
for in english code)

16 years agoDefault enable the dvb and v4l2 modules.
Antoine Cellerier [Wed, 4 Jun 2008 23:23:17 +0000 (01:23 +0200)]
Default enable the dvb and v4l2 modules.

16 years agoTypo: use debug code only when wanted (and defined)
Rafaël Carré [Wed, 4 Jun 2008 22:46:39 +0000 (00:46 +0200)]
Typo: use debug code only when wanted (and defined)

16 years agoThis should fix audio transcoding. (unfortunately I have some issues
Antoine Cellerier [Wed, 4 Jun 2008 22:02:42 +0000 (00:02 +0200)]
This should fix audio transcoding. (unfortunately I have some issues
a bit later ... but at least it gives a starting point for people
wanting to have fun with transcode / audio / filter chains)

16 years agoRTP: support for pulse code modulation
Rémi Denis-Courmont [Wed, 4 Jun 2008 20:06:27 +0000 (23:06 +0300)]
RTP: support for pulse code modulation

16 years agoYUV 422 Packed motion detect (still kind of broken).
Antoine Cellerier [Wed, 4 Jun 2008 20:04:58 +0000 (22:04 +0200)]
YUV 422 Packed motion detect (still kind of broken).

16 years agoFix segfault in transcode (audio).
Antoine Cellerier [Wed, 4 Jun 2008 20:04:44 +0000 (22:04 +0200)]
Fix segfault in transcode (audio).

16 years agoFactorize some code in the filters.
Antoine Cellerier [Wed, 4 Jun 2008 18:19:05 +0000 (20:19 +0200)]
Factorize some code in the filters.

16 years agoFactorize picture dating and releasing code.
Antoine Cellerier [Wed, 4 Jun 2008 18:02:58 +0000 (20:02 +0200)]
Factorize picture dating and releasing code.

16 years agoUseless statement.
Antoine Cellerier [Wed, 4 Jun 2008 18:02:22 +0000 (20:02 +0200)]
Useless statement.

16 years agoAdd support for Packed YUV 422 to rotate video filter. Output quality is
Antoine Cellerier [Wed, 4 Jun 2008 17:58:16 +0000 (19:58 +0200)]
Add support for Packed YUV 422 to rotate video filter. Output quality is
less than that of the planar version (uses nearest neighboor instead of
interpolated colors)

16 years agoOnly try creating the filter chain once.
Antoine Cellerier [Wed, 4 Jun 2008 14:53:19 +0000 (16:53 +0200)]
Only try creating the filter chain once.

16 years agoaccess_udp: remove UDP-Lite support
Rémi Denis-Courmont [Wed, 4 Jun 2008 19:30:44 +0000 (22:30 +0300)]
access_udp: remove UDP-Lite support

16 years agoRTP: add UDP-Lite support
Rémi Denis-Courmont [Wed, 4 Jun 2008 19:30:13 +0000 (22:30 +0300)]
RTP: add UDP-Lite support

16 years agoDo not use the old UDP access for RTP/AVP
Rémi Denis-Courmont [Wed, 4 Jun 2008 19:16:04 +0000 (22:16 +0300)]
Do not use the old UDP access for RTP/AVP

16 years agoBuild the RTP plugin
Rémi Denis-Courmont [Wed, 4 Jun 2008 19:14:51 +0000 (22:14 +0300)]
Build the RTP plugin

16 years agoDon't check for impossible error involving object types
Rémi Denis-Courmont [Wed, 4 Jun 2008 18:43:38 +0000 (21:43 +0300)]
Don't check for impossible error involving object types

16 years agoFTP: do not rely on object_type
Rémi Denis-Courmont [Wed, 4 Jun 2008 18:35:56 +0000 (21:35 +0300)]
FTP: do not rely on object_type

16 years agoRemove VLC_OBJECT_SOUT
Rémi Denis-Courmont [Wed, 4 Jun 2008 18:30:38 +0000 (21:30 +0300)]
Remove VLC_OBJECT_SOUT

16 years agoRemove another unsafe sout cleanup hack
Rémi Denis-Courmont [Wed, 4 Jun 2008 18:24:25 +0000 (21:24 +0300)]
Remove another unsafe sout cleanup hack

16 years agoPlaylist takes care of sout-keep, NOT libvlc!
Rémi Denis-Courmont [Wed, 4 Jun 2008 18:16:29 +0000 (21:16 +0300)]
Playlist takes care of sout-keep, NOT libvlc!

Fixes a bunch of crashes at exit.

16 years agoHandle sout-keep from the playlist engine
Rémi Denis-Courmont [Wed, 4 Jun 2008 18:13:47 +0000 (21:13 +0300)]
Handle sout-keep from the playlist engine

16 years agoSimplify
Rémi Denis-Courmont [Wed, 4 Jun 2008 18:12:07 +0000 (21:12 +0300)]
Simplify

16 years agoVLM: remove the unneeded sout-keep hack
Rémi Denis-Courmont [Wed, 4 Jun 2008 17:45:43 +0000 (20:45 +0300)]
VLM: remove the unneeded sout-keep hack

16 years agoRemove sout-keep from the input code
Rémi Denis-Courmont [Wed, 4 Jun 2008 17:34:38 +0000 (20:34 +0300)]
Remove sout-keep from the input code

It needs to be done by the parent (VLM or playlist)

16 years agoFix crash if inputs fails and there is no sout
Rémi Denis-Courmont [Wed, 4 Jun 2008 17:34:13 +0000 (20:34 +0300)]
Fix crash if inputs fails and there is no sout

16 years agoFix grammar
Rémi Denis-Courmont [Wed, 4 Jun 2008 17:33:17 +0000 (20:33 +0300)]
Fix grammar

16 years agovlc_threadobj under NDEBUG and refcheck under LIBVLC_REFCHECK
Rémi Denis-Courmont [Wed, 4 Jun 2008 17:16:47 +0000 (20:16 +0300)]
vlc_threadobj under NDEBUG and refcheck under LIBVLC_REFCHECK

vlc_threadobj() is no use otherwise. People may want not to enable
reference checking all the time also...

16 years agoIgnore exceptions correctly - don't let libvlc assert
Rémi Denis-Courmont [Wed, 4 Jun 2008 16:59:28 +0000 (19:59 +0300)]
Ignore exceptions correctly - don't let libvlc assert

16 years agoRemove redumdant b_play code
Rémi Denis-Courmont [Wed, 4 Jun 2008 16:50:20 +0000 (19:50 +0300)]
Remove redumdant b_play code

16 years agoVLC: start the playlist at start
Rémi Denis-Courmont [Wed, 4 Jun 2008 16:43:25 +0000 (19:43 +0300)]
VLC: start the playlist at start

16 years agolibvlc_InternalAddIntf: remove the other boolean
Rémi Denis-Courmont [Wed, 4 Jun 2008 16:32:23 +0000 (19:32 +0300)]
libvlc_InternalAddIntf: remove the other boolean

16 years agoSimplify
Rémi Denis-Courmont [Wed, 4 Jun 2008 16:18:24 +0000 (19:18 +0300)]
Simplify

16 years agoFix sout leak if the playlist is gone
Rémi Denis-Courmont [Wed, 4 Jun 2008 15:43:06 +0000 (18:43 +0300)]
Fix sout leak if the playlist is gone

16 years agoUse gray for the place holder color on packed formats (else you'd end up
Antoine Cellerier [Wed, 4 Jun 2008 14:51:20 +0000 (16:51 +0200)]
Use gray for the place holder color on packed formats (else you'd end up
with an ugly green in packed YUV).

16 years agoFix help string.
Antoine Cellerier [Wed, 4 Jun 2008 13:32:12 +0000 (15:32 +0200)]
Fix help string.

16 years agoAdd "Y800" and "Y8 " as aliases for the "GREY" fourcc in the core.
Antoine Cellerier [Sat, 31 May 2008 15:34:35 +0000 (17:34 +0200)]
Add "Y800" and "Y8  " as aliases for the "GREY" fourcc in the core.

16 years agoUgly hack to make the filter chain work correctly for the video output core. This...
Antoine Cellerier [Wed, 4 Jun 2008 10:57:50 +0000 (12:57 +0200)]
Ugly hack to make the filter chain work correctly for the video output core. This will be removed once all the different picture release methods have been merged into one coherent method.

16 years agoFix a few compilation warnings.
Antoine Cellerier [Wed, 4 Jun 2008 10:56:46 +0000 (12:56 +0200)]
Fix a few compilation warnings.

16 years agoUse filter chain in subpicture core.
Antoine Cellerier [Wed, 4 Jun 2008 00:24:00 +0000 (02:24 +0200)]
Use filter chain in subpicture core.

16 years agoUse filter chain in video output core.
Antoine Cellerier [Tue, 3 Jun 2008 22:28:03 +0000 (00:28 +0200)]
Use filter chain in video output core.

16 years agoUse filter chain in transcode (audio filter2 and video filter2).
Antoine Cellerier [Tue, 3 Jun 2008 22:27:34 +0000 (00:27 +0200)]
Use filter chain in transcode (audio filter2 and video filter2).

16 years agoRemove unused types and fix indentation.
Antoine Cellerier [Tue, 3 Jun 2008 20:48:45 +0000 (22:48 +0200)]
Remove unused types and fix indentation.

16 years agoNew filter chain handling API. This should make it possible to factorize
Antoine Cellerier [Tue, 3 Jun 2008 20:44:06 +0000 (22:44 +0200)]
New filter chain handling API. This should make it possible to factorize
a lot of code everywhere a filter_t chain is used ("video filter2":
vout core, transcode, chain.c video filter; "sub filter": spu_Init;
"audio filter2": transcode; the other types of filter_t objects are
never chained)

Btw, why aren't "audio filter2" filters used anywhere in the aout core?

16 years agoRTP: support for G.711
Rémi Denis-Courmont [Tue, 3 Jun 2008 21:06:27 +0000 (00:06 +0300)]
RTP: support for G.711

Note that it seems to suck badly, but as I get the same awful results
with RTSP+live555, I have to assume eitehr the whole synchro is broken
or the stream output is

16 years agoIgnore unknown payload types
Rémi Denis-Courmont [Tue, 3 Jun 2008 20:39:48 +0000 (23:39 +0300)]
Ignore unknown payload types

16 years agoRTP: add support for MPA and MPV static payload formats
Rémi Denis-Courmont [Tue, 3 Jun 2008 20:32:27 +0000 (23:32 +0300)]
RTP: add support for MPA and MPV static payload formats

16 years agoAdd missing prototypes
Rafaël Carré [Tue, 3 Jun 2008 20:24:43 +0000 (22:24 +0200)]
Add missing prototypes

16 years agoLink with libavutil when needed
Rafaël Carré [Tue, 3 Jun 2008 19:57:31 +0000 (21:57 +0200)]
Link with libavutil when needed

Use tabs in Makefile

16 years agoMinimalistic RTP demux
Rémi Denis-Courmont [Tue, 3 Jun 2008 19:43:29 +0000 (22:43 +0300)]
Minimalistic RTP demux

Currently, only MP2T payload and UDP transport work.

16 years agoFix typo
Rémi Denis-Courmont [Tue, 3 Jun 2008 16:09:59 +0000 (19:09 +0300)]
Fix typo