summaryrefslogtreecommitdiff
path: root/ffmpeg.c
Commit message (Collapse)AuthorAge
* Factorize opt_new_{audio,video,subtitle} definitions.Stefano Sabatini2010-08-24
| | | | Originally committed as revision 24905 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetics: rename out_video_filter to output_video_filter, forStefano Sabatini2010-08-24
| | | | | | consistency with input_video_filter. Originally committed as revision 24904 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make configure_filters() return a meaningful error code rather thanStefano Sabatini2010-08-24
| | | | | | always -1. Originally committed as revision 24903 to svn://svn.ffmpeg.org/ffmpeg/trunk
* indentRamiro Polla2010-08-24
| | | | Originally committed as revision 24894 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make "-fs ss" mean "make output file of size equals or less than ss"Vitor Sessak2010-08-23
| | | | | | | | | instead of current "make output file of size less than ss". Also use it to make MP3 tests more readable (using -fs xxx where xxx is the requested output size, not something slightly lower). Originally committed as revision 24884 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change avfilter_open() signature, from:Stefano Sabatini2010-08-11
| | | | | | | | | | | AVFilterContext *avfilter_open(AVFilter *filter, const char *inst_name); to: int avfilter_open(AVFilterContext **filter_ctx, AVFilter *filter, const char *inst_name); This way it is possible to propagate an error code telling the reason of the failure. Originally committed as revision 24765 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Separate video specific BufferRef properties into VideoProps.S.N. Hemanth Meenakshisundaram2010-08-11
| | | | | | | | | | | | Define a new struct AVFilterBufferRefVideoProps and add a type field to AVFilterBufferRef. Video specific properties in AVFilterBufferRefVideoProps are now referred to by *video pointer in AVFilterBufferRef. Patch by S.N. Hemanth Meenakshisundaram smeenaks->ucsd.edu. Originally committed as revision 24763 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename fields:S.N. Hemanth Meenakshisundaram2010-08-07
| | | | | | | | | | | | | | AVFilterLink.srcpic -> AVFilterLink.src_buf AVFilterLink.cur_pic -> AVFilterLink.cur_buf AVFilterLink.outpic -> AVFilterLink.out_buf The new names are more generic and more consistent, since the struct they contain, which was named AVFilterPicRef, has been renamed to AVFilterBufferRef. Patch by S.N. Hemanth Meenakshisundaram %smeenaks%ucsd%edu%. Originally committed as revision 24732 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename functions and fields:S.N. Hemanth Meenakshisundaram2010-08-07
| | | | | | | | | | | | avfilter_(un)ref_pic -> avfilter_(un)ref_buffer avfilter_copy_picref_props -> avfilter_copy_buffer_ref_props AVFilterBufferRef.pic -> AVFilterBufferRef.buffer They have been renamed to allow sharing with audio. Patch by S.N. Hemanth Meenakshisundaram $smeenaks$ucsd$edu$. Originally committed as revision 24731 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename AVFilterPicRef to AVFilterBufferRef.S.N. Hemanth Meenakshisundaram2010-08-07
| | | | | | | | | The struct is going to be used for storing audio buffer references as well, and the new name is more generic. Patch by S.N. Hemanth Meenakshisundaram @smeenaks@ucsd@edu@. Originally committed as revision 24730 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Deprecate av_parse_video_frame_size() and av_parse_video_frame_rate()Stefano Sabatini2010-07-26
| | | | | | | | | | | in favor of the newly added corresponding functions av_parse_video_size() and av_parse_video_rate() defined in libavcore/parseutils.h. This change also adds a linking-time dependency of libavcodec and of libavfilter on libavcore. Originally committed as revision 24518 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Reindent.Stefano Sabatini2010-07-26
| | | | Originally committed as revision 24506 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename av_transcode() to transcode().Stefano Sabatini2010-07-26
| | | | | | | av_ prefix is reserved for libav* libraries functions, it is confusing to use it for an application function. Originally committed as revision 24505 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename av_exit() to ffmpeg_exit().Stefano Sabatini2010-07-25
| | | | | | | av_ is a prefix reserved for av* libraries functions, using that for an application function is confusing. Originally committed as revision 24497 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use X ? Y : Z construct, simplify.Stefano Sabatini2010-07-25
| | | | Originally committed as revision 24496 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Cosmetics: rename enc -> dec in opt_input_file().Stefano Sabatini2010-07-25
| | | | | | | The variable refer to a *decoder* context, the old name was misleading. Originally committed as revision 24492 to svn://svn.ffmpeg.org/ffmpeg/trunk
* 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