summaryrefslogtreecommitdiff
path: root/ffmpeg.c
Commit message (Collapse)AuthorAge
* FFmpeg : Replace some av_exit calls in av_transcode with branches to theJai Menon2010-07-18
| | | | | | | | cleanup code. This plugs a bunch of memleaks. Originally committed as revision 24305 to svn://svn.ffmpeg.org/ffmpeg/trunk
* FFmpeg : Close input file and free any related memory ifJai Menon2010-07-15
| | | | | | av_find_stream_info fails. Originally committed as revision 24247 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move frame_available computation to where it belongs in ffmpeg.c.Michael Niedermayer2010-07-05
| | | | | | | This fixes a infinite loop. Fixes issue 2066. Originally committed as revision 24058 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make opt_pad() print more information.Stefano Sabatini2010-07-04
| | | | Originally committed as revision 24050 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Update help message for the -pad* options, as they have been removed,Stefano Sabatini2010-07-04
| | | | | | | | and update the manual page accordingly. Based on a patch by John Calcote $(echo "<kpio.dbmdpuf@hnbjm.dpn>" | tr "b-za" "a-z"). Originally committed as revision 24049 to svn://svn.ffmpeg.org/ffmpeg/trunk
* LOL, 100l, really fix warning:Baptiste Coudurier2010-07-03
| | | | | | | | ffmpeg.c: In function 'new_audio_stream': ffmpeg.c:665: warning: 'best' may be used uninitialized in this function ffmpeg.c:665: note: 'best' was declared here Originally committed as revision 24034 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix warning:Baptiste Coudurier2010-07-03
| | | | | | | | ffmpeg.c: In function 'new_audio_stream': ffmpeg.c:665: warning: 'best' may be used uninitialized in this function ffmpeg.c:665: note: 'best' was declared here Originally committed as revision 24033 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change all occurences of "inofficial" to "unofficial" in code, commentsRodney Baker2010-07-03
| | | | | | | | and options. Keep old options until next major version bump. Patch by Rodney Baker, rodney d baker a iinet d net d au Originally committed as revision 24021 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reduce codec time base when stream copyingBaptiste Coudurier2010-07-03
| | | | Originally committed as revision 24019 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Set graph swscale opts before parsing it, that way opts are availableBaptiste Coudurier2010-07-03
| | | | | | when auto-adding scalers. Originally committed as revision 24015 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move colorspace.h from libavcodec to libavutil.Stefano Sabatini2010-07-01
| | | | | | Avoid a compile-time dependency of the pad filter on libavcodec. Originally committed as revision 23940 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add new option "streamid" to set the value of an outfile streamid.Mike Scheutzow2010-06-30
| | | | | | Patch by Mike Scheutzow, scheutzow alcatel-lucent com Originally committed as revision 23917 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove PPC perf counter supportMåns Rullgård2010-06-26
| | | | | | This functionality is better accessed through tools like oprofile. Originally committed as revision 23808 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename rec_timestamp to recording_timestamp, for consistency withStefano Sabatini2010-06-22
| | | | | | recording_time. Originally committed as revision 23727 to svn://svn.ffmpeg.org/ffmpeg/trunk
* ffmpeg: cosmetics: combine two variable declarationsAlexander Strange2010-06-21
| | | | Originally committed as revision 23677 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Deprecate -crop* arguments, they currently are buggy (issue1957) and probablyMichael Niedermayer2010-06-14
| | | | | | will be fixed by removing them. Originally committed as revision 23607 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 10l: audio_buf is already a uint8_t* so no need to cast itJustin Ruggles2010-06-10
| | | | Originally committed as revision 23571 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Allocate enough memory for audio_buf to fit a full output frame.Justin Ruggles2010-06-10
| | | | | | | Also, use audio_buf when encoding the final frame. Fixes Issue 1921. Originally committed as revision 23570 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove support for pre-Haiku, non-POSIX, non-C99 BeOS variants.Diego Biurrun2010-06-10
| | | | | | | | BeOS support has been broken for many years and the "maintainer" of the port has not reacted to countless requests to get the port fixed. approved by Mans Originally committed as revision 23562 to svn://svn.ffmpeg.org/ffmpeg/trunk
* In case of stream copy, copy the extradata from the input codec context toLuca Abeni2010-06-08
| | | | | | the output codec context (instead of just copying a pointer to the extradata). Originally committed as revision 23538 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change type of {audio,video,subtitle}_codec_tag variables from int toStefano Sabatini2010-06-03
| | | | | | | unsigned int, as the corresponding variable set in AVCodecContext.codec_tag is unsigned int. Originally committed as revision 23441 to svn://svn.ffmpeg.org/ffmpeg/trunk
* ffmpeg: offer alternatives for experimental codecs if they existJanne Grunau2010-05-31
| | | | Originally committed as revision 23398 to svn://svn.ffmpeg.org/ffmpeg/trunk
* ffmpeg: fail if user selected codec is experimental and ↵Janne Grunau2010-05-31
| | | | | | strict_std_compliance > experimental Originally committed as revision 23397 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 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