Skip to content
Snippets Groups Projects
Commit 89c0fda5 authored by Przemysław Sobala's avatar Przemysław Sobala Committed by Michael Niedermayer
Browse files

lavf/dashenc: update bitrates on dash_write_trailer


Provides a way to change bandwidth parameter inside DASH manifest after a non-CBR H.264 encoding.
Caller now is able to compute the bitrate by itself, after all packets have been written, and then set that value in AVFormatContext->streams->codecpar->bit_rate before calling av_write_trailer. As a result that value will be set in DASH manifest.

Signed-off-by: default avatarMichael Niedermayer <michael@niedermayer.cc>
parent 70a9407b
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment