Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | doc/examples: convert to new channel layout-API | James Almer | 2022-03-15 | 9 | -81/+73 |
| | | | | Signed-off-by: James Almer <jamrial@gmail.com> | ||||
* | doc/examples/metadata: Constify values from av_dict_get() | Chad Fraleigh | 2021-11-18 | 1 | -1/+1 |
| | | | | | | | | Treat values returned from av_dict_get() as const, since they are internal to AVDictionary. Signed-off-by: Chad Fraleigh <chadf@triularity.org> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | ||||
* | examples/remuxing: Fix use of uninitialized value | Andreas Rheinhardt | 2021-10-07 | 1 | -1/+1 |
| | | | | | | | Fixes Coverity ticket 1492326. Regression since 53f374c08d5cc97158c17ea34b1c8ee0116c0578. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | ||||
* | examples/qsvdec: Don't use stack packet | Andreas Rheinhardt | 2021-10-03 | 1 | -9/+9 |
| | | | | Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | ||||
* | examples/hw_decode: Don't use stack packet | Andreas Rheinhardt | 2021-10-03 | 1 | -9/+13 |
| | | | | Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | ||||
* | examples/filtering_video: Don't use stack packet | Andreas Rheinhardt | 2021-10-03 | 1 | -7/+9 |
| | | | | Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | ||||
* | examples/filtering_audio: Don't use stack packet | Andreas Rheinhardt | 2021-10-03 | 1 | -7/+8 |
| | | | | Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | ||||
* | examples/extract_mvs: Do not use stack packet | Andreas Rheinhardt | 2021-10-03 | 1 | -5/+13 |
| | | | | Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | ||||
* | examples/muxing: Don't use stack packet | Andreas Rheinhardt | 2021-10-03 | 1 | -10/+17 |
| | | | | Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | ||||
* | examples/remuxing: Don't use stack packet | Andreas Rheinhardt | 2021-10-03 | 1 | -13/+20 |
| | | | | Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | ||||
* | examples/remuxing: Use av_packet_rescale_ts() | Andreas Rheinhardt | 2021-10-03 | 1 | -3/+1 |
| | | | | Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | ||||
* | fftools/ffmpeg, doc/examples: Remove redundant av_packet_unref | Andreas Rheinhardt | 2021-10-03 | 2 | -2/+6 |
| | | | | | | av_interleaved_write_frame() already returns blank packets. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | ||||
* | Replace all occurences of av_mallocz_array() by av_calloc() | Andreas Rheinhardt | 2021-09-20 | 2 | -2/+2 |
| | | | | | | | They do the same. Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | ||||
* | doc/examples/encode_video: add explanations in comments. | Nicolas George | 2021-08-20 | 1 | -3/+21 |
| | |||||
* | doc/examples/qsvdec: simplify this example via hw_device_ctx interface | Haihao Xiang | 2021-08-11 | 1 | -36/+9 |
| | | | | Signed-off-by: James Almer <jamrial@gmail.com> | ||||
* | avcodec/avcodec: Stop including channel_layout.h in avcodec.h | Andreas Rheinhardt | 2021-07-22 | 3 | -0/+3 |
| | | | | | | Also include channel_layout.h directly wherever used. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | ||||
* | examples/muxing: add missing header | James Almer | 2021-06-10 | 1 | -0/+1 |
| | | | | | | Fixed compilation broken by e67e02d15672. Signed-off-by: James Almer <jamrial@gmail.com> | ||||
* | examples/extract_mvs: add missing header | James Almer | 2021-06-10 | 1 | -0/+1 |
| | | | | | | Fixed compilation broken by e67e02d15672. Signed-off-by: James Almer <jamrial@gmail.com> | ||||
* | examples/demuxing_decoding: add missing header | James Almer | 2021-06-10 | 1 | -0/+1 |
| | | | | | | Fixed compilation broken by e67e02d15672. Signed-off-by: James Almer <jamrial@gmail.com> | ||||
* | doc/examples/extract_mvs: Explicitly free options | Andreas Rheinhardt | 2021-06-08 | 1 | -1/+3 |
| | | | | | | | The user should not rely on all options always being recognized (in particular not on error). Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | ||||
* | doc/examples/demuxing_decoding: Remove unused options | Andreas Rheinhardt | 2021-06-08 | 1 | -2/+1 |
| | | | | Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | ||||
* | avformat/avformat, utils: Make av_find_best_stream const-correct | Andreas Rheinhardt | 2021-04-27 | 5 | -5/+5 |
| | | | | | Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com> | ||||
* | avcodec/codec, allcodecs: Constify the AVCodec API | Andreas Rheinhardt | 2021-04-27 | 6 | -12/+14 |
| | | | | | Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com> | ||||
* | avformat: Constify the API wrt AV(In|Out)putFormat | Andreas Rheinhardt | 2021-04-27 | 2 | -2/+2 |
| | | | | | | | Also constify AVProbeData. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com> | ||||
* | doc/examples/vaapi_transcode: use av_packet_alloc() to allocate packets | James Almer | 2021-03-17 | 1 | -20/+22 |
| | | | | Signed-off-by: James Almer <jamrial@gmail.com> | ||||
* | doc/examples/vaapi_encode: use av_packet_alloc() to allocate packets | James Almer | 2021-03-17 | 1 | -8/+8 |
| | | | | Signed-off-by: James Almer <jamrial@gmail.com> | ||||
* | doc/examples/transcoding: use av_packet_alloc() to allocate packets | James Almer | 2021-03-17 | 1 | -20/+28 |
| | | | | Signed-off-by: James Almer <jamrial@gmail.com> | ||||
* | doc/examples/transcode_aac: use av_packet_alloc() to allocate packets | James Almer | 2021-03-17 | 1 | -19/+27 |
| | | | | Signed-off-by: James Almer <jamrial@gmail.com> | ||||
* | doc/examples/demuxing_decoding: use av_packet_alloc() to allocate packets | James Almer | 2021-03-17 | 1 | -11/+14 |
| | | | | Signed-off-by: James Almer <jamrial@gmail.com> | ||||
* | doc/examples/transcoding: switch to the new encoding API | Anton Khirnov | 2020-11-20 | 1 | -42/+33 |
| | |||||
* | doc/examples/transcoding: stop constantly allocating AVFrames | Anton Khirnov | 2020-11-20 | 1 | -29/+31 |
| | | | | Allocate just one and reuse it. | ||||
* | examples/muxing: misc style fixes | Jun Zhao | 2020-09-28 | 1 | -24/+23 |
| | | | | | | | misc style fixes. Reviewed-by: Steven Liu <liuqi05@kuaishou.com> Signed-off-by: Jun Zhao <barryjzhao@tencent.com> | ||||
* | doc/examples: Always open files as "binary", not "text". | Carl Eugen Hoyos | 2020-08-25 | 2 | -2/+2 |
| | | | | Fixes ticket #8638. | ||||
* | Stop hardcoding align=32 in av_frame_get_buffer() calls. | Anton Khirnov | 2020-05-22 | 3 | -3/+3 |
| | | | | Use 0, which selects the alignment automatically. | ||||
* | doc/examples/muxing: convert to new encoding API | Anton Khirnov | 2020-05-12 | 1 | -56/+39 |
| | |||||
* | doc/examples/demuxing_decoding: convert to new decoding API | Anton Khirnov | 2020-05-12 | 1 | -86/+91 |
| | |||||
* | doc/examples/demuxing_decoding: drop -refcount | Anton Khirnov | 2020-05-12 | 1 | -22/+6 |
| | | | | | Non-refcounted frames are deprecated and there is no good reason to use them. | ||||
* | examples/avio_dir_cmd: drop support for move/delete operations | Anton Khirnov | 2020-03-16 | 4 | -55/+7 |
| | | | | | | | | They use non-public functions, which is unacceptable for a public API example. Rename the example back to avio_list_dir. This effectively reverts c84d208c275d6a43b3c3421d38772179abf8acee and 767d780ec001167b2fd8f6cfe4ef78a3a8b1e34c. | ||||
* | doc/examples/muxing: fix underflow in duration of encoded streams | Paul B Mahol | 2019-09-29 | 1 | -2/+2 |
| | | | | | | Now they are exactly 10 seconds long. Fixes #5684. | ||||
* | doc/examples/decode_audio: Fix "warning: ISO C90 forbids mixed declarations ↵ | Michael Niedermayer | 2019-09-16 | 1 | -3/+4 |
| | | | | | | and code" Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> | ||||
* | doc/examples/decode_video: add input file format information for usage | Steven Liu | 2019-08-26 | 1 | -1/+2 |
| | | | | Signed-off-by: Steven Liu <lq@chinaffmpeg.org> | ||||
* | doc/examples/decode_audio: print message about how to play the output file | Steven Liu | 2019-08-26 | 1 | -0/+51 |
| | | | | Signed-off-by: Steven Liu <lq@chinaffmpeg.org> | ||||
* | examples/encode_video: only add sequence end code for mpeg1/2 video | Jun Zhao | 2019-08-08 | 1 | -1/+2 |
| | | | | | | | | Only add sequence end code for mpeg1/mpeg2 video, or else use the encoder libx264 or libx265 in this sample, decoding the output file will get unknow NALU type error. Signed-off-by: Jun Zhao <barryjzhao@tencent.com> | ||||
* | examples/avio_reading: Use avio_context_free() to free AVIOContext | Jun Zhao | 2019-04-23 | 1 | -3/+4 |
| | | | | Signed-off-by: Jun Zhao <barryjzhao@tencent.com> | ||||
* | doc/examples/metadata: fix the example can't dump FLV metadata | Jun Zhao | 2019-04-07 | 1 | -0/+5 |
| | | | | | | fix the example can't dump FLV metadata. Signed-off-by: Jun Zhao <barryjzhao@tencent.com> | ||||
* | Merge commit '7e5bde93a1e7641e1622814dafac0be3f413d79b' | James Almer | 2019-03-10 | 1 | -1/+1 |
|\ | | | | | | | | | | | | | * commit '7e5bde93a1e7641e1622814dafac0be3f413d79b': build: Rename OBJDIRS variable to OUTDIRS Merged-by: James Almer <jamrial@gmail.com> | ||||
| * | build: Rename OBJDIRS variable to OUTDIRS | Diego Biurrun | 2019-02-16 | 1 | -1/+1 |
| | | | | | | | | These directories are not just for object files. | ||||
* | | doc/examples/vaapi_transcode: Fix the typo | Michael Niedermayer | 2018-09-21 | 1 | -1/+1 |
| | | | | | | | | | | Reviewed-by: "mypopy@gmail.com" <mypopy@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> | ||||
* | | examples: Fix use of AV_CODEC_FLAG_GLOBAL_HEADER | Michael Bunk | 2018-09-01 | 1 | -2/+3 |
| | | | | | | | | | | | | AV_CODEC_FLAG_GLOBAL_HEADER should be set before calling avcodec_open2() to have any effect. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> | ||||
* | | doc/examples/vaapi_transcode: re-licensed to MIT-license. | Jun Zhao | 2018-08-25 | 1 | -13/+15 |
| | | | | | | | | Signed-off-by: Jun Zhao <mypopydev@gmail.com> |