Well that will work for GStreamer boxes...
But framerate is not reported also in servicehisilicon.....
So that is also a workaround only for eServiceMP3...
And many other stream parameter are not reported right in some cases...
The only reliable way is to be got from drivers/procs. That is actually what is the playing parameters....
And that solution will work regardless of the mediasink used behind.
Edited by DimitarCC, 31 October 2024 - 12:24.