James Almer
f5ef91e020
doc/examples: convert to new channel layout-API
...
Signed-off-by: James Almer <jamrial@gmail.com>
2022-03-15 09:42:47 -03:00
Mark Thompson
10bcc41bb4
examples: Don't call deprecated functions which don't do anything
2018-02-09 21:38:42 +00:00
Clément Bœsch
a434657de9
Merge commit 'f27e262dbdea1991b22e08b639ac03e642a3482c'
...
* commit 'f27e262dbdea1991b22e08b639ac03e642a3482c':
examples/encode_audio: switch to the new audio encoding API
Merged-by: Clément Bœsch <u@pkh.me>
2017-04-03 21:14:16 +02:00
Michael Niedermayer
59b8c2a4e6
doc/examples/encode_audio: Favor a sample rate close to 44khz instead of the maximum sample rate
...
This is an example, people will copy and use this. The maximum supported is quite
unreasonable as a default choice
Reviewed-by: Steven Liu <lingjiujianke@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2017-03-30 16:34:06 +02:00
Clément Bœsch
944e5ce3ec
doc/examples/{de,en}code_audio: fix includes
...
Consistent with other examples.
2017-03-29 14:18:10 +02:00
Clément Bœsch
9bed10afb8
doc/examples/encode_audio: add missing return
2017-03-29 13:45:09 +02:00
Clément Bœsch
780cc080d8
Merge commit 'f76698e759a08e8d3b629c06edb0439f474e7fee'
...
* commit 'f76698e759a08e8d3b629c06edb0439f474e7fee':
examples/encode_audio: use the AVFrame API for allocating the data
Merged-by: Clément Bœsch <u@pkh.me>
2017-03-29 13:31:44 +02:00
Clément Bœsch
f38e7566c6
Merge commit 'c00a11ab383ff276a2ab2fdba577945e48d465be'
...
* commit 'c00a11ab383ff276a2ab2fdba577945e48d465be':
examples/encode_audio: constify AVCodec instances
Merged-by: Clément Bœsch <u@pkh.me>
2017-03-29 13:30:16 +02:00
Clément Bœsch
b785af4868
Merge commit '40aaa8dadfd1c69ff4460d04750e1403b5535a6d'
...
* commit '40aaa8dadfd1c69ff4460d04750e1403b5535a6d':
examples/avcodec: split audio encoding into a separate example
Merged-by: Clément Bœsch <u@pkh.me>
2017-03-29 13:29:22 +02:00
Anton Khirnov
f27e262dbd
examples/encode_audio: switch to the new audio encoding API
2016-11-23 13:08:50 +01:00
Anton Khirnov
f76698e759
examples/encode_audio: use the AVFrame API for allocating the data
...
It is simpler and more efficient.
2016-11-02 10:12:39 +01:00
Anton Khirnov
c00a11ab38
examples/encode_audio: constify AVCodec instances
2016-11-02 10:11:48 +01:00
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.
2016-11-02 10:11:46 +01:00