[FFmpeg-devel] [PATCH 10/11] lavf/ffmenc: store recommended encoder configuration

Lukasz Marek lukasz.m.luki2 at gmail.com
Sat Nov 22 01:21:31 CET 2014


On 17.11.2014 02:46, Lukasz Marek wrote:
> ffmenc will store recommended encoder configuration if present.
> This will allow the user to base on local defaults and
> apply only explicitly set options.
>
> If recommended encoder configuration is not present, then
> non-default context's options are stored.
>
> Signed-off-by: Lukasz Marek <lukasz.m.luki2 at gmail.com>
> ---
>   libavformat/ffmenc.c | 74 +++++++++++++++++++++++++++++++++++++++++++++++++---
>   1 file changed, 70 insertions(+), 4 deletions(-)
>
> diff --git a/libavformat/ffmenc.c b/libavformat/ffmenc.c
> index b717813..2f3f90d 100644
> --- a/libavformat/ffmenc.c
> +++ b/libavformat/ffmenc.c
> @@ -162,6 +162,60 @@ static int ffm_write_header_codec_ctx(AVIOContext *pb, AVCodecContext *ctx, unsi
>   #undef ENC
>   }
>

Updated patch, av_dict_serialize -> av_dict_get string

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0008-lavf-ffmenc-store-recommended-encoder-configuration.patch
Type: text/x-patch
Size: 5070 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20141122/fa367fc1/attachment.bin>


More information about the ffmpeg-devel mailing list