How to get codec info using Python binding?
Posted: 12 Feb 2023 23:17
Hi,
Using the Python binding I need to get the codec info about HTTP stream. In the VLC UI it looks like this:
Using this Python code:
I can get the following information which includes: channels, codec (fourcc string) and rate:
Where can I get such info as 'Bits per sample' and 'Bitrate'?
Thank you!
Using the Python binding I need to get the codec info about HTTP stream. In the VLC UI it looks like this:
Using this Python code:
Code: Select all
track_info = self.media.get_tracks_info()
Where can I get such info as 'Bits per sample' and 'Bitrate'?
Thank you!