summaryrefslogtreecommitdiffstats
path: root/libmpcodecs/ve_lavc.c
Commit message (Collapse)AuthorAgeFilesLines
* cosmetics: Rename struct vf_instance_s --> vf_instance.diego2010-02-211-7/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30684 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add missing license headers to all files in the libmpcodecs directory.diego2010-01-301-0/+18
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30463 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add a proper header for our strsep implementation so strsep willreimar2010-01-171-0/+1
| | | | | | | not be used without a declaration, causing issues on 64 bit systems. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30355 b3059339-0415-0410-9bf9-f77b7e298cf2
* Reuse the fmt-conversion code instead of duplicating the functionality.reimar2010-01-171-24/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30354 b3059339-0415-0410-9bf9-f77b7e298cf2
* Only call avcodec_close if the open succeeded before, otherwise avcodec_closereimar2009-11-061-1/+2
| | | | | | | | will crash (happens e.g. when encoding ends before any frames were actually encoded, e.g. when an MPEG file was cut down to much so it no longer contains a full video frame). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29835 b3059339-0415-0410-9bf9-f77b7e298cf2
* Change type to avoid void * arithmetic.reimar2009-09-251-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29716 b3059339-0415-0410-9bf9-f77b7e298cf2
* Set codec_type and codec_id in codec context for lavc encoders.reimar2009-09-251-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29715 b3059339-0415-0410-9bf9-f77b7e298cf2
* whitespace cosmetics: Remove all trailing whitespace.diego2009-05-131-28/+28
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29305 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add support for libavcodec GMC flag, patch by Dave Baker, dbkr mxtelecom com.diego2009-02-011-0/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28415 b3059339-0415-0410-9bf9-f77b7e298cf2
* Update libavcodec 'aic' flag define to match current FFmpeg.diego2009-01-301-2/+2
| | | | | | | patch by Dave Baker, dbkr mxtelecom com git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28395 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix compilation after libavcodec major version 52 changesuau2008-09-081-6/+5
| | | | | | | | | | | Some symbols were dropped or renamed, requiring corresponding changes in MPlayer. - Use AVCodecContext->bits_per_coded_sample instead of ->bits_per_sample. - Use AVCodecContext->trellis instead of ->flags&CODEC_FLAG_TRELLIS_QUANT. - Don't set AVCodecContext->rtp_mode (already marked unused before). - Use ff_eval2() instead of ff_eval(). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27548 b3059339-0415-0410-9bf9-f77b7e298cf2
* Start unifying names of internal preprocessor directives.diego2008-07-301-1/+1
| | | | | | | | Replace all USE_ prefixes by CONFIG_ prefixes to indicate options which are configurable. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27373 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add Dirac video support via libdirac and libschroedinger in libavcodec.diego2008-07-221-0/+4
| | | | | | | patch by Anuradha Suraparaju, anuradha rd.bbc.co uk git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27339 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: Remove pointless parentheses from return calls.diego2008-05-161-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26786 b3059339-0415-0410-9bf9-f77b7e298cf2
* AVOption support for video encoders.michael2008-05-101-0/+10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26725 b3059339-0415-0410-9bf9-f77b7e298cf2
* Restore grayscale decoding support with FFmpeg.diego2008-04-131-0/+3
| | | | | | | Removing support was done due to a silly misunderstanding. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26427 b3059339-0415-0410-9bf9-f77b7e298cf2
* Grayscale encoding/decoding with FFmpeg is no longer enabled, remove referencesdiego2008-03-071-3/+0
| | | | | | | from the documentation and the relevant options from the glue code. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26198 b3059339-0415-0410-9bf9-f77b7e298cf2
* FFmpeg now uses different (unified) #include paths.diego2008-02-251-4/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26101 b3059339-0415-0410-9bf9-f77b7e298cf2
* typo fix: inited --> initializeddiego2008-02-141-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25994 b3059339-0415-0410-9bf9-f77b7e298cf2
* Support lowdelay flagreimar2007-09-061-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24349 b3059339-0415-0410-9bf9-f77b7e298cf2
* make x264 work again after the h264-libx264 renamingmichael2007-08-071-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24024 b3059339-0415-0410-9bf9-f77b7e298cf2
* allow to specify the audio bitrate in bits (some codecs need that ...)michael2007-07-311-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23977 b3059339-0415-0410-9bf9-f77b7e298cf2
* make timestamps out of hot airmichael2007-07-311-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23974 b3059339-0415-0410-9bf9-f77b7e298cf2
* make a few more parameters accessable from mplayermichael2007-07-311-1/+14
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23973 b3059339-0415-0410-9bf9-f77b7e298cf2
* Pass imgfmt from lavc encoder to lavf muxer (this is needed for dv).corey2007-05-171-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23327 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add DV fourcc.corey2007-05-131-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23306 b3059339-0415-0410-9bf9-f77b7e298cf2
* add "level" as lavc optioncehoyos2007-05-031-0/+3
| | | | | | | | | | | Patch by Gustavo Sverzut Barbieri, barbieri ! gmail x com reference: Subject: [MPlayer-dev-eng] [PATCH] add "level" as option to lavc (aka Mencoder generating PS3 playable h264 videos) Date: 2007-05-03 13:56 +200 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23227 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add explicit location for headers from the libmpdemux/ directory.diego2007-03-151-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22619 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add explicit location for headers from the stream/ directory.diego2007-03-151-1/+1
| | | | | | | Now for the encoding-related files as well. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22618 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix compilation after deprecation of some lav log level andreimar2007-02-071-1/+1
| | | | | | | pixel format stuff. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22170 b3059339-0415-0410-9bf9-f77b7e298cf2
* support lavc mblmin and mblmaxcorey2006-11-081-0/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20772 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add proper flv fourccreimar2006-10-241-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20435 b3059339-0415-0410-9bf9-f77b7e298cf2
* pass average bitrate from encoder to (lavf) muxermichael2006-08-101-1/+1
| | | | | | | 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
* Remove #if LIBAVCODEC_BUILD >= XXX and #if LIBAVFORMAT_BUILD >= XXX jungle.diego2006-07-131-120/+2
| | | | | | | It served no apparent purpose anymore. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19078 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unused variables, patch by Stefan Huehner, stefan ##at## huehner org.diego2006-07-091-5/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18981 b3059339-0415-0410-9bf9-f77b7e298cf2
* Support and document lavc b_sensitivity option.corey2006-06-051-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18573 b3059339-0415-0410-9bf9-f77b7e298cf2
* document the recent changes in Snow.lorenm2006-06-051-3/+6
| | | | | | | | new lavcopts: 'refs', 'vqscale=0' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18570 b3059339-0415-0410-9bf9-f77b7e298cf2
* support lavc mv0_thresholdcorey2006-05-131-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18490 b3059339-0415-0410-9bf9-f77b7e298cf2
* Part2 of several printf2mp_msg changes in patch from Otvos Attila oattila AT ↵reynaldo2006-03-311-3/+3
| | | | | | chello DOT hu with LOTS of modifications by me git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18005 b3059339-0415-0410-9bf9-f77b7e298cf2
* lavc doesnt pass AVFrame.opaque around :/michael2006-03-211-2/+17
| | | | | | | 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
* 10l (null pointer dereference)michael2006-03-211-2/+12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17908 b3059339-0415-0410-9bf9-f77b7e298cf2
* passing pts through the filter layer (lets see if pts or cola comes out at ↵michael2006-03-211-6/+13
| | | | | | the end) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17907 b3059339-0415-0410-9bf9-f77b7e298cf2
* Support libavcodec vrc_strategy=1 (XviD ratecontrol).corey2006-03-171-1/+1
| | | | | | | 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
* -lavcopts aglobalmichael2006-03-131-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17843 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix video delay when encoding with B-frames.corey2006-02-211-1/+5
| | | | | | | | | | 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
* Move conditional compilation out of the code and into the build system.diego2006-01-311-3/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17524 b3059339-0415-0410-9bf9-f77b7e298cf2
* change muxer_write_chunk() so that pts/dts _could_ be passed from encoder to ↵michael2006-01-261-1/+1
| | | | | | muxer git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17488 b3059339-0415-0410-9bf9-f77b7e298cf2
* pass vbv_size & max_rate from encoder to muxer over muxer_stream_t (if this ↵michael2006-01-251-0/+8
| | | | | | | | | | 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
* vglobal so the user can tell the encoder that she wants global headers ... ↵michael2006-01-241-1/+11
| | | | | | one step closer to correct mov/mp4 muxing git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17479 b3059339-0415-0410-9bf9-f77b7e298cf2
* Using INT_MAX without including limits.h breaks compilation on MinGW.diego2006-01-231-0/+1
| | | | | | | patch by Gianluigi Tiesi, mplayer $$@$$ netfarm $$.$$ it git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17470 b3059339-0415-0410-9bf9-f77b7e298cf2
* support libavcodec's new sc_factor parametercorey2006-01-221-0/+3
| | | | | | | Original idea from Michael; patch by me. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17465 b3059339-0415-0410-9bf9-f77b7e298cf2
* convert some printfs to mp_msgrathann2006-01-101-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17356 b3059339-0415-0410-9bf9-f77b7e298cf2
* Support vme=8 (iterative overlapped block).diego2005-12-291-1/+1
| | | | | | | patch by Corey Hickey < .. bugfood-ml .. @ .. fatooh .. . .. org .. > git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17262 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add bidir_refine to lavc's set of options, and document it.gpoirier2005-12-281-0/+3
| | | | | | | 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
* support downscaling frames for dynamic b frame decissiongpoirier2005-12-251-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17244 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fixed wrong M_OPT_RANGE in vrc_maxrate/vrc_minrate , default was 0 and range ↵reynaldo2005-11-291-2/+2
| | | | | | [4,2400000] git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17064 b3059339-0415-0410-9bf9-f77b7e298cf2
* Unify include path handling, -I.. is in CFLAGS.diego2005-11-181-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17013 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l: scene change detecion is deactivated with sc_threshold=1000000000ranma2005-07-171-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15990 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l for meranma2005-07-171-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15989 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add vrc_init_occupancy to lavcoptsranma2005-06-201-0/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15782 b3059339-0415-0410-9bf9-f77b7e298cf2
* vstrict=-1 is now less "dangerous", make it default and remove m/ljpeg ↵reimar2005-05-091-6/+1
| | | | | | encoding colorspace hack git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15386 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add border masking support for lavcgpoirier2005-05-081-0/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15369 b3059339-0415-0410-9bf9-f77b7e298cf2
* ljpeg codec needs YUVJ colorspace, tooreimar2005-05-081-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15365 b3059339-0415-0410-9bf9-f77b7e298cf2
* LIBAVCODEC_BUILD >= 4754michael2005-04-301-0/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15308 b3059339-0415-0410-9bf9-f77b7e298cf2
* 35% faster turbo mode with 0.01dB drop. Based Loren Merritt's suggestions.gpoirier2005-03-021-4/+2
| | | | | | | | 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
* fixes for encoding of multiple fileshenry2005-03-011-0/+1
| | | | | | | | | | - 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
* 100l to michael :))))rfelker2005-02-241-2/+2
| | | | | | | | 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
* Use PIX_FMT_YUVJ420P for mjpeg so that vstrict=-1 is not necessaryreimar2005-02-231-0/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14776 b3059339-0415-0410-9bf9-f77b7e298cf2
* switch from DIVX -> FMP4 fourcc for libavcodecmichael2005-02-221-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14767 b3059339-0415-0410-9bf9-f77b7e298cf2
* change malloc and free to av_ variants where needed.reimar2005-01-081-23/+10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14432 b3059339-0415-0410-9bf9-f77b7e298cf2
* suppress dummy frames due to B-frame delay.lorenm2004-12-011-5/+21
| | | | | | | flush delayed frames. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14081 b3059339-0415-0410-9bf9-f77b7e298cf2
* new lavc codec: ffvhufflorenm2004-11-281-1/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14058 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l...autoaspect was always applied to muxer aspect if using newer ↵rfelker2004-10-181-1/+2
| | | | | | libavcodec...hope this is ok git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13670 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l: Make turbo mode compatible with 3-pass encodinggpoirier2004-09-201-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13407 b3059339-0415-0410-9bf9-f77b7e298cf2
* New lavc flag: "turbo" mode which is supposed to speed up 2-pass encodinggpoirier2004-09-191-0/