[FFmpeg-devel] [PATCH 2/2] lavf/concatdef: pass options to nested input
Zhang Rui
bbcallen at gmail.com
Thu Mar 5 12:43:48 CET 2015
2015-03-05 19:06 GMT+08:00 Nicolas George <george at nsup.org>:
> Le quintidi 15 ventôse, an CCXXIII, Zhang Rui a écrit :
>> Subject: [FFmpeg-devel] [PATCH 2/2] lavf/concatdef: pass options to
>
> "concatdec" I suppose?
Sorry, my fault.
>
>> ---
>> libavformat/concatdec.c | 24 +++++++++++++++++-------
>> 1 file changed, 17 insertions(+), 7 deletions(-)
>
> Can you explain the use case you have in mind? The current code, if I
> understand correctly, uses the same options for all concatenated segments,
> which may or may not desirable.
I'm using concatdec for streaming http segments.
which need options like timeout, user_agent.
>
> My intent, regarding options, was to allow per-file options in the concat
> script. Maybe something like that:
>
> file seg1.vob
> option analyzeduration 50M
>
> file seg2.vob
> option analyzeduration 20M
Your solution is enough for my case.
And as you said, my patch may be not desirable.
Thank you.
More information about the ffmpeg-devel
mailing list