Coder Social home page Coder Social logo

johanblome / encapp Goto Github PK

View Code? Open in Web Editor NEW
17.0 17.0 14.0 36.69 MB

Easy way to test video encoders in Android in large scale.

License: BSD 3-Clause "New" or "Revised" License

Java 44.70% Shell 0.08% Python 35.10% Makefile 0.09% Swift 20.03%

encapp's People

Contributors

chemag avatar johanblome avatar michalkielan avatar zhouwei0625 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

encapp's Issues

Hardcoded reference to /sdcard

Based on ./gradlew lint comments:
Your code should not reference the /sdcard path directly; instead use Environment.getExternalStorageDirectory().getPath().
More info: https://developer.android.com/training/data-storage#filesExternal
To suppress this error, use the issue id "SdCardPath" as explained in the [Suppressing Warnings and Errors]

writer = new FileWriter(new File("/sdcard/codecs.txt"));

To retreive path on python scripts:

adb shell 'echo $EXTERNAL_STORAGE'

object has not attribute dry_run

Hi,

After installation when I run the command:

/scripts/encapp.py run tests/bitrate_buffer.pbtxt --local-workdir /tmp/test -e input.filepath /tmp/akiyo_qcif.y4m

I get error:

Traceback (most recent call last): File "/oppo/encapp/./scripts/encapp.py", line 1709, in <module> main(sys.argv) File "/oppo/encapp/./scripts/encapp.py", line 1699, in main result_ok, result_json = codec_test(options, model, serial, options.debug) File "/oppo/encapp/./scripts/encapp.py", line 1189, in codec_test return run_codec_tests_file( File "/oppo/encapp/./scripts/encapp.py", line 538, in run_codec_tests_file if options.dry_run: AttributeError: 'Namespace' object has no attribute 'dry_run'

Downscale not working

I understand that the encapp supports change in resolution on the fly. I have not been able to get it working. How to configure the encapp to downscale in encode or transcode path? Which java file performs this operation?

Bitrate & iframe interval

Johan, A Question!
My app uses the android encoder for mp4 recording and streaming. I struggle to see the difference in quality or motion artefacts as I vary bitrare (tried 500k to 4meg) and iframe interval (tried 1 to 5). Should It be very obvious or is it suttle?

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.