History | View | Annotate | Download (154 KB)
Remove graphparser.h header, move AVFilterInOut andavfilter_graph_parse() declaration to libavfilter/avfiltergraph.h.
Simplify, and less confusing for the user.
Originally committed as revision 25705 to svn://svn.ffmpeg.org/ffmpeg/trunk
Rename AVFilterInOut field filter to filter_ctx, more semantically correct.
Originally committed as revision 25700 to svn://svn.ffmpeg.org/ffmpeg/trunk
Implement get_preset_file() in cmdutils.h and use it to factorize codefrom ffmpeg.c and ffserver.c.
Originally committed as revision 25679 to svn://svn.ffmpeg.org/ffmpeg/trunk
Rename avfilter_graph_destroy() to avfilter_graph_free().
The new name is shorter and more consistent with the rest of the API.
This change breaks libavfilter API/ABI.
Originally committed as revision 25674 to svn://svn.ffmpeg.org/ffmpeg/trunk
Implement avfilter_graph_alloc().
Originally committed as revision 25673 to svn://svn.ffmpeg.org/ffmpeg/trunk
Remove usage of deprecated libavcodec/audioconvert.h functions.
Originally committed as revision 25668 to svn://svn.ffmpeg.org/ffmpeg/trunk
Fix timestamp computation when the timebase changes during filtering.
The timestamps for all the buffered frames are scaled againstAV_TIME_BASE_Q, and need to be scaled back to AV_TIME_BASE_Q when theyare extracted from the filterchain.
Originally committed as revision 25646 to svn://svn.ffmpeg.org/ffmpeg/trunk
ffmpeg.c: reindent
Originally committed as revision 25637 to svn://svn.ffmpeg.org/ffmpeg/trunk
ffmpeg.c: don't autocopy stream/chapter metadata if manual mapping is specified
Originally committed as revision 25636 to svn://svn.ffmpeg.org/ffmpeg/trunk
ffmpeg.c: extend map_meta_data to allow advanced mappings
i.e. to/from streams/chapters/programs.
Originally committed as revision 25635 to svn://svn.ffmpeg.org/ffmpeg/trunk
Remove ffmpeg PGMYUV compatibility hack, which was deprecated sinceages.
The user is requested to specify "-f image2" in place of "-f pgmyuv" for reading/writing PGMYUV files, as for the other image formats.
Originally committed as revision 25629 to svn://svn.ffmpeg.org/ffmpeg/trunk
Use AV_RL32() in opt_codec_tag().
Originally committed as revision 25618 to svn://svn.ffmpeg.org/ffmpeg/trunk
ffmpeg: fix opt_codec_tag() return value
opt_codec_tag() is now used under OPT_FUNC2, which must return a value.
Originally committed as revision 25616 to svn://svn.ffmpeg.org/ffmpeg/trunk
Fix ffserver-related regression (and crash) introduced in r25500.Fixes issue 2317.
Patch by Rocky Cardwell, rocky d cardwell a lifespringschool d org
Originally committed as revision 25603 to svn://svn.ffmpeg.org/ffmpeg/trunk
Move new_output_stream() up for upcoming fix for issue 2317.
Originally committed as revision 25602 to svn://svn.ffmpeg.org/ffmpeg/trunk
ffmpeg.c: dynamically allocate metadata maps
Originally committed as revision 25599 to svn://svn.ffmpeg.org/ffmpeg/trunk
Factorize: opt_{audio,video,subtitle}_tag() -> opt_codec_tag().
Originally committed as revision 25596 to svn://svn.ffmpeg.org/ffmpeg/trunk
Remove unused variables picture_crop_temp and picture_pad_temp.
Originally committed as revision 25530 to svn://svn.ffmpeg.org/ffmpeg/trunk
Add a -force_key_frames option to ffmpeg.
The option is useful to ensure that there is a seek point exactly at aplace the user will probably want to jump precisely sometime, themajor example would be the end of an opening and the beginning of achapter. The scene change detection system will often make it happen,...
Implement a common get_filtered_video_frame(), shared between ffplay.cand ffmpeg.c.
Originally committed as revision 25520 to svn://svn.ffmpeg.org/ffmpeg/trunk
Make help message for the -crop* options consistent with that of the-pad* options and more direct.
Originally committed as revision 25519 to svn://svn.ffmpeg.org/ffmpeg/trunk
Remove -crop* options.
Users are required to use the libavfilter crop filter.
Originally committed as revision 25518 to svn://svn.ffmpeg.org/ffmpeg/trunk
Cosmetics: use a more compact notation, improve readability and reduceline count.
Originally committed as revision 25510 to svn://svn.ffmpeg.org/ffmpeg/trunk
Reset metadata after opt_output_file(), fix the previous commit.
Spotted by elenril on irc.
Originally committed as revision 25509 to svn://svn.ffmpeg.org/ffmpeg/trunk
Use an AVMetadata struct for storing metadata, simplify.
Originally committed as revision 25508 to svn://svn.ffmpeg.org/ffmpeg/trunk
ffmpeg.c/ffprobe.c: remove all uses of av_metadata_conv()patch by Anton Khirnov anton at khirnov dot net
Originally committed as revision 25503 to svn://svn.ffmpeg.org/ffmpeg/trunk
Add avfilter_graph_config().
Originally committed as revision 25502 to svn://svn.ffmpeg.org/ffmpeg/trunk
Place the bitstream_filters variable in the AVOutputStream, thusgreatly simplifying its handling and reducing code duplication.
Patch by Nicolas George -bsf nicolas*george|normalesup+org.
Originally committed as revision 25501 to svn://svn.ffmpeg.org/ffmpeg/trunk
Move the allocation of the AVOutputStream structure earlier in thecode flow, in the new_video_stream() / new_audio_stream() /new_subtitle_stream() functions.
Patch by Nicolas George <$name.$surname@normalesup.org>.
Originally committed as revision 25500 to svn://svn.ffmpeg.org/ffmpeg/trunk
Factorize definition of the output_filter defined in both ffplay.c andffmpeg.c.Replace it with a more generic definition which can be shared.
Originally committed as revision 25453 to svn://svn.ffmpeg.org/ffmpeg/trunk
Extend buffer source to accept the time base for the output PTS.
Originally committed as revision 25451 to svn://svn.ffmpeg.org/ffmpeg/trunk
ffmpeg: Use guess_correct_pts() to set decoded picture timestamps
Originally committed as revision 25431 to svn://svn.ffmpeg.org/ffmpeg/trunk
move av_find_stream_info() info struct to AVStream to avoid messy (re)allocation
Originally committed as revision 25418 to svn://svn.ffmpeg.org/ffmpeg/trunk
fix bitstream filter option mapping when using -newvideo and friendsThere was an off-by-one when addressing bitstream_filters[] in this situation.
Originally committed as revision 25398 to svn://svn.ffmpeg.org/ffmpeg/trunk
Pass RC parameters on stream copy to the muxer.
Originally committed as revision 25384 to svn://svn.ffmpeg.org/ffmpeg/trunk
cosmetic: break long line
Originally committed as revision 25377 to svn://svn.ffmpeg.org/ffmpeg/trunk
ffmpeg: Fix prototype of some OPT_FUNC2 functions. They must return an int.
Originally committed as revision 25358 to svn://svn.ffmpeg.org/ffmpeg/trunk
Originally committed as revision 25329 to svn://svn.ffmpeg.org/ffmpeg/trunk
Add init and uninit functions to cmdutils, reduces code duplicationbetween ffmpeg and ffplay and avoids a valgrind error by freeingavformat_opts->key.
Originally committed as revision 25309 to svn://svn.ffmpeg.org/ffmpeg/trunk
ffmpeg: replace MAX_STREAMS by an arbitrary sanity check
Originally committed as revision 25304 to svn://svn.ffmpeg.org/ffmpeg/trunk
ffmpeg: dynamically allocate bitstream_filters
Originally committed as revision 25303 to svn://svn.ffmpeg.org/ffmpeg/trunk
ffmpeg: dynamically allocate stream_maps
Originally committed as revision 25302 to svn://svn.ffmpeg.org/ffmpeg/trunk
ffmpeg: dynamically allocate output_codecs
Originally committed as revision 25301 to svn://svn.ffmpeg.org/ffmpeg/trunk
ffmpeg: dynamically allocate input_codecs
Originally committed as revision 25300 to svn://svn.ffmpeg.org/ffmpeg/trunk
ffmpeg: dynamically allocate input_files_ts_scale
Originally committed as revision 25299 to svn://svn.ffmpeg.org/ffmpeg/trunk
ffmpeg: dynamically allocate streamid_map
Originally committed as revision 25298 to svn://svn.ffmpeg.org/ffmpeg/trunk
ffmpeg: add a grow_array() helper function
Originally committed as revision 25297 to svn://svn.ffmpeg.org/ffmpeg/trunk
Rename libavutil/assert.h to avassert.h
This avoids conflicts with the system assert.h.
Originally committed as revision 25284 to svn://svn.ffmpeg.org/ffmpeg/trunk
av_assert() system.With this the developer can now choose if he wants an assert always enabled or at whichcompile time assert level. This can thus replace the #define NDEBUG hacks
Originally committed as revision 25278 to svn://svn.ffmpeg.org/ffmpeg/trunk
User application side of Codec specific parameters.
Originally committed as revision 25266 to svn://svn.ffmpeg.org/ffmpeg/trunk
use strict_std_complience from avcodec_opts[AVMEDIA_TYPE_*]
Options are not yet set for video encoders and for codec specificdefaults it is desireable to set the codec options only after the codecis known.
Originally committed as revision 25230 to svn://svn.ffmpeg.org/ffmpeg/trunk
Change the syntax of the crop filter from x:y:w:h to w:h:x:y.
Slightly more intuitive and required by a pending changes for makingthe filter parametric.
Originally committed as revision 25184 to svn://svn.ffmpeg.org/ffmpeg/trunk
Doxy consistency cosmetics
Originally committed as revision 25176 to svn://svn.ffmpeg.org/ffmpeg/trunk
Enable AV_LOG_SKIP_REPEATED to maintain previous behavior.
Originally committed as revision 25175 to svn://svn.ffmpeg.org/ffmpeg/trunk
Deprecate av_opt_show() in favor of a new function av_opt_show2(),which allows to specify only a subset of all the options to show.
Originally committed as revision 25166 to svn://svn.ffmpeg.org/ffmpeg/trunk
Move log_callback_help to cmdutils.[hc], for allowing sharing.
Originally committed as revision 25149 to svn://svn.ffmpeg.org/ffmpeg/trunk
10l: error in last commit. use decoder channels not encoder channels.
Originally committed as revision 25144 to svn://svn.ffmpeg.org/ffmpeg/trunk
Change remaining ost->st->codec and ist->st->codec to enc and dec indo_audio_out().
Originally committed as revision 25143 to svn://svn.ffmpeg.org/ffmpeg/trunk
Update the audio sample rate when doing lowres audio decoding, before opening the decoder
Originally committed as revision 25090 to svn://svn.ffmpeg.org/ffmpeg/trunk
Factorize opt_new_{audio,video,subtitle} definitions.
Originally committed as revision 24905 to svn://svn.ffmpeg.org/ffmpeg/trunk
Cosmetics: rename out_video_filter to output_video_filter, forconsistency 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 thanalways -1.
Originally committed as revision 24903 to svn://svn.ffmpeg.org/ffmpeg/trunk
indent
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" 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 isthe requested output size, not something slightly lower)....
Change avfilter_open() signature, from: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...
Separate video specific BufferRef properties into VideoProps.
Define a new struct AVFilterBufferRefVideoProps and add a type fieldto AVFilterBufferRef.
Video specific properties in AVFilterBufferRefVideoProps are nowreferred to by *video pointer in AVFilterBufferRef....
Rename fields:
AVFilterLink.srcpic -> AVFilterLink.src_bufAVFilterLink.cur_pic -> AVFilterLink.cur_bufAVFilterLink.outpic -> AVFilterLink.out_buf
The new names are more generic and more consistent, since the structthey contain, which was named AVFilterPicRef, has been renamed to...
Rename functions and fields:
avfilter_(un)ref_pic -> avfilter_(un)ref_bufferavfilter_copy_picref_props -> avfilter_copy_buffer_ref_propsAVFilterBufferRef.pic -> AVFilterBufferRef.buffer
They have been renamed to allow sharing with audio.
Patch by S.N. Hemanth Meenakshisundaram $smeenaks$ucsd$edu$....
Rename AVFilterPicRef to AVFilterBufferRef.
The struct is going to be used for storing audio buffer references aswell, and the new name is more generic.
Patch by S.N. Hemanth Meenakshisundaram smeenaks@ucsd@edu.
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()in favor of the newly added corresponding functionsav_parse_video_size() and av_parse_video_rate() defined inlibavcore/parseutils.h.
This change also adds a linking-time dependency of libavcodec and of...
Reindent.
Originally committed as revision 24506 to svn://svn.ffmpeg.org/ffmpeg/trunk
Rename av_transcode() to transcode().
av_ prefix is reserved for libav* libraries functions, it is confusingto use it for an application function.
Originally committed as revision 24505 to svn://svn.ffmpeg.org/ffmpeg/trunk
Rename av_exit() to ffmpeg_exit().
av_ is a prefix reserved for av* libraries functions, using that for anapplication function is confusing.
Originally committed as revision 24497 to svn://svn.ffmpeg.org/ffmpeg/trunk
Use X ? Y : Z construct, simplify.
Originally committed as revision 24496 to svn://svn.ffmpeg.org/ffmpeg/trunk
Cosmetics: rename enc -> dec in opt_input_file().
The variable refer to a decoder context, the old name wasmisleading.
Originally committed as revision 24492 to svn://svn.ffmpeg.org/ffmpeg/trunk
FFmpeg : Replace some av_exit calls in av_transcode with branches to thecleanup 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 ifav_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.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.
Originally committed as revision 24050 to svn://svn.ffmpeg.org/ffmpeg/trunk
Update help message for the -pad* options, as they have been removed,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:ffmpeg.c: In function 'new_audio_stream':ffmpeg.c:665: warning: 'best' may be used uninitialized in this functionffmpeg.c:665: note: 'best' was declared here
Originally committed as revision 24034 to svn://svn.ffmpeg.org/ffmpeg/trunk
Fix warning:ffmpeg.c: In function 'new_audio_stream':ffmpeg.c:665: warning: 'best' may be used uninitialized in this functionffmpeg.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, commentsand 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 copying
Originally committed as revision 24019 to svn://svn.ffmpeg.org/ffmpeg/trunk
Set graph swscale opts before parsing it, that way opts are availablewhen auto-adding scalers.
Originally committed as revision 24015 to svn://svn.ffmpeg.org/ffmpeg/trunk
Move colorspace.h from libavcodec to libavutil.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.
Patch by Mike Scheutzow, scheutzow alcatel-lucent com
Originally committed as revision 23917 to svn://svn.ffmpeg.org/ffmpeg/trunk
Remove PPC perf counter support
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 withrecording_time.
Originally committed as revision 23727 to svn://svn.ffmpeg.org/ffmpeg/trunk
ffmpeg: cosmetics: combine two variable declarations
Originally committed as revision 23677 to svn://svn.ffmpeg.org/ffmpeg/trunk
Deprecate -crop* arguments, they currently are buggy (issue1957) and probablywill 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 it
Originally committed as revision 23571 to svn://svn.ffmpeg.org/ffmpeg/trunk
Allocate enough memory for audio_buf to fit a full output frame.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.
BeOS support has been broken for many years and the "maintainer" of the porthas 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 tothe 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 tounsigned int, as the corresponding variable set inAVCodecContext.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 exist
Originally committed as revision 23398 to svn://svn.ffmpeg.org/ffmpeg/trunk
ffmpeg: fail if user selected codec is experimental and 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.This fixes a regression on Windows introduced by r22769 in which the data readfrom 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...
rename -vfilters cli option to -vf
Originally committed as revision 23100 to svn://svn.ffmpeg.org/ffmpeg/trunk