[FFmpeg-devel] [PATCH 2/3] avformat/dashenc: opening a segment file when its first frame is ready

Marton Balint cus at passwd.hu
Sat Feb 24 17:19:49 EET 2018



On Mon, 19 Feb 2018, vdixit at akamai.com wrote:

> From: Vishwanath Dixit <vdixit at akamai.com>
>
> ---
> libavformat/dashenc.c | 57 ++++++++++++++++++++++++++++++++-------------------
> 1 file changed, 36 insertions(+), 21 deletions(-)
>
> diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c
> index 0f6f4f2..0eb4b25 100644
> --- a/libavformat/dashenc.c
> +++ b/libavformat/dashenc.c
> @@ -81,6 +81,9 @@ typedef struct OutputStream {
>     char bandwidth_str[64];
>
>     char codec_str[100];
> +    char filename[1024];
> +    char full_path[1024];
> +    char temp_path[1024];
> } OutputStream;

I know it's late, but in the future please work toward supporting 
unlimited path lengths, that was the whole point of the deprecation of 
AVFormatContext->filename.

Thanks,
Marton


More information about the ffmpeg-devel mailing list