summaryrefslogtreecommitdiff
path: root/ffmpeg.c
Commit message (Collapse)AuthorAge
* Open 2-pass logfile in binary mode for both reading and writing.Ramiro Polla2010-05-22
| | | | | | | | | | This fixes a regression on Windows introduced by r22769 in which the data read from the file was not properly zero terminated. The file was read as text, which caused the \r characters to be suppressed. Since the zero termination happens at the end of the buffer, and there was one byte less read per line, this caused the remaining space on the buffer to contain random data. Originally committed as revision 23251 to svn://svn.ffmpeg.org/ffmpeg/trunk
* rename -vfilters cli option to -vfBaptiste Coudurier2010-05-12
| | | | Originally committed as revision 23100 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics, rename loop to frame_availableBaptiste Coudurier2010-05-11
| | | | Originally committed as revision 23092 to svn://svn.ffmpeg.org/ffmpeg/trunk
* rename curr_filter to last_filter, factorize filter declarationBaptiste Coudurier2010-05-11
| | | | Originally committed as revision 23091 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: indentation, whitespacesBaptiste Coudurier2010-05-11
| | | | Originally committed as revision 23090 to svn://svn.ffmpeg.org/ffmpeg/trunk
* simplify, reuse existing args variableBaptiste Coudurier2010-05-11
| | | | Originally committed as revision 23089 to svn://svn.ffmpeg.org/ffmpeg/trunk
* cosmetics: filt_graph_all -> graph, like in ffplay.cBaptiste Coudurier2010-05-11
| | | | Originally committed as revision 23088 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove messy pading hack in ffmpeg.c.Michael Niedermayer2010-05-07
| | | | | | Use avfilters if you want padding! Originally committed as revision 23050 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make sure get_filtered_video_pic() doesnt loose interlacedframe/tff.Michael Niedermayer2010-05-07
| | | | Originally committed as revision 23049 to svn://svn.ffmpeg.org/ffmpeg/trunk
* avfilter support for ffmpegMichael Niedermayer2010-05-07
| | | | Originally committed as revision 23043 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Print warnig if requested samplingrate is unsupported.Michael Niedermayer2010-04-30
| | | | Originally committed as revision 22991 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make ffmpeg use print_error() to make apparent the exact cause ofStefano Sabatini2010-04-26
| | | | | | failure happened when trying to open the output file. Originally committed as revision 22973 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Mark av_metadata_set() as deprecated, and use av_metadata_set2()Stefano Sabatini2010-04-25
| | | | | | | | in its place. av_metadata_set() is going to be dropped at the next major bump. Originally committed as revision 22961 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make sure ffmpeg chooses a supported samplerte if the encoder supportsMichael Niedermayer2010-04-22
| | | | | | just some. Originally committed as revision 22943 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix compilation error of ffmpeg and ffplay with --disable-avdevice.Cyril Russo2010-04-22
| | | | | | Patch by Cyril Russo, stage D nexvision A laposte net Originally committed as revision 22940 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Allow setting the environment variable FFMPEG_DATADIR to locate preset files.Robert Krüger2010-04-20
| | | | | | Patch by Robert Krüger <krueger signal7 de>. Originally committed as revision 22923 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Take ticks per frame into account when warning about difference betweenBaptiste Coudurier2010-04-16
| | | | | | container and codec frame rate. Originally committed as revision 22895 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Simplify writing stream metadata.Anton Khirnov2010-04-05
| | | | | | Patch by Anton Khirnov <wyskas gmail com>. Originally committed as revision 22809 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Don't overwrite user-supplied metadata with metadata mapped from an input file.Anton Khirnov2010-04-05
| | | | | | Patch by Anton Khirnov <wyskas gmail com>. Originally committed as revision 22808 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reindent.Stefano Sabatini2010-04-04
| | | | Originally committed as revision 22798 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename av_encode() to av_transcode(), the new name is more meaningful.Stefano Sabatini2010-04-04
| | | | Originally committed as revision 22797 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use AVDISCARD_DEFAULT for 0 where appropriate.Carl Eugen Hoyos2010-04-02
| | | | Originally committed as revision 22787 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Implement cmdutils.c:read_file(), and use it in ffmpeg.c for readingStefano Sabatini2010-04-01
| | | | | | the second pass encoding log file. Originally committed as revision 22769 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix FFM-based streaming from ffmpeg to ffserver. The basic problem is thatRonald S. Bultje2010-03-31
| | | | | | | | | | | we'd memset() the codec context to zero, thereby setting audio input to U8 and video to YUV420P. For most video encoders, that actually works, but for most audio codecs, it doesn't. This patch changes defaults to those set by avcodec_context_get_defaults() and have ffmpeg figure out the optimal encoding format itself if not set explicitely (as it does for the non-ffserver-cases also). Originally committed as revision 22751 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace all occurences of PKT_FLAG_KEY with AV_PKT_FLAG_KEY.Jean-Daniel Dupas2010-03-31
| | | | | | Patch by Jean-Daniel Dupas, devlists shadowlab org Originally committed as revision 22744 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Define AVMediaType enum, and use it instead of enum CodecType, whichStefano Sabatini2010-03-30
| | | | | | is deprecated and will be dropped at the next major bump. Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Split out code that auto-chooses a default pix_fmt/sample_fmt in their ownRonald S. Bultje2010-03-30
| | | | | | functions. Originally committed as revision 22731 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 10l: fix build without termios.hMåns Rullgård2010-03-20
| | | | Originally committed as revision 22604 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Register atexit handler only when neededMåns Rullgård2010-03-19
| | | | Originally committed as revision 22599 to svn://svn.ffmpeg.org/ffmpeg/trunk
* ffmpeg.c: copy chapters by default.Anton Khirnov2010-03-19
| | | | | | Patch by Anton Khirnov wyskas gmail com Originally committed as revision 22598 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Typo: if output (video) stream's pix_fmt is not set, then the stream cannotRonald S. Bultje2010-03-16
| | | | | | be ENcoded, not DEcoded. Originally committed as revision 22566 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Allow mpeg style yuv in jpeg when strict standard compliance is small enough.Michael Niedermayer2010-03-15
| | | | Originally committed as revision 22553 to svn://svn.ffmpeg.org/ffmpeg/trunk
* ffmpeg: Combine variable declaration and definitionAlexander Strange2010-03-15
| | | | Originally committed as revision 22537 to svn://svn.ffmpeg.org/ffmpeg/trunk
* ffmpeg: Factor out redundant sync_ipts calculationAlexander Strange2010-03-15
| | | | Originally committed as revision 22536 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move libm replacements to new header libm.hMåns Rullgård2010-03-09
| | | | | | | | | | | | | | | | | | | ffmpeg.c uses lrintf(), which is missing on some systems. Previously it picked up the replacement via libavutil/internal.h due to HAVE_AV_CONFIG_H being erroneously defined. Moving these replacements to a separate header enables ffmpeg.c to use them without being exposed to internal interfaces. This use of a non-public header is justified by the header in question not being part of the internal interface either. It should rather be considered as part of the build system, which is shared between the libraries and the applications. This header cannot be installed since the tested conditions depend on the compiler. Originally committed as revision 22399 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove hacks not required since HAVE_AV_CONFIG_H was unset for the appsMåns Rullgård2010-03-07
| | | | Originally committed as revision 22295 to svn://svn.ffmpeg.org/ffmpeg/trunk
* ffmpeg.c: Don't use NULL for integer metadata flags.Alex Converse2010-03-04
| | | | Originally committed as revision 22205 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make ffmpeg print a message and abort if the name of the formatStefano Sabatini2010-03-02
| | | | | | provided with -f was unknown. Originally committed as revision 22140 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Don't let output pixel format influence input pixel format.Chris Stones2010-03-01
| | | | | | Patch by Chris Stones, chris D stones A gmail Originally committed as revision 22130 to svn://svn.ffmpeg.org/ffmpeg/trunk
* ffmpeg: copy stream metadata.Anton Khirnov2010-03-01
| | | | | | Patch by Anton Khirnov wyskasgmailcom Originally committed as revision 22126 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Prevent overflow of start_time + recording_time.Francesco Cosoleto2010-02-26
| | | | | | Patch by Francesco Cosoleto gmail($name) Originally committed as revision 22077 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Attempt to fix issue1728 and regression of issue203Michael Niedermayer2010-02-23
| | | | Originally committed as revision 22011 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Set ist->pts to something that isnt guranteed to entangle itself with stream ↵Michael Niedermayer2010-02-23
| | | | | | copying b frames. Originally committed as revision 22010 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Favor streams with more packets if the user did not specify what she wants.Michael Niedermayer2010-02-23
| | | | | | Fixes issue1156 Originally committed as revision 22002 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Redesign opt_programid code.Michael Niedermayer2010-02-23
| | | | | | | Its now possible to also select programs per input file and there is less code duplication. Originally committed as revision 21999 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make -benchmark also print the maximum memory usage if possible.Reimar Döffinger2010-02-22
| | | | Originally committed as revision 21973 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove recording_time check which is no longer necessary after r21687.Wolfram Gloger2010-02-11
| | | | | | Patch by Wolfram Gloger, wmglo A dent D med D uni-muenchen D de Originally committed as revision 21760 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use av_compare_ts to compare against the -t end time instead of usingReimar Döffinger2010-02-10
| | | | | | | | floating point. Should fix different results between PPC and x86 for the idroq-video-encode FATE test. Originally committed as revision 21745 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Stop reading input file when -t option value is reached.Wolfram Gloger2010-02-08
| | | | | | Patch by Wolfram Gloger wmglo (chez) dent med uni (minus) muenchen de Originally committed as revision 21687 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Revert r21615 | cehoyos | 2010-02-02 23:23:09 +0100 (Tue, 02 Feb 2010) | 5 ↵Justin Johnson2010-02-06
| | | | | | | | | | | | | | lines Guess the duration before converting video and write guessed duration into flv header. Patch by Justin Johnson, justin D johnson3 A gmail The change to ffmpeg.c is wrong as input and output files arent connected 1:1 (i seem to have missed that) Also it can segfault see ([FFmpeg-devel] rtp streaming x264+audio issues (and some ideas to fix them)) Originally committed as revision 21652 to svn://svn.ffmpeg.org/ffmpeg/trunk