aboutsummaryrefslogtreecommitdiffhomepage
path: root/mencoder.c
Commit message (Collapse)AuthorAge
...
* honor decoder's/filter's decision to remove frames when using -noskip.Gravatar rfelker2005-10-23
| | | | | | | | | | | | | | | | | | | | 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!) ↵Gravatar rfelker2005-10-23
| | | | | | (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 changesGravatar rfelker2005-10-23
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16828 b3059339-0415-0410-9bf9-f77b7e298cf2
* document hackGravatar ods152005-10-20
| | | | 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 toGravatar rfelker2005-10-19
| | | | | | | | | | | | | | 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 ↵Gravatar faust32005-10-16
| | | | | | 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 readGravatar ods152005-10-13
| | | | | | | (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 pushGravatar ods152005-10-13
| | | | | | | | | | | 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 dontGravatar ods152005-10-13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16753 b3059339-0415-0410-9bf9-f77b7e298cf2
* 100000l to meGravatar ods152005-10-08
| | | | | | | | | 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 entireGravatar ods152005-09-19
| | | | | | | 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 modularizationGravatar rtognimp2005-08-05
| | | | | | | 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).Gravatar al2005-08-01
| | | | 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 ↵Gravatar iive2005-07-31
| | | | | | 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.Gravatar ods152005-07-23
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16066 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix invalid pointers passed to init_audio_filtersGravatar reimar2005-07-22
| | | | 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 mplayerGravatar reimar2005-07-22
| | | | 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)Gravatar alex2005-07-18
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16003 b3059339-0415-0410-9bf9-f77b7e298cf2
* -delay for MEncoder, final step 6.Gravatar ods152005-07-17
| | | | | | | | 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.Gravatar ods152005-07-17
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15997 b3059339-0415-0410-9bf9-f77b7e298cf2
* -delay for MEncoder, step 4.Gravatar ods152005-07-17
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15996 b3059339-0415-0410-9bf9-f77b7e298cf2
* -delay for MEncoder, step 3.Gravatar ods152005-07-17
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15995 b3059339-0415-0410-9bf9-f77b7e298cf2
* -delay for MEncoder, step 2.Gravatar ods152005-07-17
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15994 b3059339-0415-0410-9bf9-f77b7e298cf2
* -delay for MEncoder, step 1.Gravatar ods152005-07-17
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15993 b3059339-0415-0410-9bf9-f77b7e298cf2
* Do not count skipped/broken frames when using -framesGravatar reimar2005-07-03
| | | | 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 ↵Gravatar ranma2005-07-02
| | | | | | 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 ↵Gravatar nicodvb2005-06-27
| | | | | | 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.Gravatar reimar2005-06-24
| | | | 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 andGravatar reimar2005-06-01
| | | | | | | 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 ↵Gravatar nicodvb2005-05-24
| | | | | | 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 ↵Gravatar rfelker2005-05-24
| | | | | | 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 reachedGravatar rfelker2005-05-24
| | | | 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 ↵Gravatar nicodvb2005-05-22
| | | | | | 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 ↵Gravatar nplourde2005-05-18
| | | | | | 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 encoderGravatar nicodvb2005-05-07
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15360 b3059339-0415-0410-9bf9-f77b7e298cf2
* added faac audio encoderGravatar nicodvb2005-04-25
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15260 b3059339-0415-0410-9bf9-f77b7e298cf2
* audio encoding reworkedGravatar nicodvb2005-04-22
| | | | 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.Gravatar diego2005-04-06
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15057 b3059339-0415-0410-9bf9-f77b7e298cf2
* Change all MSGT_FIXME, MSGL_FIXME to appropiate values.Gravatar diego2005-04-06
| | | | | | | 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> ↵Gravatar faust32005-04-02
| | | | | | 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 packetGravatar rfelker2005-03-23
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14997 b3059339-0415-0410-9bf9-f77b7e298cf2
* EDL for mencoder, patch by Oded (ods15)Gravatar rfelker2005-03-19
| | | | | | | 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 purposesGravatar rfelker2005-03-15
| | | | | | | | | | 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:Gravatar rfelker2005-03-13
| | | | | | | | "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 modeGravatar nicodvb2005-03-07
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14929 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixes for encoding of multiple filesGravatar henry2005-03-01
| | | | | | | | | | - 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:Gravatar rfelker2005-02-27
| | | | | | | | | "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 patchGravatar henry2005-02-25
| | | | | | | by Oded Shimon <ods15@ods15.dyndns.org> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14828 b3059339-0415-0410-9bf9-f77b7e298cf2
* compile fixGravatar henry2005-02-25
| | | | 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!!Gravatar rfelker2005-02-25
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14814 b3059339-0415-0410-9bf9-f77b7e298cf2