Anton Khirnov
|
67d28f4a0f
|
examples/output: switch to the new encoding API
|
2016-09-28 10:01:52 +02:00 |
|
Vittorio Giovara
|
9833a406d3
|
examples: Properly free AVCodecContext
|
2016-07-20 17:13:53 +02:00 |
|
Diego Biurrun
|
257f00ec1a
|
Split global .gitignore file into per-directory files
|
2016-05-13 14:55:56 +02:00 |
|
Vittorio Giovara
|
41ed7ab45f
|
cosmetics: Fix spelling mistakes
Signed-off-by: Diego Biurrun <diego@biurrun.de>
|
2016-05-04 18:16:21 +02:00 |
|
Anton Khirnov
|
ac6d53589f
|
examples/transcode_aac: convert to codecpar
|
2016-02-24 10:08:34 +01:00 |
|
Anton Khirnov
|
a9e1f2cc61
|
examples/qsvdec: convert to codecpar
|
2016-02-24 10:08:30 +01:00 |
|
Anton Khirnov
|
9897d9f4e0
|
examples/output: convert to codecpar
|
2016-02-24 10:08:24 +01:00 |
|
Luca Barbato
|
ce70f28a17
|
avpacket: Replace av_free_packet with av_packet_unref
`av_packet_unref` matches the AVFrame ref-counted API and can be used as
a drop in replacement.
Deprecate `av_free_packet`.
|
2015-10-26 18:00:55 +01:00 |
|
Luca Barbato
|
34ed5c2e4d
|
avformat: Do not use AVFMT_RAWPICTURE
There are no formats supporting it anymore and it is deprecated.
Update the documentation accordingly.
|
2015-10-13 13:43:29 +02:00 |
|
Anton Khirnov
|
539e5ac2ec
|
examples/qsvdec: free the lavc decoder before closing MFX/VAAPI
lavc expects MFX to still be in a usable state on close.
|
2015-09-28 15:46:10 +02:00 |
|
Anton Khirnov
|
3ee462dca1
|
examples/qsvdec: do not free the surfaces in the frame_free() callback
Even though libmfx might not need them anymore, avcodec might still
access the surfaces. So free them separately at the end.
|
2015-09-28 15:45:29 +02:00 |
|
Vittorio Giovara
|
059a934806
|
lavc: Consistently prefix input buffer defines
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
|
2015-07-27 15:24:59 +01:00 |
|
Vittorio Giovara
|
def97856de
|
lavc: AV-prefix all codec capabilities
Express bitfields more simply.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
|
2015-07-27 15:24:58 +01:00 |
|
Vittorio Giovara
|
7c6eb0a1b7
|
lavc: AV-prefix all codec flags
Convert doxygen to multiline and express bitfields more simply.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
|
2015-07-27 15:24:58 +01:00 |
|
Anton Khirnov
|
990e4a6639
|
Add a QSV decoding example.
|
2015-02-28 21:51:24 +01:00 |
|
Andreas Unterweger
|
3a70c0c95f
|
examples/transcode_aac: generate proper PTS and set the muxer timebase
Signed-off-by: Anton Khirnov <anton@khirnov.net>
|
2015-01-27 09:03:08 +01:00 |
|
Andreas Unterweger
|
c9b19ac892
|
examples/transcode_aac: fix a typo
Signed-off-by: Anton Khirnov <anton@khirnov.net>
|
2015-01-27 09:00:23 +01:00 |
|
Andreas Unterweger
|
749a89d1b8
|
examples/transcode_aac: properly select the output sample format
Makes the example work with all the supported AAC encoders.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
|
2015-01-27 08:58:47 +01:00 |
|
Diego Biurrun
|
6a928293dd
|
examples: filter_audio: Add missing mem.h header for av_freep()
|
2014-08-03 01:29:43 -07:00 |
|
Anton Khirnov
|
56f98e340f
|
output example: convert audio to the format supported by the encoder
|
2014-07-26 14:57:59 +00:00 |
|
Anton Khirnov
|
884f7c975f
|
output example: set the stream timebase
This is required by the new API.
|
2014-07-26 14:57:45 +00:00 |
|
Diego Biurrun
|
6cc1409ba8
|
examples/output: Remove unused variable
doc/examples/output.c:460:9: warning: unused variable ‘i’
|
2014-07-11 07:23:50 -07:00 |
|
Anton Khirnov
|
a5864e9a25
|
output example: free the muxing format context properly
|
2014-06-26 16:08:06 +02:00 |
|
Anton Khirnov
|
182d3f8221
|
output example: rewrite encoding logic
Properly generate pts for the frames sent to the encoder, avoid
using private and deprecated AVStream.pts.
|
2014-06-26 16:07:34 +02:00 |
|
Anton Khirnov
|
a7fcd4122b
|
output example: store the scaling context in the stream context
|
2014-06-26 16:07:29 +02:00 |
|
Anton Khirnov
|
6a927d7aaf
|
output example: use a macro instead of a static variable
|
2014-06-26 16:07:23 +02:00 |
|
Anton Khirnov
|
63fd0d866c
|
output example: allocate the audio frame only once
|
2014-06-26 16:07:08 +02:00 |
|
Anton Khirnov
|
edd5f95764
|
output example: use OutputStream for audio streams as well
|
2014-06-26 16:07:02 +02:00 |
|
Anton Khirnov
|
5e7b125b6a
|
output example: use the new AVFrame API to allocate audio frames
|
2014-06-26 16:06:54 +02:00 |
|
Anton Khirnov
|
ac85f631c9
|
output example: set output channel layout
|
2014-06-26 16:06:48 +02:00 |
|
Anton Khirnov
|
294daf71a7
|
output example: use a struct to bundle the video stream variables together
|
2014-06-26 16:05:24 +02:00 |
|
Anton Khirnov
|
38d044429d
|
output example: use the new AVFrame API for allocating the video frame
|
2014-06-26 16:05:19 +02:00 |
|
Anton Khirnov
|
452860d7e0
|
Use av_packet_rescale_ts() to simplify code.
|
2014-06-20 14:14:48 +02:00 |
|
Anton Khirnov
|
e7dfaf16a4
|
libavfilter: example audio filtering program
Based on a patch by Andrew Kelley <superjoe30@gmail.com>
Signed-off-by: Diego Biurrun <diego@biurrun.de>
|
2014-02-25 13:22:10 +01:00 |
|
Diego Biurrun
|
b339182eba
|
Move all example programs to doc/examples
Also drop support for building examples in library directories.
|
2014-02-16 21:37:21 +01:00 |
|
Diego Biurrun
|
0b9716c455
|
doc/examples: misc Doxygen markup improvements
Add properly formatted @example tag and fix Doxygen syntax.
|
2014-02-14 12:01:36 +01:00 |
|
Anton Khirnov
|
eb891b3114
|
Replace all uses of avcodec_free_frame with av_frame_free().
|
2013-12-11 20:39:54 +01:00 |
|
Andreas Unterweger
|
10421bcf0a
|
Add an audio transcoding example.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
|
2013-11-27 09:20:05 +01:00 |
|
Diego Biurrun
|
ab81f24ad4
|
build: Integrate multilibrary examples into the build system
This includes moving libavformat/output-example to doc/examples/output.
|
2013-11-25 11:57:29 -08:00 |
|