vlc.git
11 years agoAdded a utf8_mkstemp implementation.
Laurent Aimar [Mon, 17 Nov 2008 23:05:49 +0000 (00:05 +0100)]
Added a utf8_mkstemp implementation.

11 years agoReduce memory usage (-28%) by packing index structures.
Laurent Aimar [Mon, 17 Nov 2008 18:55:01 +0000 (19:55 +0100)]
Reduce memory usage (-28%) by packing index structures.

It is done by using __attribute__((__packed__)) when available.

11 years agoUpdated "can-pause" value.
Laurent Aimar [Mon, 17 Nov 2008 18:36:37 +0000 (19:36 +0100)]
Updated "can-pause" value.

11 years agoAdded timeshift options (input-timeshift-granularity/input-timeshift-path).
Laurent Aimar [Mon, 17 Nov 2008 18:36:00 +0000 (19:36 +0100)]
Added timeshift options (input-timeshift-granularity/input-timeshift-path).

11 years agoFixed missing unlock in case of error (timeshift).
Laurent Aimar [Mon, 17 Nov 2008 18:34:24 +0000 (19:34 +0100)]
Fixed missing unlock in case of error (timeshift).

11 years agoRemoved timeshift module.
Laurent Aimar [Mon, 17 Nov 2008 18:05:40 +0000 (19:05 +0100)]
Removed timeshift module.

 It has been replaced by generic timeshift at es_out level.
The only regressions I see is:
 - it is not (yet) possible to timeshift module that (wrongly) advertize
 pace control.
 - the new timeshift still uses too much memory (~20Mbytes per hour for DVB-T).

11 years agoDump data to disk when timeshifting.
Laurent Aimar [Sun, 16 Nov 2008 23:42:29 +0000 (00:42 +0100)]
Dump data to disk when timeshifting.

11 years agoPrepare file storage in timeshift.
Laurent Aimar [Sun, 16 Nov 2008 20:34:58 +0000 (21:34 +0100)]
Prepare file storage in timeshift.

11 years agoClean up.
Laurent Aimar [Sun, 16 Nov 2008 13:47:40 +0000 (14:47 +0100)]
Clean up.

11 years agoAdded frame by frame support in es out timeshift.
Laurent Aimar [Sun, 16 Nov 2008 12:40:53 +0000 (13:40 +0100)]
Added frame by frame support in es out timeshift.

11 years agoPrivatized ES_OUT_SET_ACTIVE/MODE and removed ES_OUT_GET_ACTIVE/MODE/GROUP.
Laurent Aimar [Sun, 16 Nov 2008 11:37:52 +0000 (12:37 +0100)]
Privatized ES_OUT_SET_ACTIVE/MODE and removed ES_OUT_GET_ACTIVE/MODE/GROUP.

11 years agoStop timeshifting when unused.
Laurent Aimar [Sun, 16 Nov 2008 01:55:38 +0000 (02:55 +0100)]
Stop timeshifting when unused.

11 years agoCosmetics.
Laurent Aimar [Sun, 16 Nov 2008 01:45:48 +0000 (02:45 +0100)]
Cosmetics.

11 years agoUntangled es_out_timeshift lock/wait/properties.
Laurent Aimar [Sun, 16 Nov 2008 01:44:38 +0000 (02:44 +0100)]
Untangled es_out_timeshift lock/wait/properties.

11 years agoNo functionnal changes (timeshift).
Laurent Aimar [Sun, 16 Nov 2008 00:27:48 +0000 (01:27 +0100)]
No functionnal changes (timeshift).

11 years agoCosmetics.
Laurent Aimar [Sat, 15 Nov 2008 23:08:15 +0000 (00:08 +0100)]
Cosmetics.

11 years agoAuto reset rate to source rate when no more buffered data.
Laurent Aimar [Sat, 15 Nov 2008 20:04:26 +0000 (21:04 +0100)]
Auto reset rate to source rate when no more buffered data.

11 years agoAdded rate change support to es_out_timeshift.
Laurent Aimar [Sat, 15 Nov 2008 19:28:08 +0000 (20:28 +0100)]
Added rate change support to es_out_timeshift.

11 years agoCosmetics.
Laurent Aimar [Fri, 14 Nov 2008 00:58:09 +0000 (01:58 +0100)]
Cosmetics.

11 years agoImplemented pause for non pausable stream (in memory).
Laurent Aimar [Fri, 14 Nov 2008 00:53:30 +0000 (01:53 +0100)]
Implemented pause for non pausable stream (in memory).

11 years agoCosmetic.
Laurent Aimar [Wed, 12 Nov 2008 23:14:12 +0000 (00:14 +0100)]
Cosmetic.

11 years agoAllow using es_out timeshift pause support.
Laurent Aimar [Wed, 12 Nov 2008 23:10:01 +0000 (00:10 +0100)]
Allow using es_out timeshift pause support.

11 years agoBegin es out timeshift implementation.
Laurent Aimar [Wed, 12 Nov 2008 23:08:30 +0000 (00:08 +0100)]
Begin es out timeshift implementation.

There are some problems:
- The data are stored in memory.
- Only pause/unpause are supported.
- Data are sent too fast to the next es_out.

11 years agoAdded initial skeleton for es_out timeshift support.
Laurent Aimar [Tue, 11 Nov 2008 20:26:46 +0000 (21:26 +0100)]
Added initial skeleton for es_out timeshift support.

It is not yet functionnal.

11 years agoFixed ES_OUT_SET_FMT name.
Laurent Aimar [Fri, 7 Nov 2008 00:08:49 +0000 (01:08 +0100)]
Fixed ES_OUT_SET_FMT name.

11 years agoPatch to enable/disable key and mouse handling at vout level:
Jean-Baptiste Kempf [Mon, 17 Nov 2008 15:48:04 +0000 (16:48 +0100)]
Patch to enable/disable key and mouse handling at vout level:

- x11-event option is renamed vout-event and become global
(libvlc-module.c)
- var_CreateGetInteger is called once at x11 initialization

Patch by Joseph Tulou

11 years agoTemporarily work around crashing on Windows due to %zu
Pierre Ynard [Mon, 17 Nov 2008 11:08:28 +0000 (12:08 +0100)]
Temporarily work around crashing on Windows due to %zu

The printf functions on Windows don't support the z length modifier,
which can shift field arguments, and causes an unconditional crash in
modules.c on start-up. For now, strip it on Windows and have vlc work
again, until a better solution is found and applied.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years agoSupport for QAM modulation on ATSC
Jean-Baptiste Kempf [Mon, 17 Nov 2008 15:26:58 +0000 (16:26 +0100)]
Support for QAM modulation on ATSC

Default is not QAM_AUTO because ATSC is mainly using VSB_8 for non-cable operations.
Patch by Charles Hordis

11 years agoDon't distribute ./compile
Christophe Mutricy [Mon, 17 Nov 2008 00:18:48 +0000 (00:18 +0000)]
Don't distribute ./compile

11 years agoDistribute pixmaps/toolbars/*
Christophe Mutricy [Mon, 17 Nov 2008 00:17:05 +0000 (00:17 +0000)]
Distribute pixmaps/toolbars/*

11 years agortp/xiph.c has no strings and is not (yet) distributed
Christophe Mutricy [Mon, 17 Nov 2008 00:15:34 +0000 (00:15 +0000)]
rtp/xiph.c has no strings and is not (yet) distributed

11 years agoAllow disabling libsysfs support
Alexis Ballier [Sat, 15 Nov 2008 13:42:19 +0000 (14:42 +0100)]
Allow disabling libsysfs support

Add a configure switch to allow disabling libsysfs support instead of letting it check what is on the build host and enable it accordingly. The default behavior is unchanged.

Signed-off-by: Christophe Mutricy <xtophe@videolan.org>
11 years agoFixed snapshot while video is paused.
Laurent Aimar [Sat, 15 Nov 2008 21:53:26 +0000 (22:53 +0100)]
Fixed snapshot while video is paused.

11 years agocodec/dirac: Fix video format guessing
David Flynn [Sat, 15 Nov 2008 14:13:48 +0000 (14:13 +0000)]
codec/dirac: Fix video format guessing

Signed-off-by: David Flynn <davidf@rd.bbc.co.uk>
Signed-off-by: Laurent Aimar <fenrir@videolan.org>
11 years agoNEWS: Dirac is now available in TS too.
Jean-Baptiste Kempf [Sat, 15 Nov 2008 16:44:39 +0000 (17:44 +0100)]
NEWS: Dirac is now available in TS too.

11 years ago[Qt] Use the new Frame-By-Frame icon.
Jean-Baptiste Kempf [Fri, 14 Nov 2008 16:02:42 +0000 (17:02 +0100)]
[Qt] Use the new Frame-By-Frame icon.

11 years agodo not mind large time discontinuities in SPU streams these are to be expected, so...
Vincent Penquerc'h [Tue, 11 Nov 2008 20:56:06 +0000 (20:56 +0000)]
do not mind large time discontinuities in SPU streams these are to be expected, so do not reset timing

Signed-off-by: Laurent Aimar <fenrir@videolan.org>
11 years agoRemoved useless test.
Laurent Aimar [Sat, 15 Nov 2008 12:21:57 +0000 (13:21 +0100)]
Removed useless test.

11 years agomux/mpeg/pes: move PES_PRIVATE_STREAM_1 id handling into PESHeader()
David Flynn [Fri, 14 Nov 2008 21:46:40 +0000 (21:46 +0000)]
mux/mpeg/pes: move PES_PRIVATE_STREAM_1 id handling into PESHeader()

PES_EXTENDED_STREAM_ID is handled inside PESHeader()
Not handling PES_PRIVATE_STREAM_1 inside PESHeader() just moves complication
into the calling function and creates an extra argument.

Signed-off-by: David Flynn <davidf@rd.bbc.co.uk>
Signed-off-by: Laurent Aimar <fenrir@videolan.org>
11 years agomux/mpeg/ts: Add dirac muxing support
David Flynn [Fri, 14 Nov 2008 21:46:39 +0000 (21:46 +0000)]
mux/mpeg/ts: Add dirac muxing support

Signed-off-by: David Flynn <davidf@rd.bbc.co.uk>
Signed-off-by: Laurent Aimar <fenrir@videolan.org>
11 years agomux/mpeg/pes: Add support for stream_id_extension
David Flynn [Fri, 14 Nov 2008 21:46:38 +0000 (21:46 +0000)]
mux/mpeg/pes: Add support for stream_id_extension

ISO/IEC 13818-1:2000/Amd.2:2003 Adds support for signalling
a stream_id_extension.  This is used in mapping standards
for Dirac/VC-2 and VC-1.

Signed-off-by: David Flynn <davidf@rd.bbc.co.uk>
Signed-off-by: Laurent Aimar <fenrir@videolan.org>
11 years agoAdded 2 asserts.
Laurent Aimar [Sat, 15 Nov 2008 12:02:55 +0000 (13:02 +0100)]
Added 2 asserts.

11 years agomux/mpeg/pes: Add support for unbounded VIDEO_ES
David Flynn [Fri, 14 Nov 2008 21:46:37 +0000 (21:46 +0000)]
mux/mpeg/pes: Add support for unbounded VIDEO_ES

For some stream_id's in a transport stream, the PES packet may be
unbounded in length; add support for this.

Signed-off-by: David Flynn <davidf@rd.bbc.co.uk>
Signed-off-by: Laurent Aimar <fenrir@videolan.org>
11 years agomux/mpeg/pes: Add documentation stub
David Flynn [Fri, 14 Nov 2008 21:46:36 +0000 (21:46 +0000)]
mux/mpeg/pes: Add documentation stub

Signed-off-by: David Flynn <davidf@rd.bbc.co.uk>
Signed-off-by: Laurent Aimar <fenrir@videolan.org>
11 years agoRevert "Fix compilation warning when compiling without --enable-debug."
Rémi Duraffort [Fri, 14 Nov 2008 19:50:03 +0000 (20:50 +0100)]
Revert "Fix compilation warning when compiling without --enable-debug."
This commit breaks 'make check'.

This reverts commit c87ca8bb3ad9da57f15b311d4b688215e0a2f461.

11 years ago[Qt] New icons... Because you are worth it.
Jean-Baptiste Kempf [Fri, 14 Nov 2008 15:47:30 +0000 (16:47 +0100)]
[Qt] New icons... Because you are worth it.

11 years agoCmml: again, fix warning in a better way.
Rémi Duraffort [Thu, 13 Nov 2008 21:47:56 +0000 (22:47 +0100)]
Cmml: again, fix warning in a better way.

11 years agocmml: *Really* fix compilation warning.
Rémi Duraffort [Thu, 13 Nov 2008 21:37:05 +0000 (22:37 +0100)]
cmml: *Really* fix compilation warning.
(Don't use dummy code to hide these warnings)

11 years agoFix compilation warning when compiling without --enable-debug.
Rémi Duraffort [Thu, 13 Nov 2008 21:22:32 +0000 (22:22 +0100)]
Fix compilation warning when compiling without --enable-debug.

11 years agoSome NEWS.
Jean-Baptiste Kempf [Thu, 13 Nov 2008 17:40:41 +0000 (18:40 +0100)]
Some NEWS.

11 years agoFix toggling when Video is not embedded
COCQUEBERT Cédric [Thu, 13 Nov 2008 17:05:25 +0000 (18:05 +0100)]
Fix toggling when Video is not embedded

Slight modification by jb
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years agoMaemo: Add the swscale_nokia770 library
Antoine Lejeune [Sat, 26 Jul 2008 00:58:15 +0000 (02:58 +0200)]
Maemo: Add the swscale_nokia770 library

Its interface is close to swscale and the library used part of the
swscale module code.
The library was developped by Siarhei Siamashka.

Signed-off-by: Rémi Denis-Courmont <rdenis@simphalempin.com>
11 years agoA new GUI for Maemo based on Hildon framework
Antoine Lejeune [Fri, 27 Jun 2008 16:55:15 +0000 (18:55 +0200)]
A new GUI for Maemo based on Hildon framework

Signed-off-by: Rémi Denis-Courmont <rdenis@simphalempin.com>
11 years agoMisspelling DCCP code
Vicente Jimenez Aguilar [Thu, 13 Nov 2008 14:20:04 +0000 (15:20 +0100)]
Misspelling DCCP code

Signed-off-by: Rémi Denis-Courmont <rdenis@simphalempin.com>
11 years agoCorrect typo in previous commits.
Jean-Baptiste Kempf [Thu, 13 Nov 2008 01:29:06 +0000 (02:29 +0100)]
Correct typo in previous commits.

11 years ago[Win32] package scripts updates.
Jean-Baptiste Kempf [Thu, 13 Nov 2008 01:21:46 +0000 (02:21 +0100)]
[Win32] package scripts updates.

11 years ago[Win32] add a MSys configure script.
Jean-Baptiste Kempf [Thu, 13 Nov 2008 00:07:30 +0000 (01:07 +0100)]
[Win32] add a MSys configure script.

11 years ago[Win32] Package: Warn if unix2dos fails, since this can happen a lot on MSys or CYGWIN
Jean-Baptiste Kempf [Thu, 13 Nov 2008 00:04:23 +0000 (01:04 +0100)]
[Win32] Package: Warn if unix2dos fails, since this can happen a lot on MSys or CYGWIN

11 years agoRTP has moved to access/
Christophe Mutricy [Wed, 12 Nov 2008 21:32:55 +0000 (21:32 +0000)]
RTP has moved to access/

11 years agoub.sh: prettified the comments a bit
Felix Paul Kühne [Wed, 12 Nov 2008 21:15:27 +0000 (22:15 +0100)]
ub.sh: prettified the comments a bit

11 years agoFixed output bitrate value + cosmetics.
Laurent Aimar [Wed, 12 Nov 2008 19:04:42 +0000 (20:04 +0100)]
Fixed output bitrate value + cosmetics.

11 years agocodec/dirac: Rewrite libdirac(-research) encoding support
David Flynn [Wed, 12 Nov 2008 09:21:25 +0000 (09:21 +0000)]
codec/dirac: Rewrite libdirac(-research) encoding support

libdirac is currently a higher quality (albeit much slower) encoder than
libschroedinger.  The intention is to port its algorithim to schro and
depricate the codebase.

A previous patch removes libdirac decoding support in preference
to the schroedinger module which is designed to be much faster.

This patch corrects previous attempts at doing an encoder module. It
takes into account:
 - input PTS
 - correctly forming output pts&dts (progressive and field coding modes)
 - gathering dirac data units into encapsulation units
 - encoder options
 - simplified encoder options (block overlap)
 - choosing of suitable parameters from input frame parameters
 - OggDirac compliant stashing of headers in p_extra

Signed-off-by: David Flynn <davidf@rd.bbc.co.uk>
Signed-off-by: Laurent Aimar <fenrir@videolan.org>
11 years agoFix a cursor selection bug in the Messages logs (see #2163)
Ludovic Fauvet [Tue, 11 Nov 2008 10:37:34 +0000 (11:37 +0100)]
Fix a cursor selection bug in the Messages logs (see #2163)

Also introduce a smart selection where the selection is restored after
text is inserted.

Signed-off-by: Rémi Denis-Courmont <rdenis@simphalempin.com>
11 years agohttpd: correctly reads from ufd[]...
Paul Corke [Tue, 11 Nov 2008 10:05:45 +0000 (10:05 +0000)]
httpd:  correctly reads from ufd[]...

...in the case where there are multiple clients, not all of which are
waiting to be serviced.

Signed-off-by: Rémi Denis-Courmont <rdenis@simphalempin.com>
11 years agoAdd support for bbc.co.uk iPLayer URLs (LUA Script)
Dominique Leuenberger [Mon, 10 Nov 2008 21:48:53 +0000 (22:48 +0100)]
Add support for bbc.co.uk iPLayer URLs (LUA Script)

Radio only for the moment

Signed-off-by: Christophe Mutricy <xtophe@videolan.org>
11 years agoi18: Translate one more string
Christophe Mutricy [Tue, 11 Nov 2008 20:07:48 +0000 (20:07 +0000)]
i18: Translate one more string

11 years agoSync NEWS
Christophe Mutricy [Sat, 8 Nov 2008 01:08:26 +0000 (01:08 +0000)]
Sync NEWS

11 years agoRevert "Increased VOUT_IDLE_SLEEP as a proper wait/lock is used."
Laurent Aimar [Tue, 11 Nov 2008 20:49:05 +0000 (21:49 +0100)]
Revert "Increased VOUT_IDLE_SLEEP as a proper wait/lock is used."

This reverts commit 4332c070f6eba9288f349ac378392b219a3d7629.

A higher value creates problem with OSD. This will need more
thinking.

11 years agoRemoved es_out_Lock/Unlock.
Laurent Aimar [Tue, 11 Nov 2008 20:16:04 +0000 (21:16 +0100)]
Removed es_out_Lock/Unlock.

 Demuxer running their own thread sending data to es_out will have to
properly handle es_out (reset).

11 years agoRemoved stream immediate.
Laurent Aimar [Tue, 11 Nov 2008 19:32:20 +0000 (20:32 +0100)]
Removed stream immediate.

Normal stream layer should be about the same latency now.

11 years agoRemoved useless buffering at stream level.
Laurent Aimar [Tue, 11 Nov 2008 19:26:05 +0000 (20:26 +0100)]
Removed useless buffering at stream level.

It removed the need of access_t.info.b_prebuffered
It reduces latency (removing the need for stream immediate)
It may increase a little the CPU usage but only for demuxer that
already do too much small stream reads.

11 years agoIncreased VOUT_IDLE_SLEEP as a proper wait/lock is used.
Laurent Aimar [Tue, 11 Nov 2008 18:40:07 +0000 (19:40 +0100)]
Increased VOUT_IDLE_SLEEP as a proper wait/lock is used.

 It is still needed as filter change need to be checked and do not use
this wait/lock (they are about picture fifo).

11 years agoFix package-macosx-plugin target on MacOS X 10.5 (Leopard).
Felix Paul Kühne [Tue, 11 Nov 2008 18:47:05 +0000 (19:47 +0100)]
Fix package-macosx-plugin target on MacOS X 10.5 (Leopard).

forward-port [578af5df020a05e7deb7f4b0fdf5b6c5d402814e]

Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>
11 years agoModify caching-values in simple-preferences, so new base values are
Ilkka Ollakka [Tue, 11 Nov 2008 15:09:51 +0000 (17:09 +0200)]
Modify caching-values in simple-preferences, so new base values are
100 200 300 750 2500

For http/rtsp caching is doubled, for mms its 10x that (maybe too much on that one).

11 years agoEnable ffmpeg aac decoder, seems to work currently.
Ilkka Ollakka [Tue, 11 Nov 2008 11:06:41 +0000 (13:06 +0200)]
Enable ffmpeg aac decoder, seems to work currently.

11 years agocodec/dirac: remove decoder functionality
David Flynn [Mon, 10 Nov 2008 19:27:33 +0000 (19:27 +0000)]
codec/dirac: remove decoder functionality

The schroedinger project and vlc module are much faster dirac decoders;
that should be used in preference to libdirac[-research]

Signed-off-by: David Flynn <davidf@rd.bbc.co.uk>
Signed-off-by: Laurent Aimar <fenrir@videolan.org>
11 years agoConstify es_out_Add es_format_t* argument.
Laurent Aimar [Mon, 10 Nov 2008 18:07:00 +0000 (19:07 +0100)]
Constify es_out_Add es_format_t* argument.

11 years agomux/ogg: Enable OggDirac support
David Flynn [Sun, 9 Nov 2008 15:36:17 +0000 (15:36 +0000)]
mux/ogg: Enable OggDirac support

 - OggDirac support using revised granule_position mapping:
     http://www.diracvideo.org/specification (20081109)
 - Uses p_extra for BOS page
 - Flushes Ogg page after each OggDirac packet

Signed-off-by: David Flynn <davidf@rd.bbc.co.uk>
Signed-off-by: Laurent Aimar <fenrir@videolan.org>
11 years ago[Contrib] GnuTLS update to 2.6.1
Jean-Baptiste Kempf [Mon, 10 Nov 2008 15:40:45 +0000 (16:40 +0100)]
[Contrib] GnuTLS update to 2.6.1

11 years agolive555.cpp typo
Sebastien Escudier [Fri, 7 Nov 2008 09:25:26 +0000 (10:25 +0100)]
live555.cpp typo

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years ago[Contrib] Dirac update to 1.0.0. Some patches were merged upstream, some are still...
Jean-Baptiste Kempf [Mon, 10 Nov 2008 12:58:23 +0000 (13:58 +0100)]
[Contrib] Dirac update to 1.0.0. Some patches were merged upstream, some are still needed...

11 years agoFix previous commit (untested)
Rémi Denis-Courmont [Sun, 9 Nov 2008 19:34:43 +0000 (21:34 +0200)]
Fix previous commit (untested)

11 years agoImprove Win32 poll replacement (and fix #1949)
Rémi Denis-Courmont [Sun, 9 Nov 2008 19:26:11 +0000 (21:26 +0200)]
Improve Win32 poll replacement (and fix #1949)

11 years agoread -> recv for Wins(o|u)ck
Rémi Denis-Courmont [Sun, 9 Nov 2008 18:04:38 +0000 (20:04 +0200)]
read -> recv for Wins(o|u)ck

11 years agoRTP: try to improve packet re-ordering
Rémi Denis-Courmont [Sun, 9 Nov 2008 17:36:30 +0000 (19:36 +0200)]
RTP: try to improve packet re-ordering

11 years agoMove RTP to access/rtp
Rémi Denis-Courmont [Sun, 9 Nov 2008 12:41:07 +0000 (14:41 +0200)]
Move RTP to access/rtp

11 years agommap: fix large file support on 32-bits archs (closes #2188)
Rémi Denis-Courmont [Sat, 8 Nov 2008 15:51:28 +0000 (17:51 +0200)]
mmap: fix large file support on 32-bits archs (closes #2188)

11 years agommap: fix debug message formats
Rémi Denis-Courmont [Sat, 8 Nov 2008 15:43:54 +0000 (17:43 +0200)]
mmap: fix debug message formats

11 years ago[Galaktos] Fix compilation.
Jean-Baptiste Kempf [Fri, 7 Nov 2008 12:40:23 +0000 (13:40 +0100)]
[Galaktos] Fix compilation.

11 years agoRemove unneeded symbols.
Jean-Baptiste Kempf [Fri, 7 Nov 2008 12:12:05 +0000 (13:12 +0100)]
Remove unneeded symbols.

11 years agolibvlc: better audio handling
Lukas Durfina [Sat, 1 Nov 2008 12:23:25 +0000 (13:23 +0100)]
libvlc: better audio handling

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years agoModified demux_vaControlHelper to take bitrate in an int64_t
Laurent Aimar [Fri, 7 Nov 2008 11:29:39 +0000 (12:29 +0100)]
Modified demux_vaControlHelper to take bitrate in an int64_t

11 years agoCleaned up a bit rawvideo demuxer.
Laurent Aimar [Fri, 7 Nov 2008 11:22:43 +0000 (12:22 +0100)]
Cleaned up a bit rawvideo demuxer.

Used vlc_fourcc_t.
Protected a macro.
Used var_CreateGetNonEmptyString where needed.
Cosmetics.

11 years agoDo not reject rawvideo without a frame rate but use 25 instead.
Laurent Aimar [Fri, 7 Nov 2008 10:52:32 +0000 (11:52 +0100)]
Do not reject rawvideo without a frame rate but use 25 instead.

 The rawvideo stream may not be CFR but has a timestamp for every frame.
 Anyway I prefer that we try to display the stream even with small glitches
than rejecting it.

11 years agorawvideo: Fix timestamps & input options
David Flynn [Fri, 7 Nov 2008 08:43:32 +0000 (08:43 +0000)]
rawvideo: Fix timestamps & input options

demux:
 - Use accurate timestamps (date_t)
 - Signal frame rate in fmt_out
 - Fix aspect ratio for YUV4MPEG2
 - Reoganise input options to allow sensible overrides
   Ie: extension gussing < yuv4mpeg < cmdline

codec/packetizer:
 - Fix incorrect assumption of 25 fps video
 - Use accurate timestamps (date_t)
 - Copy input format as output format (to preserve frame rate)
 - Set progressive flag per picture

TODO:
 - Have module option for interlaced
 - Detect interlaced in demux for YUV4MPEG2
 - Have codec read set the interlaced flags in the video
 All seems rather tricky for the moment (well, YUV4MPEG2 bit does,
 since the demuxer strips the headers that reveal the interlace
 mode).

Signed-off-by: David Flynn <davidf@rd.bbc.co.uk>
Signed-off-by: Laurent Aimar <fenrir@videolan.org>
11 years ago[Contribs] Update LAME.
Jean-Baptiste Kempf [Fri, 7 Nov 2008 00:49:04 +0000 (01:49 +0100)]
[Contribs] Update LAME.

11 years ago[Contrib] Update to libpng 1.2.33
Jean-Baptiste Kempf [Fri, 7 Nov 2008 00:36:03 +0000 (01:36 +0100)]
[Contrib] Update to libpng 1.2.33

11 years ago[Contrib] Theora 1.0.
Jean-Baptiste Kempf [Fri, 7 Nov 2008 00:29:15 +0000 (01:29 +0100)]
[Contrib] Theora 1.0.

11 years agoUpdate live555 contrib patch
Jean-Baptiste Kempf [Thu, 6 Nov 2008 19:12:47 +0000 (20:12 +0100)]
Update live555 contrib patch

11 years agoRemove thread ID.
Rémi Denis-Courmont [Thu, 6 Nov 2008 20:34:24 +0000 (22:34 +0200)]
Remove thread ID.

Iinvalid on POSIX (pthread_t is not scalar), crashing on Win32