Commit Graph

1458 Commits

Author SHA1 Message Date
diego 434c3d0218 Reduce Real DLL/so loading verbosity, OKed by Roberto.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17722 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-03 22:38:46 +00:00
gpoirier bc6540bae9 XviD multi-threaded encoding support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17704 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-01 09:18:56 +00:00
michael 593dda77e9 10l (dont limit dimension components independantly if noup)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17675 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-24 15:22:59 +00:00
corey 960b978a03 Fix video delay when encoding with B-frames.
Encoding delay is adjusted for on-the-fly during encoding.

Decoding delay is compensated for by setting an appropriate dwStart on
the audio stream (only in muxer_avi at this point).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17660 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-21 09:39:22 +00:00
michael 8f51734daf no upscale flag so automatic downscaling is possible in mencoder
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17647 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-18 21:12:56 +00:00
aurel 808ce9a03a memalign segfaults when used without declaration on amd64 (default function return type is int so the pointer was trunctated to 32bits)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17636 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-16 22:43:42 +00:00
iive 2431c2a2cb include config.h before includes that need it
based on patch by Alan Curry <pacman at theworld com>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17631 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-16 10:08:03 +00:00
diego 52c917e583 Align memory at 16 byte boundaries.
This fixes crashes related to AltiVec as reported at
http://mplayerhq.hu/pipermail/mplayer-advusers/2006-January/001381.html
patch by Luca Barbato, lu_zero #at# gentoo #dot# org


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17626 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-14 09:55:14 +00:00
lorenm 394940b23c lavc exposes the reconstructed picture, so no need to decode it again
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17615 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-13 07:00:37 +00:00
reimar 67569814d9 Make sure maxlen is respected, instead of just failing the assert later on.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17582 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-10 18:21:52 +00:00
rathann e7db4ccf1a Patch by Stefan Huehner / stefan % huehner ! org \
patch replaces '()' for the correct '(void)' in function
declarations/prototypes which have no parameters. The '()' syntax tell
thats there is a variable list of arguments, so that the compiler cannot
check this. The extra CFLAG '-Wstrict-declarations' shows those cases.

Comments about a similar patch applied to ffmpeg:

That in C++ these mean the same, but in ANSI C the semantics are
different; function() is an (obsolete) K&R C style forward declaration,
it basically means that the function can have any number and any types
of parameters, effectively completely preventing the compiler from doing
any sort of type checking. -- Erik Slagter

Defining functions with unspecified arguments is allowed but bad.
With arguments unspecified the compiler can't report an error/warning
if the function is called with incorrect arguments. -- Måns Rullgård


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17567 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-09 14:08:03 +00:00
iive 1f34ddefd2 include config.h as img_format.h needs endian definitions, noticed by Alan Curry <pacman at theworld com>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17566 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-09 10:23:51 +00:00
rtognimp ae8e77ca8d Add support for grayscale [m]jpeg
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17562 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-08 23:22:29 +00:00
ods15 5d1bccd70c Fix mpng to work correctly with 16 bit png's. don't have any files to test
this on, but mpng still works correctly for files that worked fine before.
patch by derf < tterribe BANG xiph POIT org >


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17553 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-07 18:17:12 +00:00
diego aa18e3de57 Only compile libmpencoders if MEncoder has been enabled.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17525 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-01-31 23:45:46 +00:00
diego 872a28cc57 Move conditional compilation out of the code and into the build system.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17524 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-01-31 23:36:12 +00:00
diego 89d549f984 Make clean/distclean behave uniformly in all directories.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17489 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-01-27 00:06:42 +00:00
michael e6338c5858 change muxer_write_chunk() so that pts/dts _could_ be passed from encoder to muxer
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17488 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-01-26 19:32:07 +00:00
michael 590e8e7153 pass vbv_size & max_rate from encoder to muxer over muxer_stream_t (if this is wrong/silly/10000000l then dont hesitate to flame / reverse)
make a few things like mux_rate, mux_max_delay, ... user settable
fixed buffer underflow errors when muxing to mpeg-ps


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17481 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-01-25 01:17:57 +00:00
michael 1cba4675fa vglobal so the user can tell the encoder that she wants global headers ... one step closer to correct mov/mp4 muxing
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17479 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-01-24 23:50:41 +00:00
diego 4e63801751 Using INT_MAX without including limits.h breaks compilation on MinGW.
patch by Gianluigi Tiesi,  mplayer $$@$$ netfarm $$.$$ it


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17470 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-01-23 13:53:40 +00:00
corey 9e0acc3d2e support libavcodec's new sc_factor parameter
Original idea from Michael; patch by me.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17465 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-01-22 21:02:14 +00:00
diego 65f186f4d0 proper support for shared libpostproc
patch by Nico Sabbi, fixes and consistency cleanups by me


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17464 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-01-22 18:11:35 +00:00
reimar 0ded97cff2 Use free instead of speex_free - since speex_free does not appear in the
headers it probably is for internal use only.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17430 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-01-19 20:26:34 +00:00
diego 53f42d7ecd Push "Building audio filter chain" up to verbose level.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17428 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-01-19 00:08:09 +00:00
lorenm 7bf3599898 sync to x264 r398.
patch by Guillaume Poirier.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17403 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-01-16 01:37:32 +00:00
nicodvb 7737fb018d ad_hwmpa: pass-through fake audio codec for hardware mpeg decoders
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17398 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-01-15 10:25:14 +00:00
diego 285eb0f1ca Consistent variable names for shared libavcodec.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17388 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-01-14 16:26:42 +00:00
diego 988281c471 Update licensing information: The FSF changed postal address.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17368 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-01-13 00:23:32 +00:00
rathann 2601de4120 massive attack: mp_msg printf format fixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17367 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-01-12 20:04:36 +00:00
rathann f39b891ba0 convert some printfs to mp_msg
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17356 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-01-10 11:09:03 +00:00
nicodvb ad978de549 added support for external libavformat
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17355 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-01-09 19:35:44 +00:00
lorenm 457b63508d sync to x264 r390 (bime)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17269 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-30 05:15:27 +00:00
diego f71dd5c4c8 Support vme=8 (iterative overlapped block).
patch by Corey Hickey < .. bugfood-ml .. @ .. fatooh .. . .. org .. >


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17262 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-29 17:01:33 +00:00
gpoirier b44bf0d4d9 Add bidir_refine to lavc's set of options, and document it.
Patch by Corey Hickey < bugfood DASH ml AHHH fatooh POIS org >


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17257 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-28 08:45:18 +00:00
rtognimp d583c7420a Remove tables used by MPlayer native 14_4 and 28_8 codecs
I forgot to remove them when i switched to lavc codecs


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17251 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-27 10:10:44 +00:00
gpoirier 1d132c16ae support downscaling frames for dynamic b frame decission
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17244 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-25 21:29:18 +00:00
ods15 9f66514984 I screwed up keep aspect param, made behavior the opposite of man page.
0-1 were original aspect ratio instead of display...


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17228 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-20 17:38:43 +00:00
henry c0e54fd248 malloc padding to avoid access beyond allocated memory
Credits to Mikulas Patocka (mikulas at artax karlin mff cuni cz)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17227 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-19 19:38:28 +00:00
henry 335f35f2bf reverse the H264 hack
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17226 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-19 18:04:37 +00:00
henry 1a84744160 negative quality values allow postproc regardless of input
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17224 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-18 18:11:26 +00:00
henry 7a80e5c844 do not postprocess H264
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17222 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-18 13:35:48 +00:00
michael 772ebb6456 bitexact flag
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17218 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-18 01:22:11 +00:00
ods15 87b66affe9 deobfuscate some very simple code...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17216 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-17 20:00:16 +00:00
henry 1162939b3a do not set the flag when config failed
patch by Mikulas Patocka (mikulas at artax karlin mff cuni cz)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17199 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-16 18:32:58 +00:00
rtognimp 81d2a7031c Remove MPlayer native 14_4 and 28_8 codecs (they are in lavc)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17152 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-09 16:52:44 +00:00
rtognimp bda32bc73a Move audio packets reordering from codec interface to demuxers for real
files (old and new format), pass only real extradata to the codec
Enable cook codec from lavc, prefer lavc codecs for 14_4 and 28_8
formats. Disable internal 28_8, it's broken now and will be removed soon


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17150 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-09 16:25:37 +00:00
henry cb6f72fd1a prevent flicker on b-frames, trivial port from vf_spp
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17134 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-07 20:04:16 +00:00
ods15 d23cd76afb more warning fixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17123 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-07 10:07:27 +00:00
michael 2c5c0cea5f prevent flicker, to get old behaviour use spp=x:y:4 / x:y:5
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17111 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-06 11:17:26 +00:00