Giter VIP home page Giter VIP logo

rtc-video-quality's Issues

libvpx vp9enc rt encoding is way off the target bitrate due to cpu-used option

using rtc-video-quality for vp9enc will set --cpu-used=7. When setting the target bitrate to 400Kbps this is the result

{ 'actual-bitrate-bps': 547721.7882352942,
'actual-encode-time-ms': 77934.56983566284,
'avg-psnr': 35.749396,
'avg-psnr-u': 41.3453,
'avg-psnr-v': 41.440348,
'avg-psnr-y': 34.403333,
'bitrate-config-kbps': [400],
'bitrate-utilization': 1.3693044705882353,
'codec': 'vp9',
'encode-time-utilization': 2.750631876552806,
'encoder': 'libvpx-rt',
'fps': 30.0,
'frame-bytes': [ 16980,
2780,
2634,
2368,
2551,
3169,

whle with yami the result is

[{ 'actual-bitrate-bps': 418750.87058823527,
'actual-encode-time-ms': 4427.440881729126,
'avg-psnr': 33.7104,
'avg-psnr-u': 39.335324,
'avg-psnr-v': 39.315309,
'avg-psnr-y': 32.367415,
'bitrate-config-kbps': [400],
'bitrate-utilization': 1.0468771764705882,
'codec': 'vp9',
'encode-time-utilization': 0.15626261935514563,
'encoder': 'yami',
'fps': 30.0,
'frame-bytes': [ 14768,
303,
320,
383,
491,

By picking --cpu-used=4 is a good compromise. This was run on a Yoga 910 with Fedora 25

{ 'actual-bitrate-bps': 414493.55294117646,
'actual-encode-time-ms': 326446.2540149689,
'avg-psnr': 34.466931,
'avg-psnr-u': 39.994153,
'avg-psnr-v': 40.389453,
'avg-psnr-y': 33.112922,
'bitrate-config-kbps': [400],
'bitrate-utilization': 1.0362338823529411,
'codec': 'vp9',
'encode-time-utilization': 11.52163249464596,
'encoder': 'libvpx-rt',
'fps': 30.0,
'frame-bytes': [ 11657,
1465,
1030,
860,
850,
954,
905,

Try to remove ffmpeg/mediainfo dependency

At bare minimum ffmpeg invocation should fall back to avconv when one is present but not the other, but ideally light-weight tools should be checked into libvpx/tools/ and built in setup.sh to remove dependencies on both.

Allow user to specify a temporary folder for storage

On my Fedora 25 installation /tmp is a tmpfs mount that is used for cache and normally pretty full. The files stored there by rtc-video-quality will not fit so it would be good if user can specify another temp folder location.

Allow user to provide system installed libraries

This could help with debugging. For example, I want to have my own compiled version of libvpx, libyami and company on a dedicated folder in my path. I don't want to run the setup* scripts but use that instead.

As a result, rtc-video-quality should report when an option on the libraries is not supported.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.