[FFmpeg-devel] [PATCH v2] avformat/smoothstreamingenc:add bitrate calculate
Jun Li
junli1026 at gmail.com
Mon Mar 11 19:58:32 EET 2019
Thanks Carl for review.
Smooth is not the only one need bitrate for manifest, Dash also need this
value for "Bandwidth" field:
https://github.com/FFmpeg/FFmpeg/blob/master/libavformat/dashenc.c#L730
Although there is some difference, both the calculation are based on
fragment size, which is the result after muxing. So it might be very hard
to do it outside of Muxer.
Thanks. Regards
-Jun
On Mon, Mar 11, 2019 at 2:03 AM Carl Eugen Hoyos <ceffmpeg at gmail.com> wrote:
> 2019-03-07 20:55 GMT+01:00, Jun Li <junli1026 at gmail.com>:
> > From: jun <junli1026 at gmail.com>
> >
> > Calculate bitrate based on fragment size, only applied when
> > bitrate is not set, for example rtsp source.
>
> Could this also be done on a higher level?
> Or is smoothstreaming the only thing that needs this information?
>
> Carl Eugen
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
More information about the ffmpeg-devel
mailing list