[FFmpeg-devel] [PATCH] lavf: increase probesize
James Zern
jzern at google.com
Wed Oct 17 04:19:45 CEST 2012
On Tue, Oct 16, 2012 at 7:17 PM, James Zern <jzern at google.com> wrote:
> ---
> libavformat/options_table.h | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/libavformat/options_table.h b/libavformat/options_table.h
> index 778c740..29ee8cd 100644
> --- a/libavformat/options_table.h
> +++ b/libavformat/options_table.h
> @@ -35,7 +35,7 @@
> static const AVOption options[]={
> {"avioflags", NULL, OFFSET(avio_flags), AV_OPT_TYPE_FLAGS, {.i64 = DEFAULT }, INT_MIN, INT_MAX, D|E, "avioflags"},
> {"direct", "reduce buffering", 0, AV_OPT_TYPE_CONST, {.i64 = AVIO_FLAG_DIRECT }, INT_MIN, INT_MAX, D|E, "avioflags"},
> -{"probesize", "set probing size", OFFSET(probesize), AV_OPT_TYPE_INT, {.i64 = 5000000 }, 32, INT_MAX, D},
> +{"probesize", "set probing size", OFFSET(probesize), AV_OPT_TYPE_INT, {.i64 = 10000000 }, 32, INT_MAX, D},
> {"packetsize", "set packet size", OFFSET(packet_size), AV_OPT_TYPE_INT, {.i64 = DEFAULT }, 0, INT_MAX, E},
> {"fflags", NULL, OFFSET(flags), AV_OPT_TYPE_FLAGS, {.i64 = DEFAULT }, INT_MIN, INT_MAX, D|E, "fflags"},
> {"ignidx", "ignore index", 0, AV_OPT_TYPE_CONST, {.i64 = AVFMT_FLAG_IGNIDX }, INT_MIN, INT_MAX, D, "fflags"},
> --
> 1.7.7.3
>
This is arbitrary, but I thought I'd send it around for discussion
before updating code locally.
The background: I was doing some 4K encodes and found that I could end
up with initial video frames > 5MB, which would result in no audio
information being reported.
More information about the ffmpeg-devel
mailing list