aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/encode_video.c
Commit message (Collapse)AuthorAgeFilesLines
* examples: apply doxy entries consistency fixesStefano Sabatini2023-02-111-3/+3
| | | | Use consistent format for the @file field and file description.
* examples: rename muxing to muxStefano Sabatini2023-02-111-1/+1
|
* doc/examples/encode_video: add explanations in comments.Nicolas George2021-08-201-3/+21
|
* Stop hardcoding align=32 in av_frame_get_buffer() calls.Anton Khirnov2020-05-221-1/+1
| | | | Use 0, which selects the alignment automatically.
* examples/encode_video: only add sequence end code for mpeg1/2 videoJun Zhao2019-08-081-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: Don't call deprecated functions which don't do anythingMark Thompson2018-02-091-2/+0
|
* examples/encode_video: slightly improve error reportingStefano Sabatini2017-05-311-3/+4
|
* examples/encode_video: add logStefano Sabatini2017-05-311-1/+4
| | | | This helps to visualize how the send/receive API works.
* Merge commit '59ab9e8ba1df7e3347a4cd2bd56c32e74aede802'Clément Bœsch2017-04-041-7/+8
|\ | | | | | | | | | | | | * commit '59ab9e8ba1df7e3347a4cd2bd56c32e74aede802': examples/encode_video: allocate the packet dynamically Merged-by: Clément Bœsch <cboesch@gopro.com>
| * examples/encode_video: allocate the packet dynamicallyAnton Khirnov2016-11-231-7/+8
| | | | | | | | AVPackets on stack are discouraged.
* | Merge commit '5f102a9559099429826e84758b8b5182244c52db'Clément Bœsch2017-04-041-28/+31
|\| | | | | | | | | | | | | * commit '5f102a9559099429826e84758b8b5182244c52db': examples/encode_video: switch to the new encoding API Merged-by: Clément Bœsch <cboesch@gopro.com>
| * examples/encode_video: switch to the new encoding APIAnton Khirnov2016-11-231-28/+31
| |
* | Merge commit '5b4d7ac7ae5d821cfa6ab89f8eab4d31851ef32c'Clément Bœsch2017-03-291-6/+8
|\| | | | | | | | | | | | | * commit '5b4d7ac7ae5d821cfa6ab89f8eab4d31851ef32c': examples/encode_video: use the AVFrame API for allocating the frame Merged-by: Clément Bœsch <u@pkh.me>
| * examples/encode_video: use the AVFrame API for allocating the frameAnton Khirnov2016-11-021-7/+12
| | | | | | | | | | It is more efficient and so preferred over allocating the buffers manually.
* | Merge commit 'd0a603a534a0ee4b255e5e72742428a7f7f42b83'Clément Bœsch2017-03-291-1/+3
|\| | | | | | | | | | | | | * commit 'd0a603a534a0ee4b255e5e72742428a7f7f42b83': examples/encode_video: set the framerate Merged-by: Clément Bœsch <u@pkh.me>
| * examples/encode_video: set the framerateAnton Khirnov2016-11-021-1/+3
| |
* | Merge commit 'e02524025bce2c8bf8b5bffd96479785c75a70d4'Clément Bœsch2017-03-291-1/+1
|\| | | | | | | | | | | | | * commit 'e02524025bce2c8bf8b5bffd96479785c75a70d4': examples/encode_video: constify the AVCodec instance Merged-by: Clément Bœsch <u@pkh.me>
| * examples/encode_video: constify the AVCodec instanceAnton Khirnov2016-11-021-1/+1
| |
* | Merge commit '7b1f03477f1a43d2261fbd83e50a4ad90c7f806d'Clément Bœsch2017-03-291-50/+73
|/ | | | | | | * commit '7b1f03477f1a43d2261fbd83e50a4ad90c7f806d': examples/avcodec: split the remaining two examples into separate files Merged-by: Clément Bœsch <u@pkh.me>
* examples/avcodec: split the remaining two examples into separate filesAnton Khirnov2016-11-021-0/+164