media assets: fix .webm files not including video/audio bit rates in metadata.
Fix .webm files not including the `FFmpeg:VideoBitRate` and `FFmpeg:AudioBitRate`
fields in the media_metadata table. This was because the .webm format
doesn't include the video or audio bit rates in the metadata, and
ffprobe doesn't calculate them either, so we have to calculate them
ourselves by hand.
Fixup for 523d7afdd.
This commit is contained in:
BIN
test/files/webm/test-audio.webm
Normal file
BIN
test/files/webm/test-audio.webm
Normal file
Binary file not shown.
Reference in New Issue
Block a user