aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples
Commit message (Collapse)AuthorAgeFilesLines
...
* | fix some a/an typosLou Logan2016-03-281-1/+1
| | | | | | | | Signed-off-by: Lou Logan <lou@lrcd.com>
* | Replace remaining occurances of av_free_packet with av_packet_unrefHendrik Leppkes2015-10-277-9/+9
| |
* | Merge commit 'ce70f28a1732c74a9cd7fec2d56178750bd6e457'Hendrik Leppkes2015-10-272-8/+8
|\| | | | | | | | | | | | | * commit 'ce70f28a1732c74a9cd7fec2d56178750bd6e457': avpacket: Replace av_free_packet with av_packet_unref Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * avpacket: Replace av_free_packet with av_packet_unrefLuca Barbato2015-10-262-8/+8
| | | | | | | | | | | | | | `av_packet_unref` matches the AVFrame ref-counted API and can be used as a drop in replacement. Deprecate `av_free_packet`.
* | doc/examples/muxing: Fix mixed declaration and codeMichael Niedermayer2015-10-151-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Merge commit '34ed5c2e4d9b7fe5c9b3aae2da5599fabb95c02e'Hendrik Leppkes2015-10-141-30/+11
|\| | | | | | | | | | | | | | | | | | | * commit '34ed5c2e4d9b7fe5c9b3aae2da5599fabb95c02e': avformat: Do not use AVFMT_RAWPICTURE Removal from ffmpeg.c not merged because some parts of avdevice still use it Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * avformat: Do not use AVFMT_RAWPICTURELuca Barbato2015-10-131-30/+12
| | | | | | | | | | There are no formats supporting it anymore and it is deprecated. Update the documentation accordingly.
* | Merge commit '539e5ac2ecfec2e2f441222a43fb0583643ea607'Hendrik Leppkes2015-09-291-4/+4
|\| | | | | | | | | | | | | * commit '539e5ac2ecfec2e2f441222a43fb0583643ea607': examples/qsvdec: free the lavc decoder before closing MFX/VAAPI Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * examples/qsvdec: free the lavc decoder before closing MFX/VAAPIAnton Khirnov2015-09-281-4/+4
| | | | | | | | lavc expects MFX to still be in a usable state on close.
* | Merge commit '3ee462dca1038e63b8e8d5e751121736d5772a5d'Hendrik Leppkes2015-09-291-9/+12
|\| | | | | | | | | | | | | * commit '3ee462dca1038e63b8e8d5e751121736d5772a5d': examples/qsvdec: do not free the surfaces in the frame_free() callback Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * examples/qsvdec: do not free the surfaces in the frame_free() callbackAnton Khirnov2015-09-281-9/+12
| | | | | | | | | | Even though libmfx might not need them anymore, avcodec might still access the surfaces. So free them separately at the end.
* | doc/examples/demuxing_decoding: simplify api_mode to refcountClément Bœsch2015-09-061-26/+12
| | | | | | | | This finalizes the quick cleanup of a753e6c9f508fd48a0f34438bcdce87c826779b9.
* | doc/examples/demuxing_decoding: Drop old api mode, because the code fails to ↵Michael Niedermayer2015-09-051-14/+4
| | | | | | | | | | | | build otherwise Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | Remove left-over FF_API_AVFILTERBUFFER cruftHendrik Leppkes2015-09-053-3/+0
| |
* | doc/examples/http_multiclient: Fix occured typoMichael Niedermayer2015-09-041-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | doc/examples/filtering_video: better demo ffmpeg filters; demos chaining the ↵Harshit Mittal2015-08-281-1/+4
| | | | | | | | | | | | filters Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | doc/examples: rename avio_list_dir -> avio_dir_cmdMariusz Szczepańczyk2015-08-162-1/+1
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | examples/avio_list_dir: add move and delete methodsMariusz Szczepańczyk2015-08-151-16/+76
| | | | | | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* | doc/example: Add http multi-client example codeStephan Holljes2015-08-012-0/+156
| | | | | | | | Signed-off-by: Stephan Holljes <klaxa1337@googlemail.com>
* | Merge commit '059a934806d61f7af9ab3fd9f74994b838ea5eba'Michael Niedermayer2015-07-272-4/+4
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '059a934806d61f7af9ab3fd9f74994b838ea5eba': lavc: Consistently prefix input buffer defines Conflicts: doc/examples/decoding_encoding.c libavcodec/4xm.c libavcodec/aac_adtstoasc_bsf.c libavcodec/aacdec.c libavcodec/aacenc.c libavcodec/ac3dec.h libavcodec/asvenc.c libavcodec/avcodec.h libavcodec/avpacket.c libavcodec/dvdec.c libavcodec/ffv1enc.c libavcodec/g2meet.c libavcodec/gif.c libavcodec/h264.c libavcodec/h264_mp4toannexb_bsf.c libavcodec/huffyuvdec.c libavcodec/huffyuvenc.c libavcodec/jpeglsenc.c libavcodec/libxvid.c libavcodec/mdec.c libavcodec/motionpixels.c libavcodec/mpeg4videodec.c libavcodec/mpegvideo.c libavcodec/noise_bsf.c libavcodec/nuv.c libavcodec/nvenc.c libavcodec/options.c libavcodec/parser.c libavcodec/pngenc.c libavcodec/proresenc_kostya.c libavcodec/qsvdec.c libavcodec/svq1enc.c libavcodec/tiffenc.c libavcodec/truemotion2.c libavcodec/utils.c libavcodec/utvideoenc.c libavcodec/vc1dec.c libavcodec/wmalosslessdec.c libavformat/adxdec.c libavformat/aiffdec.c libavformat/apc.c libavformat/apetag.c libavformat/avidec.c libavformat/bink.c libavformat/cafdec.c libavformat/flvdec.c libavformat/id3v2.c libavformat/isom.c libavformat/matroskadec.c libavformat/mov.c libavformat/mpc.c libavformat/mpc8.c libavformat/mpegts.c libavformat/mvi.c libavformat/mxfdec.c libavformat/mxg.c libavformat/nutdec.c libavformat/oggdec.c libavformat/oggparsecelt.c libavformat/oggparseflac.c libavformat/oggparseopus.c libavformat/oggparsespeex.c libavformat/omadec.c libavformat/rawdec.c libavformat/riffdec.c libavformat/rl2.c libavformat/rmdec.c libavformat/rtpdec_latm.c libavformat/rtpdec_mpeg4.c libavformat/rtpdec_qdm2.c libavformat/rtpdec_svq3.c libavformat/sierravmd.c libavformat/smacker.c libavformat/smush.c libavformat/spdifenc.c libavformat/takdec.c libavformat/tta.c libavformat/utils.c libavformat/vqf.c libavformat/westwood_vqa.c libavformat/xmv.c libavformat/xwma.c libavformat/yop.c Merged-by: Michael Niedermayer <michael@niedermayer.cc>
| * lavc: Consistently prefix input buffer definesVittorio Giovara2015-07-272-4/+4
| | | | | | | | Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* | Merge commit 'def97856de6021965db86c25a732d78689bd6bb0'Michael Niedermayer2015-07-273-3/+3
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'def97856de6021965db86c25a732d78689bd6bb0': lavc: AV-prefix all codec capabilities Conflicts: cmdutils.c ffmpeg.c ffplay.c libavcodec/8svx.c libavcodec/aacenc.c libavcodec/ac3dec.c libavcodec/adpcm.c libavcodec/alac.c libavcodec/atrac3plusdec.c libavcodec/bink.c libavcodec/dnxhddec.c libavcodec/dvdec.c libavcodec/dvenc.c libavcodec/ffv1dec.c libavcodec/ffv1enc.c libavcodec/fic.c libavcodec/flacdec.c libavcodec/flacenc.c libavcodec/flvdec.c libavcodec/fraps.c libavcodec/frwu.c libavcodec/gifdec.c libavcodec/h261dec.c libavcodec/hevc.c libavcodec/iff.c libavcodec/imc.c libavcodec/libopenjpegdec.c libavcodec/libvo-aacenc.c libavcodec/libvorbisenc.c libavcodec/libvpxdec.c libavcodec/libvpxenc.c libavcodec/libx264.c libavcodec/mjpegbdec.c libavcodec/mjpegdec.c libavcodec/mpegaudiodec_float.c libavcodec/msmpeg4dec.c libavcodec/mxpegdec.c libavcodec/nvenc_h264.c libavcodec/nvenc_hevc.c libavcodec/pngdec.c libavcodec/qpeg.c libavcodec/ra288.c libavcodec/rv10.c libavcodec/s302m.c libavcodec/sp5xdec.c libavcodec/takdec.c libavcodec/tiff.c libavcodec/tta.c libavcodec/utils.c libavcodec/v210dec.c libavcodec/vp6.c libavcodec/vp9.c libavcodec/wavpack.c libavcodec/yop.c Merged-by: Michael Niedermayer <michael@niedermayer.cc>
| * lavc: AV-prefix all codec capabilitiesVittorio Giovara2015-07-272-2/+2
| | | | | | | | | | | | Express bitfields more simply. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* | Merge commit '7c6eb0a1b7bf1aac7f033a7ec6d8cacc3b5c2615'Michael Niedermayer2015-07-275-5/+5
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '7c6eb0a1b7bf1aac7f033a7ec6d8cacc3b5c2615': lavc: AV-prefix all codec flags Conflicts: doc/examples/muxing.c ffmpeg.c ffmpeg_opt.c ffplay.c libavcodec/aacdec.c libavcodec/aacenc.c libavcodec/ac3dec.c libavcodec/ac3enc_float.c libavcodec/atrac1.c libavcodec/atrac3.c libavcodec/atrac3plusdec.c libavcodec/dcadec.c libavcodec/ffv1enc.c libavcodec/h264.c libavcodec/h264_loopfilter.c libavcodec/h264_mb.c libavcodec/imc.c libavcodec/libmp3lame.c libavcodec/libtheoraenc.c libavcodec/libtwolame.c libavcodec/libvpxenc.c libavcodec/libxavs.c libavcodec/libxvid.c libavcodec/mpeg12dec.c libavcodec/mpeg12enc.c libavcodec/mpegaudiodec_template.c libavcodec/mpegvideo.c libavcodec/mpegvideo_enc.c libavcodec/mpegvideo_motion.c libavcodec/nellymoserdec.c libavcodec/nellymoserenc.c libavcodec/nvenc.c libavcodec/on2avc.c libavcodec/options_table.h libavcodec/opus_celt.c libavcodec/pngenc.c libavcodec/ra288.c libavcodec/ratecontrol.c libavcodec/twinvq.c libavcodec/vc1_block.c libavcodec/vc1_loopfilter.c libavcodec/vc1_mc.c libavcodec/vc1dec.c libavcodec/vorbisdec.c libavcodec/vp3.c libavcodec/wma.c libavcodec/wmaprodec.c libavcodec/x86/hpeldsp_init.c libavcodec/x86/me_cmp_init.c Merged-by: Michael Niedermayer <michael@niedermayer.cc>
| * lavc: AV-prefix all codec flagsVittorio Giovara2015-07-273-4/+4
| | | | | | | | | | | | Convert doxygen to multiline and express bitfields more simply. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
* | examples/demuxing_decoding: use properties from frame instead of video_dec_ctxAndreas Cadhalpun2015-06-151-14/+16
| | | | | | | | | | | | | | | | | | This is more robust. And only check if there is actually a frame returned. Reviewed-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* | doc: fix spelling errorsAndreas Cadhalpun2015-06-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | Neccessary -> Necessary formated -> formatted thee -> the eventhough -> even though seperately -> separately Reviewed-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
* | examples/decoding_encoding: Use the AVFrame width/height for processing ↵Michael Niedermayer2015-06-131-1/+1
| | | | | | | | | | | | | | | | | | images after decoding This is what FFmpeg / FFplay do and it is more robust Reviewed-by: Stefano Sabatini <stefasab@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | examples/avio_list_dir: init/deinit networkLukasz Marek2015-04-061-3/+6
| | | | | | | | Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
* | doc/examples: Handle new types in avio_list_dirMariusz Szczepańczyk2015-04-031-0/+6
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | doc/examples: add directory listing exampleLukasz Marek2015-03-282-1/+113
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '990e4a6639d0714198583c2812b1074b5751898f'Michael Niedermayer2015-03-011-0/+484
|\| | | | | | | | | | | | | | | | | | | | | * commit '990e4a6639d0714198583c2812b1074b5751898f': Add a QSV decoding example. Conflicts: configure doc/Makefile Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Add a QSV decoding example.Anton Khirnov2015-02-281-0/+484
| |
* | examples/demuxing_decoding: abort decoding when width, height or pix_fmt changeAndreas Cadhalpun2015-02-101-4/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This is necessary, because avcodec_decode_video2 can change width, height and/or pixel format of the AVCodecContext. Since video_dst_data and video_dst_linesize are not updated by calling av_image_alloc again, av_image_copy[_plane] asserts, because the destination buffer is too small. In this case, creating a useable rawvideo is not possible anyway, since it has fixed width/height/pix_fmt. Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | examples/demuxing_decoding: set stream_idx in open_codec_context only if no ↵Andreas Cadhalpun2015-01-311-3/+4
| | | | | | | | | | | | | | error occured Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | examples/filtering: extend comments about setting the filter graph endpointsStefano Sabatini2015-01-292-2/+34
| | | | | | | | | | That part is a constant source of confusions for readers, this should help clarify the apparently inverted logic.
* | Merge commit '3a70c0c95feacb3844d05eebd579fc8189a77eee'Michael Niedermayer2015-01-271-0/+13
|\| | | | | | | | | | | | | * commit '3a70c0c95feacb3844d05eebd579fc8189a77eee': examples/transcode_aac: generate proper PTS and set the muxer timebase Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * examples/transcode_aac: generate proper PTS and set the muxer timebaseAndreas Unterweger2015-01-271-0/+13
| | | | | | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* | Merge commit 'c9b19ac8928c6c9b7f25c3988177204f110d5e0e'Michael Niedermayer2015-01-271-1/+1
|\| | | | | | | | | | | | | * commit 'c9b19ac8928c6c9b7f25c3988177204f110d5e0e': examples/transcode_aac: fix a typo Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * examples/transcode_aac: fix a typoAndreas Unterweger2015-01-271-1/+1
| | | | | | | | Signed-off-by: Anton Khirnov <anton@khirnov.net>
* | Merge commit '749a89d1b8bb73b4d4f14c48f33259a1300c1761'Michael Niedermayer2015-01-271-7/+9
|\| | | | | | | | | | | | | * commit '749a89d1b8bb73b4d4f14c48f33259a1300c1761': examples/transcode_aac: properly select the output sample format Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * examples/transcode_aac: properly select the output sample formatAndreas Unterweger2015-01-271-7/+9
| | | | | | | | | | | | Makes the example work with all the supported AAC encoders. Signed-off-by: Anton Khirnov <anton@khirnov.net>
* | doc/examples: fix lib math dep for decoding_encodingAndreas Cadhalpun2015-01-101-0/+1
| | | | | | | | | | | | | | It uses at least sin(). Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | doc/examples/transcoding: Use avio_closep() in examples as it avoids leaving ↵Michael Niedermayer2015-01-081-1/+1
| | | | | | | | | | | | stale pointers Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | idoc/examples/remuxing: Use avio_closep() in examples as it avoids leaving ↵Michael Niedermayer2015-01-081-1/+1
| | | | | | | | | | | | stale pointers Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | doc/examples/transcode_aac: Use avio_closep() in examples as it avoids ↵Michael Niedermayer2015-01-081-2/+2
| | | | | | | | | | | | leaving stale pointers Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | doc/examples/muxing: Use avio_closep() in examples as it avoids leaving ↵Michael Niedermayer2015-01-081-1/+1
| | | | | | | | | | | | stale pointers Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | doc/examples/filtering_video: fix frame ratePiotr Fusik2014-12-051-1/+2
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | doc/examples/transcoding: check encoder before using itMichael Niedermayer2014-12-041-0/+4
| | | | | | | | | | | | | | Fixes null pointer exception Found-by: stoupeace Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | doc/examples/decoding_encoding: fix storing all channelsMichael Niedermayer2014-11-241-5/+6
| | | | | | | | | | | | Fixes Ticket3355 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>