tomaszzmuda / Xabe.FFmpeg

.NET Standard wrapper for FFmpeg. It allows to process media without know how FFmpeg works, and can be used to pass customized arguments to FFmpeg from dotnet core application.

Home Page:https://xabe.net/product/xabe_ffmpeg/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Audio stream bitrate is 0 for some audio tracks

siewers opened this issue · comments

It looks like DTS-X and Dolby TrueHD tracks sometimes don't have the bit rate property set in the JSON output from ffprobe. However, I can see the bit rate is provided as a tag named BPS and BPS-eng, but these tags are not available as part of the IAudioStream interface.

Would it be possible to expose all the tags from each stream as a dictionary?
Alternatively, try find the bit rate from the tags and use that value in case the properties doesn't contain it.