Aleksandr Slobodeniuk
|
a91f1023bc
|
examples: fix a typo in an error message
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
|
8 years ago |
Anton Khirnov
|
c7ab0eb305
|
examples/decode_video: allocate the packet dynamically
AVPackets on stack are discouraged.
|
8 years ago |
Anton Khirnov
|
728ea23cce
|
examples/decode_video: switch to the new decoding API
|
8 years ago |
Anton Khirnov
|
f78d360bba
|
examples/decode_video: use a parser for splitting the input
Do not rely on the decoder handling this, as it's not guaranteed to
work.
|
8 years ago |
Anton Khirnov
|
59ab9e8ba1
|
examples/encode_video: allocate the packet dynamically
AVPackets on stack are discouraged.
|
8 years ago |
Anton Khirnov
|
5f102a9559
|
examples/encode_video: switch to the new encoding API
|
8 years ago |
Anton Khirnov
|
fee0f1de2c
|
examples/decode_audio: flush the decoder
|
8 years ago |
Anton Khirnov
|
9a38184a14
|
examples/decode_audio: allocate the packet dynamically
AVPackets on stack are discouraged now.
|
8 years ago |
Anton Khirnov
|
45a1ce2ff7
|
examples/decode_audio: handle planar audio now produced by the MP2 decoder
|
8 years ago |
Anton Khirnov
|
3d66717f7c
|
examples/decode_audio: use the new audio decoding API
|
8 years ago |
Anton Khirnov
|
0946c754d9
|
examples/decode_audio: use a parser for splitting the input
Do not rely on the decoder handling this, as it's not guaranteed to
work.
|
8 years ago |
Anton Khirnov
|
f27e262dbd
|
examples/encode_audio: switch to the new audio encoding API
|
8 years ago |
Anton Khirnov
|
44c9f374f1
|
examples/qsvdec: convert to the new decoding API
|
8 years ago |
Anton Khirnov
|
1dd2b6c91c
|
examples/qsvdec: switch to the hwcontext API
The code now does not depend on VA and will work on windows as well.
|
8 years ago |
Diego Biurrun
|
bb265b764a
|
examples/transcode_aac: Drop pointless return value const qualifier
doc/examples/transcode_aac.c:52:20: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
|
8 years ago |
Diego Biurrun
|
bfe92dfe60
|
Ignore all generated example binaries
|
8 years ago |
Diego Biurrun
|
905cdcaa9d
|
examples/decode_audio: Add missing header for av_free()
|
8 years ago |
Anton Khirnov
|
636515c324
|
examples/decode_video: remove a stray unrelated comment
|
8 years ago |
Anton Khirnov
|
8191f960a6
|
examples/decode_video: constify the AVCodec instance
|
8 years ago |
Anton Khirnov
|
5b4d7ac7ae
|
examples/encode_video: use the AVFrame API for allocating the frame
It is more efficient and so preferred over allocating the buffers
manually.
|
8 years ago |
Anton Khirnov
|
d0a603a534
|
examples/encode_video: set the framerate
|
8 years ago |
Anton Khirnov
|
e02524025b
|
examples/encode_video: constify the AVCodec instance
|
8 years ago |
Anton Khirnov
|
7b1f03477f
|
examples/avcodec: split the remaining two examples into separate files
|
8 years ago |
Anton Khirnov
|
90265814f9
|
examples/decode_audio: constify the AVCodec instance
|
8 years ago |
Anton Khirnov
|
f5df897c4b
|
examples/avcodec: split audio decoding into a separate example
The four examples (audio/video encoding/decoding) are completely
independent so it makes little sense to have them all in one file.
|
8 years ago |
Anton Khirnov
|
f76698e759
|
examples/encode_audio: use the AVFrame API for allocating the data
It is simpler and more efficient.
|
8 years ago |
Anton Khirnov
|
c00a11ab38
|
examples/encode_audio: constify AVCodec instances
|
8 years ago |
Anton Khirnov
|
40aaa8dadf
|
examples/avcodec: split audio encoding into a separate example
The four examples (audio/video encoding/decoding) are completely
independent so it makes little sense to have them all in one file.
|
8 years ago |
Anton Khirnov
|
67d28f4a0f
|
examples/output: switch to the new encoding API
|
8 years ago |
Vittorio Giovara
|
9833a406d3
|
examples: Properly free AVCodecContext
|
8 years ago |
Diego Biurrun
|
257f00ec1a
|
Split global .gitignore file into per-directory files
|
9 years ago |
Vittorio Giovara
|
41ed7ab45f
|
cosmetics: Fix spelling mistakes
Signed-off-by: Diego Biurrun <diego@biurrun.de>
|
9 years ago |
Anton Khirnov
|
ac6d53589f
|
examples/transcode_aac: convert to codecpar
|
9 years ago |
Anton Khirnov
|
a9e1f2cc61
|
examples/qsvdec: convert to codecpar
|
9 years ago |
Anton Khirnov
|
9897d9f4e0
|
examples/output: convert to codecpar
|
9 years ago |
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`.
|
9 years ago |
Luca Barbato
|
34ed5c2e4d
|
avformat: Do not use AVFMT_RAWPICTURE
There are no formats supporting it anymore and it is deprecated.
Update the documentation accordingly.
|
9 years ago |
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.
|
9 years ago |
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.
|
9 years ago |
Vittorio Giovara
|
059a934806
|
lavc: Consistently prefix input buffer defines
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
|
9 years ago |
Vittorio Giovara
|
def97856de
|
lavc: AV-prefix all codec capabilities
Express bitfields more simply.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
|
9 years ago |
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>
|
9 years ago |
Anton Khirnov
|
990e4a6639
|
Add a QSV decoding example.
|
10 years ago |
Andreas Unterweger
|
3a70c0c95f
|
examples/transcode_aac: generate proper PTS and set the muxer timebase
Signed-off-by: Anton Khirnov <anton@khirnov.net>
|
10 years ago |
Andreas Unterweger
|
c9b19ac892
|
examples/transcode_aac: fix a typo
Signed-off-by: Anton Khirnov <anton@khirnov.net>
|
10 years ago |
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>
|
10 years ago |
Diego Biurrun
|
6a928293dd
|
examples: filter_audio: Add missing mem.h header for av_freep()
|
10 years ago |
Anton Khirnov
|
56f98e340f
|
output example: convert audio to the format supported by the encoder
|
10 years ago |
Anton Khirnov
|
884f7c975f
|
output example: set the stream timebase
This is required by the new API.
|
10 years ago |
Diego Biurrun
|
6cc1409ba8
|
examples/output: Remove unused variable
doc/examples/output.c:460:9: warning: unused variable ‘i’
|
11 years ago |