>De : ffmpeg-devel De la part de Lynne
>Envoyé : mardi 5 janvier 2021 16:26
>À : FFmpeg development discussions and patches
>Objet : Re: [FFmpeg-devel] [PATCH] avcodec/dolby_e: set constant frame_size
>
>Jan 5, 2021, 10:43 by nicolas.gaullier@cji.paris:
>
>>>&g
Jan 5, 2021, 10:43 by nicolas.gaullier@cji.paris:
De : Nicolas Gaullier Envoyé : mardi 15
décembre 2020 18:13 À : ffmpeg-devel@ffmpeg.org Cc : Nicolas Gaullier
Objet : [PATCH] avcodec/dolby_e: set
constant frame_size
Fixes pts generation.
Setting frame_
>>> De : Nicolas Gaullier Envoyé : mardi 15
>>> décembre 2020 18:13 À : ffmpeg-devel@ffmpeg.org Cc : Nicolas Gaullier
>>> Objet : [PATCH] avcodec/dolby_e: set
>>> constant frame_size
>>>
>>> Fixes pts generation.
>>>
>>> Setting frame_size in dolby_e_init() or get_audio_frame_duration() can
>
On Mon, 4 Jan 2021, Nicolas Gaullier wrote:
De : Nicolas Gaullier
Envoyé : mardi 15 décembre 2020 18:13
À : ffmpeg-devel@ffmpeg.org
Cc : Nicolas Gaullier
Objet : [PATCH] avcodec/dolby_e: set constant frame_size
Fixes pts generation.
Setting frame_size in dolby_e_init() or get_audio_frame_
>De : Nicolas Gaullier
>Envoyé : mardi 15 décembre 2020 18:13
>À : ffmpeg-devel@ffmpeg.org
>Cc : Nicolas Gaullier
>Objet : [PATCH] avcodec/dolby_e: set constant frame_size
>
>Fixes pts generation.
>
>Setting frame_size in dolby_e_init() or get_audio_frame_duration() can result
>in a bad duratio
Fixes pts generation.
Setting frame_size in dolby_e_init() or get_audio_frame_duration()
can result in a bad duration value for the first packet if dolby_e is
muxed in a container having a different sample_rate (ex:
container @48KHz, DolbyE @44.8KHz).
Maybe adding a parser to dolby_e would fix the
>Wouldn't it make more sense to set it in decoder init?
>Anton Khirnov
Yes, you're right, in the actual code, this would seem the best place.
But, I have in mind to add support for s337m in wav (I am just getting back on
this work I started some months ago).
Take a 48k wav with dolby_e in it whic
Quoting Nicolas Gaullier (2020-10-01 15:22:37)
> Fixes pts generation.
> ---
> libavcodec/dolby_e.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/libavcodec/dolby_e.c b/libavcodec/dolby_e.c
> index 429612ec08..b0e6d6aee3 100644
> --- a/libavcodec/dolby_e.c
> +++ b/libavcodec/dolby_e.c
Fixes pts generation.
---
libavcodec/dolby_e.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/dolby_e.c b/libavcodec/dolby_e.c
index 429612ec08..b0e6d6aee3 100644
--- a/libavcodec/dolby_e.c
+++ b/libavcodec/dolby_e.c
@@ -577,6 +577,7 @@ static int filter_frame(DBEContext *s, AVFram