intel / media-delivery

This collection of samples demonstrates best practices to achieve optimal video quality and performance on Intel GPUs for content delivery networks. Check out our demo, recommended command lines and quality and performance measuring tools.
MIT License
94 stars 29 forks source link

measure/perf fails on mp4 streams #33

Closed dvrogozh closed 4 years ago

dvrogozh commented 4 years ago

https://github.com/intel/media-delivery/blob/45999e58416e730f42f9f182fc079aaa6568ff2c/tests/measure-perf.bats#L265

Started after 45999e58416e730f42f9f182fc079aaa6568ff2c.

dvrogozh commented 4 years ago

https://github.com/intel/media-delivery/blob/45999e58416e730f42f9f182fc079aaa6568ff2c/measure/performance/MSPerf.py#L1418

This happens because ffprobe will list all the sub-stream for mp4 including audio, subtitles, etc. And msperf will consider the last one actually which might not be video. I actually think this always was broken, but now it just got exposed.