summaryrefslogtreecommitdiffstats
path: root/mencoder.c
Commit message (Collapse)AuthorAgeFilesLines
* comment on -noskip patchrfelker2005-10-231-0/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16837 b3059339-0415-0410-9bf9-f77b7e298cf2
* honor decoder's/filter's decision to remove frames when using -noskip.rfelker2005-10-231-0/+3
| | | | | | | | | | | | | | | | | | | | this may go against the original intention of the vf layer, but it's how all the filters that drop frames have been written to work, so it's now the de-facto standard. without this patch, -noskip will result in tons of duplicate frames (either soft or hard duplicates) and a/v desync whenever decimation, ivtc, etc. is used. even with this patch -noskip is still a bad idea for most of these purposes, but it will work reliably with filmdint, framestep, and some other filters with fixed in:out ratios as long as the right -ofps value is used. without this patch, there is no hope of -noskip working with frame-dropping filters. (this patch was previously committed erroneously as part of another change, then reversed. it is now being committed again.) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16830 b3059339-0415-0410-9bf9-f77b7e298cf2
* reapply rawaudio muxer fix (don't disable audio without user's permission!) ↵rfelker2005-10-231-4/+0
| | | | | | (previously reversed because of mistake in patch.. 10l to me :) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16829 b3059339-0415-0410-9bf9-f77b7e298cf2
* reverse patch that was mistakenly applied with unwanted unrelated changesrfelker2005-10-231-3/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16828 b3059339-0415-0410-9bf9-f77b7e298cf2
* document hackods152005-10-201-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16815 b3059339-0415-0410-9bf9-f77b7e298cf2
* processing audio is sometimes essential for a/v sync, so 1000l torfelker2005-10-191-4/+3
| | | | | | | | | | | | | | whoever made rawvideo muxer disable audio!! with this patch, audio is processed but simply thrown away by the muxer. various 'error' conditions in rawvideo muxer are removed to make it work. feel free to re-add them if they can be done without breaking anything, but do not use printf !!!! btw old behavior can be obtained by manually specifying -nosound. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16806 b3059339-0415-0410-9bf9-f77b7e298cf2
* allow mencoder to load win32 codecs properly patch by Zuxy <zuxy.meng at ↵faust32005-10-161-0/+4
| | | | | | gmail.com> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16782 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics. does not change functionality, but makes code easier to readods152005-10-131-63/+43
| | | | | | | (removes redundant switch-case) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16757 b3059339-0415-0410-9bf9-f77b7e298cf2
* weirdness, flags aren't restored right unless you add this second pushods152005-10-131-0/+1
| | | | | | | | | | | mencoder a.avi b.avi -flag c.avi -flag should've only applied to b, but it applied to both b and c!! No clue why this happens and more so why this solves it. but it does. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16754 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix mencoder multi-file with some files having audio but others dontods152005-10-131-1/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16753 b3059339-0415-0410-9bf9-f77b7e298cf2
* 100000l to meods152005-10-081-3/+6
| | | | | | | | | fixdelay() pre-read a frame to make pts sane, and then called slowseek(), which AGAIN read another frame, and then tries to decode it (which breaks as all frames should be read) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16709 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make frameno.avi not turn on by default. this is deprecated and this entireods152005-09-191-9/+11
| | | | | | | feature should be removed anyway. manpage update in a bit... git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16529 b3059339-0415-0410-9bf9-f77b7e298cf2
* Demuxer modularizationrtognimp2005-08-051-0/+3
| | | | | | | Demuxer selection by name with -demuxer command (bakward compatible) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16176 b3059339-0415-0410-9bf9-f77b7e298cf2
* Support new static libavcodec (depends on libavutil).al2005-08-011-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16166 b3059339-0415-0410-9bf9-f77b7e298cf2
* remove unused cache-prefill and create cache-seek-min that controls when ↵iive2005-07-311-1/+1
| | | | | | seek_long is prefered over waiting for cache to fill git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16153 b3059339-0415-0410-9bf9-f77b7e298cf2
* 1000l to me. Broke compilation when EDL is disabled.ods152005-07-231-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16066 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix invalid pointers passed to init_audio_filtersreimar2005-07-221-3/+9
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16061 b3059339-0415-0410-9bf9-f77b7e298cf2
* define SIGHUP and SIGPIPE for MinGW and catch SIGPIPE also in mplayerreimar2005-07-221-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16050 b3059339-0415-0410-9bf9-f77b7e298cf2
* catch HUP and PIPE signals aswell. Patch by Sergey Khlutchin (@gmail.com)alex2005-07-181-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16003 b3059339-0415-0410-9bf9-f77b7e298cf2
* -delay for MEncoder, final step 6.ods152005-07-171-1/+38
| | | | | | | | TODO: make it encode silence instead of cutting video as cutting video is unreliable with -ovc copy. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15998 b3059339-0415-0410-9bf9-f77b7e298cf2
* -delay for MEncoder, step 5.ods152005-07-171-22/+32
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15997 b3059339-0415-0410-9bf9-f77b7e298cf2
* -delay for MEncoder, step 4.ods152005-07-171-23/+33
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15996 b3059339-0415-0410-9bf9-f77b7e298cf2
* -delay for MEncoder, step 3.ods152005-07-171-2/+13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15995 b3059339-0415-0410-9bf9-f77b7e298cf2
* -delay for MEncoder, step 2.ods152005-07-171-28/+31
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15994 b3059339-0415-0410-9bf9-f77b7e298cf2
* -delay for MEncoder, step 1.ods152005-07-171-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15993 b3059339-0415-0410-9bf9-f77b7e298cf2
* Do not count skipped/broken frames when using -framesreimar2005-07-031-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15896 b3059339-0415-0410-9bf9-f77b7e298cf2
* Check for WAVEFORMAT.wFormatTag overflows and allow user to override the tag ↵ranma2005-07-021-0/+14
| | | | | | with -fafmttag git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15889 b3059339-0415-0410-9bf9-f77b7e298cf2
* -don't encode more audio than needed; -edl_skip is int, not short; -don't ↵nicodvb2005-06-271-11/+19
| | | | | | read audio_data to skip in mux_a->buffer; -edl_seek works on input streams, not output; -one-frame accuracy fix ; patch by Oded Shimon git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15832 b3059339-0415-0410-9bf9-f77b7e298cf2
* make -srate work again, unify audio filter init and preinit.reimar2005-06-241-8/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15812 b3059339-0415-0410-9bf9-f77b7e298cf2
* strdup subtitle filename at a more appropriate place, fixing memleaks andreimar2005-06-011-2/+11
| | | | | | | double frees. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15604 b3059339-0415-0410-9bf9-f77b7e298cf2
* restored preinit_audio_filters() but set the final sample_rate to the value ↵nicodvb2005-05-241-6/+1
| | | | | | of -srate, if specified: the source sample_rate is sped up or down while the destination can be resampled at will; 1 aboundant liter to me git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15566 b3059339-0415-0410-9bf9-f77b7e298cf2
* disable preinit until it's fixed (it breaks -speed...codec is initialized ↵rfelker2005-05-241-0/+5
| | | | | | with wrong samplerate) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15562 b3059339-0415-0410-9bf9-f77b7e298cf2
* patch by oded to fix edl hang when end of audio is reachedrfelker2005-05-241-3/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15557 b3059339-0415-0410-9bf9-f77b7e298cf2
* preinit audio filters in order to determine the final samplerate and number ↵nicodvb2005-05-221-2/+17
| | | | | | of channels, or audio encoders will be initialized with the wrong parameters git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15547 b3059339-0415-0410-9bf9-f77b7e298cf2
* include get_path.c before avcodec.h, fix error on osx + gcc4 where defined ↵nplourde2005-05-181-2/+2
| | | | | | macro always_inline in libavcodec/common.h already exist in math.h and used for something else. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15508 b3059339-0415-0410-9bf9-f77b7e298cf2
* added twolame mp2 audio encodernicodvb2005-05-071-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15360 b3059339-0415-0410-9bf9-f77b7e298cf2
* added faac audio encodernicodvb2005-04-251-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15260 b3059339-0415-0410-9bf9-f77b7e298cf2
* audio encoding reworkednicodvb2005-04-221-676/+80
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15235 b3059339-0415-0410-9bf9-f77b7e298cf2
* Errors that cause MEncoder to exit should be MSGL_FATAL, not MSGL_ERR.diego2005-04-061-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15057 b3059339-0415-0410-9bf9-f77b7e298cf2
* Change all MSGT_FIXME, MSGL_FIXME to appropiate values.diego2005-04-061-38/+38
| | | | | | | patch by Oded Shimon < ods15 at ods15 dot dyndns dot org > git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15056 b3059339-0415-0410-9bf9-f77b7e298cf2
* windows priority support patch by Rune Petersen <runner at mail.tele.dk> ↵faust32005-04-021-0/+17
| | | | | | with the freedom to shoot yourself in the foot git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15043 b3059339-0415-0410-9bf9-f77b7e298cf2
* 100l to oded.. edl was causing the decoder to get a first broken packetrfelker2005-03-231-4/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14997 b3059339-0415-0410-9bf9-f77b7e298cf2
* EDL for mencoder, patch by Oded (ods15)rfelker2005-03-191-1/+150
| | | | | | | Committed with a few minor fixes. Needs documentation still. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14965 b3059339-0415-0410-9bf9-f77b7e298cf2
* Oded's patch for -speed in mencoder. This can be used for purposesrfelker2005-03-151-19/+39
| | | | | | | | | | like converting back and forth between PAL and FILM (or NTSC-FILM) framerates, or whatever else you like. Doesn't work with -oac copy. Someone give Oded some cola for the error message and fill in a sane one. :)))) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14945 b3059339-0415-0410-9bf9-f77b7e298cf2
* patch by ods15:rfelker2005-03-131-0/+2
| | | | | | | | "10000l to me, I forgot that 'vfilter' could be NULL in case of framecopy, so this code always segfaulted when merging files using -ovc copy..." git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14942 b3059339-0415-0410-9bf9-f77b7e298cf2
* set AvgBytesPerSecond to the correct value if encoding with mp3lame in cbr modenicodvb2005-03-071-1/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14929 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixes for encoding of multiple fileshenry2005-03-011-23/+23
| | | | | | | | | | - 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
* Multifile 10l bugfix by Oded:rfelker2005-02-271-0/+2
| | | | | | | | | "I never checked merging 2 complete files... at_eof stays non-zero when starting the second file, and doesn't encode a single frame..." git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14846 b3059339-0415-0410-9bf9-f77b7e298cf2
* cleanups of the Multiple files patchhenry2005-02-251-8/+4
| | | | | | | by Oded Shimon <ods15@ods15.dyndns.org> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14828 b3059339-0415-0410-9bf9-f77b7e298cf2
* compile fixhenry2005-02-251-10/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14823 b3059339-0415-0410-9bf9-f77b7e298cf2
* do not hide frame skips/dups! if they happen it's very bad!!rfelker2005-02-251-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14814 b3059339-0415-0410-9bf9-f77b7e298cf2
* Always print dup/skip messages when !quiet.hzoli2005-02-251-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14809 b3059339-0415-0410-9bf9-f77b7e298cf2
* MEncoder multiple files patch by Oded Shimon (ods15)rfelker2005-02-251-19/+188
| | | | | | | | | Seems to work, or at least not to cause problems with existing functionality (encoding single files). Please test and report bugs, if there are any! git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14803 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix missing check against lame_init_params that was leading to video only ↵reynaldo2005-02-221-1/+4
| | | | | | files on low (under 32) audio bitrates git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14763 b3059339-0415-0410-9bf9-f77b7e298cf2
* initial, extremely experimental, libavformat muxer; don't expect anything to ↵nicodvb2005-02-211-0/+4
| | | | | | work yet git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14758 b3059339-0415-0410-9bf9-f77b7e298cf2
* small reordering to make future 'multiple files' changes more modular, puts ↵reynaldo2005-02-121-22/+22
| | | | | | single file loading separate from global option loading in the begginning. patch by Oded Shimon git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14686 b3059339-0415-0410-9bf9-f77b7e298cf2
* Print CPUflags and extension support on x86_64, tooreimar2005-01-291-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14611 b3059339-0415-0410-9bf9-f77b7e298cf2
* happy new yeardiego2005-01-021-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14297 b3059339-0415-0410-9bf9-f77b7e298cf2
* removing AFMT_ dependancyalex2004-12-271-9/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14246 b3059339-0415-0410-9bf9-f77b7e298cf2
* Output more information about vids, aids, sids, alangs and slangs with ↵mosu2004-11-251-0/+1
| | | | | | -identify. Patch by kiriuja <mplayer-patches@en-directo.net> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14047 b3059339-0415-0410-9bf9-f77b7e298cf2
* Reduce excessive verbosity.diego2004-11-151-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13947 b3059339-0415-0410-9bf9-f77b7e298cf2
* add new control message, that is send after end of stream, to flush all ↵iive2004-10-091-0/+8
| | | | | | | | | remaining frames in the video system required by xvid4 encoder. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13594 b3059339-0415-0410-9bf9-f77b7e298cf2
* printf --> mp_msg conversiondiego2004-10-071-1/+1
| | | | | | | patch by the Wanderer <inverseparadox at comcast dot net> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13578 b3059339-0415-0410-9bf9-f77b7e298cf2
* encoding to mp2 with libtoolamenicodvb2004-09-211-0/+94
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13427 b3059339-0415-0410-9bf9-f77b7e298cf2
* x264 encoder support. Original patch send by Bernhard Rosenkraenzer <bero at ↵iive2004-08-271-1/+3
| | | | | | arklinux dot org>, modifications by Loren Merritt <lorenm at u.washington dot edu>, Jeff Clagg <snacky at ikaruga.co dot uk> and me git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13167 b3059339-0415-0410-9bf9-f77b7e298cf2
* printf -> mp_msg conversion, first stepsdiego2004-08-241-160/+58
| | | | | | | patch by The Wanderer <inverseparadox@comcast.net> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13123 b3059339-0415-0410-9bf9-f77b7e298cf2
* cache min fill adjustment, based on patch by Jeremy Huddlestoniive2004-07-161-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12836 b3059339-0415-0410-9bf9-f77b7e298cf2
* We don't want junk in unused parts of the BITMAPINFOHEADERranma2004-06-081-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12547 b3059339-0415-0410-9bf9-f77b7e298cf2
* 1000l....of pepsi :(broke -ovc copy!)rfelker2004-05-191-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12491 b3059339-0415-0410-9bf9-f77b7e298cf2
* more lame optionsrfelker2004-05-191-0/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12490 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l on cygwin WIN32 gets defined in config.hfaust32004-04-301-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12361 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make it compile on mingw again. Now it is finally possible to include ↵faust32004-04-301-0/+4
| | | | | |