summaryrefslogtreecommitdiffstats
path: root/doc/examples
Commit message (Collapse)AuthorAgeFilesLines
* examples/filtering: fix packet memleakGavin Kinsey2012-06-262-2/+2
| | | | | | | Free packets unconditionally after demuxing, and not only when the packets belong to a given stream. Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
* examples/filtering_video: update to the new APIGavin Kinsey2012-06-261-9/+25
| | | | | | Update the video filtering example program based on the audio one. Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
* examples/filtering_audio: update for avfilter API "cleanup"Michael Niedermayer2012-06-241-5/+7
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* update filtering_audio exampleAndrew Wason2012-06-052-3/+5
| | | | | | | The filtering_audio.c example needs to be updated for the new "abuffer" filter args. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* doc/examples: make use of the parameter filters_descr parameter in ↵Clément Bœsch2012-05-192-2/+2
| | | | init_filters().
* doc/examples: fix pts heuristic in filtering_video.Clément Bœsch2012-05-191-3/+2
| | | | | Note: the condition looked wrong in the first place ("if DTS is not defined, then set PTS to that undefined value [...]").
* doc/examples: properly close input in metadata.Clément Bœsch2012-05-191-1/+1
| | | | Avoid some memleaks.
* doc/examples: print operation filename in decoding_encoding.Clément Bœsch2012-05-191-4/+4
|
* doc/examples: add debug compilation flag.Clément Bœsch2012-05-191-1/+1
|
* doc/examples: use system headers in decoding_encoding and muxing.Clément Bœsch2012-05-192-8/+8
| | | | All the other examples already use the system installed headers.
* doc/examples: remove explicit rules.Clément Bœsch2012-05-191-6/+0
| | | | These rules are already in gmake builtins.
* doc/examples: add libavr to libraries to avoid link failures.Clément Bœsch2012-05-191-0/+1
|
* lavfi: drop planar/packed negotiation supportStefano Sabatini2012-05-161-3/+1
| | | | | | | | | The planar/packed switch and the packing_formats list is no longer required, since the planar/packed information is now stored in the sample format enum. This is technically a major API break, possibly it should be not too painful as we marked the audio filtering API as unstable.
* doc/examples: add libswresample in the libraries.Clément Bœsch2012-05-121-0/+1
| | | | It is required for audio filtering.
* doc/examples: use buffersrc.h instead of deprecated asrc_abuffer.h.Clément Bœsch2012-05-121-1/+1
|
* doc/examples: fix typo.Clément Bœsch2012-05-121-1/+1
|
* doc/examples: add -O2 in CFLAGS.Clément Bœsch2012-05-121-2/+3
|
* doc/examples: add missing math.h include in decoding/encoding example.Clément Bœsch2012-05-121-0/+2
| | | | The header is required for the sin() function.
* doc/examples: link decoding_encoding and muxing with math lib.Clément Bœsch2012-05-121-0/+4
| | | | These two examples use the sin() function.
* doc/examples: rename LDFLAGS to LDLIBS.Clément Bœsch2012-05-121-3/+3
|
* doc/examples/Makefile: split lines up to make diffs that change them clearerMichael Niedermayer2012-05-081-2/+12
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* examples/filtering_audio: use av_buffersrc_add_frame.Nicolas George2012-05-041-10/+1
|
* examples/decoding_encoding: fix encoding when all frames got buffered.Michael Niedermayer2012-05-031-1/+4
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* examples/filtering_audio: do not stop on decode error.Nicolas George2012-04-281-1/+1
| | | | | Decode errors can happen with concatenated MP3s with different formats.
* examples/filtering_audio: fix a memory leak.Nicolas George2012-04-281-0/+1
|
* examples/decoding_encoding: remove unused variable "size"Stefano Sabatini2012-04-131-1/+1
| | | | | | | Remove unused variable size from video_encode_example() function. Fix GCC warning: decoding_encoding.c:214:22: warning: unused variable ‘size’ [-Wunused-variable]
* Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-03-301-93/+99
| | | | | | | | | | | | | | | | | | | | | * qatar/master: h264: drop ff_h264_ prefix from static function ff_h264_decode_rbsp_trailing() h264: Make ff_h264_decode_end() static, it is not used externally. output-example: K&R formatting cosmetics, comment spelling fixes avf: make the example output the proper message avf: fix audio writing in the output-example mov: don't overwrite existing indexes. lzw: fix potential integer overflow. truemotion: forbid invalid VLC bitsizes and token values. truemotion2: handle out-of-frame motion vectors through edge extension. configure: Check for a different SDL function Conflicts: configure doc/examples/muxing.c libavcodec/truemotion2.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
* doc/examples/decoding_encoding: make the buffer bigger.Michael Niedermayer2012-03-221-1/+1
| | | | | | This should be converted to the new API Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-02-251-52/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: docs: use -bsf:[vas] instead of -[vas]bsf. mpegaudiodec: Prevent premature clipping of mp3 input buffer. lavf: move the packet keyframe setting code. oggenc: free comment header for all codecs lcl: error out if uncompressed input buffer is smaller than framesize. mjpeg: abort decoding if packet is too large. golomb: use HAVE_BITS_REMAINING() macro to prevent infloop on EOF. get_bits: add HAVE_BITS_REMAINING macro. lavf/output-example: use new audio encoding API correctly. lavf/output-example: more proper usage of the new API. tiff: Prevent overreads in the type_sizes array. tiff: Make the TIFF_LONG and TIFF_SHORT types unsigned. apetag: do not leak memory if avio_read() fails apetag: propagate errors. SBR DSP x86: implement SSE sbr_hf_g_filt SBR DSP x86: implement SSE sbr_sum_square_sse SBR DSP: use intptr_t for the ixh parameter. Conflicts: doc/bitstream_filters.texi doc/examples/muxing.c doc/ffmpeg.texi libavcodec/golomb.h libavcodec/x86/Makefile libavformat/oggenc.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
* doc/examples: rename filtering.c into filtering_video.c.Clément Bœsch2012-02-212-1/+1
|
* doc/examples: add audio decoding/filtering example.Clément Bœsch2012-02-212-1/+246
| | | | | | Mostly based on doc/examples/filtering.c. lavfi API is still limited to "buffer feeding" instead of "frame feeding" at the moment, so this example code sticks with it.
* Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-02-202-7/+7
| | | | | | | | | | | | | | | | * qatar/master: doxy: remove reference to removed api examples: unbreak compilation ttadec: cosmetics: reindent sunrast: use RLE trigger macro inplace of the hard coded value. sunrastenc: set keyframe flag for the output packet. mpegvideo_enc: switch to encode2(). mpegvideo_enc: force encoding delay of at least 1 frame when low_delay=0 Conflicts: doc/examples/muxing.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
* examples: add -Wall to CFLAGS.Clément Bœsch2012-02-191-1/+1
|
* examples/filtering: fix unused variable and return value in open_input_file().Clément Bœsch2012-02-191-1/+2
|
* examples/filtering: fix deprecated function calls warnings.Clément Bœsch2012-02-191-4/+4
|
* examples/filtering: fix implicit declarations and function mis-usage.Clément Bœsch2012-02-191-2/+4
|
* example: Update decoding/encoding example to the new API.Michael Niedermayer2012-01-281-3/+0
| | | | | Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* example: update muxing example to purple APIMichael Niedermayer2012-01-281-1/+1
| | | | | Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* decoding example: reset pts/dts after subpacket.Michael Niedermayer2011-12-131-0/+2
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-12-091-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: cljr: K&R cosmetics cljr: return a more sensible value when encountering invalid headers cljr: drop unnecessary emms_c() calls without MMX code cljr: remove useless casts cljr: group encode/decode parts under single ifdefs cljr: remove stray semicolon cljr: add missing return statement in decode_end() doc: add pulseaudio to the input list avconv: remove unsubstantiated comment shorten: avoid abort() on unknown audio types cljr: add encoder build: merge lists of HTML documentation targets tests/examples: Mark some variables only used within their files as static. tests/tools/examples: Replace direct exit() calls by return. x86 cpuid: set vendor union members separately cljr: release picture at end of decoding rv40: NEON optimised rv40 qpel motion compensation Conflicts: doc/examples/muxing.c libavcodec/cljr.c libavcodec/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
* Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-12-061-9/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: mov: Don't av_malloc(0). avconv: only allocate 1 AVFrame per input stream avconv: fix memleaks due to not freeing the AVFrame for audio h264-fate: remove -strict 1 except where necessary (mr4/5-tandberg). misc Doxygen markup improvements doxygen: eliminate Qt-style doxygen syntax g722: Add a regression test for muxing/demuxing in wav g722: Change bits per sample to 4 g722dec: Signal skipping the lower bits via AVOptions instead of bits_per_coded_sample api-example: update to use avcodec_decode_audio4() avplay: use avcodec_decode_audio4() avplay: use a separate buffer for playing silence avformat: use avcodec_decode_audio4() in avformat_find_stream_info() avconv: use avcodec_decode_audio4() instead of avcodec_decode_audio3() mov: Allow empty stts atom. doc: document preferred Doxygen syntax and make patcheck detect it Conflicts: avconv.c ffplay.c libavcodec/mlpdec.c libavcodec/version.h libavformat/mov.c tests/codec-regression.sh tests/fate/h264.mak Merged-by: Michael Niedermayer <michaelni@gmx.at>
* doc/example/muxing: fix video timestampsMichael Niedermayer2011-12-021-1/+2
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* muxing example: set encoder defaultsMichael Niedermayer2011-12-021-1/+10
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Fix various if parenthesis misplacements.Clément Bœsch2011-11-211-1/+1
|
* Replace remaining av_new_stream() with avformat_new_stream().Clément Bœsch2011-11-051-1/+2
|
* examples/filtering: remove #include vsink_buffer.h, the header does not existMichael Niedermayer2011-11-051-1/+0
| | | | | Found-by: teratorn Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Merge remote-tracking branch 'qatar/master'Michael Niedermayer2011-10-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: presets: rename presets directory lavc: make avcodec_get_context_defaults3 "officially" public lavf: replace av_new_stream->avformat_new_stream part II. lavf,lavd: replace av_new_stream->avformat_new_stream part I. lavf: add avformat_new_stream as a replacement for av_new_stream. Use correct scaling table for bwd-pred MVs in second B-field Ut Video decoder Makefile: change presets extension to .avpreset lavfi: add rgbtestsrc source, ported from MPlayer libmpcodecs lavfi: add testsrc source AVOptions: add documentation. presets: update libx264 ffpresets Conflicts: Changelog doc/APIchanges doc/ffmpeg.texi ffpresets/libx264-ipod320.ffpreset ffpresets/libx264-ipod640.ffpreset ffserver.c libavcodec/avcodec.h libavcodec/options.c libavcodec/version.h libavdevice/libdc1394.c libavfilter/avfilter.h libavfilter/vsrc_testsrc.c libavformat/flvdec.c libavformat/riff.c libavformat/version.h libavformat/wtv.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
* examples/decoding_encoding.c: test mpeg1 and h264Michael Niedermayer2011-10-171-5/+7
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* examples/decoding_encoding.c: silence compiler warningMichael Niedermayer2011-10-171-0/+1
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* examples/decoding_encoding.c: set a codec private option to demonstrate how ↵Michael Niedermayer2011-10-171-0/+3
| | | | | | to do that Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
OpenPOWER on IntegriCloud