Commit Graph

146 Commits

Author SHA1 Message Date
corey da8cb27dbd support lavc mblmin and mblmax
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20772 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-08 03:22:03 +00:00
reimar 88c688595e Add proper flv fourcc
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20435 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-24 18:45:17 +00:00
michael b85ad74dc9 pass average bitrate from encoder to (lavf) muxer
this fixes some problems with muxing mp4 files for the psp


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19366 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-10 21:48:41 +00:00
diego b5de6c39e6 Remove #if LIBAVCODEC_BUILD >= XXX and #if LIBAVFORMAT_BUILD >= XXX jungle.
It served no apparent purpose anymore.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19078 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-13 23:02:03 +00:00
diego e364249f21 Remove unused variables, patch by Stefan Huehner, stefan ##at## huehner org.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18981 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-09 16:01:36 +00:00
corey 5414825bac Support and document lavc b_sensitivity option.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18573 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-05 06:37:29 +00:00
lorenm c7032926c9 document the recent changes in Snow.
new lavcopts: 'refs', 'vqscale=0'



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18570 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-05 05:34:26 +00:00
corey 447119777b support lavc mv0_threshold
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18490 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-05-13 20:18:57 +00:00
reynaldo b4c74fb28e Part2 of several printf2mp_msg changes in patch from Otvos Attila oattila AT chello DOT hu with LOTS of modifications by me
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18005 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-31 00:15:47 +00:00
michael a812e6fc3c lavc doesnt pass AVFrame.opaque around :/
so lets use AVFrame.pts and hope lavcs pedantic timestamp checks like what mencoder generates ...


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17910 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-21 23:06:09 +00:00
michael 565af71e4f 10l (null pointer dereference)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17908 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-21 22:12:48 +00:00
michael 02b199e5e9 passing pts through the filter layer (lets see if pts or cola comes out at the end)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17907 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-21 21:26:42 +00:00
corey fac2fee9fe Support libavcodec vrc_strategy=1 (XviD ratecontrol).
As a side effect, this also makes -lavcopts vcodec=xvid work.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17887 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-17 23:47:10 +00:00
michael 3d19a5474d -lavcopts aglobal
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17843 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-13 02:40:09 +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
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
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
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
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
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
reynaldo 836e6e0865 Fixed wrong M_OPT_RANGE in vrc_maxrate/vrc_minrate , default was 0 and range [4,2400000]
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17064 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-29 04:16:46 +00:00
diego 36e1974be0 Unify include path handling, -I.. is in CFLAGS.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17013 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-18 14:39:25 +00:00
ranma 7aa8c21587 10l: scene change detecion is deactivated with sc_threshold=1000000000
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15990 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-17 07:58:09 +00:00
ranma 69699de9fb 10l for me
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15989 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-17 06:59:45 +00:00
ranma ab1937346e Add vrc_init_occupancy to lavcopts
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15782 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-20 14:27:21 +00:00
reimar 51d07d0ea2 vstrict=-1 is now less "dangerous", make it default and remove m/ljpeg encoding colorspace hack
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15386 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-09 20:04:12 +00:00
gpoirier 1a88eb42f8 Add border masking support for lavc
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15369 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-08 20:51:38 +00:00
reimar 6ffcd0f755 ljpeg codec needs YUVJ colorspace, too
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15365 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-08 10:31:33 +00:00
michael 4cd5847495 LIBAVCODEC_BUILD >= 4754
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15308 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-30 22:41:41 +00:00
gpoirier 980c26e5ac 35% faster turbo mode with 0.01dB drop. Based Loren Merritt's suggestions.
Next step would be to make turbo mode accept a "quality" argument to control the
speed vs quality tradeoff.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14893 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-03-02 19:28:42 +00:00
henry 18abbb69a1 fixes for encoding of multiple files
- do not uninitialize video encoder between files
- checks for image size & format change moved from mencoder.c to vfilters

by Oded Shimon <ods15@ods15.dyndns.org>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14879 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-03-01 20:21:58 +00:00
rfelker 55aa474d7e 100l to michael :))))
vi_qoffset/vb_qoffset have been broken ever since the qp2lambda stuff
went in, which is a LONG time ago.....


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14787 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-24 02:31:41 +00:00
reimar e26ad848c5 Use PIX_FMT_YUVJ420P for mjpeg so that vstrict=-1 is not necessary
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14776 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-23 00:10:26 +00:00
michael 81ef1c7db5 switch from DIVX -> FMP4 fourcc for libavcodec
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14767 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-22 20:24:18 +00:00
reimar 479bdb2c08 change malloc and free to av_ variants where needed.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14432 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-08 19:16:21 +00:00
lorenm 95329dd3cd suppress dummy frames due to B-frame delay.
flush delayed frames.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14081 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-01 20:32:05 +00:00
lorenm a063b1bf18 new lavc codec: ffvhuff
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14058 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-11-28 18:37:49 +00:00
rfelker a733bc2208 10l...autoaspect was always applied to muxer aspect if using newer libavcodec...hope this is ok
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13670 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-18 12:26:45 +00:00
gpoirier 16fba15308 10l: Make turbo mode compatible with 3-pass encoding
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13407 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-09-20 20:07:29 +00:00
gpoirier 7fa1bf6c59 New lavc flag: "turbo" mode which is supposed to speed up 2-pass encoding
while preserving quality as much as possible.
Inspired by XviD "turbo" mode.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13387 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-09-19 09:59:05 +00:00
michael a33c90828e support generating divx2pass.log on 2nd pass patch by (Loren Merritt <lorenm at u dot washington dot edu>)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13386 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-09-18 23:20:09 +00:00
alex 0cd7b2f4df support snow
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13075 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-08-21 19:31:00 +00:00
diego 33bbcce7d5 more precise wording
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12984 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-08-09 23:46:28 +00:00
michael a8059efeeb mencoder psnr segfaults on readonly fs patch by (Fabio Russo <f.russo at sosinformatica dot com>)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12872 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-07-20 12:06:30 +00:00
michael 4ace585b54 dc=11 fixed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12766 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-07-06 12:29:32 +00:00